adamk@chromium.org | 859a0f1 | 2013-01-03 19:52:26 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
2 | <script> | ||||
3 | if (window.testRunner) testRunner.dumpAsText(); | ||||
4 | var doc = document.implementation.createHTMLDocument(''); | ||||
5 | var img = document.createElement('img'); | ||||
6 | img.onerror = function() { doc.adoptNode(img); }; | ||||
7 | img.src = 'http://foo.com/blarg.jpg'; | ||||
8 | </script> | ||||
9 | <div>Test passes if it does not ASSERT</div> |