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

Unified Diff: sky/tests/mutation-observer/mutate-during-delivery.html

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/mutate-during-delivery.html
diff --git a/sky/tests/mutation-observer/mutate-during-delivery.html b/sky/tests/mutation-observer/mutate-during-delivery.html
deleted file mode 100644
index b605daa38a1f1acad7529861d1572e9f56777127..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/mutate-during-delivery.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<link rel="import" href="../resources/chai.html" />
-<link rel="import" href="../resources/mocha.html" />
-<script>
-describe('MutationObserver', function() {
- it('should not interrupt delivery order on getting mutations during delivery', function(done) {
- function finish() {
- assert.deepEqual(order, [1, 3, 2]);
- done();
- }
-
- var order = [];
- var div = document.createElement('div');
-
- var observer1 = new MutationObserver(function(mutations) {
- order.push(1);
- div.appendChild(document.createElement('span'));
- });
- var observer2 = new MutationObserver(function(mutations) {
- order.push(2);
- });
- var observer3 = new MutationObserver(function(mutations) {
- order.push(3);
- });
-
- observer1.observe(div, {attributes: true});
- observer2.observe(div, {childList: true});
- observer3.observe(div, {attributes: true});
- div.setAttribute('foo', 'bar');
- setTimeout(finish, 0);
- });
-});
-</script>
-</html>
« no previous file with comments | « sky/tests/mutation-observer/document-fragment-insertion.sky ('k') | sky/tests/mutation-observer/mutate-during-delivery.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698