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

Unified Diff: sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky

Issue 920343002: Delete Sky tests that we're not going to run with Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky
diff --git a/sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky b/sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky
deleted file mode 100644
index b5e32ac8faf7bd13ae5bdfa231d4192021d299f9..0000000000000000000000000000000000000000
--- a/sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<import src="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
-<div></div>
-<script>
-// FIXME: This shows a bug in our DOM mutation handling, we should
-// only get one childNodeInserted record here, but we get two, which
-// means the inspector shows two nodes where it should only show one.
-
-// setTimeout to flush pending DOM modifications and measure
-// only the changes we want to.
-setTimeout(function() {
- var delegate = {
- sendMessage: function(message, params) {
- console.log(message);
- if (params.node)
- console.log(params.node.nodeId);
- if (params.node && params.node.children)
- console.log(params.node.children[0].nodeId);
- }
- };
-
- var domAgent = new DOMAgent(delegate);
- domAgent.enable();
-
- var adding = document.createElement('adding');
- document.querySelector('div').appendChild(adding);
- adding.textContent = 'adding';
-
- setTimeout(function() {
- internals.notifyTestComplete(internals.contentAsText());
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698