Index: sky/tests/mutation-observer/mutation-observer-constructor.html |
diff --git a/sky/tests/mutation-observer/mutation-observer-constructor.html b/sky/tests/mutation-observer/mutation-observer-constructor.html |
deleted file mode 100644 |
index df07463c8793a504b3f1f0690282e0d89b33e5c1..0000000000000000000000000000000000000000 |
--- a/sky/tests/mutation-observer/mutation-observer-constructor.html |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-<html> |
-<link rel="import" href="../resources/chai.html" /> |
-<link rel="import" href="../resources/mocha.html" /> |
-<script> |
-describe('MutationObserver', function() { |
- var observer = new MutationObserver(function(mutations) { }); |
- |
- it('should have methods', function() { |
- assert.equal(typeof observer.observe, 'function'); |
- assert.equal(typeof observer.disconnect, 'function'); |
- }); |
- it('should throw with incorrect constructor args', function() { |
- assert.throw(function() { |
- new MutationObserver({ handleEvent: function() {} }); |
- }, TypeError); |
- assert.throw(function() { |
- new MutationObserver({}); |
- }, TypeError); |
- assert.throw(function() { |
- new MutationObserver(42); |
- }, TypeError); |
- assert.throw(function() { |
- new MutationObserver("foo"); |
- }, TypeError); |
- }); |
-}); |
-</script> |
-</html> |