WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
172250
Web Inspector: Use ES2015 Modules for Settings tab
https://bugs.webkit.org/show_bug.cgi?id=172250
Summary
Web Inspector: Use ES2015 Modules for Settings tab
Devin Rousso
Reported
2017-05-17 15:55:36 PDT
.
Attachments
Patch
(18.41 KB, patch)
2017-05-17 16:05 PDT
,
Devin Rousso
joepeck
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2017-05-17 16:05:51 PDT
Created
attachment 310455
[details]
Patch
Joseph Pecoraro
Comment 2
2017-05-17 17:07:36 PDT
Comment on
attachment 310455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=310455&action=review
r-, this won't work with copy-user-interface-resources.pl in macOS Production builds. I think we also need to have actual performance numbers to determine if this path forward is worthwhile or not. • A way to measure "time it takes to open web inspector" • See a measurable improvement after converting multiple tabs to dependencies like this.
> Source/WebInspectorUI/ChangeLog:23 > + (export.default.SettingEditor): > + (export.default.SettingEditor.createForSetting): > + (export.default.SettingEditor.prototype.set value): > + (export.default.SettingEditor.prototype._createEditorElement): > + (WebInspector.SettingEditor): Deleted. > + (WebInspector.SettingEditor.createForSetting): Deleted. > + (WebInspector.SettingEditor.prototype.get element): Deleted. > + (WebInspector.SettingEditor.prototype.get type): Deleted. > + (WebInspector.SettingEditor.prototype.get label): Deleted. > + (WebInspector.SettingEditor.prototype.get value): Deleted. > + (WebInspector.SettingEditor.prototype.set value): Deleted. > + (WebInspector.SettingEditor.prototype._createEditorElement): Deleted.
Eliminate all the unnecessary spam in the ChangeLog now that we are just changing a namespace.
> Source/WebInspectorUI/UserInterface/Views/SettingsGroup.js:69 > -}; > +}
Shouldn't these semicolon be here? Based on the eslintrc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug