OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> |
| 5 <script> |
| 6 window.onload = function() { |
| 7 var element = document.getElementsByTagName('html')[0]; |
| 8 document.adoptNode(element); |
| 9 var newElement = document.createElementNS('http://www.w3.org/2000/svg', 'title
'); |
| 10 document.appendChild(newElement); |
| 11 document.execCommand('SelectAll', false) |
| 12 document.designMode = 'on'; |
| 13 |
| 14 description('Page should not crash when a node does not have a renderer object
associated with it. ' + |
| 15 'To test manually, right-click anywhere on the page. ' + |
| 16 'The test succeeds if the page does not crash. '); |
| 17 |
| 18 if (window.eventSender) { |
| 19 eventSender.mouseMoveTo(10, 10); |
| 20 eventSender.contextClick(); |
| 21 } |
| 22 |
| 23 finishJSTest(); |
| 24 }; |
| 25 </script> |
| 26 </head> |
| 27 </html> |
OLD | NEW |