commit | a83326a6ac1a0cef28a0071b272e111b70211e6c | [log] [tgz] |
---|---|---|
author | jl@opera.com <jl@opera.com> | Wed Feb 11 10:38:58 2015 |
committer | jl@opera.com <jl@opera.com> | Wed Feb 11 10:38:58 2015 |
tree | e239b70a1475726f38ac56b3508f9e2668056883 | |
parent | 8a332c57952e22f0bb46a45910c30b646f06bdfc [diff] |
Make DOMParser create documents with a context document set Store a (weak) reference to the current context's document in DOMParser objects when created, and use this in parseFromString() when creating the parsed document. This matches how parsed documents are created by XMLHttpRequest. BUG=456624 Review URL: https://codereview.chromium.org/919473004 git-svn-id: svn://svn.chromium.org/blink/trunk@189959 bbb929c8-8fbe-4397-9dbb-9b2b20218538