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

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

Issue 1168323002: Support parameter passing for shadow-dom.js's createShadowRoot (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix for comment, and update test expectation. Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Create open shadow root. 1 Create open shadow root.
2 PASS [object ShadowRoot] is non-null. 2 PASS [object ShadowRoot] is non-null.
3 Create closed shadow root. 3 Create closed shadow root.
4 PASS host2.createShadowRoot({mode: 'closed'}) threw exception NotSupportedError: Failed to execute 'createShadowRoot' on 'Element': Closed shadow root is not im plemented yet.. 4 PASS host2.createShadowRoot({mode: 'closed'}) threw exception NotSupportedError: Failed to execute 'createShadowRoot' on 'Element': Closed shadow root is not im plemented yet..
5 Create shadow root with empty parameter. 5 Create shadow root with empty parameter.
6 PASS [object ShadowRoot] is non-null. 6 PASS [object ShadowRoot] is non-null.
7 Create shadow root whose mode is neither open nor closed. 7 Create shadow root whose mode is neither open nor closed.
8 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.. 8 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..
9 Create open shadow root with shadow-dom.js utility.
10 PASS [object ShadowRoot] is non-null.
9 PASS successfullyParsed is true 11 PASS successfullyParsed is true
10 12
11 TEST COMPLETE 13 TEST COMPLETE
12 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698