OLD | NEW |
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.observe on childList', function() { | 5 describe('MutationObserver.observe on childList', function() { |
6 it('should handle basic observation', function(done) { | 6 it('should handle basic observation', function(done) { |
7 var div; | 7 var div; |
8 var observer; | 8 var observer; |
9 var mutations; | 9 var mutations; |
10 var removedDiv1, removedDiv2; | 10 var removedDiv1, removedDiv2; |
11 | 11 |
12 function start() { | 12 function start() { |
13 div = document.createElement('div'); | 13 div = document.createElement('div'); |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 observer.disconnect(); | 313 observer.disconnect(); |
314 done(); | 314 done(); |
315 } | 315 } |
316 | 316 |
317 start(); | 317 start(); |
318 }); | 318 }); |
319 }); | 319 }); |
320 </script> | 320 </script> |
321 </body> | 321 </body> |
322 </html> | 322 </html> |
OLD | NEW |