Closed Bug 1356891 Opened 5 years ago Closed 5 years ago

Get rid of getAPILevelForWindow

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: kmag, Assigned: kmag)

Details

Attachments

(1 file)

This is only ever called from one place now, so its complexity and performance cost aren't really justified.
Comment on attachment 8858647 [details]
Bug 1356891: Get rid of getAPILevelForWindow.

https://reviewboard.mozilla.org/r/130620/#review133454

note: tests already exist that check content script privilege.
Attachment #8858647 - Flags: review?(mixedpuppy) → review+
https://hg.mozilla.org/mozilla-central/rev/47318b7a82c0
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.