Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(921)

Unified Diff: sky/tests/mutation-observer/cross-document.sky

Issue 697363002: Remove DOMImplementation. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/tests/mutation-observer/cross-document.sky
diff --git a/sky/tests/mutation-observer/cross-document.sky b/sky/tests/mutation-observer/cross-document.sky
index 580e3b72ef63c75afdf6fd26336ed15d1ad0b590..fdf93efc5338df26a8a1c45f9574d281991939b4 100644
--- a/sky/tests/mutation-observer/cross-document.sky
+++ b/sky/tests/mutation-observer/cross-document.sky
@@ -11,7 +11,7 @@ describe('MutationObserver cross document moves', function() {
});
observer.observe(div, {attributes: true});
- var newDoc = document.implementation.createDocument('', '', null);
+ var newDoc = new Document();
ojan 2014/11/04 07:15:47 I wish HTML could have nice things like this.
newDoc.appendChild(div);
div.id = 'foo';
setTimeout(function() {
@@ -32,7 +32,7 @@ describe('MutationObserver cross document moves', function() {
});
observer.observe(div, {attributes: true, subtree: true});
- var newDoc = document.implementation.createDocument();
+ var newDoc = new Document();
newDoc.appendChild(div);
subDiv.id = 'foo';
setTimeout(function() {

Powered by Google App Engine
This is Rietveld 408576698