| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <link rel="import" href="../resources/chai.html" /> | 2 <link rel="import" href="../resources/chai.sky" /> |
| 3 <link rel="import" href="../resources/mocha.html" /> | 3 <link rel="import" href="../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 Loading... |
| 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> |
| OLD | NEW |