comparison: toolkit/components/satchel/test/browser/head.js
toolkit/components/satchel/test/browser/head.js
- branch
- TOR_BUG_9701
- changeset 14
- 925c144e1f1f
equal
deleted
inserted
replaced
|
1 |
|
2 function whenNewWindowLoaded(aOptions, aCallback) { |
|
3 let win = OpenBrowserWindow(aOptions); |
|
4 win.addEventListener("load", function onLoad() { |
|
5 win.removeEventListener("load", onLoad, false); |
|
6 aCallback(win); |
|
7 }, false); |
|
8 } |