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

Unified Diff: sky/tests/mutation-observer/observe-options-character-data.sky

Issue 920343002: Delete Sky tests that we're not going to run with Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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.sky
diff --git a/sky/tests/mutation-observer/observe-options-character-data.sky b/sky/tests/mutation-observer/observe-options-character-data.sky
deleted file mode 100644
index 698abe0732f29f4c15ea2a25d9234d5944d7220e..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/observe-options-character-data.sky
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('Test MutationObserver.observe', function() {
- it('should respect character data options', function() {
- var observer = new MutationObserver(function() {});
- var text = new Text('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