diff options
Diffstat (limited to 'toolkit/components/extensions/test/mochitest/head.js')
-rw-r--r-- | toolkit/components/extensions/test/mochitest/head.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/toolkit/components/extensions/test/mochitest/head.js b/toolkit/components/extensions/test/mochitest/head.js deleted file mode 100644 index 1b1a29472..000000000 --- a/toolkit/components/extensions/test/mochitest/head.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; - -/* exported waitForLoad */ - -function waitForLoad(win) { - return new Promise(resolve => { - win.addEventListener("load", function listener() { - win.removeEventListener("load", listener, true); - resolve(); - }, true); - }); -} - |