security/manager/ssl/tests/mochitest/browser/head.js

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:d2c16ad2f265
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
3 function whenNewWindowLoaded(aOptions, aCallback) {
4 let win = OpenBrowserWindow(aOptions);
5 win.addEventListener("load", function onLoad() {
6 win.removeEventListener("load", onLoad, false);
7 aCallback(win);
8 }, false);
9 }

mercurial