Bug 1319844 - Fix a few broken paths, r=Gijs.
☠☠ backed out by 030a4cd9e71f ☠ ☠
authorFlorian Quèze <florian@queze.net>
Mon, 28 Nov 2016 12:29:31 +0100
changeset 324433 b05c8f63d8a2bbcbc95c40cb462f80d4a962be2d
parent 324432 bdbcf49b3359dbcad12de40de0a25148cdf1804b
child 324434 ca8ca07756ab80d29778329aa22ebc453f17fc69
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersGijs
bugs1319844
milestone53.0a1
Bug 1319844 - Fix a few broken paths, r=Gijs.
browser/modules/LaterRun.jsm
dom/console/ConsoleAPIStorage.js
toolkit/content/widgets/videocontrols.xml
--- a/browser/modules/LaterRun.jsm
+++ b/browser/modules/LaterRun.jsm
@@ -5,20 +5,16 @@
 "use strict";
 
 const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
 
 this.EXPORTED_SYMBOLS = ["LaterRun"];
 
 Cu.import("resource://gre/modules/Preferences.jsm");
 Cu.import("resource://gre/modules/Services.jsm");
-Cu.import("resource://gre/modules/XPCOMUtils.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "setInterval", "resource://gre/modules/Timer.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "clearInterval", "resource://gre/modules/Timer.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "RecentWindow", "resource://gre/modules/RecentWindow.jsm");
 
 const kEnabledPref = "browser.laterrun.enabled";
 const kPagePrefRoot = "browser.laterrun.pages.";
 // Number of sessions we've been active in
 const kSessionCountPref = "browser.laterrun.bookkeeping.sessionCount";
 // Time the profile was created at:
 const kProfileCreationTime = "browser.laterrun.bookkeeping.profileCreationTime";
 
--- a/dom/console/ConsoleAPIStorage.js
+++ b/dom/console/ConsoleAPIStorage.js
@@ -26,17 +26,18 @@ const CONSOLEAPISTORAGE_CID = Components
  * display the cached messages when it opens for the active tab.
  *
  * ConsoleAPI messages are stored as they come from the ConsoleAPI code, with
  * all their properties. They are kept around until the inner window object that
  * created the messages is destroyed. Messages are indexed by the inner window
  * ID.
  *
  * Usage:
- *    Cu.import("resource://gre/modules/ConsoleAPIStorage.jsm");
+ *    let ConsoleAPIStorage = Cc["@mozilla.org/consoleAPI-storage;1"]
+ *                              .getService(Ci.nsIConsoleAPIStorage);
  *
  *    // Get the cached events array for the window you want (use the inner
  *    // window ID).
  *    let events = ConsoleAPIStorage.getEvents(innerWindowID);
  *    events.forEach(function(event) { ... });
  *
  *    // Clear the events for the given inner window ID.
  *    ConsoleAPIStorage.clearEvents(innerWindowID);
--- a/toolkit/content/widgets/videocontrols.xml
+++ b/toolkit/content/widgets/videocontrols.xml
@@ -2066,17 +2066,17 @@
               this.Utils.video.play();
             this.TouchUtils.toggleControls();
           }
         </handler>
     </handlers>
 
   </binding>
 
-  <binding id="touchControlsGonk" extends="chrome://global/content/bindings/videoControls.xml#touchControls">
+  <binding id="touchControlsGonk" extends="chrome://global/content/bindings/videocontrols.xml#touchControls">
     <implementation>
       <constructor>
           this.isGonk = true;
       </constructor>
     </implementation>
   </binding>
 
   <binding id="noControls">