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

Unified Diff: sky/tests/mutation-observer/mutation-record-constructor.html

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/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>

Powered by Google App Engine
This is Rietveld 408576698