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

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

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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.html
diff --git a/sky/tests/inspector/dom-mutation-modify-text-node-and-append.html b/sky/tests/inspector/dom-mutation-modify-text-node-and-append.html
deleted file mode 100644
index a2f0d76ce74b730c58a093ff69d12972b0d139dc..0000000000000000000000000000000000000000
--- a/sky/tests/inspector/dom-mutation-modify-text-node-and-append.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<link rel="import" href="inspector/backend/dom-agent.html" 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>
« no previous file with comments | « sky/tests/inspector/dom-mutation.sky ('k') | sky/tests/inspector/dom-mutation-modify-text-node-and-append.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698