diff options
Diffstat (limited to 'dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml')
-rw-r--r-- | dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml b/dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml index 724c40cbd3..be188b8fbe 100644 --- a/dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml +++ b/dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml @@ -50,9 +50,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1123516 ok(true, "Calling iterators via xrays should fail"); } - setlike.forEach((v,k,t) => { is(v, win.document.documentElement, "Cross-compartment forEach works"); }); + setlike.forEach((v) => { is(v, win.document.documentElement, "Cross-compartment forEach works"); }); TestInterfaceSetlikeNode.prototype.forEach.call(setlike, - (v,k,t) => { is(v, win.document.documentElement, "Cross-compartment forEach works"); }); + (v) => { is(v, win.document.documentElement, "Cross-compartment forEach works"); }); is(TestInterfaceSetlikeNode.prototype.delete.call(setlike, win.document.documentElement), true, "Cross-compartment unwrapping/comparison delete works"); /* eslint-disable-next-line no-shadow */ |