Back everything out from bug 1266414 to fix bustage. r=backout
authorHelen V. Holmes <helen.v.holmes@gmail.com>
Wed, 13 Jul 2016 10:02:08 +0200
changeset 304726 da676c4491c1917e4ebaa9ef31961718b60689d5
parent 304725 e0d821942d29279c0213303560505097872b6651
child 304727 0845f945173f613cabea846124a6bd443a048aa7
push id19978
push userarchaeopteryx@coole-files.de
push dateWed, 13 Jul 2016 08:02:24 +0000
treeherderfx-team@7054f1c4d2b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1266414
milestone50.0a1
Back everything out from bug 1266414 to fix bustage. r=backout
devtools/client/responsive.html/test/browser/browser_device_modal_exit.js
devtools/client/responsive.html/test/browser/browser_device_modal_submit.js
--- a/devtools/client/responsive.html/test/browser/browser_device_modal_exit.js
+++ b/devtools/client/responsive.html/test/browser/browser_device_modal_exit.js
@@ -23,17 +23,17 @@ addRDMTask(TEST_URL, function* ({ ui }) 
 
   info("Check the first unchecked device and exit the modal.");
   let uncheckedCb = [...document.querySelectorAll(".device-input-checkbox")]
     .filter(cb => !cb.checked)[0];
   let value = uncheckedCb.value;
   uncheckedCb.click();
   closeButton.click();
 
-  ok(modal.classList.contains("closed") && !modal.classList.contains("opened"),
+  ok(modal.classList.contains("hidden"),
     "The device modal is hidden on exit.");
 
   info("Check that the device list remains unchanged after exitting.");
   let preferredDevicesAfter = _loadPreferredDevices();
 
   is(preferredDevicesBefore.added.size, preferredDevicesAfter.added.size,
     "Got expected number of added devices.");
 
--- a/devtools/client/responsive.html/test/browser/browser_device_modal_submit.js
+++ b/devtools/client/responsive.html/test/browser/browser_device_modal_submit.js
@@ -56,17 +56,17 @@ addRDMTask(TEST_URL, function* ({ ui }) 
   // Tests where the user adds a non-featured device
   info("Check the first unchecked device and submit new device list.");
   let uncheckedCb = [...document.querySelectorAll(".device-input-checkbox")]
     .filter(cb => !cb.checked)[0];
   let value = uncheckedCb.value;
   uncheckedCb.click();
   submitButton.click();
 
-  ok(modal.classList.contains("closed") && !modal.classList.contains("opened"),
+  ok(modal.classList.contains("hidden"),
     "The device modal is hidden on submit.");
 
   info("Checking that the new device is added to the user preference list.");
   let preferredDevices = _loadPreferredDevices();
   ok(preferredDevices.added.has(value), value + " in user added list.");
 
   info("Checking new device is added to the device selector.");
   let options = [...select.options];