Closed Bug 667864 Opened 14 years ago Closed 14 years ago

Tests more nsHTMLInputElement attributes reflection

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla7

People

(Reporter: mounir, Assigned: mounir)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v1 (obsolete) — Splinter Review
No description provided.
Attachment #542413 - Flags: review?(Ms2ger)
Blocks: 586786
Comment on attachment 542413 [details] [diff] [review] Patch v1 --- a/content/html/content/test/forms/test_input_attributes_reflection.html +++ b/content/html/content/test/forms/test_input_attributes_reflection.html +// TODO: maybe make those reflections be tested against all input types. Please do :) +// .placeholder +reflectString(document.createElement("input"), "placeholder", + [ "foo\nbar", "foo\rbar" ]); Test CRLF too? - "datetime-local", "number", "range", "color" ]); + "datetime-local", "number", "range", "color" ]) Intentional change? --- a/content/html/content/test/forms/test_pattern_attribute.html +++ b/content/html/content/test/forms/test_pattern_attribute.html - ok('pattern' in element, "Element should have the pattern attribute"); Might want to copy this to reflect.js, and add is(typeof aElement[aAttr], "string"), too? --- a/content/html/content/test/reflect.js +++ b/content/html/content/test/reflect.js + stringsToTest = stringsToTest.concat(otherValues); And this would become otherValues.forEach(function(v) { stringsToTest.push([v, v]) }); r=me
Attachment #542413 - Flags: review?(Ms2ger) → review+
Depends on: 668166
No longer depends on: 667856
Attached patch Patch v1.1Splinter Review
With comments applied.
Attachment #542413 - Attachment is obsolete: true
Flags: in-testsuite+
Whiteboard: [needs review] → [inbound]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7
Ran the tests referred in the link from the above comment on: Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0) Gecko/20100101 Firefox/7.0 Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0 Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20100101 Firefox/7.0 + Aurora (Fx 8.0a2) & Central (Fx 9.0a1) All the tests have passed on all the builds.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: