Backed out changeset afd22bdea63c (bug 1285173) on request of developer for timeouts in browser_net_statistics-03.js on Linux x64 opt+pgo. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Mon, 14 Nov 2016 16:32:51 +0100
changeset 322412 222dd5537727a008fbb3fc299d6e3ef856761f46
parent 322411 09b5ba29c6db1e3023ee3953f782430b67f4baa1
child 322413 1c001b02b27879006abc615beab2d51dfa3de988
push id30951
push usercbook@mozilla.com
push dateTue, 15 Nov 2016 11:25:40 +0000
treeherdermozilla-central@85a9d908e91a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1285173
milestone52.0a1
backs outafd22bdea63caf72d1ae956d2b2f28e99ab2a748
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
Backed out changeset afd22bdea63c (bug 1285173) on request of developer for timeouts in browser_net_statistics-03.js on Linux x64 opt+pgo. r=backout
devtools/client/netmonitor/netmonitor-view.js
--- a/devtools/client/netmonitor/netmonitor-view.js
+++ b/devtools/client/netmonitor/netmonitor-view.js
@@ -1196,17 +1196,17 @@ var $all = (selector, target = document)
  * @return object
  *         A promise resolved when all objects in dataStore contain the
  *         properties defined in mandatoryFields.
  */
 function whenDataAvailable(dataStore, mandatoryFields) {
   let deferred = promise.defer();
 
   let interval = setInterval(() => {
-    if (dataStore.length > 0 && dataStore.every(item => {
+    if (dataStore.every(item => {
       return mandatoryFields.every(field => field in item);
     })) {
       clearInterval(interval);
       clearTimeout(timer);
       deferred.resolve();
     }
   }, WDA_DEFAULT_VERIFY_INTERVAL);