> And yet the Simulator still flags the manifest as invalid:
>
> "Unknown permission 'mobilenetwork'."
I am wading in way over my head now, but here's what I've found by looking at
the Firefox Simulator source.
It's resources/r2d2b2g/lib/validator.js that does the validation of the
manifest.
This script loads the list of valid permissions from
resource://gre/modules/PermissionsTable.jsm
When I open that URL in Firefox, the "mobilenetwork" permission is NOT listed.
However, in the file included with the Simulator extension:
resources/r2d2b2g/data/mac64/B2G.app/Contents/MacOS/modules/PermissionsTable.jsm
this permission IS listed:
mobilenetwork: {
app: DENY_ACTION,
privileged: ALLOW_ACTION,
certified: ALLOW_ACTION
},
Which makes me think that my Simulator is getting this resource from the wrong
place, or from an out of date place.
This discussion has likely exceeded the boundaries of this thread by now, but
I'd welcome pointers as to how to address this issue.
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps