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 419241 061f66345448fc97217523a257522e2ca743883e
parent 419240 8d68726f1c34cc18155d3be298611abd82fa3c21
child 419242 dbd03e7e1bc5aad3148a1b1ef69361bf30e041ef
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [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;
   });