зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1229859 - Use import-globals-from eslint rule to fix the most common no-undef offenders in devtools; r=Mossop
--HG-- extra : commitid : 5N7qYHCItWZ
This commit is contained in:
Родитель
8b2a7c7941
Коммит
7318c5efa1
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from canvasdebugger.js */
|
||||
/* globals window, document */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from canvasdebugger.js */
|
||||
/* globals window, document */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* 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/. */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
// Maps known URLs to friendly source group names and put them at the
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
// A time interval sufficient for the options popup panel to finish hiding
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../debugger-controller.js */
|
||||
/* import-globals-from ../debugger-view.js */
|
||||
/* import-globals-from ../utils.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
function WorkersView() {
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from netmonitor-controller.js */
|
||||
/* globals window, document */
|
||||
"use strict";
|
||||
|
||||
XPCOMUtils.defineLazyGetter(this, "HarExporter", function() {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from performance-controller.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
/* globals window */
|
||||
"use strict";
|
||||
|
||||
const WATERFALL_RESIZE_EVENTS_DRAIN = 100; // ms
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
@ -115,7 +117,7 @@ var DetailsView = {
|
|||
}),
|
||||
|
||||
/**
|
||||
* Takes a view name and determines if the current recording
|
||||
* Takes a view name and determines if the current recording
|
||||
* can support the view.
|
||||
*
|
||||
* @param {string} viewName
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
const URL_LABEL_TOOLTIP = L10N.getStr("table.url.tooltiptext");
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
"use strict";
|
||||
|
||||
// No sense updating the overview more often than receiving data from the
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
/* globals document, window */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
/* 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/. */
|
||||
/* import-globals-from ../performance-controller.js */
|
||||
/* import-globals-from ../performance-view.js */
|
||||
/* globals document */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче