comparison: toolkit/components/satchel/test/browser/head.js
toolkit/components/satchel/test/browser/head.js
- changeset 0
- 6474c204b198
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 } |