Bug 1506470 - Port bug 1429488, part 5, take 2: s/currentThemeForDisplay/currentThemeWithPersistedData/. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Sun, 11 Nov 2018 18:52:42 +0100
changeset 33698 1499532bcad2f634b09bf111917795a907cc0984
parent 33697 d55eedb42e086de9afcbdbe64d60435ce6ba4f6b
child 33699 f7517410336f5369c55533c6f195fc6cce1e5b7a
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersbustage-fix
bugs1506470, 1429488
Bug 1506470 - Port bug 1429488, part 5, take 2: s/currentThemeForDisplay/currentThemeWithPersistedData/. rs=bustage-fix
mail/test/mozmill/content-tabs/test-lwthemes.js
--- a/mail/test/mozmill/content-tabs/test-lwthemes.js
+++ b/mail/test/mozmill/content-tabs/test-lwthemes.js
@@ -47,17 +47,17 @@ function check_and_click_notification_bo
 
 function close_notification_box_in_current_tab() {
   mc.tabmail.selectedTab.panel
     .querySelector("notificationbox")
     .currentNotification.close();
 }
 
 function currentLwTheme() {
-  return mc.window.LightWeightThemeWebInstaller._manager.currentThemeForDisplay;
+  return mc.window.LightWeightThemeWebInstaller._manager.currentThemeWithPersistedData;
 }
 
 /**
  * Check if the currently selected theme is the default one.
  * The default theme is lightweight too, but has a special ID we can check.
  */
 function currentThemeIsDefault() {
   return (currentLwTheme().id == "default-theme@mozilla.org");