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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/shadow-dom/Element-interface-attachShadow-expected.txt

Issue 1698183003: Allow attachShadow only for elements in the safelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove expected.txt Created 4 years, 10 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 This is a testharness.js-based test.
2 PASS Check the existence of Element.attachShadow
3 PASS Nodes other than Element should not have attachShadow
4 PASS Element.attachShadow must throw a TypeError if mode is not "open" or "close d"
5 PASS Element.attachShadow must create an instance of ShadowRoot
6 PASS Element.attachShadow must throw a InvalidStateError if the context object a lready hosts a shadow tree
7 FAIL Element.attachShadow must throw a NotSupportedError for button, details, in put, marquee, meter, progress, select, textarea, and keygen elements assert_thro ws: Calling attachShadow({mode: "open"}) on button element must throw function " function () {
8 document.createElement(elementN..." did not throw
9 Harness: the test ran to completion.
10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698