[Webkit-unassigned] [Bug 17074] New: DOMImplementation.createDocumentType does not throw correct exceptions (Acid3 bug)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 29 14:38:39 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17074
Summary: DOMImplementation.createDocumentType does not throw
correct exceptions (Acid3 bug)
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eric at webkit.org
BugsThisDependsOn: 16883
DOMImplementation.createDocumentType does not throw correct exceptions (Acid3
bug)
This is related to bug 16883. Should be simple to fix, we just need good test
cases.
// test 25: test namespace checking in createDocumentType, and
// check that exceptions that are thrown are DOMException objects
var message = "";
try {
document.implementation.createDocumentType('a:', '', ''); /* doesn't
contain an illegal character; is malformed */
message = "failed to raise exception";
} catch (e) {
if (e.code != e.NAMESPACE_ERR)
message = "wrong exception";
else if (e.INVALID_ACCESS_ERR != 15)
message = "exceptions don't have all the constants";
}
if (message)
fail(message);
return 2;
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list