From 1702ada4bf998e32693a1371dd8bc29c1b772dc0 Mon Sep 17 00:00:00 2001 From: James Long Date: Mon, 19 Sep 2016 21:58:05 -0400 Subject: [PATCH] Bug 1303862 - update new debugger frontend (9/19/2016) r=me --- devtools/client/debugger/new/bundle.js | 1301 +++++++++-------- .../client/debugger/new/images/favicon.png | 0 .../debugger/new/pretty-print-worker.js | 62 +- .../client/debugger/new/source-map-worker.js | 166 +-- devtools/client/debugger/new/styles.css | 30 +- .../debugger/new/test/mochitest/.eslintrc | 2 + .../debugger/new/test/mochitest/browser.ini | 2 + .../browser_dbg-breaking-from-console.js | 31 + .../test/mochitest/browser_dbg-breaking.js | 33 + .../test/mochitest/browser_dbg-navigation.js | 15 +- .../test/mochitest/examples/code-simple1.js | 24 + .../debugger/new/test/mochitest/head.js | 37 +- 12 files changed, 924 insertions(+), 779 deletions(-) create mode 100644 devtools/client/debugger/new/images/favicon.png create mode 100644 devtools/client/debugger/new/test/mochitest/browser_dbg-breaking-from-console.js create mode 100644 devtools/client/debugger/new/test/mochitest/browser_dbg-breaking.js diff --git a/devtools/client/debugger/new/bundle.js b/devtools/client/debugger/new/bundle.js index 4f99c0ff0b08..aa6049aa08f7 100644 --- a/devtools/client/debugger/new/bundle.js +++ b/devtools/client/debugger/new/bundle.js @@ -1,4 +1,4 @@ -// Generated from: 30002d3cfc4341840af847af9eb2c31cab18abb5 Move some of editor-select.js test into editor-highlight.js to make tests more focused (and avoid timeouts on linux debug) (#746) +// Generated from: 7c393c99dd82e9b181dab64ff474ee6ca9dc1c3f Revert "Add search input" var Debugger = /******/ (function(modules) { // webpackBootstrap @@ -98,12 +98,12 @@ var Debugger = var startDebugging = _require5.startDebugging; var firefox = __webpack_require__(98); - var configureStore = __webpack_require__(179); - var reducers = __webpack_require__(187); - var selectors = __webpack_require__(198); + var configureStore = __webpack_require__(180); + var reducers = __webpack_require__(188); + var selectors = __webpack_require__(199); - var Tabs = __webpack_require__(205); - var App = __webpack_require__(211); + var Tabs = __webpack_require__(206); + var App = __webpack_require__(212); var createStore = configureStore({ log: getValue("logging.actions"), @@ -113,7 +113,7 @@ var Debugger = }); var store = createStore(combineReducers(reducers)); - var actions = bindActionCreators(__webpack_require__(213), store.dispatch); + var actions = bindActionCreators(__webpack_require__(214), store.dispatch); if (isDevelopment()) { AppConstants.DEBUG_JS_MODULES = true; @@ -169,7 +169,7 @@ var Debugger = }); } else if (isFirefoxPanel()) { (function () { - var sourceMap = __webpack_require__(215); + var sourceMap = __webpack_require__(216); module.exports = { bootstrap: _ref => { @@ -178,8 +178,8 @@ var Debugger = firefox.setThreadClient(threadClient); firefox.setTabTarget(tabTarget); - firefox.initPage(actions); renderRoot(App); + return firefox.initPage(actions); }, destroy: () => { unmountRoot(); @@ -10174,7 +10174,7 @@ var Debugger = var Task = _require.Task; var firefox = __webpack_require__(98); - var chrome = __webpack_require__(172); + var chrome = __webpack_require__(173); var _require2 = __webpack_require__(45); @@ -10326,6 +10326,10 @@ var Debugger = var setupEvents = _require7.setupEvents; var clientEvents = _require7.clientEvents; + var _require8 = __webpack_require__(172); + + var createSource = _require8.createSource; + var debuggerClient = null; var threadClient = null; @@ -10418,16 +10422,24 @@ var Debugger = threadClient.addListener(eventName, clientEvents[eventName]); }); - threadClient.reconfigure({ - "useSourceMaps": false, - "autoBlackBox": false - }); + // In Firefox, we need to initially request all of the sources. This + // usually fires off individual `newSource` notifications as the + // debugger finds them, but there may be existing sources already in + // the debugger (if it's paused already, or if loading the page from + // bfcache) so explicity fire `newSource` events for all returned + // sources. + return threadClient.getSources().then(_ref => { + var sources = _ref.sources; - // In Firefox, we need to initially request all of the sources which - // makes the server iterate over them and fire individual - // `newSource` notifications. We don't need to do anything with the - // response since `newSource` notifications are fired. - threadClient.getSources(); + actions.newSources(sources.map(createSource)); + + // If the threadClient is already paused, make sure to show a + // paused state. + var pausedPacket = threadClient.getLastPausePacket(); + if (pausedPacket) { + clientEvents.paused(null, pausedPacket); + } + }); } module.exports = { @@ -19873,6 +19885,47 @@ var Debugger = function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { return step("next", value); }, function (err) { return step("throw", err); }); } } return step("next"); }); }; } + var _require = __webpack_require__(172); + + var createFrame = _require.createFrame; + var createSource = _require.createSource; + + + var CALL_STACK_PAGE_SIZE = 1000; + + var threadClient = void 0; + var actions = void 0; + + function setupEvents(dependencies) { + threadClient = dependencies.threadClient; + actions = dependencies.actions; + } + + function resumed(_, packet) { + actions.resumed(packet); + } + + function newSource(_, _ref2) { + var source = _ref2.source; + + actions.newSource(createSource(source)); + } + + var clientEvents = { + paused, + resumed, + newSource + }; + + module.exports = { + setupEvents, + clientEvents + }; + +/***/ }, +/* 172 */ +/***/ function(module, exports, __webpack_require__) { + var _require = __webpack_require__(114); var Source = _require.Source; @@ -19880,16 +19933,6 @@ var Debugger = var Location = _require.Location; - var CALL_STACK_PAGE_SIZE = 1000; - var threadClient = void 0; - var actions = void 0; - var evalIndex = 1; - - function setupEvents(dependencies) { - threadClient = dependencies.threadClient; - actions = dependencies.actions; - } - function createFrame(frame) { var title = void 0; if (frame.type == "call") { @@ -19912,43 +19955,29 @@ var Debugger = }); } - function resumed(_, packet) { - actions.resumed(packet); - } - - function newSource(_, packet) { - var source = packet.source; - + var evalIndex = 1; + function createSource(source) { if (!source.url) { source.url = `SOURCE${ evalIndex++ }`; } - actions.newSource(Source({ + return Source({ id: source.actor, url: source.url, isPrettyPrinted: false, sourceMapURL: source.sourceMapURL - })); + }); } - var clientEvents = { - paused, - resumed, - newSource - }; - - module.exports = { - setupEvents, - clientEvents - }; + module.exports = { createFrame, createSource }; /***/ }, -/* 172 */ +/* 173 */ /***/ function(module, exports, __webpack_require__) { /* eslint-disable */ - var _require = __webpack_require__(173); + var _require = __webpack_require__(174); var connect = _require.connect; @@ -19963,16 +19992,16 @@ var Debugger = var isEnabled = _require3.isEnabled; var getValue = _require3.getValue; - var _require4 = __webpack_require__(174); + var _require4 = __webpack_require__(175); var networkRequest = _require4.networkRequest; - var _require5 = __webpack_require__(177); + var _require5 = __webpack_require__(178); var setupCommands = _require5.setupCommands; var clientCommands = _require5.clientCommands; - var _require6 = __webpack_require__(178); + var _require6 = __webpack_require__(179); var setupEvents = _require6.setupEvents; var clientEvents = _require6.clientEvents; @@ -20062,16 +20091,16 @@ var Debugger = }; /***/ }, -/* 173 */ +/* 174 */ /***/ function(module, exports) { module.exports = {}; /***/ }, -/* 174 */ +/* 175 */ /***/ function(module, exports, __webpack_require__) { - var _require = __webpack_require__(175); + var _require = __webpack_require__(176); var log = _require.log; @@ -20093,7 +20122,7 @@ var Debugger = }; /***/ }, -/* 175 */ +/* 176 */ /***/ function(module, exports, __webpack_require__) { var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); @@ -20136,7 +20165,7 @@ var Debugger = * 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/. */ - var co = __webpack_require__(176); + var co = __webpack_require__(177); var _require = __webpack_require__(46); @@ -20338,7 +20367,7 @@ var Debugger = }; /***/ }, -/* 176 */ +/* 177 */ /***/ function(module, exports) { @@ -20581,7 +20610,7 @@ var Debugger = /***/ }, -/* 177 */ +/* 178 */ /***/ function(module, exports, __webpack_require__) { var _require = __webpack_require__(114); @@ -20705,7 +20734,7 @@ var Debugger = }; /***/ }, -/* 178 */ +/* 179 */ /***/ function(module, exports, __webpack_require__) { var paused = (() => { @@ -20815,7 +20844,7 @@ var Debugger = }; /***/ }, -/* 179 */ +/* 180 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -20828,23 +20857,23 @@ var Debugger = var createStore = _require.createStore; var applyMiddleware = _require.applyMiddleware; - var _require2 = __webpack_require__(180); + var _require2 = __webpack_require__(181); var waitUntilService = _require2.waitUntilService; - var _require3 = __webpack_require__(181); + var _require3 = __webpack_require__(182); var log = _require3.log; - var _require4 = __webpack_require__(182); + var _require4 = __webpack_require__(183); var history = _require4.history; - var _require5 = __webpack_require__(183); + var _require5 = __webpack_require__(184); var promise = _require5.promise; - var _require6 = __webpack_require__(186); + var _require6 = __webpack_require__(187); var thunk = _require6.thunk; @@ -20892,7 +20921,7 @@ var Debugger = module.exports = configureStore; /***/ }, -/* 180 */ +/* 181 */ /***/ function(module, exports) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -20962,7 +20991,7 @@ var Debugger = /***/ }, -/* 181 */ +/* 182 */ /***/ function(module, exports) { /** @@ -20984,7 +21013,7 @@ var Debugger = exports.log = log; /***/ }, -/* 182 */ +/* 183 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -21018,22 +21047,22 @@ var Debugger = }; /***/ }, -/* 183 */ +/* 184 */ /***/ function(module, exports, __webpack_require__) { /* 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/. */ - var uuidgen = __webpack_require__(184).uuid; + var uuidgen = __webpack_require__(185).uuid; var defer = __webpack_require__(112); - var _require = __webpack_require__(175); + var _require = __webpack_require__(176); var entries = _require.entries; var toObject = _require.toObject; - var _require2 = __webpack_require__(185); + var _require2 = __webpack_require__(186); var executeSoon = _require2.executeSoon; @@ -21085,7 +21114,7 @@ var Debugger = exports.promise = promiseMiddleware; /***/ }, -/* 184 */ +/* 185 */ /***/ function(module, exports) { @@ -21098,7 +21127,7 @@ var Debugger = /***/ }, -/* 185 */ +/* 186 */ /***/ function(module, exports) { function reportException(who, exception) { @@ -21125,7 +21154,7 @@ var Debugger = }; /***/ }, -/* 186 */ +/* 187 */ /***/ function(module, exports) { @@ -21151,19 +21180,19 @@ var Debugger = exports.thunk = thunk; /***/ }, -/* 187 */ +/* 188 */ /***/ function(module, exports, __webpack_require__) { /* 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/. */ - var eventListeners = __webpack_require__(188); - var sources = __webpack_require__(190); - var breakpoints = __webpack_require__(194); - var asyncRequests = __webpack_require__(195); - var tabs = __webpack_require__(196); - var pause = __webpack_require__(197); + var eventListeners = __webpack_require__(189); + var sources = __webpack_require__(191); + var breakpoints = __webpack_require__(195); + var asyncRequests = __webpack_require__(196); + var tabs = __webpack_require__(197); + var pause = __webpack_require__(198); module.exports = { eventListeners, @@ -21175,14 +21204,14 @@ var Debugger = }; /***/ }, -/* 188 */ +/* 189 */ /***/ function(module, exports, __webpack_require__) { /* 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/. */ - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); var initialState = { activeEventNames: [], @@ -21219,7 +21248,7 @@ var Debugger = module.exports = update; /***/ }, -/* 189 */ +/* 190 */ /***/ function(module, exports) { /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -21267,7 +21296,7 @@ var Debugger = exports.DELETE_EXPRESSION = "DELETE_EXPRESSION"; /***/ }, -/* 190 */ +/* 191 */ /***/ function(module, exports, __webpack_require__) { function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } @@ -21276,9 +21305,9 @@ var Debugger = * 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/. */ - var fromJS = __webpack_require__(191); - var I = __webpack_require__(192); - var makeRecord = __webpack_require__(193); + var fromJS = __webpack_require__(192); + var I = __webpack_require__(193); + var makeRecord = __webpack_require__(194); var State = makeRecord({ sources: I.Map(), @@ -21300,11 +21329,6 @@ var Debugger = return state.mergeIn(["sources", action.source.id], _source); } - case "ADD_SOURCES": - return state.mergeIn(["sources"], I.Map(action.sources.map(source => { - return [source.id, fromJS(source)]; - }))); - case "LOAD_SOURCE_MAP": if (action.status == "done") { return state.mergeIn(["sourceMaps", action.source.id], action.value.sourceMap); @@ -21528,12 +21552,12 @@ var Debugger = }; /***/ }, -/* 191 */ +/* 192 */ /***/ function(module, exports, __webpack_require__) { - var Immutable = __webpack_require__(192); + var Immutable = __webpack_require__(193); // When our app state is fully types, we should be able to get rid of // this function. This is only temporarily necessary to support @@ -21572,7 +21596,7 @@ var Debugger = module.exports = fromJS; /***/ }, -/* 192 */ +/* 193 */ /***/ function(module, exports, __webpack_require__) { /** @@ -26558,7 +26582,7 @@ var Debugger = /***/ }, -/* 193 */ +/* 194 */ /***/ function(module, exports, __webpack_require__) { @@ -26568,7 +26592,7 @@ var Debugger = // because all the fields are actually typed, unlike the builtin one. // This depends on a performance fix that will go out in 0.29 though; - var I = __webpack_require__(192); + var I = __webpack_require__(193); /** * Make an immutable record type @@ -26583,7 +26607,7 @@ var Debugger = module.exports = makeRecord; /***/ }, -/* 194 */ +/* 195 */ /***/ function(module, exports, __webpack_require__) { @@ -26591,14 +26615,14 @@ var Debugger = * 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/. */ - var fromJS = __webpack_require__(191); + var fromJS = __webpack_require__(192); - var _require = __webpack_require__(175); + var _require = __webpack_require__(176); var updateObj = _require.updateObj; - var I = __webpack_require__(192); - var makeRecord = __webpack_require__(193); + var I = __webpack_require__(193); + var makeRecord = __webpack_require__(194); var State = makeRecord({ breakpoints: I.Map(), @@ -26772,7 +26796,7 @@ var Debugger = }; /***/ }, -/* 195 */ +/* 196 */ /***/ function(module, exports, __webpack_require__) { function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } @@ -26781,7 +26805,7 @@ var Debugger = * 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/. */ - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); var initialState = []; function update() { @@ -26809,16 +26833,16 @@ var Debugger = module.exports = update; /***/ }, -/* 196 */ +/* 197 */ /***/ function(module, exports, __webpack_require__) { /* 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/. */ - var constants = __webpack_require__(189); - var Immutable = __webpack_require__(192); - var fromJS = __webpack_require__(191); + var constants = __webpack_require__(190); + var Immutable = __webpack_require__(193); + var fromJS = __webpack_require__(192); var initialState = fromJS({ tabs: {}, @@ -26864,15 +26888,15 @@ var Debugger = module.exports = update; /***/ }, -/* 197 */ +/* 198 */ /***/ function(module, exports, __webpack_require__) { /* 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/. */ - var constants = __webpack_require__(189); - var fromJS = __webpack_require__(191); + var constants = __webpack_require__(190); + var fromJS = __webpack_require__(192); var initialState = fromJS({ pause: null, @@ -27030,16 +27054,16 @@ var Debugger = }; /***/ }, -/* 198 */ +/* 199 */ /***/ function(module, exports, __webpack_require__) { - var URL = __webpack_require__(199); - var path = __webpack_require__(204); - var sources = __webpack_require__(190); - var pause = __webpack_require__(197); - var breakpoints = __webpack_require__(194); + var URL = __webpack_require__(200); + var path = __webpack_require__(205); + var sources = __webpack_require__(191); + var pause = __webpack_require__(198); + var breakpoints = __webpack_require__(195); function getTabs(state) { return state.tabs.get("tabs"); @@ -27104,7 +27128,7 @@ var Debugger = }; /***/ }, -/* 199 */ +/* 200 */ /***/ function(module, exports, __webpack_require__) { // Copyright Joyent, Inc. and other Node contributors. @@ -27128,7 +27152,7 @@ var Debugger = // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. - var punycode = __webpack_require__(200); + var punycode = __webpack_require__(201); exports.parse = urlParse; exports.resolve = urlResolve; @@ -27200,7 +27224,7 @@ var Debugger = 'gopher:': true, 'file:': true }, - querystring = __webpack_require__(201); + querystring = __webpack_require__(202); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && isObject(url) && url instanceof Url) return url; @@ -27817,7 +27841,7 @@ var Debugger = /***/ }, -/* 200 */ +/* 201 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(module, global) {/*! https://mths.be/punycode v1.3.2 by @mathias */ @@ -28352,17 +28376,17 @@ var Debugger = /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(101)(module), (function() { return this; }()))) /***/ }, -/* 201 */ +/* 202 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; - exports.decode = exports.parse = __webpack_require__(202); - exports.encode = exports.stringify = __webpack_require__(203); + exports.decode = exports.parse = __webpack_require__(203); + exports.encode = exports.stringify = __webpack_require__(204); /***/ }, -/* 202 */ +/* 203 */ /***/ function(module, exports) { // Copyright Joyent, Inc. and other Node contributors. @@ -28448,7 +28472,7 @@ var Debugger = /***/ }, -/* 203 */ +/* 204 */ /***/ function(module, exports) { // Copyright Joyent, Inc. and other Node contributors. @@ -28518,7 +28542,7 @@ var Debugger = /***/ }, -/* 204 */ +/* 205 */ /***/ function(module, exports) { function basename(path) { @@ -28543,7 +28567,7 @@ var Debugger = }; /***/ }, -/* 205 */ +/* 206 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -28552,14 +28576,14 @@ var Debugger = var connect = _require.connect; - var classnames = __webpack_require__(206); + var classnames = __webpack_require__(207); - var _require2 = __webpack_require__(198); + var _require2 = __webpack_require__(199); var getTabs = _require2.getTabs; - __webpack_require__(207); + __webpack_require__(208); var dom = React.DOM; var githubUrl = "https://github.com/devtools-html/debugger.html/blob/master"; @@ -28597,7 +28621,7 @@ var Debugger = module.exports = connect(state => ({ tabs: getTabs(state) }))(Tabs); /***/ }, -/* 206 */ +/* 207 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -28651,16 +28675,16 @@ var Debugger = /***/ }, -/* 207 */ +/* 208 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 208 */, /* 209 */, /* 210 */, -/* 211 */ +/* 211 */, +/* 212 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -28676,19 +28700,19 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var _require3 = __webpack_require__(212); + var _require3 = __webpack_require__(213); var Services = _require3.Services; - var classnames = __webpack_require__(206); - var actions = __webpack_require__(213); + var classnames = __webpack_require__(207); + var actions = __webpack_require__(214); var _require4 = __webpack_require__(46); var isFirefoxPanel = _require4.isFirefoxPanel; - __webpack_require__(224); + __webpack_require__(225); // Using this static variable allows webpack to know at compile-time // to avoid this require and not include it at all in the output. @@ -28696,29 +28720,29 @@ var Debugger = require("../lib/themes/light-theme.css"); } - var Sources = createFactory(__webpack_require__(226)); - var Editor = createFactory(__webpack_require__(261)); - var SplitBox = createFactory(__webpack_require__(266)); - var RightSidebar = createFactory(__webpack_require__(270)); - var SourceTabs = createFactory(__webpack_require__(347)); - var SourceFooter = createFactory(__webpack_require__(352)); - var Svg = __webpack_require__(234); - var Autocomplete = createFactory(__webpack_require__(355)); + var Sources = createFactory(__webpack_require__(227)); + var Editor = createFactory(__webpack_require__(262)); + var SplitBox = createFactory(__webpack_require__(267)); + var RightSidebar = createFactory(__webpack_require__(271)); + var SourceTabs = createFactory(__webpack_require__(348)); + var SourceFooter = createFactory(__webpack_require__(353)); + var Svg = __webpack_require__(235); + var Autocomplete = createFactory(__webpack_require__(356)); - var _require5 = __webpack_require__(198); + var _require5 = __webpack_require__(199); var getSources = _require5.getSources; var getSelectedSource = _require5.getSelectedSource; - var _require6 = __webpack_require__(175); + var _require6 = __webpack_require__(176); var endTruncateStr = _require6.endTruncateStr; - var _require7 = __webpack_require__(364); + var _require7 = __webpack_require__(365); var KeyShortcuts = _require7.KeyShortcuts; - var _require8 = __webpack_require__(229); + var _require8 = __webpack_require__(230); var isHiddenSource = _require8.isHiddenSource; var getURL = _require8.getURL; @@ -28820,7 +28844,7 @@ var Debugger = selectedSource: getSelectedSource(state) }), dispatch => bindActionCreators(actions, dispatch))(App); /***/ }, -/* 212 */ +/* 213 */ /***/ function(module, exports) { /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -29435,22 +29459,22 @@ var Debugger = /***/ }, -/* 213 */ +/* 214 */ /***/ function(module, exports, __webpack_require__) { - var breakpoints = __webpack_require__(214); - var eventListeners = __webpack_require__(217); - var sources = __webpack_require__(218); - var tabs = __webpack_require__(221); - var pause = __webpack_require__(222); - var navigation = __webpack_require__(223); + var breakpoints = __webpack_require__(215); + var eventListeners = __webpack_require__(218); + var sources = __webpack_require__(219); + var tabs = __webpack_require__(222); + var pause = __webpack_require__(223); + var navigation = __webpack_require__(224); module.exports = Object.assign(navigation, breakpoints, eventListeners, sources, tabs, pause); /***/ }, -/* 214 */ +/* 215 */ /***/ function(module, exports, __webpack_require__) { var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); @@ -29466,18 +29490,18 @@ var Debugger = * @module actions/breakpoints */ - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); - var _require = __webpack_require__(183); + var _require = __webpack_require__(184); var PROMISE = _require.PROMISE; - var _require2 = __webpack_require__(198); + var _require2 = __webpack_require__(199); var getBreakpoint = _require2.getBreakpoint; var getBreakpoints = _require2.getBreakpoints; - var _require3 = __webpack_require__(215); + var _require3 = __webpack_require__(216); var getOriginalLocation = _require3.getOriginalLocation; var getGeneratedLocation = _require3.getGeneratedLocation; @@ -29697,7 +29721,7 @@ var Debugger = }; /***/ }, -/* 215 */ +/* 216 */ /***/ function(module, exports, __webpack_require__) { var getOriginalSources = (() => { @@ -29795,16 +29819,16 @@ var Debugger = function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { return step("next", value); }, function (err) { return step("throw", err); }); } } return step("next"); }); }; } - var _require = __webpack_require__(175); + var _require = __webpack_require__(176); var workerTask = _require.workerTask; - var _require2 = __webpack_require__(216); + var _require2 = __webpack_require__(217); var makeOriginalSource = _require2.makeOriginalSource; var getGeneratedSourceId = _require2.getGeneratedSourceId; - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getSource = _require3.getSource; var getSourceByURL = _require3.getSourceByURL; @@ -29899,7 +29923,7 @@ var Debugger = }; /***/ }, -/* 216 */ +/* 217 */ /***/ function(module, exports) { @@ -29928,7 +29952,7 @@ var Debugger = }; /***/ }, -/* 217 */ +/* 218 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -29942,13 +29966,13 @@ var Debugger = * @module actions/event-listeners */ - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); - var _require = __webpack_require__(175); + var _require = __webpack_require__(176); var asPaused = _require.asPaused; - var _require2 = __webpack_require__(185); + var _require2 = __webpack_require__(186); var reportException = _require2.reportException; @@ -30072,7 +30096,7 @@ var Debugger = module.exports = { updateEventBreakpoints, fetchEventListeners }; /***/ }, -/* 218 */ +/* 219 */ /***/ function(module, exports, __webpack_require__) { var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); @@ -30128,7 +30152,7 @@ var Debugger = var defer = __webpack_require__(112); - var _require = __webpack_require__(183); + var _require = __webpack_require__(184); var PROMISE = _require.PROMISE; @@ -30136,31 +30160,31 @@ var Debugger = var Task = _require2.Task; - var _require3 = __webpack_require__(219); + var _require3 = __webpack_require__(220); var isJavaScript = _require3.isJavaScript; - var _require4 = __webpack_require__(174); + var _require4 = __webpack_require__(175); var networkRequest = _require4.networkRequest; - var _require5 = __webpack_require__(175); + var _require5 = __webpack_require__(176); var workerTask = _require5.workerTask; - var _require6 = __webpack_require__(220); + var _require6 = __webpack_require__(221); var updateFrameLocations = _require6.updateFrameLocations; - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); var invariant = __webpack_require__(24); var _require7 = __webpack_require__(46); var isEnabled = _require7.isEnabled; - var _require8 = __webpack_require__(215); + var _require8 = __webpack_require__(216); var createOriginalSources = _require8.createOriginalSources; var getOriginalSourceTexts = _require8.getOriginalSourceTexts; @@ -30168,7 +30192,7 @@ var Debugger = var makeOriginalSource = _require8.makeOriginalSource; var getGeneratedSource = _require8.getGeneratedSource; - var _require9 = __webpack_require__(198); + var _require9 = __webpack_require__(199); var getSource = _require9.getSource; var getSourceByURL = _require9.getSourceByURL; @@ -30183,13 +30207,6 @@ var Debugger = return isEnabled("sourceMaps") && generatedSource.sourceMapURL; } - function _addSource(source) { - return { - type: constants.ADD_SOURCE, - source - }; - } - function newSource(source) { return _ref4 => { var dispatch = _ref4.dispatch; @@ -30199,7 +30216,10 @@ var Debugger = dispatch(loadSourceMap(source)); } - dispatch(_addSource(source)); + dispatch({ + type: constants.ADD_SOURCE, + source + }); // If a request has been made to show this source, go ahead and // select it. @@ -30210,14 +30230,23 @@ var Debugger = }; } + function newSources(sources) { + return _ref5 => { + var dispatch = _ref5.dispatch; + var getState = _ref5.getState; + + sources.filter(source => !getSource(getState(), source.id)).forEach(source => dispatch(newSource(source))); + }; + } + /** * @memberof actions/sources * @static */ function loadSourceMap(generatedSource) { - return _ref5 => { - var dispatch = _ref5.dispatch; - var getState = _ref5.getState; + return _ref6 => { + var dispatch = _ref6.dispatch; + var getState = _ref6.getState; var sourceMap = getSourceMap(getState(), generatedSource.id); if (sourceMap) { @@ -30255,9 +30284,9 @@ var Debugger = function selectSourceURL(url) { var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; - return _ref7 => { - var dispatch = _ref7.dispatch; - var getState = _ref7.getState; + return _ref8 => { + var dispatch = _ref8.dispatch; + var getState = _ref8.getState; var source = getSourceByURL(getState(), url); if (source) { @@ -30280,10 +30309,10 @@ var Debugger = function selectSource(id) { var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; - return _ref8 => { - var dispatch = _ref8.dispatch; - var getState = _ref8.getState; - var client = _ref8.client; + return _ref9 => { + var dispatch = _ref9.dispatch; + var getState = _ref9.getState; + var client = _ref9.client; if (!client) { // No connection, do nothing. This happens when the debugger is @@ -30330,9 +30359,9 @@ var Debugger = * [aSource, error]. */ function blackbox(source, shouldBlackBox) { - return _ref9 => { - var dispatch = _ref9.dispatch; - var client = _ref9.client; + return _ref10 => { + var dispatch = _ref10.dispatch; + var client = _ref10.client; dispatch({ type: constants.BLACKBOX, @@ -30360,10 +30389,10 @@ var Debugger = * [aSource, error]. */ function togglePrettyPrint(id) { - return _ref10 => { - var dispatch = _ref10.dispatch; - var getState = _ref10.getState; - var client = _ref10.client; + return _ref11 => { + var dispatch = _ref11.dispatch; + var getState = _ref11.getState; + var client = _ref11.client; var source = getSource(getState(), id).toJS(); var sourceText = getSourceText(getState(), id).toJS(); @@ -30378,7 +30407,10 @@ var Debugger = var url = source.url + ":formatted"; var originalSource = makeOriginalSource({ url, source }); - dispatch(_addSource(originalSource)); + dispatch({ + type: constants.ADD_SOURCE, + source: originalSource + }); return dispatch({ type: constants.TOGGLE_PRETTY_PRINT, @@ -30412,10 +30444,10 @@ var Debugger = * @static */ function loadSourceText(source) { - return _ref12 => { - var dispatch = _ref12.dispatch; - var getState = _ref12.getState; - var client = _ref12.client; + return _ref13 => { + var dispatch = _ref13.dispatch; + var getState = _ref13.getState; + var client = _ref13.client; // Fetch the source text only once. var textInfo = getSourceText(getState(), source.id); @@ -30472,9 +30504,9 @@ var Debugger = * A promise that is resolved after source texts have been fetched. */ function getTextForSources(actors) { - return _ref14 => { - var dispatch = _ref14.dispatch; - var getState = _ref14.getState; + return _ref15 => { + var dispatch = _ref15.dispatch; + var getState = _ref15.getState; var deferred = defer(); var pending = new Set(actors); @@ -30489,9 +30521,9 @@ var Debugger = var _loop = function (actor) { var source = getSource(getState(), actor); - dispatch(loadSourceText(source)).then(_ref23 => { - var text = _ref23.text; - var contentType = _ref23.contentType; + dispatch(loadSourceText(source)).then(_ref24 => { + var text = _ref24.text; + var contentType = _ref24.contentType; onFetch([source, text, contentType]); }, err => { @@ -30512,12 +30544,12 @@ var Debugger = } /* Called if fetching a source finishes successfully. */ - function onFetch(_ref15) { - var _ref16 = _slicedToArray(_ref15, 3); + function onFetch(_ref16) { + var _ref17 = _slicedToArray(_ref16, 3); - var aSource = _ref16[0]; - var aText = _ref16[1]; - var aContentType = _ref16[2]; + var aSource = _ref17[0]; + var aText = _ref17[1]; + var aContentType = _ref17[2]; // If fetching the source has previously timed out, discard it this time. if (!pending.has(aSource.actor)) { @@ -30529,11 +30561,11 @@ var Debugger = } /* Called if fetching a source failed because of an error. */ - function onError(_ref17) { - var _ref18 = _slicedToArray(_ref17, 2); + function onError(_ref18) { + var _ref19 = _slicedToArray(_ref18, 2); - var aSource = _ref18[0]; - var aError = _ref18[1]; + var aSource = _ref19[0]; + var aError = _ref19[1]; pending.delete(aSource.actor); maybeFinish(); @@ -30545,14 +30577,14 @@ var Debugger = function maybeFinish() { if (pending.size == 0) { // Sort the fetched sources alphabetically by their url. - deferred.resolve(fetched.sort((_ref19, _ref20) => { - var _ref22 = _slicedToArray(_ref19, 1); + deferred.resolve(fetched.sort((_ref20, _ref21) => { + var _ref23 = _slicedToArray(_ref20, 1); - var aFirst = _ref22[0]; + var aFirst = _ref23[0]; - var _ref21 = _slicedToArray(_ref20, 1); + var _ref22 = _slicedToArray(_ref21, 1); - var aSecond = _ref21[0]; + var aSecond = _ref22[0]; return aFirst > aSecond; })); } @@ -30564,6 +30596,7 @@ var Debugger = module.exports = { newSource, + newSources, selectSource, selectSourceURL, closeTab, @@ -30574,7 +30607,7 @@ var Debugger = }; /***/ }, -/* 219 */ +/* 220 */ /***/ function(module, exports) { @@ -30617,7 +30650,7 @@ var Debugger = }; /***/ }, -/* 220 */ +/* 221 */ /***/ function(module, exports, __webpack_require__) { var updateFrameLocation = (() => { @@ -30653,11 +30686,11 @@ var Debugger = var Location = _require.Location; var Frame = _require.Frame; - var _require2 = __webpack_require__(215); + var _require2 = __webpack_require__(216); var getOriginalLocation = _require2.getOriginalLocation; - var _require3 = __webpack_require__(175); + var _require3 = __webpack_require__(176); var asyncMap = _require3.asyncMap; @@ -30667,7 +30700,7 @@ var Debugger = }; /***/ }, -/* 221 */ +/* 222 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -30680,7 +30713,7 @@ var Debugger = * @module actions/tabs */ - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); /** * @typedef {Object} TabAction @@ -30724,26 +30757,26 @@ var Debugger = }; /***/ }, -/* 222 */ +/* 223 */ /***/ function(module, exports, __webpack_require__) { function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { return step("next", value); }, function (err) { return step("throw", err); }); } } return step("next"); }); }; } - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); - var _require = __webpack_require__(218); + var _require = __webpack_require__(219); var selectSource = _require.selectSource; - var _require2 = __webpack_require__(183); + var _require2 = __webpack_require__(184); var PROMISE = _require2.PROMISE; - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getExpressions = _require3.getExpressions; - var _require4 = __webpack_require__(220); + var _require4 = __webpack_require__(221); var updateFrameLocations = _require4.updateFrameLocations; @@ -31052,12 +31085,12 @@ var Debugger = }; /***/ }, -/* 223 */ +/* 224 */ /***/ function(module, exports, __webpack_require__) { - var constants = __webpack_require__(189); + var constants = __webpack_require__(190); - var _require = __webpack_require__(215); + var _require = __webpack_require__(216); var clearData = _require.clearData; @@ -31101,21 +31134,21 @@ var Debugger = }; /***/ }, -/* 224 */ +/* 225 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 225 */, -/* 226 */ +/* 226 */, +/* 227 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); var dom = React.DOM; var PropTypes = React.PropTypes; - var ImPropTypes = __webpack_require__(227); + var ImPropTypes = __webpack_require__(228); var _require = __webpack_require__(2); @@ -31125,16 +31158,16 @@ var Debugger = var connect = _require2.connect; - var SourcesTree = React.createFactory(__webpack_require__(228)); - var actions = __webpack_require__(213); + var SourcesTree = React.createFactory(__webpack_require__(229)); + var actions = __webpack_require__(214); - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getSelectedSource = _require3.getSelectedSource; var getSources = _require3.getSources; - __webpack_require__(259); + __webpack_require__(260); var Sources = React.createClass({ propTypes: { @@ -31158,7 +31191,7 @@ var Debugger = sources: getSources(state) }), dispatch => bindActionCreators(actions, dispatch))(Sources); /***/ }, -/* 227 */ +/* 228 */ /***/ function(module, exports, __webpack_require__) { /** @@ -31169,7 +31202,7 @@ var Debugger = */ "use strict"; - var Immutable = __webpack_require__(192); + var Immutable = __webpack_require__(193); var ANONYMOUS = "<>"; @@ -31362,21 +31395,21 @@ var Debugger = module.exports = ImmutablePropTypes; /***/ }, -/* 228 */ +/* 229 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); var dom = React.DOM; var PropTypes = React.PropTypes; - var classnames = __webpack_require__(206); - var ImPropTypes = __webpack_require__(227); + var classnames = __webpack_require__(207); + var ImPropTypes = __webpack_require__(228); - var _require = __webpack_require__(192); + var _require = __webpack_require__(193); var Set = _require.Set; - var _require2 = __webpack_require__(229); + var _require2 = __webpack_require__(230); var nodeHasChildren = _require2.nodeHasChildren; var createParentMap = _require2.createParentMap; @@ -31384,10 +31417,10 @@ var Debugger = var collapseTree = _require2.collapseTree; var createTree = _require2.createTree; - var ManagedTree = React.createFactory(__webpack_require__(230)); - var Svg = __webpack_require__(234); + var ManagedTree = React.createFactory(__webpack_require__(231)); + var Svg = __webpack_require__(235); - var _require3 = __webpack_require__(175); + var _require3 = __webpack_require__(176); var throttle = _require3.throttle; @@ -31531,16 +31564,16 @@ var Debugger = module.exports = SourcesTree; /***/ }, -/* 229 */ +/* 230 */ /***/ function(module, exports, __webpack_require__) { - var URL = __webpack_require__(199); + var URL = __webpack_require__(200); - var _require = __webpack_require__(185); + var _require = __webpack_require__(186); var assert = _require.assert; - var _require2 = __webpack_require__(219); + var _require2 = __webpack_require__(220); var isPretty = _require2.isPretty; @@ -31730,12 +31763,12 @@ var Debugger = }; /***/ }, -/* 230 */ +/* 231 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); - var Tree = React.createFactory(__webpack_require__(231)); - __webpack_require__(232); + var Tree = React.createFactory(__webpack_require__(232)); + __webpack_require__(233); var ManagedTree = React.createClass({ propTypes: Tree.propTypes, @@ -31810,7 +31843,7 @@ var Debugger = module.exports = ManagedTree; /***/ }, -/* 231 */ +/* 232 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -32410,52 +32443,52 @@ var Debugger = /***/ }, -/* 232 */ +/* 233 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 233 */, -/* 234 */ +/* 234 */, +/* 235 */ /***/ function(module, exports, __webpack_require__) { /** * This file maps the SVG React Components in the public/images directory. */ - var Svg = __webpack_require__(235); + var Svg = __webpack_require__(236); module.exports = Svg; /***/ }, -/* 235 */ +/* 236 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); - var InlineSVG = __webpack_require__(236); + var InlineSVG = __webpack_require__(237); var svg = { - "angle-brackets": __webpack_require__(237), - "arrow": __webpack_require__(238), - "blackBox": __webpack_require__(239), - "breakpoint": __webpack_require__(240), - "close": __webpack_require__(241), - "disableBreakpoints": __webpack_require__(242), - "domain": __webpack_require__(243), - "file": __webpack_require__(244), - "folder": __webpack_require__(245), - "globe": __webpack_require__(246), - "magnifying-glass": __webpack_require__(247), - "pause": __webpack_require__(248), - "pause-circle": __webpack_require__(249), - "pause-exceptions": __webpack_require__(250), - "prettyPrint": __webpack_require__(251), - "resume": __webpack_require__(252), - "settings": __webpack_require__(253), - "stepIn": __webpack_require__(254), - "stepOut": __webpack_require__(255), - "stepOver": __webpack_require__(256), - "subSettings": __webpack_require__(257), - "worker": __webpack_require__(258) + "angle-brackets": __webpack_require__(238), + "arrow": __webpack_require__(239), + "blackBox": __webpack_require__(240), + "breakpoint": __webpack_require__(241), + "close": __webpack_require__(242), + "disableBreakpoints": __webpack_require__(243), + "domain": __webpack_require__(244), + "file": __webpack_require__(245), + "folder": __webpack_require__(246), + "globe": __webpack_require__(247), + "magnifying-glass": __webpack_require__(248), + "pause": __webpack_require__(249), + "pause-circle": __webpack_require__(250), + "pause-exceptions": __webpack_require__(251), + "prettyPrint": __webpack_require__(252), + "resume": __webpack_require__(253), + "settings": __webpack_require__(254), + "stepIn": __webpack_require__(255), + "stepOut": __webpack_require__(256), + "stepOver": __webpack_require__(257), + "subSettings": __webpack_require__(258), + "worker": __webpack_require__(259) }; module.exports = function (name, props) { @@ -32475,7 +32508,7 @@ var Debugger = }; /***/ }, -/* 236 */ +/* 237 */ /***/ function(module, exports, __webpack_require__) { 'use strict'; @@ -32631,151 +32664,151 @@ var Debugger = module.exports = exports['default']; /***/ }, -/* 237 */ +/* 238 */ /***/ function(module, exports) { module.exports = "" /***/ }, -/* 238 */ +/* 239 */ /***/ function(module, exports) { module.exports = "" /***/ }, -/* 239 */ +/* 240 */ /***/ function(module, exports) { module.exports = "" -/***/ }, -/* 240 */ -/***/ function(module, exports) { - - module.exports = "" - /***/ }, /* 241 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 242 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 243 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 244 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 245 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 246 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 247 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 248 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 249 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 250 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 251 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 252 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 253 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 254 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 255 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 256 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 257 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 258 */ /***/ function(module, exports) { - module.exports = "" + module.exports = "" /***/ }, /* 259 */ +/***/ function(module, exports) { + + module.exports = "" + +/***/ }, +/* 260 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 260 */, -/* 261 */ +/* 261 */, +/* 262 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); var ReactDOM = __webpack_require__(25); - var ImPropTypes = __webpack_require__(227); + var ImPropTypes = __webpack_require__(228); var _require = __webpack_require__(2); @@ -32785,30 +32818,30 @@ var Debugger = var connect = _require2.connect; - var SourceEditor = __webpack_require__(262); + var SourceEditor = __webpack_require__(263); var _require3 = __webpack_require__(45); var debugGlobal = _require3.debugGlobal; - var _require4 = __webpack_require__(198); + var _require4 = __webpack_require__(199); var getSourceText = _require4.getSourceText; var getBreakpointsForSource = _require4.getBreakpointsForSource; var getSelectedLocation = _require4.getSelectedLocation; var getSelectedFrame = _require4.getSelectedFrame; - var _require5 = __webpack_require__(194); + var _require5 = __webpack_require__(195); var makeLocationId = _require5.makeLocationId; - var actions = __webpack_require__(213); - var Breakpoint = React.createFactory(__webpack_require__(263)); + var actions = __webpack_require__(214); + var Breakpoint = React.createFactory(__webpack_require__(264)); var dom = React.DOM; var PropTypes = React.PropTypes; - __webpack_require__(264); + __webpack_require__(265); function isTextForSource(sourceText) { return !sourceText.get("loading") && !sourceText.get("error"); @@ -33038,19 +33071,19 @@ var Debugger = }, dispatch => bindActionCreators(actions, dispatch))(Editor); /***/ }, -/* 262 */ +/* 263 */ /***/ function(module, exports) { module.exports = devtoolsRequire('devtools/client/sourceeditor/editor'); /***/ }, -/* 263 */ +/* 264 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); var PropTypes = React.PropTypes; - var classnames = __webpack_require__(206); + var classnames = __webpack_require__(207); function makeMarker(isDisabled) { var marker = document.createElement("div"); @@ -33120,14 +33153,14 @@ var Debugger = module.exports = Breakpoint; /***/ }, -/* 264 */ +/* 265 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 265 */, -/* 266 */ +/* 266 */, +/* 267 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -33136,8 +33169,8 @@ var Debugger = var React = __webpack_require__(17); var ReactDOM = __webpack_require__(25); - var Draggable = React.createFactory(__webpack_require__(267)); - __webpack_require__(268); + var Draggable = React.createFactory(__webpack_require__(268)); + __webpack_require__(269); var dom = React.DOM; var PropTypes = React.PropTypes; @@ -33176,8 +33209,8 @@ var Debugger = return dom.div({ className: "split-box", style: this.props.style }, dom.div({ className: rightFlex ? "uncontrolled" : "controlled", - style: { width: rightFlex ? null : width } }, left), Draggable({ className: "splitter", - onMove: x => this.onMove(x) }), dom.div({ className: rightFlex ? "controlled" : "uncontrolled", + style: { width: rightFlex ? null : width } }, left), dom.div({ className: "splitter" }, Draggable({ className: "splitter-handle", + onMove: x => this.onMove(x) })), dom.div({ className: rightFlex ? "controlled" : "uncontrolled", style: { width: rightFlex ? width : null } }, right)); } }); @@ -33185,7 +33218,7 @@ var Debugger = module.exports = SplitBox; /***/ }, -/* 267 */ +/* 268 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -33239,14 +33272,14 @@ var Debugger = module.exports = Draggable; /***/ }, -/* 268 */ +/* 269 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 269 */, -/* 270 */ +/* 270 */, +/* 271 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -33261,7 +33294,7 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getPause = _require3.getPause; var getIsWaitingOnBreak = _require3.getIsWaitingOnBreak; @@ -33275,23 +33308,23 @@ var Debugger = var isEnabled = _require4.isEnabled; - var Svg = __webpack_require__(234); - var ImPropTypes = __webpack_require__(227); + var Svg = __webpack_require__(235); + var ImPropTypes = __webpack_require__(228); - var _require5 = __webpack_require__(212); + var _require5 = __webpack_require__(213); var Services = _require5.Services; var shiftKey = Services.appinfo.OS === "Darwin" ? "\u21E7" : "Shift+"; var ctrlKey = Services.appinfo.OS === "Linux" ? "Ctrl+" : ""; - var actions = __webpack_require__(213); - var Breakpoints = React.createFactory(__webpack_require__(271)); - var Expressions = React.createFactory(__webpack_require__(274)); - var Scopes = React.createFactory(__webpack_require__(307)); - var Frames = React.createFactory(__webpack_require__(339)); - var Accordion = React.createFactory(__webpack_require__(342)); - __webpack_require__(345); + var actions = __webpack_require__(214); + var Breakpoints = React.createFactory(__webpack_require__(272)); + var Expressions = React.createFactory(__webpack_require__(275)); + var Scopes = React.createFactory(__webpack_require__(308)); + var Frames = React.createFactory(__webpack_require__(340)); + var Accordion = React.createFactory(__webpack_require__(343)); + __webpack_require__(346); function debugBtn(onClick, type, className, tooltip) { className = `${ type } ${ className }`; @@ -33479,7 +33512,7 @@ var Debugger = }, dispatch => bindActionCreators(actions, dispatch))(RightSidebar); /***/ }, -/* 271 */ +/* 272 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -33492,36 +33525,36 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var ImPropTypes = __webpack_require__(227); - var classnames = __webpack_require__(206); - var actions = __webpack_require__(213); + var ImPropTypes = __webpack_require__(228); + var classnames = __webpack_require__(207); + var actions = __webpack_require__(214); - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getSource = _require3.getSource; var getPause = _require3.getPause; var getBreakpoints = _require3.getBreakpoints; - var _require4 = __webpack_require__(194); + var _require4 = __webpack_require__(195); var makeLocationId = _require4.makeLocationId; - var _require5 = __webpack_require__(175); + var _require5 = __webpack_require__(176); var truncateStr = _require5.truncateStr; var dom = React.DOM; var PropTypes = React.PropTypes; - var _require6 = __webpack_require__(175); + var _require6 = __webpack_require__(176); var endTruncateStr = _require6.endTruncateStr; - var _require7 = __webpack_require__(204); + var _require7 = __webpack_require__(205); var basename = _require7.basename; - __webpack_require__(272); + __webpack_require__(273); function isCurrentlyPausedAtBreakpoint(state, breakpoint) { var pause = getPause(state); @@ -33619,14 +33652,14 @@ var Debugger = }), dispatch => bindActionCreators(actions, dispatch))(Breakpoints); /***/ }, -/* 272 */ +/* 273 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 273 */, -/* 274 */ +/* 274 */, +/* 275 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -33639,23 +33672,23 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var ImPropTypes = __webpack_require__(227); + var ImPropTypes = __webpack_require__(228); // const classnames = require("classnames"); - var Svg = __webpack_require__(234); - var actions = __webpack_require__(213); + var Svg = __webpack_require__(235); + var actions = __webpack_require__(214); - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getExpressions = _require3.getExpressions; var getPause = _require3.getPause; - var Rep = React.createFactory(__webpack_require__(275)); + var Rep = React.createFactory(__webpack_require__(276)); // const { truncateStr } = require("../utils/utils"); var dom = React.DOM; var PropTypes = React.PropTypes; - __webpack_require__(305); + __webpack_require__(306); var Expressions = React.createClass({ propTypes: { @@ -33758,14 +33791,14 @@ var Debugger = expressions: getExpressions(state) }), dispatch => bindActionCreators(actions, dispatch))(Expressions); /***/ }, -/* 275 */ +/* 276 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); - var Rep = React.createFactory(__webpack_require__(276).Rep); - var Grip = __webpack_require__(302).Grip; + var Rep = React.createFactory(__webpack_require__(277).Rep); + var Grip = __webpack_require__(303).Grip; - __webpack_require__(303); + __webpack_require__(304); function renderRep(_ref) { var object = _ref.object; @@ -33777,7 +33810,7 @@ var Debugger = module.exports = renderRep; /***/ }, -/* 276 */ +/* 277 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -33793,31 +33826,31 @@ var Debugger = // Dependencies const React = __webpack_require__(17); - const { isGrip } = __webpack_require__(277); + const { isGrip } = __webpack_require__(278); // Load all existing rep templates - const { Undefined } = __webpack_require__(278); - const { Null } = __webpack_require__(280); - const { StringRep } = __webpack_require__(281); - const { Number } = __webpack_require__(282); - const { ArrayRep } = __webpack_require__(283); - const { Obj } = __webpack_require__(285); + const { Undefined } = __webpack_require__(279); + const { Null } = __webpack_require__(281); + const { StringRep } = __webpack_require__(282); + const { Number } = __webpack_require__(283); + const { ArrayRep } = __webpack_require__(284); + const { Obj } = __webpack_require__(286); // DOM types (grips) - const { Attribute } = __webpack_require__(287); - const { DateTime } = __webpack_require__(289); - const { Document } = __webpack_require__(290); - const { Event } = __webpack_require__(292); - const { Func } = __webpack_require__(293); - const { NamedNodeMap } = __webpack_require__(294); - const { RegExp } = __webpack_require__(295); - const { StyleSheet } = __webpack_require__(296); - const { TextNode } = __webpack_require__(297); - const { Window } = __webpack_require__(298); - const { ObjectWithText } = __webpack_require__(299); - const { ObjectWithURL } = __webpack_require__(300); - const { GripArray } = __webpack_require__(301); - const { Grip } = __webpack_require__(302); + const { Attribute } = __webpack_require__(288); + const { DateTime } = __webpack_require__(290); + const { Document } = __webpack_require__(291); + const { Event } = __webpack_require__(293); + const { Func } = __webpack_require__(294); + const { NamedNodeMap } = __webpack_require__(295); + const { RegExp } = __webpack_require__(296); + const { StyleSheet } = __webpack_require__(297); + const { TextNode } = __webpack_require__(298); + const { Window } = __webpack_require__(299); + const { ObjectWithText } = __webpack_require__(300); + const { ObjectWithURL } = __webpack_require__(301); + const { GripArray } = __webpack_require__(302); + const { Grip } = __webpack_require__(303); // List of all registered template. // XXX there should be a way for extensions to register a new @@ -33911,7 +33944,7 @@ var Debugger = /***/ }, -/* 277 */ +/* 278 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -33998,7 +34031,7 @@ var Debugger = /***/ }, -/* 278 */ +/* 279 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34013,8 +34046,8 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); + const { createFactories } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); /** * Renders undefined value @@ -34049,7 +34082,7 @@ var Debugger = /***/ }, -/* 279 */ +/* 280 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34090,7 +34123,7 @@ var Debugger = /***/ }, -/* 280 */ +/* 281 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34105,8 +34138,8 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); + const { createFactories } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); /** * Renders null value @@ -34141,7 +34174,7 @@ var Debugger = /***/ }, -/* 281 */ +/* 282 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34156,8 +34189,8 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories, cropMultipleLines } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); + const { createFactories, cropMultipleLines } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); /** * Renders a string. String value is enclosed within quotes. @@ -34198,7 +34231,7 @@ var Debugger = /***/ }, -/* 282 */ +/* 283 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34213,8 +34246,8 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); + const { createFactories } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); /** * Renders a number @@ -34250,7 +34283,7 @@ var Debugger = /***/ }, -/* 283 */ +/* 284 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34265,9 +34298,9 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { Caption } = createFactories(__webpack_require__(284)); + const { createFactories } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { Caption } = createFactories(__webpack_require__(285)); // Shortcuts const DOM = React.DOM; @@ -34423,7 +34456,7 @@ var Debugger = displayName: "ItemRep", render: function () { - const { Rep } = createFactories(__webpack_require__(276)); + const { Rep } = createFactories(__webpack_require__(277)); let object = this.props.object; let delim = this.props.delim; @@ -34465,7 +34498,7 @@ var Debugger = /***/ }, -/* 284 */ +/* 285 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34502,7 +34535,7 @@ var Debugger = /***/ }, -/* 285 */ +/* 286 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34516,10 +34549,10 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { Caption } = createFactories(__webpack_require__(284)); - const { PropRep } = createFactories(__webpack_require__(286)); + const { createFactories } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { Caption } = createFactories(__webpack_require__(285)); + const { PropRep } = createFactories(__webpack_require__(287)); // Shortcuts const { span } = React.DOM; /** @@ -34671,7 +34704,7 @@ var Debugger = /***/ }, -/* 286 */ +/* 287 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34684,7 +34717,7 @@ var Debugger = // Make this available to both AMD and CJS environments !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { const React = __webpack_require__(17); - const { createFactories } = __webpack_require__(277); + const { createFactories } = __webpack_require__(278); const { span } = React.DOM; @@ -34705,7 +34738,7 @@ var Debugger = }, render: function () { - let { Rep } = createFactories(__webpack_require__(276)); + let { Rep } = createFactories(__webpack_require__(277)); return ( span({}, @@ -34734,7 +34767,7 @@ var Debugger = /***/ }, -/* 287 */ +/* 288 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34750,9 +34783,9 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); - const { StringRep } = __webpack_require__(281); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); + const { StringRep } = __webpack_require__(282); // Shortcuts const { span } = React.DOM; @@ -34810,7 +34843,7 @@ var Debugger = /***/ }, -/* 288 */ +/* 289 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34852,7 +34885,7 @@ var Debugger = /***/ }, -/* 289 */ +/* 290 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34868,8 +34901,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); // Shortcuts const { span } = React.DOM; @@ -34919,7 +34952,7 @@ var Debugger = /***/ }, -/* 290 */ +/* 291 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -34935,9 +34968,9 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { getFileName } = __webpack_require__(291); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { getFileName } = __webpack_require__(292); // Shortcuts const { span } = React.DOM; @@ -34997,7 +35030,7 @@ var Debugger = /***/ }, -/* 291 */ +/* 292 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35084,7 +35117,7 @@ var Debugger = /***/ }, -/* 292 */ +/* 293 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35100,8 +35133,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); /** * Renders DOM event objects. @@ -35159,7 +35192,7 @@ var Debugger = /***/ }, -/* 293 */ +/* 294 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35175,8 +35208,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip, cropString } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip, cropString } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); /** * This component represents a template for Function objects. @@ -35224,7 +35257,7 @@ var Debugger = /***/ }, -/* 294 */ +/* 295 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35240,9 +35273,9 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); - const { Caption } = createFactories(__webpack_require__(284)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); + const { Caption } = createFactories(__webpack_require__(285)); // Shortcuts const { span } = React.DOM; @@ -35360,7 +35393,7 @@ var Debugger = }, render: function () { - const { Rep } = createFactories(__webpack_require__(276)); + const { Rep } = createFactories(__webpack_require__(277)); return ( span({}, @@ -35403,7 +35436,7 @@ var Debugger = /***/ }, -/* 295 */ +/* 296 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35419,8 +35452,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); // Shortcuts const { span } = React.DOM; @@ -35478,7 +35511,7 @@ var Debugger = /***/ }, -/* 296 */ +/* 297 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35494,9 +35527,9 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { getFileName } = __webpack_require__(291); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { getFileName } = __webpack_require__(292); // Shortcuts const DOM = React.DOM; @@ -35551,7 +35584,7 @@ var Debugger = /***/ }, -/* 297 */ +/* 298 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35567,8 +35600,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip, cropMultipleLines } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip, cropMultipleLines } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); // Shortcuts const DOM = React.DOM; @@ -35638,7 +35671,7 @@ var Debugger = /***/ }, -/* 298 */ +/* 299 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35654,8 +35687,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip, cropString } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); + const { createFactories, isGrip, cropString } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); // Shortcuts const DOM = React.DOM; @@ -35706,7 +35739,7 @@ var Debugger = /***/ }, -/* 299 */ +/* 300 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35722,8 +35755,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); // Shortcuts const { span } = React.DOM; @@ -35777,7 +35810,7 @@ var Debugger = /***/ }, -/* 300 */ +/* 301 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35793,8 +35826,8 @@ var Debugger = const React = __webpack_require__(17); // Reps - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectLink } = createFactories(__webpack_require__(288)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectLink } = createFactories(__webpack_require__(289)); // Shortcuts const { span } = React.DOM; @@ -35848,7 +35881,7 @@ var Debugger = /***/ }, -/* 301 */ +/* 302 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -35863,9 +35896,9 @@ var Debugger = !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { // Dependencies const React = __webpack_require__(17); - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { Caption } = createFactories(__webpack_require__(284)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { Caption } = createFactories(__webpack_require__(285)); // Shortcuts const { a, span } = React.DOM; @@ -35997,7 +36030,7 @@ var Debugger = }, render: function () { - let { Rep } = createFactories(__webpack_require__(276)); + let { Rep } = createFactories(__webpack_require__(277)); return ( span({}, @@ -36042,7 +36075,7 @@ var Debugger = /***/ }, -/* 302 */ +/* 303 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ @@ -36057,10 +36090,10 @@ var Debugger = // ReactJS const React = __webpack_require__(17); // Dependencies - const { createFactories, isGrip } = __webpack_require__(277); - const { ObjectBox } = createFactories(__webpack_require__(279)); - const { Caption } = createFactories(__webpack_require__(284)); - const { PropRep } = createFactories(__webpack_require__(286)); + const { createFactories, isGrip } = __webpack_require__(278); + const { ObjectBox } = createFactories(__webpack_require__(280)); + const { Caption } = createFactories(__webpack_require__(285)); + const { PropRep } = createFactories(__webpack_require__(287)); // Shortcuts const { span } = React.DOM; @@ -36229,21 +36262,21 @@ var Debugger = /***/ }, -/* 303 */ +/* 304 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 304 */, -/* 305 */ +/* 305 */, +/* 306 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 306 */, -/* 307 */ +/* 307 */, +/* 308 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -36256,22 +36289,22 @@ var Debugger = var connect = _require2.connect; - var ImPropTypes = __webpack_require__(227); - var actions = __webpack_require__(213); + var ImPropTypes = __webpack_require__(228); + var actions = __webpack_require__(214); - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getSelectedFrame = _require3.getSelectedFrame; var getLoadedObjects = _require3.getLoadedObjects; var getPause = _require3.getPause; - var ObjectInspector = React.createFactory(__webpack_require__(308)); + var ObjectInspector = React.createFactory(__webpack_require__(309)); var dom = React.DOM; var PropTypes = React.PropTypes; - var toPairs = __webpack_require__(312); + var toPairs = __webpack_require__(313); - __webpack_require__(337); + __webpack_require__(338); function info(text) { return dom.div({ className: "pane-info" }, text); @@ -36451,14 +36484,14 @@ var Debugger = }), dispatch => bindActionCreators(actions, dispatch))(Scopes); /***/ }, -/* 308 */ +/* 309 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); - var classnames = __webpack_require__(206); - var ManagedTree = React.createFactory(__webpack_require__(230)); - var Arrow = React.createFactory(__webpack_require__(309)); - var Rep = __webpack_require__(275); + var classnames = __webpack_require__(207); + var ManagedTree = React.createFactory(__webpack_require__(231)); + var Arrow = React.createFactory(__webpack_require__(310)); + var Rep = __webpack_require__(276); var dom = React.DOM; var PropTypes = React.PropTypes; @@ -36640,39 +36673,39 @@ var Debugger = module.exports = ObjectInspector; /***/ }, -/* 309 */ +/* 310 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); - var InlineSVG = __webpack_require__(236); + var InlineSVG = __webpack_require__(237); var dom = React.DOM; - __webpack_require__(310); + __webpack_require__(311); // This is inline because it's much faster. We need to revisit how we // load SVGs, at least for components that render them several times. var Arrow = props => { var className = "arrow " + (props.className || ""); return dom.span(Object.assign({}, props, { className }), React.createElement(InlineSVG, { - src: __webpack_require__(238) + src: __webpack_require__(239) })); }; module.exports = Arrow; /***/ }, -/* 310 */ +/* 311 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 311 */, -/* 312 */ +/* 312 */, +/* 313 */ /***/ function(module, exports, __webpack_require__) { - var createToPairs = __webpack_require__(313), - keys = __webpack_require__(323); + var createToPairs = __webpack_require__(314), + keys = __webpack_require__(324); /** * Creates an array of own enumerable string keyed-value pairs for `object` @@ -36704,13 +36737,13 @@ var Debugger = /***/ }, -/* 313 */ +/* 314 */ /***/ function(module, exports, __webpack_require__) { - var baseToPairs = __webpack_require__(314), - getTag = __webpack_require__(316), - mapToArray = __webpack_require__(321), - setToPairs = __webpack_require__(322); + var baseToPairs = __webpack_require__(315), + getTag = __webpack_require__(317), + mapToArray = __webpack_require__(322), + setToPairs = __webpack_require__(323); /** `Object#toString` result references. */ var mapTag = '[object Map]', @@ -36740,10 +36773,10 @@ var Debugger = /***/ }, -/* 314 */ +/* 315 */ /***/ function(module, exports, __webpack_require__) { - var arrayMap = __webpack_require__(315); + var arrayMap = __webpack_require__(316); /** * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array @@ -36764,7 +36797,7 @@ var Debugger = /***/ }, -/* 315 */ +/* 316 */ /***/ function(module, exports) { /** @@ -36791,14 +36824,14 @@ var Debugger = /***/ }, -/* 316 */ +/* 317 */ /***/ function(module, exports, __webpack_require__) { - var DataView = __webpack_require__(317), + var DataView = __webpack_require__(318), Map = __webpack_require__(82), - Promise = __webpack_require__(318), - Set = __webpack_require__(319), - WeakMap = __webpack_require__(320), + Promise = __webpack_require__(319), + Set = __webpack_require__(320), + WeakMap = __webpack_require__(321), toSource = __webpack_require__(68); /** `Object#toString` result references. */ @@ -36867,7 +36900,7 @@ var Debugger = /***/ }, -/* 317 */ +/* 318 */ /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -36880,7 +36913,7 @@ var Debugger = /***/ }, -/* 318 */ +/* 319 */ /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -36893,7 +36926,7 @@ var Debugger = /***/ }, -/* 319 */ +/* 320 */ /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -36906,7 +36939,7 @@ var Debugger = /***/ }, -/* 320 */ +/* 321 */ /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -36919,7 +36952,7 @@ var Debugger = /***/ }, -/* 321 */ +/* 322 */ /***/ function(module, exports) { /** @@ -36943,7 +36976,7 @@ var Debugger = /***/ }, -/* 322 */ +/* 323 */ /***/ function(module, exports) { /** @@ -36967,15 +37000,15 @@ var Debugger = /***/ }, -/* 323 */ +/* 324 */ /***/ function(module, exports, __webpack_require__) { - var baseHas = __webpack_require__(324), - baseKeys = __webpack_require__(325), - indexKeys = __webpack_require__(326), - isArrayLike = __webpack_require__(330), - isIndex = __webpack_require__(335), - isPrototype = __webpack_require__(336); + var baseHas = __webpack_require__(325), + baseKeys = __webpack_require__(326), + indexKeys = __webpack_require__(327), + isArrayLike = __webpack_require__(331), + isIndex = __webpack_require__(336), + isPrototype = __webpack_require__(337); /** * Creates an array of the own enumerable property names of `object`. @@ -37029,7 +37062,7 @@ var Debugger = /***/ }, -/* 324 */ +/* 325 */ /***/ function(module, exports, __webpack_require__) { var getPrototype = __webpack_require__(5); @@ -37061,7 +37094,7 @@ var Debugger = /***/ }, -/* 325 */ +/* 326 */ /***/ function(module, exports) { /* Built-in method references for those with the same name as other `lodash` methods. */ @@ -37083,14 +37116,14 @@ var Debugger = /***/ }, -/* 326 */ +/* 327 */ /***/ function(module, exports, __webpack_require__) { - var baseTimes = __webpack_require__(327), - isArguments = __webpack_require__(328), + var baseTimes = __webpack_require__(328), + isArguments = __webpack_require__(329), isArray = __webpack_require__(52), - isLength = __webpack_require__(333), - isString = __webpack_require__(334); + isLength = __webpack_require__(334), + isString = __webpack_require__(335); /** * Creates an array of index keys for `object` values of arrays, @@ -37113,7 +37146,7 @@ var Debugger = /***/ }, -/* 327 */ +/* 328 */ /***/ function(module, exports) { /** @@ -37139,10 +37172,10 @@ var Debugger = /***/ }, -/* 328 */ +/* 329 */ /***/ function(module, exports, __webpack_require__) { - var isArrayLikeObject = __webpack_require__(329); + var isArrayLikeObject = __webpack_require__(330); /** `Object#toString` result references. */ var argsTag = '[object Arguments]'; @@ -37191,10 +37224,10 @@ var Debugger = /***/ }, -/* 329 */ +/* 330 */ /***/ function(module, exports, __webpack_require__) { - var isArrayLike = __webpack_require__(330), + var isArrayLike = __webpack_require__(331), isObjectLike = __webpack_require__(7); /** @@ -37230,12 +37263,12 @@ var Debugger = /***/ }, -/* 330 */ +/* 331 */ /***/ function(module, exports, __webpack_require__) { - var getLength = __webpack_require__(331), + var getLength = __webpack_require__(332), isFunction = __webpack_require__(62), - isLength = __webpack_require__(333); + isLength = __webpack_require__(334); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -37270,10 +37303,10 @@ var Debugger = /***/ }, -/* 331 */ +/* 332 */ /***/ function(module, exports, __webpack_require__) { - var baseProperty = __webpack_require__(332); + var baseProperty = __webpack_require__(333); /** * Gets the "length" property value of `object`. @@ -37292,7 +37325,7 @@ var Debugger = /***/ }, -/* 332 */ +/* 333 */ /***/ function(module, exports) { /** @@ -37312,7 +37345,7 @@ var Debugger = /***/ }, -/* 333 */ +/* 334 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -37354,7 +37387,7 @@ var Debugger = /***/ }, -/* 334 */ +/* 335 */ /***/ function(module, exports, __webpack_require__) { var isArray = __webpack_require__(52), @@ -37400,7 +37433,7 @@ var Debugger = /***/ }, -/* 335 */ +/* 336 */ /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -37428,7 +37461,7 @@ var Debugger = /***/ }, -/* 336 */ +/* 337 */ /***/ function(module, exports) { /** Used for built-in method references. */ @@ -37452,14 +37485,14 @@ var Debugger = /***/ }, -/* 337 */ +/* 338 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 338 */, -/* 339 */ +/* 339 */, +/* 340 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -37474,17 +37507,17 @@ var Debugger = var connect = _require2.connect; - var actions = __webpack_require__(213); + var actions = __webpack_require__(214); - var _require3 = __webpack_require__(175); + var _require3 = __webpack_require__(176); var endTruncateStr = _require3.endTruncateStr; - var _require4 = __webpack_require__(204); + var _require4 = __webpack_require__(205); var basename = _require4.basename; - var _require5 = __webpack_require__(198); + var _require5 = __webpack_require__(199); var getFrames = _require5.getFrames; var getSelectedFrame = _require5.getSelectedFrame; @@ -37492,7 +37525,7 @@ var Debugger = if (typeof window == "object") { - __webpack_require__(340); + __webpack_require__(341); } function renderFrameTitle(frame) { @@ -37533,14 +37566,14 @@ var Debugger = }), dispatch => bindActionCreators(actions, dispatch))(Frames); /***/ }, -/* 340 */ +/* 341 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 341 */, -/* 342 */ +/* 342 */, +/* 343 */ /***/ function(module, exports, __webpack_require__) { function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } @@ -37550,9 +37583,9 @@ var Debugger = var PropTypes = React.PropTypes; var div = dom.div; - var Svg = __webpack_require__(234); + var Svg = __webpack_require__(235); - __webpack_require__(343); + __webpack_require__(344); var Accordion = React.createClass({ propTypes: { @@ -37602,21 +37635,21 @@ var Debugger = module.exports = Accordion; /***/ }, -/* 343 */ +/* 344 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 344 */, -/* 345 */ +/* 345 */, +/* 346 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 346 */, -/* 347 */ +/* 347 */, +/* 348 */ /***/ function(module, exports, __webpack_require__) { function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } @@ -37625,7 +37658,7 @@ var Debugger = var dom = React.DOM; var PropTypes = React.PropTypes; - var ImPropTypes = __webpack_require__(227); + var ImPropTypes = __webpack_require__(228); var _require = __webpack_require__(15); @@ -37635,27 +37668,27 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var Svg = __webpack_require__(234); + var Svg = __webpack_require__(235); - var _require3 = __webpack_require__(198); + var _require3 = __webpack_require__(199); var getSelectedSource = _require3.getSelectedSource; var getSourceTabs = _require3.getSourceTabs; - var _require4 = __webpack_require__(175); + var _require4 = __webpack_require__(176); var endTruncateStr = _require4.endTruncateStr; - var classnames = __webpack_require__(206); - var actions = __webpack_require__(213); + var classnames = __webpack_require__(207); + var actions = __webpack_require__(214); var _require5 = __webpack_require__(46); var isEnabled = _require5.isEnabled; - __webpack_require__(348); - __webpack_require__(350); + __webpack_require__(349); + __webpack_require__(351); /** * TODO: this is a placeholder function @@ -37837,21 +37870,21 @@ var Debugger = }), dispatch => bindActionCreators(actions, dispatch))(SourceTabs); /***/ }, -/* 348 */ +/* 349 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 349 */, -/* 350 */ +/* 350 */, +/* 351 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 351 */, -/* 352 */ +/* 352 */, +/* 353 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); @@ -37866,34 +37899,34 @@ var Debugger = var bindActionCreators = _require2.bindActionCreators; - var actions = __webpack_require__(213); + var actions = __webpack_require__(214); var _require3 = __webpack_require__(46); var isEnabled = _require3.isEnabled; - var _require4 = __webpack_require__(198); + var _require4 = __webpack_require__(199); var getSelectedSource = _require4.getSelectedSource; var getSourceText = _require4.getSourceText; var getPrettySource = _require4.getPrettySource; - var Svg = __webpack_require__(234); - var ImPropTypes = __webpack_require__(227); - var classnames = __webpack_require__(206); + var Svg = __webpack_require__(235); + var ImPropTypes = __webpack_require__(228); + var classnames = __webpack_require__(207); - var _require5 = __webpack_require__(215); + var _require5 = __webpack_require__(216); var isMapped = _require5.isMapped; var getGeneratedSourceId = _require5.getGeneratedSourceId; var isOriginal = _require5.isOriginal; - var _require6 = __webpack_require__(219); + var _require6 = __webpack_require__(220); var isPretty = _require6.isPretty; - __webpack_require__(353); + __webpack_require__(354); function debugBtn(onClick, type) { var className = arguments.length <= 2 || arguments[2] === undefined ? "active" : arguments[2]; @@ -37978,27 +38011,27 @@ var Debugger = }, dispatch => bindActionCreators(actions, dispatch))(SourceFooter); /***/ }, -/* 353 */ +/* 354 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 354 */, -/* 355 */ +/* 355 */, +/* 356 */ /***/ function(module, exports, __webpack_require__) { var React = __webpack_require__(17); var dom = React.DOM; var PropTypes = React.PropTypes; - var _require = __webpack_require__(356); + var _require = __webpack_require__(357); var filter = _require.filter; - var classnames = __webpack_require__(206); - __webpack_require__(362); - var Svg = __webpack_require__(234); + var classnames = __webpack_require__(207); + __webpack_require__(363); + var Svg = __webpack_require__(235); var INITIAL_SELECTED_INDEX = 0; @@ -38109,21 +38142,21 @@ var Debugger = module.exports = Autocomplete; /***/ }, -/* 356 */ +/* 357 */ /***/ function(module, exports, __webpack_require__) { (function() { var PathSeparator, filter, legacy_scorer, matcher, prepQueryCache, scorer; - scorer = __webpack_require__(357); + scorer = __webpack_require__(358); - legacy_scorer = __webpack_require__(359); + legacy_scorer = __webpack_require__(360); - filter = __webpack_require__(360); + filter = __webpack_require__(361); - matcher = __webpack_require__(361); + matcher = __webpack_require__(362); - PathSeparator = __webpack_require__(358).sep; + PathSeparator = __webpack_require__(359).sep; prepQueryCache = null; @@ -38198,13 +38231,13 @@ var Debugger = /***/ }, -/* 357 */ +/* 358 */ /***/ function(module, exports, __webpack_require__) { (function() { var AcronymResult, PathSeparator, Query, basenameScore, coreChars, countDir, doScore, emptyAcronymResult, file_coeff, isMatch, isSeparator, isWordEnd, isWordStart, miss_coeff, opt_char_re, pos_bonus, scoreAcronyms, scoreCharacter, scoreConsecutives, scoreExact, scoreExactMatch, scorePattern, scorePosition, scoreSize, tau_depth, tau_size, truncatedUpperCase, wm; - PathSeparator = __webpack_require__(358).sep; + PathSeparator = __webpack_require__(359).sep; wm = 150; @@ -38591,7 +38624,7 @@ var Debugger = /***/ }, -/* 358 */ +/* 359 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors. @@ -38822,13 +38855,13 @@ var Debugger = /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(35))) /***/ }, -/* 359 */ +/* 360 */ /***/ function(module, exports, __webpack_require__) { (function() { var PathSeparator, queryIsLastPathSegment; - PathSeparator = __webpack_require__(358).sep; + PathSeparator = __webpack_require__(359).sep; exports.basenameScore = function(string, query, score) { var base, depth, index, lastCharacter, segmentCount, slashCount; @@ -38956,15 +38989,15 @@ var Debugger = /***/ }, -/* 360 */ +/* 361 */ /***/ function(module, exports, __webpack_require__) { (function() { var PathSeparator, legacy_scorer, pluckCandidates, scorer, sortCandidates; - scorer = __webpack_require__(357); + scorer = __webpack_require__(358); - legacy_scorer = __webpack_require__(359); + legacy_scorer = __webpack_require__(360); pluckCandidates = function(a) { return a.candidate; @@ -38974,7 +39007,7 @@ var Debugger = return b.score - a.score; }; - PathSeparator = __webpack_require__(358).sep; + PathSeparator = __webpack_require__(359).sep; module.exports = function(candidates, query, _arg) { var allowErrors, bAllowErrors, bKey, candidate, coreQuery, key, legacy, maxInners, maxResults, prepQuery, queryHasSlashes, score, scoredCandidates, spotLeft, string, _i, _j, _len, _len1, _ref; @@ -39035,15 +39068,15 @@ var Debugger = /***/ }, -/* 361 */ +/* 362 */ /***/ function(module, exports, __webpack_require__) { (function() { var PathSeparator, scorer; - PathSeparator = __webpack_require__(358).sep; + PathSeparator = __webpack_require__(359).sep; - scorer = __webpack_require__(357); + scorer = __webpack_require__(358); exports.basenameMatch = function(subject, subject_lw, prepQuery) { var basePos, depth, end; @@ -39188,14 +39221,14 @@ var Debugger = /***/ }, -/* 362 */ +/* 363 */ /***/ function(module, exports) { // removed by extract-text-webpack-plugin /***/ }, -/* 363 */, -/* 364 */ +/* 364 */, +/* 365 */ /***/ function(module, exports, __webpack_require__) { /* This Source Code Form is subject to the terms of the Mozilla Public @@ -39204,7 +39237,7 @@ var Debugger = "use strict"; - const { Services } = __webpack_require__(212); + const { Services } = __webpack_require__(213); const EventEmitter = __webpack_require__(111); const isOSX = Services.appinfo.OS === "Darwin"; diff --git a/devtools/client/debugger/new/images/favicon.png b/devtools/client/debugger/new/images/favicon.png new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/devtools/client/debugger/new/pretty-print-worker.js b/devtools/client/debugger/new/pretty-print-worker.js index 7fe123efd46b..e664292c8de8 100644 --- a/devtools/client/debugger/new/pretty-print-worker.js +++ b/devtools/client/debugger/new/pretty-print-worker.js @@ -46,7 +46,7 @@ var Debugger = /***/ 0: /***/ function(module, exports, __webpack_require__) { - var prettyFast = __webpack_require__(365); + var prettyFast = __webpack_require__(366); self.onmessage = function (msg) { var _prettyPrint = prettyPrint(msg.data); @@ -100,7 +100,7 @@ var Debugger = /***/ }, -/***/ 365: +/***/ 366: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ @@ -122,8 +122,8 @@ var Debugger = }(this, function () { "use strict"; - var acorn = this.acorn || __webpack_require__(366); - var sourceMap = this.sourceMap || __webpack_require__(367); + var acorn = this.acorn || __webpack_require__(367); + var sourceMap = this.sourceMap || __webpack_require__(368); var SourceNode = sourceMap.SourceNode; // If any of these tokens are seen before a "[" token, we know that "[" token @@ -982,7 +982,7 @@ var Debugger = /***/ }, -/***/ 366: +/***/ 367: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Acorn is a tiny, fast JavaScript parser written in JavaScript. @@ -3642,7 +3642,7 @@ var Debugger = /***/ }, -/***/ 367: +/***/ 368: /***/ function(module, exports, __webpack_require__) { /* @@ -3650,14 +3650,14 @@ var Debugger = * Licensed under the New BSD license. See LICENSE.txt or: * http://opensource.org/licenses/BSD-3-Clause */ - exports.SourceMapGenerator = __webpack_require__(368).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(374).SourceMapConsumer; - exports.SourceNode = __webpack_require__(376).SourceNode; + exports.SourceMapGenerator = __webpack_require__(369).SourceMapGenerator; + exports.SourceMapConsumer = __webpack_require__(375).SourceMapConsumer; + exports.SourceNode = __webpack_require__(377).SourceNode; /***/ }, -/***/ 368: +/***/ 369: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -3671,10 +3671,10 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var base64VLQ = __webpack_require__(369); - var util = __webpack_require__(371); - var ArraySet = __webpack_require__(372).ArraySet; - var MappingList = __webpack_require__(373).MappingList; + var base64VLQ = __webpack_require__(370); + var util = __webpack_require__(372); + var ArraySet = __webpack_require__(373).ArraySet; + var MappingList = __webpack_require__(374).MappingList; /** * An instance of the SourceMapGenerator represents a source map which is @@ -4064,7 +4064,7 @@ var Debugger = /***/ }, -/***/ 369: +/***/ 370: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4108,7 +4108,7 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var base64 = __webpack_require__(370); + var base64 = __webpack_require__(371); // A single base 64 digit can contain 6 bits of data. For the base 64 variable // length quantities we use in the source map spec, the first bit is the sign, @@ -4213,7 +4213,7 @@ var Debugger = /***/ }, -/***/ 370: +/***/ 371: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4262,7 +4262,7 @@ var Debugger = /***/ }, -/***/ 371: +/***/ 372: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4588,7 +4588,7 @@ var Debugger = /***/ }, -/***/ 372: +/***/ 373: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4602,7 +4602,7 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var util = __webpack_require__(371); + var util = __webpack_require__(372); /** * A data structure which is a combination of an array and a set. Adding a new @@ -4692,7 +4692,7 @@ var Debugger = /***/ }, -/***/ 373: +/***/ 374: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4706,7 +4706,7 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var util = __webpack_require__(371); + var util = __webpack_require__(372); /** * Determine whether mappingB is after mappingA with respect to generated @@ -4785,7 +4785,7 @@ var Debugger = /***/ }, -/***/ 374: +/***/ 375: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4799,10 +4799,10 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var util = __webpack_require__(371); - var binarySearch = __webpack_require__(375); - var ArraySet = __webpack_require__(372).ArraySet; - var base64VLQ = __webpack_require__(369); + var util = __webpack_require__(372); + var binarySearch = __webpack_require__(376); + var ArraySet = __webpack_require__(373).ArraySet; + var base64VLQ = __webpack_require__(370); /** * A SourceMapConsumer instance represents a parsed source map which we can @@ -5367,7 +5367,7 @@ var Debugger = /***/ }, -/***/ 375: +/***/ 376: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -5454,7 +5454,7 @@ var Debugger = /***/ }, -/***/ 376: +/***/ 377: /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/* -*- Mode: js; js-indent-level: 2; -*- */ @@ -5468,8 +5468,8 @@ var Debugger = } !(__WEBPACK_AMD_DEFINE_RESULT__ = function (require, exports, module) { - var SourceMapGenerator = __webpack_require__(368).SourceMapGenerator; - var util = __webpack_require__(371); + var SourceMapGenerator = __webpack_require__(369).SourceMapGenerator; + var util = __webpack_require__(372); // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other // operating systems these days (capturing the result). diff --git a/devtools/client/debugger/new/source-map-worker.js b/devtools/client/debugger/new/source-map-worker.js index 52879deffb8d..4295f182922f 100644 --- a/devtools/client/debugger/new/source-map-worker.js +++ b/devtools/client/debugger/new/source-map-worker.js @@ -48,19 +48,19 @@ var Debugger = var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); - var _require = __webpack_require__(377); + var _require = __webpack_require__(378); var SourceMapConsumer = _require.SourceMapConsumer; var SourceNode = _require.SourceNode; var SourceMapGenerator = _require.SourceMapGenerator; - var _require2 = __webpack_require__(216); + var _require2 = __webpack_require__(217); var makeOriginalSource = _require2.makeOriginalSource; var getGeneratedSourceId = _require2.getGeneratedSourceId; - var toPairs = __webpack_require__(312); + var toPairs = __webpack_require__(313); var sourceMapConsumers = new Map(); var sourceNodes = new Map(); @@ -657,7 +657,7 @@ var Debugger = /***/ }, -/***/ 216: +/***/ 217: /***/ function(module, exports) { @@ -687,11 +687,11 @@ var Debugger = /***/ }, -/***/ 312: +/***/ 313: /***/ function(module, exports, __webpack_require__) { - var createToPairs = __webpack_require__(313), - keys = __webpack_require__(323); + var createToPairs = __webpack_require__(314), + keys = __webpack_require__(324); /** * Creates an array of own enumerable string keyed-value pairs for `object` @@ -724,13 +724,13 @@ var Debugger = /***/ }, -/***/ 313: +/***/ 314: /***/ function(module, exports, __webpack_require__) { - var baseToPairs = __webpack_require__(314), - getTag = __webpack_require__(316), - mapToArray = __webpack_require__(321), - setToPairs = __webpack_require__(322); + var baseToPairs = __webpack_require__(315), + getTag = __webpack_require__(317), + mapToArray = __webpack_require__(322), + setToPairs = __webpack_require__(323); /** `Object#toString` result references. */ var mapTag = '[object Map]', @@ -761,10 +761,10 @@ var Debugger = /***/ }, -/***/ 314: +/***/ 315: /***/ function(module, exports, __webpack_require__) { - var arrayMap = __webpack_require__(315); + var arrayMap = __webpack_require__(316); /** * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array @@ -786,7 +786,7 @@ var Debugger = /***/ }, -/***/ 315: +/***/ 316: /***/ function(module, exports) { /** @@ -814,14 +814,14 @@ var Debugger = /***/ }, -/***/ 316: +/***/ 317: /***/ function(module, exports, __webpack_require__) { - var DataView = __webpack_require__(317), + var DataView = __webpack_require__(318), Map = __webpack_require__(82), - Promise = __webpack_require__(318), - Set = __webpack_require__(319), - WeakMap = __webpack_require__(320), + Promise = __webpack_require__(319), + Set = __webpack_require__(320), + WeakMap = __webpack_require__(321), toSource = __webpack_require__(68); /** `Object#toString` result references. */ @@ -891,7 +891,7 @@ var Debugger = /***/ }, -/***/ 317: +/***/ 318: /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -905,7 +905,7 @@ var Debugger = /***/ }, -/***/ 318: +/***/ 319: /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -919,7 +919,7 @@ var Debugger = /***/ }, -/***/ 319: +/***/ 320: /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -933,7 +933,7 @@ var Debugger = /***/ }, -/***/ 320: +/***/ 321: /***/ function(module, exports, __webpack_require__) { var getNative = __webpack_require__(60), @@ -947,7 +947,7 @@ var Debugger = /***/ }, -/***/ 321: +/***/ 322: /***/ function(module, exports) { /** @@ -972,7 +972,7 @@ var Debugger = /***/ }, -/***/ 322: +/***/ 323: /***/ function(module, exports) { /** @@ -997,15 +997,15 @@ var Debugger = /***/ }, -/***/ 323: +/***/ 324: /***/ function(module, exports, __webpack_require__) { - var baseHas = __webpack_require__(324), - baseKeys = __webpack_require__(325), - indexKeys = __webpack_require__(326), - isArrayLike = __webpack_require__(330), - isIndex = __webpack_require__(335), - isPrototype = __webpack_require__(336); + var baseHas = __webpack_require__(325), + baseKeys = __webpack_require__(326), + indexKeys = __webpack_require__(327), + isArrayLike = __webpack_require__(331), + isIndex = __webpack_require__(336), + isPrototype = __webpack_require__(337); /** * Creates an array of the own enumerable property names of `object`. @@ -1060,7 +1060,7 @@ var Debugger = /***/ }, -/***/ 324: +/***/ 325: /***/ function(module, exports, __webpack_require__) { var getPrototype = __webpack_require__(5); @@ -1093,7 +1093,7 @@ var Debugger = /***/ }, -/***/ 325: +/***/ 326: /***/ function(module, exports) { /* Built-in method references for those with the same name as other `lodash` methods. */ @@ -1116,14 +1116,14 @@ var Debugger = /***/ }, -/***/ 326: +/***/ 327: /***/ function(module, exports, __webpack_require__) { - var baseTimes = __webpack_require__(327), - isArguments = __webpack_require__(328), + var baseTimes = __webpack_require__(328), + isArguments = __webpack_require__(329), isArray = __webpack_require__(52), - isLength = __webpack_require__(333), - isString = __webpack_require__(334); + isLength = __webpack_require__(334), + isString = __webpack_require__(335); /** * Creates an array of index keys for `object` values of arrays, @@ -1147,7 +1147,7 @@ var Debugger = /***/ }, -/***/ 327: +/***/ 328: /***/ function(module, exports) { /** @@ -1174,10 +1174,10 @@ var Debugger = /***/ }, -/***/ 328: +/***/ 329: /***/ function(module, exports, __webpack_require__) { - var isArrayLikeObject = __webpack_require__(329); + var isArrayLikeObject = __webpack_require__(330); /** `Object#toString` result references. */ var argsTag = '[object Arguments]'; @@ -1227,10 +1227,10 @@ var Debugger = /***/ }, -/***/ 329: +/***/ 330: /***/ function(module, exports, __webpack_require__) { - var isArrayLike = __webpack_require__(330), + var isArrayLike = __webpack_require__(331), isObjectLike = __webpack_require__(7); /** @@ -1267,12 +1267,12 @@ var Debugger = /***/ }, -/***/ 330: +/***/ 331: /***/ function(module, exports, __webpack_require__) { - var getLength = __webpack_require__(331), + var getLength = __webpack_require__(332), isFunction = __webpack_require__(62), - isLength = __webpack_require__(333); + isLength = __webpack_require__(334); /** * Checks if `value` is array-like. A value is considered array-like if it's @@ -1308,10 +1308,10 @@ var Debugger = /***/ }, -/***/ 331: +/***/ 332: /***/ function(module, exports, __webpack_require__) { - var baseProperty = __webpack_require__(332); + var baseProperty = __webpack_require__(333); /** * Gets the "length" property value of `object`. @@ -1331,7 +1331,7 @@ var Debugger = /***/ }, -/***/ 332: +/***/ 333: /***/ function(module, exports) { /** @@ -1352,7 +1352,7 @@ var Debugger = /***/ }, -/***/ 333: +/***/ 334: /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -1395,7 +1395,7 @@ var Debugger = /***/ }, -/***/ 334: +/***/ 335: /***/ function(module, exports, __webpack_require__) { var isArray = __webpack_require__(52), @@ -1442,7 +1442,7 @@ var Debugger = /***/ }, -/***/ 335: +/***/ 336: /***/ function(module, exports) { /** Used as references for various `Number` constants. */ @@ -1471,7 +1471,7 @@ var Debugger = /***/ }, -/***/ 336: +/***/ 337: /***/ function(module, exports) { /** Used for built-in method references. */ @@ -1496,7 +1496,7 @@ var Debugger = /***/ }, -/***/ 377: +/***/ 378: /***/ function(module, exports, __webpack_require__) { /* @@ -1504,14 +1504,14 @@ var Debugger = * Licensed under the New BSD license. See LICENSE.txt or: * http://opensource.org/licenses/BSD-3-Clause */ - exports.SourceMapGenerator = __webpack_require__(378).SourceMapGenerator; - exports.SourceMapConsumer = __webpack_require__(384).SourceMapConsumer; - exports.SourceNode = __webpack_require__(387).SourceNode; + exports.SourceMapGenerator = __webpack_require__(379).SourceMapGenerator; + exports.SourceMapConsumer = __webpack_require__(385).SourceMapConsumer; + exports.SourceNode = __webpack_require__(388).SourceNode; /***/ }, -/***/ 378: +/***/ 379: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -1521,10 +1521,10 @@ var Debugger = * http://opensource.org/licenses/BSD-3-Clause */ - var base64VLQ = __webpack_require__(379); - var util = __webpack_require__(381); - var ArraySet = __webpack_require__(382).ArraySet; - var MappingList = __webpack_require__(383).MappingList; + var base64VLQ = __webpack_require__(380); + var util = __webpack_require__(382); + var ArraySet = __webpack_require__(383).ArraySet; + var MappingList = __webpack_require__(384).MappingList; /** * An instance of the SourceMapGenerator represents a source map which is @@ -1922,7 +1922,7 @@ var Debugger = /***/ }, -/***/ 379: +/***/ 380: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -1962,7 +1962,7 @@ var Debugger = * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - var base64 = __webpack_require__(380); + var base64 = __webpack_require__(381); // A single base 64 digit can contain 6 bits of data. For the base 64 variable // length quantities we use in the source map spec, the first bit is the sign, @@ -2069,7 +2069,7 @@ var Debugger = /***/ }, -/***/ 380: +/***/ 381: /***/ function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -2143,7 +2143,7 @@ var Debugger = /***/ }, -/***/ 381: +/***/ 382: /***/ function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -2567,7 +2567,7 @@ var Debugger = /***/ }, -/***/ 382: +/***/ 383: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -2577,7 +2577,7 @@ var Debugger = * http://opensource.org/licenses/BSD-3-Clause */ - var util = __webpack_require__(381); + var util = __webpack_require__(382); var has = Object.prototype.hasOwnProperty; /** @@ -2678,7 +2678,7 @@ var Debugger = /***/ }, -/***/ 383: +/***/ 384: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -2688,7 +2688,7 @@ var Debugger = * http://opensource.org/licenses/BSD-3-Clause */ - var util = __webpack_require__(381); + var util = __webpack_require__(382); /** * Determine whether mappingB is after mappingA with respect to generated @@ -2764,7 +2764,7 @@ var Debugger = /***/ }, -/***/ 384: +/***/ 385: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -2774,11 +2774,11 @@ var Debugger = * http://opensource.org/licenses/BSD-3-Clause */ - var util = __webpack_require__(381); - var binarySearch = __webpack_require__(385); - var ArraySet = __webpack_require__(382).ArraySet; - var base64VLQ = __webpack_require__(379); - var quickSort = __webpack_require__(386).quickSort; + var util = __webpack_require__(382); + var binarySearch = __webpack_require__(386); + var ArraySet = __webpack_require__(383).ArraySet; + var base64VLQ = __webpack_require__(380); + var quickSort = __webpack_require__(387).quickSort; function SourceMapConsumer(aSourceMap) { var sourceMap = aSourceMap; @@ -3853,7 +3853,7 @@ var Debugger = /***/ }, -/***/ 385: +/***/ 386: /***/ function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -3971,7 +3971,7 @@ var Debugger = /***/ }, -/***/ 386: +/***/ 387: /***/ function(module, exports) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4092,7 +4092,7 @@ var Debugger = /***/ }, -/***/ 387: +/***/ 388: /***/ function(module, exports, __webpack_require__) { /* -*- Mode: js; js-indent-level: 2; -*- */ @@ -4102,8 +4102,8 @@ var Debugger = * http://opensource.org/licenses/BSD-3-Clause */ - var SourceMapGenerator = __webpack_require__(378).SourceMapGenerator; - var util = __webpack_require__(381); + var SourceMapGenerator = __webpack_require__(379).SourceMapGenerator; + var util = __webpack_require__(382); // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other // operating systems these days (capturing the result). diff --git a/devtools/client/debugger/new/styles.css b/devtools/client/debugger/new/styles.css index 83701328ab2e..430955636423 100644 --- a/devtools/client/debugger/new/styles.css +++ b/devtools/client/debugger/new/styles.css @@ -427,15 +427,22 @@ ul.sources-list { .split-box .splitter { background-color: var(--theme-splitter-color); - border-bottom-width: 0; - border-color: white; - border-left-width: 0; - border-right-width: 0; - border-style: solid; - border-top-width: 0; - box-sizing: content-box; - cursor: ew-resize; flex: 0 0 1px; + position: relative; +} + +/* The actual handle that users drag is a transparent element that's slightly wider than + the splitter element itself, so it's easier to grab it. */ +.split-box .splitter .splitter-handle { + cursor: ew-resize; + position: absolute; + top: 0; + left: -4px; + width: 8px; + height: 100%; + + /* Stack above the code-mirror editor so it's actually possible to grab the handle. */ + z-index: 5; } .breakpoints-list .breakpoint { @@ -937,6 +944,13 @@ ul.sources-list { margin: 0; padding: 0; } +.source-footer { + border-top: 1px solid var(--theme-splitter-color); + left: 0; + opacity: 1; + width: 100%; +} + .source-footer .prettyPrint.pretty { stroke: var(--theme-highlight-blue); } diff --git a/devtools/client/debugger/new/test/mochitest/.eslintrc b/devtools/client/debugger/new/test/mochitest/.eslintrc index 723b8b13a734..df67615c68a6 100644 --- a/devtools/client/debugger/new/test/mochitest/.eslintrc +++ b/devtools/client/debugger/new/test/mochitest/.eslintrc @@ -47,11 +47,13 @@ "isPaused": false, "assertPausedLocation": false, "assertHighlightLocation": false, + "createDebuggerContext": false, "initDebugger": false, "invokeInTab": false, "findSource": false, "findElement": false, "findAllElements": false, + "openNewTabAndToolbox": false, "selectSource": false, "stepOver": false, "stepIn": false, diff --git a/devtools/client/debugger/new/test/mochitest/browser.ini b/devtools/client/debugger/new/test/mochitest/browser.ini index 20c95394c116..ff8c8edd5cbf 100644 --- a/devtools/client/debugger/new/test/mochitest/browser.ini +++ b/devtools/client/debugger/new/test/mochitest/browser.ini @@ -17,6 +17,8 @@ support-files = examples/code-script-switching-02.js examples/code-script-switching-01.js +[browser_dbg-breaking.js] +[browser_dbg-breaking-from-console.js] [browser_dbg-editor-gutter.js] [browser_dbg-editor-mode.js] [browser_dbg-editor-select.js] diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking-from-console.js b/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking-from-console.js new file mode 100644 index 000000000000..8005b518d6ee --- /dev/null +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking-from-console.js @@ -0,0 +1,31 @@ +/* Any copyright is dedicated to the Public Domain. + * http://creativecommons.org/publicdomain/zero/1.0/ */ + +// Tests that `debugger` statements are hit before the debugger even +// initializes and it properly highlights the right location in the +// debugger. + +add_task(function* () { + const url = EXAMPLE_URL + "doc-script-switching.html"; + const toolbox = yield openNewTabAndToolbox(url, "webconsole"); + + // Type "debugger" into console + let jsterm = toolbox.getPanel("webconsole").hud.jsterm; + jsterm.execute("debugger"); + + // Wait for the debugger to be selected and make sure it's paused + yield new Promise((resolve) => { + toolbox.on("jsdebugger-selected", resolve); + }); + is(toolbox.threadClient.state, "paused"); + + // Create a dbg context + const dbg = createDebuggerContext(toolbox); + const { selectors: { getSelectedSource }, getState } = dbg; + + // Make sure the thread is paused in the right source and location + yield waitForDispatch(dbg, "LOAD_SOURCE_TEXT"); + is(dbg.win.cm.getValue(), "debugger"); + const source = getSelectedSource(getState()).toJS(); + assertPausedLocation(dbg, source, 1); +}); diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking.js b/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking.js new file mode 100644 index 000000000000..f978c55ae286 --- /dev/null +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-breaking.js @@ -0,0 +1,33 @@ +/* Any copyright is dedicated to the Public Domain. + * http://creativecommons.org/publicdomain/zero/1.0/ */ + +// Tests the breakpoints are hit in various situations. + +add_task(function* () { + const dbg = yield initDebugger("doc-scripts.html", "scripts.html"); + const { selectors: { getSelectedSource }, getState } = dbg; + + // Make sure we can set a top-level breakpoint and it will be hit on + // reload. + yield addBreakpoint(dbg, "scripts.html", 18); + reload(dbg); + yield waitForPaused(dbg); + assertPausedLocation(dbg, "scripts.html", 18); + yield resume(dbg); + + const paused = waitForPaused(dbg); + + // Create an eval script that pauses itself. + invokeInTab("doEval"); + + yield paused; + yield resume(dbg); + const source = getSelectedSource(getState()).toJS(); + // TODO: The url of an eval source should be null. + ok(source.url.indexOf("SOURCE") === 0, "It is an eval source"); + + yield addBreakpoint(dbg, source, 5); + invokeInTab("evaledFunc"); + yield waitForPaused(dbg); + assertPausedLocation(dbg, source, 5); +}); diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg-navigation.js b/devtools/client/debugger/new/test/mochitest/browser_dbg-navigation.js index fea1d2ac96bd..381b6b7fde5b 100644 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg-navigation.js +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-navigation.js @@ -11,15 +11,13 @@ function countSources(dbg) { * navigating while paused will reset the pause state and sources */ add_task(function* () { - const dbg = yield initDebugger( - "doc-script-switching.html", - "script-switching-01.js" - ); + const dbg = yield initDebugger("doc-script-switching.html"); + const { selectors: { getSelectedSource, getPause }, getState } = dbg; invokeInTab("firstCall"); yield waitForPaused(dbg); - yield navigate(dbg, "doc-scripts.html", "simple1.js", "long.js"); + yield navigate(dbg, "doc-scripts.html", "simple1.js"); yield addBreakpoint(dbg, "simple1.js", 4); invokeInTab("main"); yield waitForPaused(dbg); @@ -29,6 +27,7 @@ add_task(function* () { yield navigate(dbg, "about:blank"); yield waitForDispatch(dbg, "NAVIGATE"); is(countSources(dbg), 0, "0 sources are loaded."); + ok(!getPause(getState()), "No pause state exists"); yield navigate(dbg, "doc-scripts.html", @@ -39,4 +38,10 @@ add_task(function* () { ); is(countSources(dbg), 4, "4 sources are loaded."); + + // Test that the current select source persists across reloads + yield selectSource(dbg, "long.js"); + yield reload(dbg, "long.js"); + ok(getSelectedSource(getState()).get("url").includes("long.js"), + "Selected source is long.js"); }); diff --git a/devtools/client/debugger/new/test/mochitest/examples/code-simple1.js b/devtools/client/debugger/new/test/mochitest/examples/code-simple1.js index aa45e2c39b78..87cc50f442db 100644 --- a/devtools/client/debugger/new/test/mochitest/examples/code-simple1.js +++ b/devtools/client/debugger/new/test/mochitest/examples/code-simple1.js @@ -5,3 +5,27 @@ function main() { const result = func(); return result; } + +function doEval() { + eval("(" + function() { + debugger; + + window.evaledFunc = function() { + var foo = 1; + var bar = 2; + return foo + bar; + }; + }.toString() + ")()"); +} + +function doNamedEval() { + eval("(" + function() { + debugger; + + window.evaledFunc = function() { + var foo = 1; + var bar = 2; + return foo + bar; + }; + }.toString() + ")();\n //# sourceURL=evaled.js"); +} diff --git a/devtools/client/debugger/new/test/mochitest/head.js b/devtools/client/debugger/new/test/mochitest/head.js index b850b8d34896..1ec851c441a9 100644 --- a/devtools/client/debugger/new/test/mochitest/head.js +++ b/devtools/client/debugger/new/test/mochitest/head.js @@ -118,7 +118,7 @@ function assertPausedLocation(dbg, source, line) { source = findSource(dbg, source); // Check the selected source - is(getSelectedSource(getState()).get("url"), source.url); + is(getSelectedSource(getState()).get("id"), source.id); // Check the pause location const location = getPause(getState()).getIn(["frame", "location"]); @@ -172,25 +172,26 @@ function waitForPaused(dbg) { }); }; +function createDebuggerContext(toolbox) { + const win = toolbox.getPanel("jsdebugger").panelWin; + const store = win.Debugger.store; + + return { + actions: win.Debugger.actions, + selectors: win.Debugger.selectors, + getState: store.getState, + store: store, + client: win.Debugger.client, + toolbox: toolbox, + win: win + }; +} + function initDebugger(url, ...sources) { return Task.spawn(function* () { const toolbox = yield openNewTabAndToolbox(EXAMPLE_URL + url, "jsdebugger"); - const win = toolbox.getPanel("jsdebugger").panelWin; - const store = win.Debugger.store; - const { getSources } = win.Debugger.selectors; - - const dbg = { - actions: win.Debugger.actions, - selectors: win.Debugger.selectors, - getState: store.getState, - store: store, - client: win.Debugger.client, - toolbox: toolbox, - win: win - }; - + const dbg = createDebuggerContext(toolbox); yield waitForSources(dbg, ...sources); - return dbg; }); }; @@ -256,8 +257,8 @@ function resume(dbg) { return waitForThreadEvents(dbg, "resumed"); } -function reload(dbg) { - return dbg.client.reload(); +function reload(dbg, ...sources) { + return dbg.client.reload().then(() => waitForSources(...sources)); } function navigate(dbg, url, ...sources) {