Closed
Bug 489532
Opened 16 years ago
Closed 14 years ago
document.createElement("<x>") does not throw in quirks mode
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla2.0b2
People
(Reporter: annevk, Assigned: Ms2ger)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 2 obsolete files)
3.59 KB,
patch
|
Details | Diff | Splinter Review |
In both Opera and WebKit-based browsers document.createElement("<x>") gives you an INVALID_CHARACTER_ERR regardless of the rendering mode. Gecko only throws in standards mode.
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cscript%3Ew%28document.createElement%28%22%3Cx%3E%22%29%29%3C%2Fscript%3E
Comment 1•16 years ago
|
||
IIRC, this was added for behind-a-firewall IE compat.
Comment 2•16 years ago
|
||
Updated•15 years ago
|
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #452545 -
Flags: review?(jonas) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed,
dev-doc-needed
Comment 4•14 years ago
|
||
this is bitrotted against current m-c, please provide an updated patch and
re-ask c-n.
Keywords: checkin-needed
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 7•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Keywords: checkin-needed
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3b2
Assignee | ||
Comment 8•14 years ago
|
||
I added a note to <https://developer.mozilla.org/en/Firefox_4_for_developers#section_8>. Apparently, this quirk wasn't actually documented anywhere, so I don't think anything else is needed.
Keywords: dev-doc-needed → dev-doc-complete
Comment 9•14 years ago
|
||
> IIRC, this was added for behind-a-firewall IE compat.
FYI, public sites were (are?) also affected: <https://bugs.webkit.org/show_bug.cgi?id=25893>. As Firefox is removing this quirk, we likely won't add it to WebKit.
Comment 10•14 years ago
|
||
It is still not giving any warnings or errors in the firebug console when this happens. As of FF4b12
Comment 11•14 years ago
|
||
That sounds like a problem with Firebug; if you actually look at our error console you'll see an exception is thrown.
You need to log in
before you can comment on or make changes to this bug.
Description
•