Closed
Bug 1242561
Opened 9 years ago
Closed 8 years ago
Import missing events API schema file
Categories
(WebExtensions :: Untriaged, defect, P3)
WebExtensions
Untriaged
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla50
People
(Reporter: rpl, Assigned: rpl)
References
Details
(Whiteboard: [webNavigation] triaged)
Attachments
(1 obsolete file)
The webNavigation API schema references the "UrlFilter" type from an "events" schema file which is currently missing:
https://code.google.com/p/chromium/codesearch#chromium/src/extensions/common/api/events.json
and it should be imported in the schemas dir and registered accordingly:
- "toolkit"-level schemas
schemas directory: toolkit/components/extensions/schemas/
schemas registration: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/Extension.jsm#78
Updated•9 years ago
|
Assignee: nobody → lgreco
Flags: blocking-webextensions+
Priority: -- → P3
Whiteboard: [webNavigation] triaged
Updated•9 years ago
|
Flags: blocking-webextensions+ → blocking-webextensions-
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/47703/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/47703/
Attachment #8743295 -
Flags: review?(kmaglione+bmo)
Comment 2•9 years ago
|
||
Comment on attachment 8743295 [details]
MozReview Request: Bug 1242561 - [webext] Import missing events API schema file. r?kmag
https://reviewboard.mozilla.org/r/47703/#review45271
This doesn't need its own bug. Please move the patch to bug 1242522.
::: toolkit/components/extensions/Schemas.jsm:1151
(Diff revision 1)
> pattern,
> format);
> } else if (type.type == "object" && "functions" in type) {
> - checkTypeProperties("functions");
> + // TODO: additionalProperties is currently unused, added to the allowed to be able
> + // to load the event.json file.
> + checkTypeProperties("functions", "additionalProperties");
Let's just remove the property from the schema instead.
Attachment #8743295 -
Flags: review?(kmaglione+bmo) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8743295 [details]
MozReview Request: Bug 1242561 - [webext] Import missing events API schema file. r?kmag
Marking this patch as obsolete, because I'm moving the patch (tweaked based on the review comments) in Bug 1242522.
Attachment #8743295 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Comment 4•8 years ago
|
||
This has been fixed in Firefox50 as part of Bug 1242522.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•