Skip to content
This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Error when dealing with DOMParser.parseFromString() #706

Closed
laniakea64 opened this issue Jan 31, 2017 · 4 comments
Closed

Error when dealing with DOMParser.parseFromString() #706

laniakea64 opened this issue Jan 31, 2017 · 4 comments

Comments

@laniakea64
Copy link

Environment:
SeaMonkey 2.46
uMatrix 0.9.9b2
new profile

Steps-to-reproduce:

  1. install uMatrix, restart browser
  2. open Web Console and run this code
var x = new DOMParser();
x.parseFromString('<img src="http://example.com/" />', 'text/html');

Actual results:
This error appears in the Browser Console -

TypeError: contextWindow is null [Learn More]  frameModule.js:161:14

(Might as well respond to the inevitable reply now, to save some time - yes, I do have a real-world example of this which doesn't involve the Web Console, but it requires a login. :) )

@gorhill
Copy link
Owner

gorhill commented Jan 31, 2017

SeaMonkey 2.46 is based on which version of Firefox?

@byte-jra
Copy link

49

@gorhill
Copy link
Owner

gorhill commented Jan 31, 2017

Related: gorhill/uBlock#1893

@laniakea64
Copy link
Author

Fixed, thanks! 😃

Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants