| 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.observe on attributes', function() { | 5 describe('MutationObserver.observe on attributes', function() { |
| 6 it('should handle basic aspects of attribute observation', function(done) { | 6 it('should handle basic aspects of attribute observation', function(done) { |
| 7 var div; | 7 var div; |
| 8 var observer; | 8 var observer; |
| 9 var mutations; | 9 var mutations; |
| 10 | 10 |
| 11 function start() { | 11 function start() { |
| 12 div = document.createElement('div'); | 12 div = document.createElement('div'); |
| 13 div.setAttribute('bar', 'foo'); | 13 div.setAttribute('bar', 'foo'); |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 observer.disconnect(); | 592 observer.disconnect(); |
| 593 done(); | 593 done(); |
| 594 } | 594 } |
| 595 | 595 |
| 596 start(); | 596 start(); |
| 597 }); | 597 }); |
| 598 }); | 598 }); |
| 599 </script> | 599 </script> |
| 600 </body> | 600 </body> |
| 601 </html> | 601 </html> |
| OLD | NEW |