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

Unified Diff: sky/tests/mutation-observer/weak-callback-gc-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/weak-callback-gc-crash.html
diff --git a/sky/tests/mutation-observer/weak-callback-gc-crash.html b/sky/tests/mutation-observer/weak-callback-gc-crash.html
deleted file mode 100644
index 4cb6819f14bb9594483aaa5efd7575a9f78e152a..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/weak-callback-gc-crash.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<div>Test passes if it does not crash</div>
-<script src="../../../resources/gc.js"></script>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
-}
-var observer = new MutationObserver(function() {console.log('Should not appear')});
-var div = document.createElement('div');
-observer.observe(div, {attributes: true});
-div.id = 'foo';
-div = null;
-observer = null;
-gc();
-setTimeout(function() { testRunner.notifyDone(); }, 0);
-</script>
« no previous file with comments | « sky/tests/mutation-observer/transient-gc-crash.sky ('k') | sky/tests/mutation-observer/weak-callback-gc-crash.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698