From 0dba6abe5a5b07b892508c31a00858285ef9a4b3 Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Fri, 1 Mar 2019 19:33:12 -0500 Subject: [PATCH] Bug 1531350 - Update debugger frontend Release 128. r=dwalsh --- devtools/client/debugger/new/README.mozilla | 4 ++-- devtools/client/debugger/new/src/test/tests-setup.js | 9 ++++++--- devtools/client/debugger/new/webpack.config.js | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/devtools/client/debugger/new/README.mozilla b/devtools/client/debugger/new/README.mozilla index 79d0f59fcbaf..2dfa6a039ce3 100644 --- a/devtools/client/debugger/new/README.mozilla +++ b/devtools/client/debugger/new/README.mozilla @@ -1,9 +1,9 @@ This is the debugger.html project output. See https://github.com/devtools-html/debugger.html -Version 127 +Version 128 -Comparison: https://github.com/devtools-html/debugger.html/compare/release-126...release-127 +Comparison: https://github.com/devtools-html/debugger.html/compare/release-127...release-128 Packages: - babel-plugin-transform-es2015-modules-commonjs @6.26.2 diff --git a/devtools/client/debugger/new/src/test/tests-setup.js b/devtools/client/debugger/new/src/test/tests-setup.js index 70b787d80cef..c771ea6cfeda 100644 --- a/devtools/client/debugger/new/src/test/tests-setup.js +++ b/devtools/client/debugger/new/src/test/tests-setup.js @@ -118,14 +118,17 @@ if (!global.Promise.prototype.finally) { global.Promise.prototype.finally = function finallyPolyfill(callback) { var constructor = this.constructor; - return this.then(function(value) { + return this.then( + function(value) { return constructor.resolve(callback()).then(function() { return value; }); - }, function(reason) { + }, + function(reason) { return constructor.resolve(callback()).then(function() { throw reason; }); - }); + } + ); }; } diff --git a/devtools/client/debugger/new/webpack.config.js b/devtools/client/debugger/new/webpack.config.js index dc07cbba2390..88c28de0a3fd 100644 --- a/devtools/client/debugger/new/webpack.config.js +++ b/devtools/client/debugger/new/webpack.config.js @@ -63,7 +63,7 @@ if (isProduction) { const envConfig = getConfig(); const extra = { - babelIncludes: ["react-aria-components"], + babelIncludes: ["react-aria-components"] }; webpackConfig.plugins.push(new ObjectRestSpreadPlugin()); @@ -74,7 +74,7 @@ if (!isProduction) { } else { webpackConfig.output.libraryTarget = "umd"; extra.excludeMap = mozillaCentralMappings; - extra.recordsPath = "bin/module-manifest.json" + extra.recordsPath = "bin/module-manifest.json"; } module.exports = toolbox.toolboxConfig(webpackConfig, envConfig, extra);