Closed Bug 1609226 Opened 4 years ago Closed 4 years ago

can't access property "getExtensionPolicy", Services.policies is undefined

Categories

(WebExtensions :: Android, task)

task
Not set
normal

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: agi, Assigned: agi)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Running ublock on android causes this error to be printed in the browser console.

01-13 17:31:56.067  4645  4665 E GeckoConsole: [JavaScript Error: "can't access property "getExtensionPolicy", Services.policies is undefined" {file: "chrome://extensions/content/parent/ext-storage.js" line: 31}]
01-13 17:31:56.067  4645  4665 E GeckoConsole: lookupManagedStorage@chrome://extensions/content/parent/ext-storage.js:31:25
01-13 17:31:56.067  4645  4665 E GeckoConsole: get@chrome://extensions/content/parent/ext-storage.js:156:24
01-13 17:31:56.067  4645  4665 E GeckoConsole: recvAPICall/result</<@resource://gre/modules/ExtensionParent.jsm:1097:68
01-13 17:31:56.067  4645  4665 E GeckoConsole: withPendingBrowser@resource://gre/modules/ExtensionParent.jsm:728:26
01-13 17:31:56.067  4645  4665 E GeckoConsole: recvAPICall/result<@resource://gre/modules/ExtensionParent.jsm:1097:24
01-13 17:31:56.067  4645  4665 E GeckoConsole: callAndLog@resource://gre/modules/ExtensionParent.jsm:1059:14
01-13 17:31:56.067  4645  4665 E GeckoConsole: recvAPICall@resource://gre/modules/ExtensionParent.jsm:1096:25
Assignee: nobody → agi
Status: NEW → ASSIGNED
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e81c776f04ef
Don't use Services.policies if it's not defined. r=mixedpuppy
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
See Also: → 1822752
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: