Backed out changeset 0605328631fd (bug 1388054) for failing in devtools/client/shadereditor/test/browser_se_aaa_run_first_leaktest.js on a CLOSED TREE
authorNoemi Erli <nerli@mozilla.com>
Wed, 20 Jun 2018 22:41:17 +0300
changeset 423127 30ef0ff424054f15fb9dee7203cd73eac30f9c9e
parent 423126 110e4b10e2eaca929de9ec715da66fe26d52445f
child 423128 9e0e314fe39a2d8bdc1ed48068163c4c51c81db2
push id65363
push usernerli@mozilla.com
push dateWed, 20 Jun 2018 19:44:12 +0000
treeherderautoland@30ef0ff42405 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1388054
milestone62.0a1
backs out0605328631fda3d73bf749db3b3f2d3cc652a1ae
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 0605328631fd (bug 1388054) for failing in devtools/client/shadereditor/test/browser_se_aaa_run_first_leaktest.js on a CLOSED TREE
devtools/shared/defer.js
--- a/devtools/shared/defer.js
+++ b/devtools/shared/defer.js
@@ -1,14 +1,19 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
+// We have to keep using Promise.jsm here, because DOM Promises
+// start freezing during panel iframes destruction.
+// More info in bug 1454373 comment 15.
+const Promise = require("promise");
+
 /**
  * Returns a deferred object, with a resolve and reject property.
  * https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Promise.jsm/Deferred
  */
 module.exports = function defer() {
   let resolve, reject;
   const promise = new Promise(function() {
     resolve = arguments[0];