Index: sky/tests/mutation-observer/observer-wrapper-dropoff-transient.html |
diff --git a/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.html b/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.html |
deleted file mode 100644 |
index 91c5002c1a675d10a3180e7706b73dbc82ea5e59..0000000000000000000000000000000000000000 |
--- a/sky/tests/mutation-observer/observer-wrapper-dropoff-transient.html |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-<html> |
-<link rel="import" href="../resources/chai.html" /> |
-<link rel="import" href="../resources/mocha.html" /> |
-<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> |