Closed Bug 1244805 Opened 9 years ago Closed 9 years ago

Relative URLs cause access errors at install time

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
blocker

Tracking

(firefox47 fixed)

VERIFIED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(1 file)

We resolve relative URLs in manifests relative to the filesystem URL when validating them from the add-on manager. Since file: URLs aren't loadable by the null principal, this causes access errors. This should have been caught by our tests, but they don't currently run the same startup checks as the add-on manager for every test add-on.
Severity: normal → blocker
Comment on attachment 8714398 [details] MozReview Request: Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r?billm https://reviewboard.mozilla.org/r/33065/#review29829
Attachment #8714398 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/integration/fx-team/rev/184854a1ca0e5a89a380d1976dd1f678d633e48f Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Could you please provide some steps in order to manually verify this bug?
Flags: needinfo?(kmaglione+bmo)
This bug has been pretty thoroughly verified, I think.
Status: RESOLVED → VERIFIED
Flags: needinfo?(kmaglione+bmo)
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: