diff options
author | ch.dumez@samsung.com <ch.dumez@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-01-23 04:36:08 +0000 |
---|---|---|
committer | ch.dumez@samsung.com <ch.dumez@samsung.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-01-23 04:36:08 +0000 |
commit | 7b0411a93c0d818aab3613e28be7d92211931af7 (patch) | |
tree | af23f14347bc3867a32eceac1b6c83acfbee69d3 /third_party/WebKit/LayoutTests/dom | |
parent | 048db428336193f0bb06875396ac1b99905b77ae (diff) | |
download | chromium_src-7b0411a93c0d818aab3613e28be7d92211931af7.zip chromium_src-7b0411a93c0d818aab3613e28be7d92211931af7.tar.gz chromium_src-7b0411a93c0d818aab3613e28be7d92211931af7.tar.bz2 |
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
Diffstat (limited to 'third_party/WebKit/LayoutTests/dom')
-rw-r--r-- | third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_attrgetvalue2-expected.txt | 2 | ||||
-rw-r--r-- | third_party/WebKit/LayoutTests/dom/xhtml/level1/core/hc_nodevalue03-expected.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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 #<Document> has no method 'createEntityReference' +Message TypeError: Object #<XMLDocument> 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 #<Document> has no method 'createEntityReference' +Message TypeError: Object #<XMLDocument> has no method 'createEntityReference' |