Unwrap return values from getGroupTopLevelWindows draft
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sun, 24 May 2020 14:29:41 +0900
changeset 2913067 badc8c425169d6aeaf63fd66eddab6756f13dad9
parent 2913021 f59abf6cdc938c97511ac06f4253f0b5886f3b6a
child 2913068 377e92254c1ee083b78bc58c98d955899090194c
child 2913103 060bc144fc2d61039bb24fcc4bd0e6647b01b5db
child 2913118 8de5ecac8a69e892277aac3a2897968b2c00cec4
child 2913232 b1a4e7ddd48337005bd764c84ae7580430138e16
child 2913906 2f292bc05ca6a726520ff7ec42d4a1e26c9a3e18
child 2913950 bc08ea8e0fbbe4c3fb59bd8336209e4e997944bd
child 2913952 1bb5df79cdb9e70e0592acfe312bef224f18b972
child 2913967 9249d70280f7b56d3c1bc69811813db0670da578
child 2916452 bab8eca418e6f6973e169b54b0f4f3fb7703d6e3
push id542229
push userVYV03354@nifty.ne.jp
push dateSun, 24 May 2020 05:37:45 +0000
treeherdertry@377e92254c1e [default view] [failures only]
milestone78.0a1
Unwrap return values from getGroupTopLevelWindows
docshell/test/navigation/NavigationUtils.js
--- a/docshell/test/navigation/NavigationUtils.js
+++ b/docshell/test/navigation/NavigationUtils.js
@@ -165,16 +165,17 @@ async function getFramesByName(name) {
     }
   }
 
   return results;
 }
 
 async function cleanupWindows() {
   for (let win of SpecialPowers.getGroupTopLevelWindows(window)) {
+    win = SpecialPowers.unwrap(win);
     if (win.closed) {
       continue;
     }
 
     let href = "";
     try {
       href = await SpecialPowers.spawn(
         win,