diff options
Diffstat (limited to 'parser/htmlparser/tests/mochitest/test_bug1646140-2.html')
-rw-r--r-- | parser/htmlparser/tests/mochitest/test_bug1646140-2.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/htmlparser/tests/mochitest/test_bug1646140-2.html b/parser/htmlparser/tests/mochitest/test_bug1646140-2.html index 11c370d401..9ea4f305a4 100644 --- a/parser/htmlparser/tests/mochitest/test_bug1646140-2.html +++ b/parser/htmlparser/tests/mochitest/test_bug1646140-2.html @@ -10,7 +10,7 @@ document.addEventListener("copy", ev => { ev.preventDefault(); ev.clipboardData.setData('text/html', "<svg><style><svg/onload=\"window.svgRanScript=true\">"); }); -const o = new MutationObserver(mutations => { +const o = new MutationObserver(() => { o.disconnect(); setTimeout(() => { ok(!svgRanScript, "svg onload must not fire"); |