Bug 161536
| Summary: | Web Inspector: add a test to track changes to CodeMirror bindings in configurations used by WebInspectorUI | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Blaze Burg
This would make it much easier to review keybinding changes.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/28136803>
Blaze Burg
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