Skip to content
Snippets Groups Projects
Commit d91aa5f1 authored by Brian Grinstead's avatar Brian Grinstead
Browse files

Bug 1370442 - Update keybindings test to always use the new debugger frontend;r=pbro

This is a workaround for one release of the old debugger frontend which swallows
the netmonitor shortcut.

MozReview-Commit-ID: 4sZAIEIWf8W

--HG--
extra : rebase_source : 10c6f7bdef36c75176489d4794ce75387cfa9384
parent 84b2b081
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,14 @@
const TEST_URL = "data:text/html,<html><head><title>Test for the " +
"highlighter keybindings</title></head><body>" +
"<h1>Keybindings!</h1></body></html>"
// Use the new debugger frontend because the old one swallows the netmonitor shortcut:
// https://bugzilla.mozilla.org/show_bug.cgi?id=1370442#c7
Services.prefs.setBoolPref("devtools.debugger.new-debugger-frontend", true);
registerCleanupFunction(function* () {
Services.prefs.clearUserPref("devtools.debugger.new-debugger-frontend");
});
function test()
{
waitForExplicitFinish();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment