Bug 1082475 - B2G NFC: move 'nfc' permission to privilege. r=smaug, pauljt, dimi
authorYoshi Huang <allstars.chh@mozilla.com>
Wed, 26 Nov 2014 12:16:18 +0800
changeset 219009 349ab6e6522d1e1681badafe3e6b03b10310b1e7
parent 219008 5c36288a4c4f43bfbd96bd51498890da89731057
child 219010 35ae29cb9e0dfad1de059cda1e6dadec08e56e92
push id27952
push userryanvm@gmail.com
push dateWed, 10 Dec 2014 20:34:44 +0000
treeherdermozilla-central@a6282dfb2764 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, pauljt, dimi
bugs1082475
milestone37.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 1082475 - B2G NFC: move 'nfc' permission to privilege. r=smaug, pauljt, dimi
dom/apps/PermissionsTable.jsm
--- a/dom/apps/PermissionsTable.jsm
+++ b/dom/apps/PermissionsTable.jsm
@@ -405,17 +405,17 @@ this.PermissionsTable =  { geolocation: 
                              app: PROMPT_ACTION,
                              trusted: PROMPT_ACTION,
                              privileged: PROMPT_ACTION,
                              certified: ALLOW_ACTION
                            },
                            "nfc": {
                              app: DENY_ACTION,
                              trusted: DENY_ACTION,
-                             privileged: DENY_ACTION,
+                             privileged: ALLOW_ACTION,
                              certified: ALLOW_ACTION
                            },
                            "nfc-share": {
                              app: DENY_ACTION,
                              trusted: DENY_ACTION,
                              privileged: DENY_ACTION,
                              certified: ALLOW_ACTION
                            },