Closed
Bug 1360557
Opened 7 years ago
Closed 7 years ago
Improve error reporting when an extended attribute is used on a construct that doesn't support any
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file)
Right now we just end up hitting assert len(attrs) == 0 in various cases. We could have much error reporting here, including a pointer to the bogus extended attribute and an explanation of why it's bogus.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8862896 -
Flags: review?(kyle)
Updated•7 years ago
|
Attachment #8862896 -
Flags: review?(kyle) → review+
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d066c0cde948 Fix the Web IDL parser to report more useful errors when extended attributes are used on constructs that don't allow them. r=qdot
Comment 3•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d066c0cde948
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•