| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 | 4 |
| 5 <script> | 5 <script> |
| 6 description('MutationObserver wrappers should survive GC for passing into the ca
llback even if JS has lost references and the only remaining observations are tr
ansient.'); | 6 description('MutationObserver wrappers should survive GC for passing into the ca
llback even if JS has lost references and the only remaining observations are tr
ansient.'); |
| 7 | 7 |
| 8 jsTestIsAsync = true; | 8 jsTestIsAsync = true; |
| 9 | 9 |
| 10 function addObserver(node, fn) { | 10 function addObserver(node, fn) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 }); | 23 }); |
| 24 | 24 |
| 25 root.removeChild(child); | 25 root.removeChild(child); |
| 26 child.setAttribute('foo', 'bar'); | 26 child.setAttribute('foo', 'bar'); |
| 27 root = null; | 27 root = null; |
| 28 | 28 |
| 29 gc(); | 29 gc(); |
| 30 }; | 30 }; |
| 31 </script> | 31 </script> |
| 32 | 32 |
| 33 <script src="../../js/resources/js-test-post.js"></script> | |
| OLD | NEW |