Index: sky/tests/mutation-observer/mutation-record-constructor.html |
diff --git a/sky/tests/mutation-observer/mutation-record-constructor.html b/sky/tests/mutation-observer/mutation-record-constructor.html |
deleted file mode 100644 |
index 7fd7d7ed8a7992d3a5fb6fefccfd6019278a1be6..0000000000000000000000000000000000000000 |
--- a/sky/tests/mutation-observer/mutation-record-constructor.html |
+++ /dev/null |
@@ -1,22 +0,0 @@ |
-<html> |
-<link rel="import" href="../resources/chai.html" /> |
-<link rel="import" href="../resources/mocha.html" /> |
-<script> |
-describe('MutationRecord', function() { |
- it('should be exposed on window but not constructable', function() { |
- assert.ok(window.MutationRecord); |
- assert.equal(typeof MutationRecord, "function"); |
- assert.throw(function() { |
- new MutationRecord |
- }, TypeError); |
- |
- var div = document.createElement('div'); |
- var observer = new MutationObserver(function(){}); |
- observer.observe(div, {attributes: true}); |
- div.id = 'foo'; |
- var record = observer.takeRecords()[0]; |
- assert.ok(record instanceof MutationRecord); |
- }); |
-}); |
-</script> |
-</html> |