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

Side by Side Diff: sky/tests/mutation-observer/disconnect-cancel-pending.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/chai.sky" /> 2 <import src="../resources/chai.sky" />
3 <link rel="import" href="../resources/mocha.sky" /> 3 <import src="../resources/mocha.sky" />
4 <script> 4 <script>
5 describe('MutationObserver.disconnect', function() { 5 describe('MutationObserver.disconnect', function() {
6 it('should cancel pending delivery', function(done) { 6 it('should cancel pending delivery', function(done) {
7 var mutations; 7 var mutations;
8 var observer; 8 var observer;
9 var div; 9 var div;
10 10
11 function start() { 11 function start() {
12 mutations = null; 12 mutations = null;
13 div = document.createElement('div'); 13 div = document.createElement('div');
(...skipping 21 matching lines...) Expand all
35 assert.equal(mutations.length, 1); 35 assert.equal(mutations.length, 1);
36 assert.equal(mutations[0].attributeName, "bar"); 36 assert.equal(mutations[0].attributeName, "bar");
37 done(); 37 done();
38 } 38 }
39 39
40 start(); 40 start();
41 }); 41 });
42 }); 42 });
43 </script> 43 </script>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698