DescriptionSync DOMImplementation.createDocument() IDL with spec
https://dom.spec.whatwg.org/#interface-domimplementation
Because DOMImplementation::createDocument calls qualifiedName.isEmpty()
there is no observable difference when qualifiedName is null.
The added [TypeChecking=Interface] only affects the generated code for
the doctype argument, where passing a non-null, non-DocType object will
now throw an exception.
Firefox Nightly and IE11 pass all of the new tests, with the exception
of IE11 throwing an exception when the doctype argument is undefined. In
other words, the cases where we now throw exceptions already throw
exceptions in Firefox and IE, making it likely Web compatible.
TEST=LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186779
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|