NEW161536
Web Inspector: add a test to track changes to CodeMirror bindings in configurations used by WebInspectorUI
https://bugs.webkit.org/show_bug.cgi?id=161536
Summary Web Inspector: add a test to track changes to CodeMirror bindings in configur...
Blaze Burg
Reported 2016-09-02 10:24:26 PDT
This would make it much easier to review keybinding changes.
Attachments
Radar WebKit Bug Importer
Comment 1 2016-09-02 10:25:03 PDT
Blaze Burg
Comment 2 2016-09-02 10:26:03 PDT
You can manually collate the keybindings like so: > m = {}; cm.state.keyMaps.reverse().forEach((map) => { for (let key in map) { m[key] = map[key]; }}) > m < Object = { Alt-Backspace: function() Alt-D: function() Alt-Delete: function() ... } Then sort keys lexicographically and dump the function name using .name
Note You need to log in before you can comment on or make changes to this bug.