WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143106
Web Inspector: Convert Base and Protocol files to ES6 classes
https://bugs.webkit.org/show_bug.cgi?id=143106
Summary
Web Inspector: Convert Base and Protocol files to ES6 classes
Timothy Hatcher
Reported
2015-03-26 10:53:10 PDT
Do it! It is much simpler than Views.
Attachments
Patch
(78.03 KB, patch)
2015-03-26 10:56 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Patch
(82.33 KB, patch)
2015-03-26 11:14 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Patch
(81.20 KB, patch)
2015-03-26 11:17 PDT
,
Timothy Hatcher
joepeck
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-03-26 10:53:38 PDT
<
rdar://problem/20311614
>
Timothy Hatcher
Comment 2
2015-03-26 10:56:17 PDT
Created
attachment 249496
[details]
Patch
Timothy Hatcher
Comment 3
2015-03-26 11:14:40 PDT
Created
attachment 249499
[details]
Patch
Timothy Hatcher
Comment 4
2015-03-26 11:17:47 PDT
Created
attachment 249500
[details]
Patch
WebKit Commit Bot
Comment 5
2015-03-26 11:20:42 PDT
Attachment 249500
[details]
did not pass style-queue: ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:362: Line contains single-quote character. [js/syntax] [5] ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:376: Line contains single-quote character. [js/syntax] [5] ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:422: Line contains single-quote character. [js/syntax] [5] ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:430: Line contains single-quote character. [js/syntax] [5] ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:450: Line contains single-quote character. [js/syntax] [5] ERROR: Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:462: Line contains single-quote character. [js/syntax] [5] Total errors found: 6 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Joseph Pecoraro
Comment 6
2015-03-26 11:25:42 PDT
Comment on
attachment 249499
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=249499&action=review
r=me
> Source/WebInspectorUI/UserInterface/Base/EventListenerSet.js:36 > + this.name = name;
Should we fix this to be "_name"?
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:362 > + 'use strict';
Style: Double quotes.
> Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js:508 > + this.eventName = eventName; > + this.parameterNames = parameterNames;
Nit: _foo?
> Source/WebInspectorUI/UserInterface/Protocol/MessageDispatcher.js:27 > -WebInspector.messagesToDispatch = []; > +WebInspector._messagesToDispatch = [];
Doh, I rather liked this one without the underscore.
Joseph Pecoraro
Comment 7
2015-03-26 11:26:17 PDT
Comment on
attachment 249500
[details]
Patch Same comments probably apply.
Timothy Hatcher
Comment 8
2015-03-26 16:39:09 PDT
Comment on
attachment 249500
[details]
Patch
https://trac.webkit.org/r182039
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