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

Unified Diff: sky/tests/mutation-observer/observer-wrapper-dropoff-transient.sky

Issue 920343002: Delete Sky tests that we're not going to run with Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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-transient.sky
diff --git a/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.sky b/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.sky
deleted file mode 100644
index 30465437c5d637dbcd06191e68e572b8bc1a1192..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.sky
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('MutationObserver wrappers', function() {
- it('should survive GC for passing into the callback even if JS has lost references and the only remaining observations are transient.', function(done) {
- function addObserver(node, fn) {
- var observer = new MutationObserver(fn);
- observer.testProperty = true;
- observer.observe(node, {attributes:true, subtree: true});
- }
-
- var root = document.createElement('div');
- var child = root.appendChild(document.createElement('span'));
- addObserver(root, function(records, observer) {
- window.observer = observer;
- assert.ok(observer.testProperty);
- done();
- });
-
- root.removeChild(child);
- child.setAttribute('foo', 'bar');
- root = null;
-
- gc();
- });
-});
-</script>
-</html>
« no previous file with comments | « sky/tests/mutation-observer/observer-wrapper-dropoff.sky ('k') | sky/tests/mutation-observer/script-append.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698