Fix the loop ui-showcase - fallout from bug 1066506, define getBoolPreference in the fake mozLoop api. rs=dmose over irc DONTBUILD
authorMark Banner <standard8@mozilla.com>
Tue, 16 Sep 2014 19:00:44 +0100
changeset 225360 98b285915390a7d4d4974bd6655b5fd2fef832a9
parent 225359 59a9099979f85393ab7b3fa9311e90cfcd905c8a
child 225361 a6733cf963700c265adb6f9e61c83444099dbe7f
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
bugs1066506
milestone34.0a2
Fix the loop ui-showcase - fallout from bug 1066506, define getBoolPreference in the fake mozLoop api. rs=dmose over irc DONTBUILD
browser/components/loop/ui/fake-mozLoop.js
--- a/browser/components/loop/ui/fake-mozLoop.js
+++ b/browser/components/loop/ui/fake-mozLoop.js
@@ -2,10 +2,11 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /**
  * Faking the mozLoop object which doesn't exist in regular web pages.
  * @type {Object}
  */
 navigator.mozLoop = {
-  getLoopCharPref: function() {}
+  getLoopCharPref: function() {},
+  getLoopBoolPref: function() {}
 };