| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
| 3 <script> | 3 <script> |
| 4 description('Test that WebKitMutationObserver.disconnect cancels pending deliver
y'); | 4 description('Test that WebKitMutationObserver.disconnect cancels pending deliver
y'); |
| 5 | 5 |
| 6 window.jsTestIsAsync = true; | 6 window.jsTestIsAsync = true; |
| 7 var mutations; | 7 var mutations; |
| 8 var observer; | 8 var observer; |
| 9 | 9 |
| 10 function start() { | 10 function start() { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 function finish() { | 32 function finish() { |
| 33 debug('...and re-observing should not see any of the previously-generated re
cords.'); | 33 debug('...and re-observing should not see any of the previously-generated re
cords.'); |
| 34 shouldBe('mutations.length', '1'); | 34 shouldBe('mutations.length', '1'); |
| 35 shouldBe('mutations[0].attributeName', '"bar"'); | 35 shouldBe('mutations[0].attributeName', '"bar"'); |
| 36 finishJSTest(); | 36 finishJSTest(); |
| 37 } | 37 } |
| 38 | 38 |
| 39 start(); | 39 start(); |
| 40 </script> | 40 </script> |
| 41 <script src="../../js/resources/js-test-post.js"></script> | |
| OLD | NEW |