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

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

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (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
(Empty)
1 Attach open shadow root.
2 PASS [object ShadowRoot] is non-null.
3 Attach closed shadow root.
4 PASS host2.createShadowRoot({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.
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..
9 Attach open shadow root with shadow-dom.js utility.
10 PASS [object ShadowRoot] is non-null.
11 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..
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698