зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
84b2b0814a
Коммит
d91aa5f1c0
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче