Index: chrome/content/tests/test_requestList.html |
=================================================================== |
--- a/chrome/content/tests/test_requestList.html |
+++ b/chrome/content/tests/test_requestList.html |
@@ -110,17 +110,17 @@ |
checkScanDone(); |
}); |
function checkScanDone() |
{ |
if (wndScanComplete && frameScanComplete) |
{ |
// Fold duplicate entries |
- for each (let list in [wndData, frameData]) |
+ for (let list of [wndData, frameData]) |
{ |
let keys = {}; |
for (let i = 0; i < list.length; i++) |
{ |
let key = " " + list[i].entry.location + " " + list[i].entry.type + " " + list[i].entry.docDomain; |
if (key in keys) |
{ |
list.splice(keys[key], 1); |