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

Unified Diff: sky/tests/mutation-observer/observe-options-character-data.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/observe-options-character-data.html
diff --git a/sky/tests/mutation-observer/observe-options-character-data.html b/sky/tests/mutation-observer/observe-options-character-data.html
deleted file mode 100644
index 610e584fc7e9668fb3c327486ee3bc382a9ca09d..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/observe-options-character-data.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-<link rel="import" href="../resources/chai.html" />
-<link rel="import" href="../resources/mocha.html" />
-<script>
-describe('Test MutationObserver.observe', function() {
- it('should respect character data options', function() {
- var observer = new MutationObserver(function() {});
- var text = document.createTextNode('0');
-
- observer.observe(text, {characterDataOldValue: true});
- text.data = '1';
- var records = observer.takeRecords();
- assert.equal(records.length, 1);
- assert.equal(records[0].oldValue, 0);
- observer.disconnect();
-
- observer.observe(text, {characterDataOldValue: false});
- text.data = '2';
- var records = observer.takeRecords();
- assert.equal(records.length, 1);
- assert.isNull(records[0].oldValue);
- observer.disconnect();
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698