Bug 940045 - s/foreach/forEach.
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 05 Dec 2013 12:08:26 -0500
changeset 174695 b857284946e006748d3ab6f395c7a08537194756
parent 174694 1f1bb9ae2970d16fc5468ba25b4fc0df5a2ab66a
child 174696 43e95a7ea3401da6bb41e2cf43083bae7b9c455c
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs940045
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 940045 - s/foreach/forEach.
b2g/chrome/content/shell.js
--- a/b2g/chrome/content/shell.js
+++ b/b2g/chrome/content/shell.js
@@ -1341,17 +1341,17 @@ window.addEventListener('ContentStart', 
                                                               videoCount: 0};
         }
         commandHandler(requestURL, { type: aData,
                                      isAudio: props.get('isAudio'),
                                      isVideo: props.get('isVideo')});
         break;
       case 'content-shutdown':
         // iterate through all the existing active processes
-        Object.keys(gRecordingActiveProcesses[processId]).foreach(function(requestURL) {
+        Object.keys(gRecordingActiveProcesses[processId]).forEach(function(requestURL) {
           commandHandler(requestURL, { type: aData,
                                        isAudio: true,
                                        isVideo: true});
         });
         break;
     }
 
     // clean up process record if no page record in it.