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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-root-js-api.html

Issue 216123005: Don't expose WebKitShadowRoot constructor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: reset results to fix end of line Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/shadow/shadow-root-js-api.html
diff --git a/LayoutTests/fast/dom/shadow/shadow-root-js-api.html b/LayoutTests/fast/dom/shadow/shadow-root-js-api.html
index f963ef48eb63b7f9ccaf3e40830c29febee2b647..33000733f4bf14ff92a72f2cb53c2234092dcbb7 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-js-api.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-js-api.html
@@ -15,19 +15,15 @@ description("Tests for ShadowRoot JS APIs. Can only run within DRT");
if (window.testRunner)
testRunner.dumpAsText();
-// WebKitShadowRoot is always available, while ShadowRoot is available when a run-time flag is set
// (which is always enabled in testing).
shouldBeDefined("window.ShadowRoot");
-shouldBeDefined("window.WebKitShadowRoot");
shouldThrow("new window.ShadowRoot(document.createElement('div'))");
-shouldThrow("new window.WebKitShadowRoot(document.createElement('div'))");
var shadowHost = document.createElement('div');
document.body.appendChild(shadowHost);
var shadowRoot = shadowHost.createShadowRoot();
shouldBeTrue("shadowRoot instanceof window.ShadowRoot");
-shouldBeTrue("shadowRoot instanceof window.WebKitShadowRoot");
var div1 = document.createElement("div");
div1.setAttribute("id", "div1");
« no previous file with comments | « LayoutTests/fast/dom/shadow/resources/shadow-dom.js ('k') | LayoutTests/fast/dom/shadow/shadow-root-js-api-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698