Index: sky/tests/inspector/dom-mutation.html |
diff --git a/sky/tests/inspector/dom-mutation.html b/sky/tests/inspector/dom-mutation.html |
deleted file mode 100644 |
index 94350fbd50358e71c5fe6bd19a318b0c1e5a2457..0000000000000000000000000000000000000000 |
--- a/sky/tests/inspector/dom-mutation.html |
+++ /dev/null |
@@ -1,37 +0,0 @@ |
-<html> |
-<link rel="import" href="../resources/chai.html" /> |
-<link rel="import" href="inspector/backend/dom-agent.html" as="DOMAgent" /> |
-<div><div></div></div> |
-<script> |
-// setTimeout to flush pending DOM modifications and measure |
-// only the changes we want to. |
-var expectedMessages = [ |
- 'DOM.childNodeRemoved', |
- 'DOM.childNodeInserted', |
-]; |
-var actualMessages = []; |
- |
-setTimeout(function() { |
- var delegate = { |
- sendMessage: function(message, params) { |
- actualMessages.push(message); |
- } |
- }; |
- |
- var domAgent = new DOMAgent(delegate); |
- domAgent.enable(); |
- |
- var adding = document.createElement('adding'); |
- var container = document.querySelector('div'); |
- container.firstChild.remove(); |
- container.appendChild(document.createElement('adding')); |
- |
- setTimeout(function() { |
- assert.equal(JSON.stringify(expectedMessages), |
- JSON.stringify(actualMessages)); |
- internals.notifyTestComplete("Done!"); |
- }); |
-}); |
-</script> |
- |
-</html> |