image-loader-adoptNode-assert.html 315 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
<!DOCTYPE html>
<script>
if (window.testRunner) testRunner.dumpAsText();
var doc = document.implementation.createHTMLDocument('');
var img = document.createElement('img');
img.onerror = function() { doc.adoptNode(img); };
img.src = 'http://foo.com/blarg.jpg';
</script>
<div>Test passes if it does not ASSERT</div>