Closed
Bug 932505
Opened 11 years ago
Closed 11 years ago
Add some basic checking for Bindings.conf
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: mccr8, Assigned: mccr8)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
5.22 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
See bug 932409 comment 2.
Assignee | ||
Comment 1•11 years ago
|
||
This is what I implemented: 1. If the entry is a list with a single element, it should have 'workers'=True. (This is just aesthetics.) 2. If the entry is a list with two elements, the 'workers' value for each should be different. 3. The entry should not be a list with more than two elements. FYI, only 1, the trivial one, is violated. If people have some more ideas, I can try to add them.
Assignee: nobody → continuation
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #825571 -
Flags: review?(bzbarsky)
Comment 4•11 years ago
|
||
Comment on attachment 825571 [details] [diff] [review] add some checks and describe what the rules are >+ raise TypeError("Interface " + iface.identifier.name + >+ " should have no more than two entries") "... entries in Bindings.conf" perhaps? r=me. Thank you for cleaning this up and the documentation!
Attachment #825571 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Good point. I added something about Bindings.conf to all of the error messages. https://hg.mozilla.org/integration/mozilla-inbound/rev/f39d5c1d8ea8
https://hg.mozilla.org/mozilla-central/rev/f39d5c1d8ea8
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [qa-]
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
•