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

Unified Diff: sky/tests/mutation-observer/observer-wrapper-dropoff.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/observer-wrapper-dropoff.html
diff --git a/sky/tests/mutation-observer/observer-wrapper-dropoff.html b/sky/tests/mutation-observer/observer-wrapper-dropoff.html
deleted file mode 100644
index b7f76ba1fab12baea6c1137ad7f8cb598ad2905c..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/observer-wrapper-dropoff.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-
-<script src="../../../resources/js-test.js"></script>
-
-<script>
-description('MutationObserver wrappers should survive GC for passing into the callback even if JS has lost references.');
-
-jsTestIsAsync = true;
-
-function addObserver(node, fn) {
- var observer = new MutationObserver(fn);
- observer.testProperty = true;
- observer.observe(node, {attributes:true});
-}
-
-window.addEventListener("load", function() {
- addObserver(document.body, function(records, observer) {
- window.observer = observer;
- shouldBe('observer.testProperty', 'true');
- finishJSTest();
- });
-
- gc();
-
- document.body.setAttribute('touch', 'the node');
-});
-</script>
-
« no previous file with comments | « sky/tests/mutation-observer/observe-subtree.sky ('k') | sky/tests/mutation-observer/observer-wrapper-dropoff.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698