Closed Bug 1242561 Opened 9 years ago Closed 8 years ago

Import missing events API schema file

Categories

(WebExtensions :: Untriaged, defect, P3)

defect

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
Blocks: 1242522
Assignee: nobody → lgreco
Flags: blocking-webextensions+
Priority: -- → P3
Whiteboard: [webNavigation] triaged
Flags: blocking-webextensions+ → blocking-webextensions-
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+
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
No longer blocks: 1242522
Depends on: 1242522
This has been fixed in Firefox50 as part of Bug 1242522.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: