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. |