summaryrefslogtreecommitdiffstats
path: root/docshell/test/chrome/bug301397_window.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/chrome/bug301397_window.xhtml')
-rw-r--r--docshell/test/chrome/bug301397_window.xhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docshell/test/chrome/bug301397_window.xhtml b/docshell/test/chrome/bug301397_window.xhtml
index cbfa77f7fd..4a6efc8622 100644
--- a/docshell/test/chrome/bug301397_window.xhtml
+++ b/docshell/test/chrome/bug301397_window.xhtml
@@ -18,7 +18,7 @@
// content.
//
async function verifyIframeInnerHtml(string) {
- var iframeInnerHtml = await SpecialPowers.spawn(document.getElementById("content"), [string], (string) =>
+ var iframeInnerHtml = await SpecialPowers.spawn(document.getElementById("content"), [string], () =>
content.document.getElementById("iframe").contentDocument.body.innerHTML);
ok(iframeInnerHtml.includes(string),
"iframe contains wrong document: " + iframeInnerHtml);