| Summary: | Web Inspector: Convert some View classes to ES6 classes | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||||||
| Component: | Web Inspector | Assignee: | Timothy Hatcher <timothy> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | 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
Timothy Hatcher
2015-03-26 11:05:59 PDT
Created attachment 249497 [details]
Patch
Created attachment 249498 [details]
Patch
Created attachment 249501 [details]
Patch
Comment on attachment 249501 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=249501&action=review r=me > Source/WebInspectorUI/ChangeLog:41 > + Converted to ES6 ckasses. Typo: "ckasses" => "classes" > Source/WebInspectorUI/UserInterface/Views/ContextMenu.js:150 > + constructor(event) { Nit: Style, brace should be on newline. > Source/WebInspectorUI/UserInterface/Views/EditingSupport.js:81 > + this.commitHandler = commitHandler; Could make these _foo. > Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.js:122 > + event.preventDefault(); Is this fixing a bug? > Source/WebInspectorUI/UserInterface/Views/SearchBar.js:47 > + this._searchInput.addEventListener("search", this._handleSearchEvent.bind(this), false); > + this._searchInput.addEventListener("keydown", this._handleKeydownEvent.bind(this), false); Style: I think we have been dropping the false for useCapture for addEventListener. We can update that here. Comment on attachment 249501 [details] Patch https://trac.webkit.org/r182040 |