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

Side by Side Diff: sky/tests/mutation-observer/document-fragment-insertion.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <link rel="import" href="../resources/mocha.sky" /> 2 <import src="../resources/mocha.sky" />
3 <link rel="import" href="../resources/chai.sky" /> 3 <import src="../resources/chai.sky" />
4 <script> 4 <script>
5 describe('DocumentFragments should remove all children of the fragment before mo ving children, ', function() { 5 describe('DocumentFragments should remove all children of the fragment before mo ving children, ', function() {
6 var mutations; 6 var mutations;
7 var observer; 7 var observer;
8 8
9 beforeEach(function() { 9 beforeEach(function() {
10 mutations = null; 10 mutations = null;
11 observer = new MutationObserver(function(records) { 11 observer = new MutationObserver(function(records) {
12 mutations = records; 12 mutations = records;
13 }); 13 });
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 assert.equal(mutations[0].addedNodes.length, 0); 60 assert.equal(mutations[0].addedNodes.length, 0);
61 assert.equal(mutations[0].removedNodes.length, 2); 61 assert.equal(mutations[0].removedNodes.length, 2);
62 assert.equal(mutations[1].addedNodes.length, 2); 62 assert.equal(mutations[1].addedNodes.length, 2);
63 assert.equal(mutations[1].removedNodes.length, 1); 63 assert.equal(mutations[1].removedNodes.length, 1);
64 done(); 64 done();
65 }, 0); 65 }, 0);
66 }); 66 });
67 }); 67 });
68 </script> 68 </script>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698