| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title> ProcessingInstruction.data and DOMCharacterDataModified event </title> | 4 <title> ProcessingInstruction.data and DOMCharacterDataModified event </title> |
| 5 <script src="../../../../../resources/testharness.js"></script> | 5 <script src="/resources/testharness.js"></script> |
| 6 <script src="../../../../../resources/testharnessreport.js"></script> | 6 <script src="/resources/testharnessreport.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <div id=log></div> | 9 <div id=log></div> |
| 10 | 10 |
| 11 <iframe id="helper" style="display: none"></iframe> | 11 <iframe id="helper" style="display: none"></iframe> |
| 12 | 12 |
| 13 <script> | 13 <script> |
| 14 var description = "Test Description: " + | 14 var description = "Test Description: " + |
| 15 "DOMCharacterDataModified event fires after ProcessingInst
ruction.data have been modified, " + | 15 "DOMCharacterDataModified event fires after ProcessingInst
ruction.data have been modified, " + |
| 16 "but the node itself has not been inserted or deleted. The
proximal event target of this " + | 16 "but the node itself has not been inserted or deleted. The
proximal event target of this " + |
| 17 "event shall be the ProcessingInstruction node."; | 17 "event shall be the ProcessingInstruction node."; |
| 18 | 18 |
| 19 var t = async_test(description); | 19 var t = async_test(description); |
| 20 | 20 |
| 21 var HELPER = document.getElementById("helper"); | 21 var HELPER = document.getElementById("helper"); |
| 22 | 22 |
| 23 HELPER.onload = t.step_func(function() | 23 HELPER.onload = t.step_func(function() |
| 24 { | 24 { |
| 25 assert_true(HELPER.contentWindow.TestResult); | 25 assert_true(HELPER.contentWindow.TestResult); |
| 26 t.done(); | 26 t.done(); |
| 27 }); | 27 }); |
| 28 | 28 |
| 29 HELPER.src = "./support/ProcessingInstruction.DOMCharacterDataModified.xml"; | 29 HELPER.src = "./support/ProcessingInstruction.DOMCharacterDataModified.xml"; |
| 30 </script> | 30 </script> |
| 31 </body> | 31 </body> |
| 32 </html> | 32 </html> |
| OLD | NEW |