зеркало из https://github.com/mozilla/pjs.git
Debug spew for bug 528776
This commit is contained in:
Родитель
ac5917acac
Коммит
31a3c6d5b1
|
@ -51,8 +51,12 @@ function test() {
|
||||||
let count = 0;
|
let count = 0;
|
||||||
let e = wm.getEnumerator("navigator:browser");
|
let e = wm.getEnumerator("navigator:browser");
|
||||||
while (e.hasMoreElements()) {
|
while (e.hasMoreElements()) {
|
||||||
if (!e.getNext().closed)
|
let win = e.getNext();
|
||||||
|
if (!win.closed) {
|
||||||
++count;
|
++count;
|
||||||
|
if (win != window)
|
||||||
|
info("secondary window content location: " + win.content.location);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче