| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>MutationObservers: disconnect</title> | 3 <title>MutationObservers: disconnect</title> |
| 4 <script src="../../../../resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="../../../../resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <h1>MutationObservers: disconnect</h1> | 6 <h1>MutationObservers: disconnect</h1> |
| 7 <div id="log"></div> | 7 <div id="log"></div> |
| 8 <section style="display: none"> | 8 <section style="display: none"> |
| 9 <p id='n00'></p> | 9 <p id='n00'></p> |
| 10 </section> | 10 </section> |
| 11 <script> | 11 <script> |
| 12 var n00 = document.getElementById('n00'); | 12 var n00 = document.getElementById('n00'); |
| 13 var parentTest = async_test("subtree mutations"); | 13 var parentTest = async_test("subtree mutations"); |
| 14 function masterMO(sequence, obs) { | 14 function masterMO(sequence, obs) { |
| 15 parentTest.step(function() { | 15 parentTest.step(function() { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 39 n00.id = "foo"; | 39 n00.id = "foo"; |
| 40 n00.id = "bar"; | 40 n00.id = "bar"; |
| 41 observer.disconnect(); | 41 observer.disconnect(); |
| 42 observer.observe(n00, {"attributes": true, "attributeOldValue": true}); | 42 observer.observe(n00, {"attributes": true, "attributeOldValue": true}); |
| 43 n00.id = "latest"; | 43 n00.id = "latest"; |
| 44 observer.disconnect(); | 44 observer.disconnect(); |
| 45 observer.observe(n00, {"attributes": true, "attributeOldValue": true}); | 45 observer.observe(n00, {"attributes": true, "attributeOldValue": true}); |
| 46 n00.id = "n0000"; | 46 n00.id = "n0000"; |
| 47 }); | 47 }); |
| 48 </script> | 48 </script> |
| OLD | NEW |