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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Attach open shadow root. 1 Attach open shadow root.
2 PASS [object ShadowRoot] is non-null. 2 PASS host1.attachShadow({mode: 'open'}) is non-null.
3 Attach closed shadow root. 3 Attach closed shadow root.
4 PASS host2.createShadowRoot({mode: 'closed'}) is non-null. 4 PASS host2.attachShadow({mode: 'closed'}) is non-null.
5 Create shadow root with empty parameter.
6 PASS [object ShadowRoot] is non-null.
7 Attach shadow root whose mode is neither open nor closed. 5 Attach shadow root whose mode is neither open nor closed.
8 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.. 6 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..
9 Attach open shadow root with shadow-dom.js utility. 7 Attach open shadow root with shadow-dom.js utility.
10 PASS [object ShadowRoot] is non-null. 8 PASS [object ShadowRoot] is non-null.
11 Attach shadow root on already shadowed host will raise InvalidStateError excepti on. 9 Attach shadow root on already shadowed host will raise InvalidStateError excepti on.
12 PASS host1.attachShadow({mode: 'open'}) threw exception InvalidStateError: Faile d to execute 'attachShadow' on 'Element': Shadow root cannot be created on a hos t which already hosts a shadow tree.. 10 PASS host1.attachShadow({mode: 'open'}) threw exception InvalidStateError: Faile d to execute 'attachShadow' on 'Element': Shadow root cannot be created on a hos t which already hosts a shadow tree..
13 PASS successfullyParsed is true 11 PASS successfullyParsed is true
14 12
15 TEST COMPLETE 13 TEST COMPLETE
16 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698