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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-with-parameter-expected.txt

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/attach-shadow-with-parameter-expected.txt
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/create-shadow-root-with-parameter-expected.txt b/third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-with-parameter-expected.txt
similarity index 80%
rename from third_party/WebKit/LayoutTests/shadow-dom/create-shadow-root-with-parameter-expected.txt
rename to third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-with-parameter-expected.txt
index edbe652002e506911842bf96a09da45d329ce93f..65be0d23779239c987cc5ab70cf0b5982777d813 100644
--- a/third_party/WebKit/LayoutTests/shadow-dom/create-shadow-root-with-parameter-expected.txt
+++ b/third_party/WebKit/LayoutTests/shadow-dom/attach-shadow-with-parameter-expected.txt
@@ -1,9 +1,7 @@
Attach open shadow root.
-PASS [object ShadowRoot] is non-null.
+PASS host1.attachShadow({mode: 'open'}) is non-null.
Attach closed shadow root.
-PASS host2.createShadowRoot({mode: 'closed'}) is non-null.
-Create shadow root with empty parameter.
-PASS [object ShadowRoot] is non-null.
+PASS host2.attachShadow({mode: 'closed'}) is non-null.
Attach shadow root whose mode is neither open nor closed.
PASS host4.attachShadow({mode: 'illegal'}) threw exception TypeError: Failed to execute 'attachShadow' on 'Element': The provided value 'illegal' is not a valid enum value of type ShadowRootMode..
Attach open shadow root with shadow-dom.js utility.

Powered by Google App Engine
This is Rietveld 408576698