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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html

Issue 1777833002: Use Shadow DOM v1 APIs for Shadow DOM v1 tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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: third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html b/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
index da1c13660962776a4d20537382b142338f410a1b..0d9825711abca706f47cdcc58a16ea990a240eb8 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
+++ b/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
@@ -20,7 +20,7 @@ debug('Insertion points should be inactive in v1 shadow trees.');
document.body.appendChild(
createDOM('div', {},
createDOM('div', {'id': 'host-2'},
- createShadowRoot(
+ attachShadow(
{'mode': 'open'},
createDOM('content', {'id': 'content-2'})),
createDOM('div', {'id': 'child-2'}))));
@@ -30,7 +30,7 @@ shouldBe('document.getElementById("child-2").getDestinationInsertionPoints().len
document.body.appendChild(
createDOM('div', {},
createDOM('div', {'id': 'host-3'},
- createShadowRoot(
+ attachShadow(
{'mode': 'closed'},
createDOM('content', {'id': 'content-3'})),
createDOM('div', {'id': 'child-3'}))));

Powered by Google App Engine
This is Rietveld 408576698