mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1217423 - Remove for-each from webapprt/. r=paolo, f=marco
This commit is contained in:
parent
dff4f276b7
commit
16755b4daf
@ -37,7 +37,7 @@ function test() {
|
||||
waitForExplicitFinish();
|
||||
|
||||
loadWebapp("download.webapp", undefined, function onLoad() {
|
||||
for each (let download in downloadsInList) {
|
||||
for (let download of downloadsInList) {
|
||||
list.addDownload(download);
|
||||
}
|
||||
});
|
||||
|
@ -168,9 +168,9 @@ function waitDownloadListPopulation(aWin) {
|
||||
let disconnected = false;
|
||||
|
||||
var observer = new MutationObserver(function(aMutations) {
|
||||
for each (let mutation in aMutations) {
|
||||
for (let mutation of aMutations) {
|
||||
if (mutation.addedNodes) {
|
||||
for each (let node in mutation.addedNodes) {
|
||||
for (let node of mutation.addedNodes) {
|
||||
if (node.id == "downloadView") {
|
||||
observer.disconnect();
|
||||
disconnected = true;
|
||||
|
Loading…
Reference in New Issue
Block a user