Index: third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.html b/third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.html |
deleted file mode 100644 |
index efc2c4280b2e959d25a8ecd49bf161491ab8dbfb..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/shadow-dom-rules-in-styleSheetAddedEvent.html |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<!doctype html> |
-<html> |
-<head> |
-<script type="text/javascript" src="../http/tests/inspector-protocol/inspector-protocol-test.js"></script> |
-<script type="text/javascript"> |
-function pageLoaded() |
-{ |
- var template = document.querySelector("#tmpl"); |
- var root = document.querySelector("#host").createShadowRoot(); |
- root.appendChild(template.content.cloneNode(true)); |
- runTest(); |
-} |
- |
-function test() |
-{ |
- InspectorTest.eventHandler["CSS.styleSheetAdded"] = styleSheetAdded; |
- InspectorTest.sendCommandOrDie("DOM.enable", {}); |
- InspectorTest.sendCommand("CSS.enable", {}, null); |
- |
- function styleSheetAdded(msg) |
- { |
- var styleSheetHeader = msg.params.header; |
- InspectorTest.sendCommand("CSS.getStyleSheetText", {"styleSheetId": styleSheetHeader.styleSheetId}, onStyleSheetText); |
- } |
- |
- function onStyleSheetText(payload) |
- { |
- InspectorTest.log("Loaded style sheet text: " + payload.result.text); |
- InspectorTest.completeTest(); |
- } |
-} |
-</script> |
-</head> |
-<body onload="pageLoaded()"> |
-<p>This test checks that style sheets hosted inside shadow roots are reported in CSS.getAllStyleSheets protocol method.</p> |
-<div id="host"></div> |
-<template id="tmpl"> |
- <style> .red { color: red; } </style> |
- <div id="inner" class="red">hi!</div> |
-</template> |
-</body> |
-</html> |