Closed
Bug 682239
Opened 13 years ago
Closed 13 years ago
Tests all HTMLFormElement attributes reflection
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: mounir, Assigned: mounir)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
14.01 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #555989 -
Flags: review?(Ms2ger)
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review]
Comment 2•13 years ago
|
||
Comment on attachment 555989 [details] [diff] [review] Patch v1 r=me with this addressed --- a/content/html/content/test/reflect.js +++ b/content/html/content/test/reflect.js function reflectLimitedEnumerated(aParameters) { var element = aParameters.element; - var attr = aParameters.attribute; + var contentAttr = typeof aParameters.attribute === "string" + ? aParameters.attribute : aParameters.attribute.content; + var idlAttr = typeof aParameters.attribute === "string" + ? aParameters.attribute : aParameters.attribute.idl; var defaultValue = aParameters.defaultValue !== undefined ? aParameters.defaultValue : ""; var unsupportedValues = aParameters.unsupportedValues !== undefined ? aParameters.unsupportedValues : []; Please make the indentation match for these four; either way is fine. --- a/content/html/content/test/test_bug585508.html +++ b/content/html/content/test/test_bug585508.html var button = document.createElement('button'); checkAttribute(button, 'formenctype', 'formEnctype', enctypeTestData); checkAttribute(button, 'formmethod', 'formMethod', methodTestData); And I seem to remember you were planning to fix bug 673553?
Attachment #555989 -
Flags: review?(Ms2ger) → review+
Assignee | ||
Updated•13 years ago
|
Whiteboard: [needs review] → [inb]
Assignee | ||
Updated•13 years ago
|
Flags: in-testsuite+
Whiteboard: [inb] → [inbound]
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3faac1e63f57
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•