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

Unified Diff: sky/tests/mutation-observer/script-append.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/script-append.sky
diff --git a/sky/tests/mutation-observer/script-append.sky b/sky/tests/mutation-observer/script-append.sky
deleted file mode 100644
index fa2d747727e31e4038e5713015b76e91abd9a47f..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/script-append.sky
+++ /dev/null
@@ -1,27 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('MutationObserver', function() {
- it('should not invoke callbacks when appending a script', function() {
- var mutationsDelivered = false;
- function callback(mutations) {
- mutationsDelivered = true;
- }
-
- var observer = new MutationObserver(callback);
- var div = document.createElement('div');
- observer.observe(div, {attributes: true});
- div.setAttribute('foo', 'bar');
- assert.notOk(mutationsDelivered);
- var scriptDidRun = false;
- var script = document.createElement('script');
- script.textContent = 'scriptDidRun = true';
- assert.notOk(scriptDidRun);
- document.documentElement.appendChild(script);
- assert.notOk(scriptDidRun);
- assert.notOk(mutationsDelivered);
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698