mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1585588 Fix screenshots cross-doc adoption r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D48338 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1c5bdaa74c
commit
50fda19ea0
@ -44,7 +44,7 @@ this.slides = (function() {
|
||||
iframe.addEventListener("load", catcher.watchFunction(() => {
|
||||
doc = iframe.contentDocument;
|
||||
assertIsBlankDocument(doc);
|
||||
const parsedDom = (new DOMParser()).parseFromString(
|
||||
const parsedDom = (new doc.defaultView.DOMParser()).parseFromString(
|
||||
html,
|
||||
"text/html"
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user