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';
9 <div>Test passes if it does not ASSERT
</div>