Bug 1364839 - devtools-source-map v0.5.0: Update bundle from GitHub; r=jdescottes

MozReview-Commit-ID: 7j2hOyipkkL

--HG--
extra : rebase_source : 73a07c2507497e41649213dcf43fb5ed13fc1b0b
This commit is contained in:
Tom Tromey 2017-05-16 08:11:11 -06:00
Родитель 4b4b439b5e
Коммит a38062c7e5
2 изменённых файлов: 28 добавлений и 3 удалений

Просмотреть файл

@ -503,6 +503,10 @@ return /******/ (function(modules) { // webpackBootstrap
/* 6 */ /* 6 */
/***/ function(module, exports, __webpack_require__) { /***/ 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/. */
const networkRequest = __webpack_require__(7); const networkRequest = __webpack_require__(7);
const workerUtils = __webpack_require__(8); const workerUtils = __webpack_require__(8);
@ -515,6 +519,10 @@ return /******/ (function(modules) { // webpackBootstrap
/* 7 */ /* 7 */
/***/ function(module, exports) { /***/ function(module, exports) {
/* 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/. */
function networkRequest(url, opts) { function networkRequest(url, opts) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const req = new XMLHttpRequest(); const req = new XMLHttpRequest();
@ -554,7 +562,9 @@ return /******/ (function(modules) { // webpackBootstrap
function WorkerDispatcher() { function WorkerDispatcher() {
this.msgId = 1; this.msgId = 1;
this.worker = null; this.worker = null;
} } /* 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/. */
WorkerDispatcher.prototype = { WorkerDispatcher.prototype = {
start(url) { start(url) {

Просмотреть файл

@ -492,6 +492,10 @@ return /******/ (function(modules) { // webpackBootstrap
/* 6 */ /* 6 */
/***/ function(module, exports, __webpack_require__) { /***/ 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/. */
const networkRequest = __webpack_require__(7); const networkRequest = __webpack_require__(7);
const workerUtils = __webpack_require__(8); const workerUtils = __webpack_require__(8);
@ -504,6 +508,10 @@ return /******/ (function(modules) { // webpackBootstrap
/* 7 */ /* 7 */
/***/ function(module, exports) { /***/ function(module, exports) {
/* 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/. */
function networkRequest(url, opts) { function networkRequest(url, opts) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const req = new XMLHttpRequest(); const req = new XMLHttpRequest();
@ -543,7 +551,9 @@ return /******/ (function(modules) { // webpackBootstrap
function WorkerDispatcher() { function WorkerDispatcher() {
this.msgId = 1; this.msgId = 1;
this.worker = null; this.worker = null;
} } /* 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/. */
WorkerDispatcher.prototype = { WorkerDispatcher.prototype = {
start(url) { start(url) {
@ -2345,7 +2355,12 @@ return /******/ (function(modules) { // webpackBootstrap
} }
function isURL(str) { function isURL(str) {
return str.indexOf("://") !== -1; try {
new URL(str);
return true;
} catch (e) {
return false;
}
} }
function isAbsolute(str) { function isAbsolute(str) {