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 228682 3be4f9ecef3c85502d5485dd59b517d6e0baf9b7
parent 228681 ddcde29ad05ac17ac8c456850edd2ccbfb3805ec
child 228683 3824678e420fccb7b24f2c1c2df3485e91c9c88e
push id4187
push userbhearsum@mozilla.com
push dateFri, 28 Nov 2014 15:29:12 +0000
treeherdermozilla-beta@f23cc6a30c11 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
bugs1066506
milestone35.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
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() {}
 };