Migrate settings/ to ESM internally
Bug: 1006759
Change-Id: Ifa83ddad189e4c48638e278f958b59ecf8b7b211
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2000779
Commit-Queue: Tim van der Lippe <[email protected]>
Reviewed-by: Paul Lewis <[email protected]>
diff --git a/front_end/settings/FrameworkBlackboxSettingsTab.js b/front_end/settings/FrameworkBlackboxSettingsTab.js
index 490aedb..e7f3fcb 100644
--- a/front_end/settings/FrameworkBlackboxSettingsTab.js
+++ b/front_end/settings/FrameworkBlackboxSettingsTab.js
@@ -3,11 +3,12 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
/**
* @implements {UI.ListWidget.Delegate}
* @unrestricted
*/
-export default class FrameworkBlackboxSettingsTab extends UI.VBox {
+export class FrameworkBlackboxSettingsTab extends UI.VBox {
constructor() {
super(true);
this.registerRequiredCSS('settings/frameworkBlackboxSettingsTab.css');
@@ -156,7 +157,7 @@
* @param {*} item
* @param {number} index
* @param {!HTMLInputElement|!HTMLSelectElement} input
- * @this {Settings.FrameworkBlackboxSettingsTab}
+ * @this {FrameworkBlackboxSettingsTab}
* @return {!UI.ListWidget.ValidatorResult}
*/
function patternValidator(item, index, input) {
@@ -196,14 +197,3 @@
}
}
}
-
-/* Legacy exported object */
-self.Settings = self.Settings || {};
-
-/* Legacy exported object */
-Settings = Settings || {};
-
-/**
- * @constructor
- */
-Settings.FrameworkBlackboxSettingsTab = FrameworkBlackboxSettingsTab;