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

Unified Diff: sky/tests/mutation-observer/mutation-observer-constructor.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/mutation-observer-constructor.sky
diff --git a/sky/tests/mutation-observer/mutation-observer-constructor.sky b/sky/tests/mutation-observer/mutation-observer-constructor.sky
deleted file mode 100644
index ce6749a57592057acde1ba46b543a9b60dadaae1..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/mutation-observer-constructor.sky
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('MutationObserver', function() {
- var observer = new MutationObserver(function(mutations) { });
-
- it('should have methods', function() {
- assert.equal(typeof observer.observe, 'function');
- assert.equal(typeof observer.disconnect, 'function');
- });
- it('should throw with incorrect constructor args', function() {
- assert.throw(function() {
- new MutationObserver({ handleEvent: function() {} });
- }, TypeError);
- assert.throw(function() {
- new MutationObserver({});
- }, TypeError);
- assert.throw(function() {
- new MutationObserver(42);
- }, TypeError);
- assert.throw(function() {
- new MutationObserver("foo");
- }, TypeError);
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698