Closed Bug 901848 Opened 11 years ago Closed 7 years ago

No keygen support in b2g, removes attributes

Categories

(Core :: DOM: HTML Parser, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

See url testcase, I would expect as result something like this:
<select id="k"><option>High Grade</option><option>Medium Grade</option></select>

But on b2g, I get:
<select></select>

B2G can't support <keygen> currently, because of bug 582297, but it seems to me, the parser shouldn't just throw away attributes like that, at least.

This is the cause of this error in test_validation.html:
61 INFO TEST-PASS | /tests/content/html/content/test/forms/test_validation.html | validity.valid is not available in the DOM
62 ERROR TEST-UNEXPECTED-FAIL | /tests/content/html/content/test/forms/test_validation.html | uncaught exception - TypeError: invalid 'in' operand element at http://mochi.test:8888/tests/content/html/content/test/forms/test_validation.html:52

http://mxr.mozilla.org/mozilla-central/source/content/html/content/test/forms/test_validation.html?force=1
Adding Bug 582297 and Bug 101019 as dependancy, because either should fix the underlying cause. 

Though this bug could also provide a workaround, I'd rather see Bug 101019 being fixed instead.
Depends on: 582297, html5-keygen
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.