• Robert Knight's avatar
    Fix issue with `getTextNodes` and nodes from other iframes · 908c8159
    Robert Knight authored
    I don't believe this issue will ever occur in the real application, but
    we currently have tests (in `html-test.js`) where the passed node comes from
    a different iframe and therefore a different JS environment where globals including
    `Text` and `Element` have different identities.
    908c8159
xpath-util.js 3.35 KB