Index: sky/tests/mutation-observer/script-append.sky |
diff --git a/sky/tests/mutation-observer/script-append.sky b/sky/tests/mutation-observer/script-append.sky |
deleted file mode 100644 |
index fa2d747727e31e4038e5713015b76e91abd9a47f..0000000000000000000000000000000000000000 |
--- a/sky/tests/mutation-observer/script-append.sky |
+++ /dev/null |
@@ -1,27 +0,0 @@ |
-<html> |
-<import src="../resources/chai.sky" /> |
-<import src="../resources/mocha.sky" /> |
-<script> |
-describe('MutationObserver', function() { |
- it('should not invoke callbacks when appending a script', function() { |
- var mutationsDelivered = false; |
- function callback(mutations) { |
- mutationsDelivered = true; |
- } |
- |
- var observer = new MutationObserver(callback); |
- var div = document.createElement('div'); |
- observer.observe(div, {attributes: true}); |
- div.setAttribute('foo', 'bar'); |
- assert.notOk(mutationsDelivered); |
- var scriptDidRun = false; |
- var script = document.createElement('script'); |
- script.textContent = 'scriptDidRun = true'; |
- assert.notOk(scriptDidRun); |
- document.documentElement.appendChild(script); |
- assert.notOk(scriptDidRun); |
- assert.notOk(mutationsDelivered); |
- }); |
-}); |
-</script> |
-</html> |