mozilla-services / screenshots

Firefox Screenshots: the best way to take screenshots on the web.
https://screenshots.firefox.com
Mozilla Public License 2.0
620 stars 128 forks source link

"Operation is insecure" in Nightly #5396

Open jscher2000 opened 4 years ago

jscher2000 commented 4 years ago

Quick-and-dirty patch on Bugzilla here --

https://bugzilla.mozilla.org/show_bug.cgi?id=1585588#c6

-        const parsedDom = (new DOMParser()).parseFromString(
+        const parsedDom = (new iframe.contentWindow.DOMParser()).parseFromString(

-- likely should go here:

https://github.com/mozilla-services/screenshots/blob/master/webextension/onboarding/slides.js#L43

Related discussion:

https://www.reddit.com/r/firefox/comments/ddjol2/firefox_screenshots_went_haywire/