abort the WebIDL parser on unknown annotations

RESOLVED FIXED in mozilla23

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: smaug, Assigned: bzbarsky)

Tracking

(Blocks: 1 bug)

unspecified
mozilla23
x86_64
Linux
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
It is easy to write [Throw] when one means [Throws] and if the C++ side
supports also xpidl bindings, that might just compile fine.
(Reporter)

Updated

5 years ago
Assignee: nobody → bzbarsky
Created attachment 735017 [details] [diff] [review]
Make unknown extended attributes into parse errors.
Attachment #735017 - Flags: review?(khuey)
Whiteboard: [need review]
Summary: abort on unknown annotations → abort the WebIDL parser on unknown annotations
https://hg.mozilla.org/integration/mozilla-inbound/rev/35f95339c44c
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla23
https://hg.mozilla.org/mozilla-central/rev/35f95339c44c
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.