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

Unified Diff: sky/tests/mutation-observer/transient-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
« no previous file with comments | « sky/tests/mutation-observer/takeRecords.sky ('k') | sky/tests/mutation-observer/transient-gc-crash.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/mutation-observer/transient-gc-crash.html
diff --git a/sky/tests/mutation-observer/transient-gc-crash.html b/sky/tests/mutation-observer/transient-gc-crash.html
deleted file mode 100644
index e6d4bb6af4e18efc64200a7a4b1161732d1e57f0..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/transient-gc-crash.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<script src="../../../resources/js-test.js"></script>
-<script>
-window.jsTestIsAsync = true;
-description('Clearing transient observers after observation node is GCed should not cause a crash.');
-
-function callback(mutations) {
- window.mutations = mutations;
-}
-var observer = new MutationObserver(callback);
-
-var div = document.createElement('div');
-var span = div.appendChild(document.createElement('span'));
-observer.observe(div, {attributes: true, subtree: true});
-div.removeChild(span);
-div = null;
-gc();
-span.setAttribute('foo', 'bar');
-setTimeout(function() {
- shouldBe('mutations.length', '1');
- finishJSTest();
-}, 0);
-</script>
« no previous file with comments | « sky/tests/mutation-observer/takeRecords.sky ('k') | sky/tests/mutation-observer/transient-gc-crash.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698