Bug 143106

Summary: Web Inspector: Convert Base and Protocol files to ES6 classes
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 142891    
Attachments:
Description Flags
Patch
none
Patch
none
Patch joepeck: review+

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
Patch (82.33 KB, patch)
2015-03-26 11:14 PDT, Timothy Hatcher
no flags
Patch (81.20 KB, patch)
2015-03-26 11:17 PDT, Timothy Hatcher
joepeck: review+
Radar WebKit Bug Importer
Comment 1 2015-03-26 10:53:38 PDT
Timothy Hatcher
Comment 2 2015-03-26 10:56:17 PDT
Timothy Hatcher
Comment 3 2015-03-26 11:14:40 PDT
Timothy Hatcher
Comment 4 2015-03-26 11:17:47 PDT
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
Note You need to log in before you can comment on or make changes to this bug.