Bug 1359855 - Update key id reference if tests for responsive design. r=jdescottes
☠☠ backed out by e2e44c6b5180 ☠ ☠
authorAlexandre Poirot <poirot.alex@gmail.com>
Thu, 13 Jul 2017 15:28:03 +0200
changeset 370508 061f66345448fc97217523a257522e2ca743883e
parent 370507 8d68726f1c34cc18155d3be298611abd82fa3c21
child 370509 dbd03e7e1bc5aad3148a1b1ef69361bf30e041ef
push id47052
push userapoirot@mozilla.com
push dateMon, 24 Jul 2017 09:16:15 +0000
treeherderautoland@2dd30b065030 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1359855
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1359855 - Update key id reference if tests for responsive design. r=jdescottes MozReview-Commit-ID: JJxo8R3mkOA
devtools/client/responsivedesign/test/head.js
--- a/devtools/client/responsivedesign/test/head.js
+++ b/devtools/client/responsivedesign/test/head.js
@@ -39,17 +39,17 @@ var openRDM = Task.async(function* (tab 
                                    method = "menu") {
   let manager = ResponsiveUIManager;
 
   let opened = once(manager, "on");
   let resized = once(manager, "content-resize");
   if (method == "menu") {
     document.getElementById("menu_responsiveUI").doCommand();
   } else {
-    synthesizeKeyFromKeyTag(document.getElementById("key_responsiveUI"));
+    synthesizeKeyFromKeyTag(document.getElementById("key_responsiveDesignMode"));
   }
   yield opened;
 
   let rdm = manager.getResponsiveUIForTab(tab);
   rdm.transitionsEnabled = false;
   registerCleanupFunction(() => {
     rdm.transitionsEnabled = true;
   });