Closed Bug 1283186 Opened 8 years ago Closed 8 years ago

Only print error instead of throwing when a key shortcut is wrong

Categories

(DevTools :: Framework, defect, P1)

defect

Tracking

(firefox50 fixed)

RESOLVED FIXED
Firefox 50
Iteration:
50.2 - Jul 4
Tracking Status
firefox50 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: [devtools-html])

Attachments

(1 file, 1 obsolete file)

We keep seeing devtools being completely broken due to wrong translation. We may ease key shortcut module behavior by only logging to the console instead of throwing.
See Also: → 1281781
Status: NEW → ASSIGNED
Iteration: --- → 50.2 - Jul 4
Flags: qe-verify?
Priority: -- → P1
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #8766424 - Flags: review?(bgrinstead)
Comment on attachment 8766424 [details] [diff] [review] patch v1 Review of attachment 8766424 [details] [diff] [review]: ----------------------------------------------------------------- Works for me, thanks. Can you confirm that the frontend loads now if you set something like inspector.searchHTML.key to an invalid value?
Attachment #8766424 - Flags: review?(bgrinstead) → review+
and/or add a regression test for this in browser_key_shortcuts.js
Attached patch patch v2Splinter Review
I tested that it was working with invalid default properties, but here is an additional test.
Attachment #8766468 - Flags: review+
Attachment #8766424 - Attachment is obsolete: true
https://hg.mozilla.org/integration/fx-team/rev/94d072b1e22be1b41dae68a6f91e9a2e5d232f98 Bug 1283186 - Only print error instead of throwing when a key shortcut is invalid. r=bgrins
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Flags: qe-verify? → qe-verify-
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: