| 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");
|
|
|