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

Unified Diff: sky/tests/mutation-observer/mutation-callback-non-element-crash.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/mutation-observer/mutation-callback-non-element-crash.html
diff --git a/sky/tests/mutation-observer/mutation-callback-non-element-crash.html b/sky/tests/mutation-observer/mutation-callback-non-element-crash.html
deleted file mode 100644
index 205921c863f191fd383a8f2fbb8451a5c30e2c5f..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/mutation-callback-non-element-crash.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<link rel="import" href="../resources/dump-as-text.html" />
-<body id="body">
-<script>
-function mutationCallback(mutations, observer) {
- mutations[0].addedNodes[-1];
-}
-
-var mutationObserver = new MutationObserver(mutationCallback);
-var body = document.getElementById("body");
-mutationObserver.observe(body, {childList: true});
-body.appendChild(document.createTextNode("PASS. We didn't crash"));
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698