[Webkit-unassigned] [Bug 44494] New: Disallow setting Document.xmlVersion to unsupported versions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 24 00:11:29 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44494
Summary: Disallow setting Document.xmlVersion to unsupported
versions
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: XML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andreas.kling at nokia.com
Document.xmlVersion can currently be set to any string.
According to DOM Level 3 Core, it should throw NOT_SUPPORTED_ERR if you attempt to set an unsupported version.
Spec link:
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-version
This would fix the following in-tree tests which currently expect failure due to us lying about XML 1.1 support:
- dom/xhtml/level3/core/canonicalform06.xhtml
- dom/xhtml/level3/core/documentsetxmlversion01.xhtml
- dom/xhtml/level3/core/documentsetxmlversion05.xhtml
- dom/xhtml/level3/core/infoset06.xhtml
- dom/xhtml/level3/core/infoset07.xhtml
- dom/xhtml/level3/core/wellformed01.xhtml
- dom/xhtml/level3/core/wellformed02.xhtml
- dom/xhtml/level3/core/wellformed03.xhtml
- dom/xhtml/level3/core/wellformed04.xhtml
This test will break (it checks if XML 1.1 is supported by setting document.xmlVersion = '1.1'):
dom/xhtml/level3/core/documentsetxmlversion03.xhtml
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list