Bug 1359855 - Update key id reference if tests for responsive design. r=jdescottes
authorAlexandre Poirot <poirot.alex@gmail.com>
Thu, 13 Jul 2017 15:28:03 +0200
changeset 419350 c379b1dfb233940688545af20939bd85c89f7cfc
parent 419349 eb206956401ce32a0a4117244f44839a54a261d7
child 419351 4ec28f94e2848a73f357c965c92bf133b221e937
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;
   });