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

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

Issue 2333623003: Convert remaining focus tests in shadow-dom to use testharness.js (Closed)
Patch Set: Created 4 years, 3 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 host1.attachShadow({mode: 'open'}) is non-null.
3 Attach closed shadow root.
4 PASS host2.attachShadow({mode: 'closed'}) is non-null.
5 Attach shadow root whose mode is neither open nor closed.
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..
7 Attach open shadow root with shadow-dom.js utility.
8 PASS [object ShadowRoot] is non-null.
9 Attach shadow root on already shadowed host will raise InvalidStateError excepti on.
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..
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698