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

Unified Diff: LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt

Issue 1223473004: Prohibit createShadowRoot({mode: 'open'}) on existing shadow root. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt b/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt
index 051111769a68c495c8f5f7ef695c12fd0b8c5feb..64613a08ffbe1fca146112102e36a9536ac4a9f3 100644
--- a/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt
+++ b/LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter-expected.txt
@@ -8,6 +8,8 @@ Create shadow root whose mode is neither open nor closed.
PASS host4.createShadowRoot({mode: 'illegal'}) threw exception TypeError: Failed to execute 'createShadowRoot' on 'Element': The provided value 'illegal' is not a valid enum value of type ShadowRootMode..
Create open shadow root with shadow-dom.js utility.
PASS [object ShadowRoot] is non-null.
+Create shadow root on already shadowed host will raise InvalidStateError exception.
+PASS host1.createShadowRoot({mode: 'open'}) threw exception InvalidStateError: Failed to execute 'createShadowRoot' on 'Element': Shadow root cannot be created on a host which already hosts a shadow tree..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/shadow/create-shadow-root-with-parameter.html ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698