Bug 134313

Summary: Web Inspector: Command-/ (slash) now auto-comments code via CodeMirror 4. Should remove as command to pause
Product: WebKit Reporter: Jonathan Wells <jonowells>
Component: Web InspectorAssignee: Jonathan Wells <jonowells>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, bunhere, cdumez, commit-queue, graouts, gyuyoung.kim, joepeck, rniwa, sergio, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed change from cmd-/ to cmd-\
none
[PATCH] Proposed change from cmd-/ to cmd-\
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2
none
[PATCH] Proposed change from cmd-/ to cmd-\ none

Description Jonathan Wells 2014-06-25 16:06:06 PDT
Command-Control-Y pauses/continues the debugger already, so we should leave this shortcut as is and remove Command-/ and the associated hint in the UI as a way of pausing/continuing. This mirrors the behavior in Xcode which also has auto-commenting on Command-/.
Comment 1 Radar WebKit Bug Importer 2014-06-25 16:06:51 PDT
<rdar://problem/17459995>
Comment 2 Jonathan Wells 2014-06-25 17:00:20 PDT
Created attachment 233852 [details]
[PATCH] Proposed change from cmd-/ to cmd-\
Comment 3 Jonathan Wells 2014-06-25 17:08:56 PDT
Created attachment 233854 [details]
[PATCH] Proposed change from cmd-/ to cmd-\
Comment 4 Build Bot 2014-06-25 18:18:03 PDT
Comment on attachment 233854 [details]
[PATCH] Proposed change from cmd-/ to cmd-\

Attachment 233854 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/5724316314370048

New failing tests:
media/W3C/video/networkState/networkState_during_loadstart.html
Comment 5 Build Bot 2014-06-25 18:18:07 PDT
Created attachment 233861 [details]
Archive of layout-test-results from webkit-ews-11 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-11  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 6 Jonathan Wells 2014-06-25 18:25:53 PDT
Seems like we have an unrelated flaky test.
Comment 7 Jonathan Wells 2014-06-26 12:56:30 PDT
Created attachment 233927 [details]
[PATCH] Proposed change from cmd-/ to cmd-\
Comment 8 Timothy Hatcher 2014-06-26 14:43:18 PDT
Comment on attachment 233927 [details]
[PATCH] Proposed change from cmd-/ to cmd-\

We could just remove the alternate too. But this is fine.
Comment 9 Joseph Pecoraro 2014-06-26 14:59:07 PDT
Comment on attachment 233927 [details]
[PATCH] Proposed change from cmd-/ to cmd-\

View in context: https://bugs.webkit.org/attachment.cgi?id=233927&action=review

> Source/WebInspectorUI/UserInterface/Models/KeyboardShortcut.js:158
>      Slash: new WebInspector.Key(191, "/"),
> +    Backslash: new WebInspector.Key(220, "\\"),
>      Apostrophe: new WebInspector.Key(192, "`"),

Nit: This is sorted in numeric order, you could put this after Apostrophe.
Comment 10 WebKit Commit Bot 2014-06-26 15:16:13 PDT
Comment on attachment 233927 [details]
[PATCH] Proposed change from cmd-/ to cmd-\

Clearing flags on attachment: 233927

Committed r170497: <http://trac.webkit.org/changeset/170497>
Comment 11 WebKit Commit Bot 2014-06-26 15:16:19 PDT
All reviewed patches have been landed.  Closing bug.