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

Unified Diff: sky/tests/mutation-observer/create-during-delivery.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/create-during-delivery.sky
diff --git a/sky/tests/mutation-observer/create-during-delivery.sky b/sky/tests/mutation-observer/create-during-delivery.sky
deleted file mode 100644
index 40158e24f15f14e28599912f318a4c02cf56c7b1..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/create-during-delivery.sky
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-window.jsTestIsAsync = true;
-
-describe('MutationObservers', function() {
- it ('must wait for the next loop when created during delivery', function(done) {
- var order = [];
- var div = document.createElement('div');
-
- var observer3;
- var observer1 = new MutationObserver(function(mutations) {
- order.push(1);
- if (!observer3) {
- observer3 = new MutationObserver(function(mutations) {
- order.push(3);
- });
- observer3.observe(div, {attributes: true});
- div.setAttribute('foo', 'baz');
- }
- });
- var observer2 = new MutationObserver(function(mutations) {
- order.push(2);
- });
-
- observer1.observe(div, {attributes: true});
- observer2.observe(div, {attributes: true});
- div.setAttribute('foo', 'bar');
- setTimeout(function() {
- assert.deepEqual(order, [1, 2, 1, 3]);
- done();
- }, 0);
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698