From 7b0411a93c0d818aab3613e28be7d92211931af7 Mon Sep 17 00:00:00 2001 From: "ch.dumez@samsung.com" Date: Thu, 23 Jan 2014 04:36:08 +0000 Subject: Add support for DOM4's XMLDocument interface Add support for DOM4's XMLDocument interface: http://dom.spec.whatwg.org/#xmldocument DOMImplementation.createDocument() now returns an XMLDocument instead of a Document as per: http://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOMParser.parseFromString() now returns an XMLDocument instead of a Document when the input type is an xml type, as per: http://domparsing.spec.whatwg.org/#dom-domparser-parsefromstring This behavior is consistent with Firefox 26 and IE 11. The compatibility risk is low since an XMLDocument is identical to a Document. R=tkent, arv BUG=238366 BUG=238372 TEST=fast/dom/DOMImplementation/createDocument-XMLDocument.html Review URL: https://codereview.chromium.org/144063004 git-svn-id: svn://svn.chromium.org/blink/trunk@165607 bbb929c8-8fbe-4397-9dbb-9b2b20218538 --- .../LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt | 2 +- .../LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/WebKit/LayoutTests/dom') diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt b/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt index f60eaeb..033c690 100644 --- a/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt +++ b/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt @@ -1,3 +1,3 @@ Test http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_attrgetvalue2 Status error -Message TypeError: Object # has no method 'createEntityReference' +Message TypeError: Object # has no method 'createEntityReference' diff --git a/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt b/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt index 410fda1..648e475 100644 --- a/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt +++ b/third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt @@ -1,3 +1,3 @@ Test http://www.w3.org/2001/DOM-Test-Suite/level1/core/hc_nodevalue03 Status error -Message TypeError: Object # has no method 'createEntityReference' +Message TypeError: Object # has no method 'createEntityReference' -- cgit v1.1