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

Unified Diff: sky/tests/mutation-observer/observe-exceptions.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-exceptions.sky
diff --git a/sky/tests/mutation-observer/observe-exceptions.sky b/sky/tests/mutation-observer/observe-exceptions.sky
deleted file mode 100644
index 973940396f8c8faec7c3bd2123b7112265895708..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/observe-exceptions.sky
+++ /dev/null
@@ -1,54 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('MutationObserver observe', function() {
- it('should throw on invalid input', function() {
- var div = document.createElement('div');
- var observer = new MutationObserver(function(mutations) { });
- assert.throw(function() {
- observer.observe();
- });
- assert.throw(function() {
- observer.observe(null);
- });
- assert.throw(function() {
- observer.observe(undefined)
- });
- assert.throw(function() {
- observer.observe(div);
- });
- assert.throw(function() {
- observer.observe(div, null);
- });
- assert.throw(function() {
- observer.observe(div, undefined);
- });
- assert.throw(function() {
- observer.observe(null, {attributes: true});
- });
- assert.throw(function() {
- observer.observe(undefined, {attributes: true});
- });
- assert.throw(function() {
- observer.observe(div, {subtree: true});
- });
- assert.throw(function() {
- observer.observe(div, {attributes: false, attributeOldValue: true});
- });
- assert.throw(function() {
- observer.observe(div, {attributes: false, attributeFilter: ["id"]});
- });
- assert.throw(function() {
- observer.observe(div, {attributes: false, attributeOldValue: false});
- });
- assert.throw(function() {
- observer.observe(div, {characterData: false, characterDataOldValue: true});
- });
- assert.throw(function() {
- observer.observe(div, {characterData: false, characterDataOldValue: false});
- });
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698