Bug 729173 - Part 6: Permission whitelist for B2G. r=mounir
authorPhilipp von Weitershausen <philipp@weitershausen.de>
Thu, 19 Apr 2012 18:33:25 -0300
changeset 95319 880879bfc6a808540620195dc6208fb955f1294b
parent 95318 ee7f4d1d2934a7e041736240cbb89d70a2dbb166
child 95320 637a250a8a70657b9dd662ce3132079265805987
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmounir
bugs729173
milestone14.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
Bug 729173 - Part 6: Permission whitelist for B2G. r=mounir
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -425,16 +425,19 @@ pref("browser.link.open_newwindow.restri
 // Enable browser frame
 pref("dom.mozBrowserFramesEnabled", true);
 pref("dom.mozBrowserFramesWhitelist", "http://homescreen.gaiamobile.org,http://browser.gaiamobile.org");
 
 // Temporary permission hack for WebSMS
 pref("dom.sms.enabled", true);
 pref("dom.sms.whitelist", "file://,http://homescreen.gaiamobile.org,http://sms.gaiamobile.org");
 
+// Temporary permission hack for WebMobileConnection
+pref("dom.mobileconnection.whitelist", "http://homescreen.gaiamobile.org");
+
 // Temporary permission hack for WebContacts
 pref("dom.mozContacts.enabled", true);
 pref("dom.mozContacts.whitelist", "http://dialer.gaiamobile.org,http://sms.gaiamobile.org");
 
 // WebSettings
 pref("dom.mozSettings.enabled", true);
 
 // Ignore X-Frame-Options headers.