summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/loader/image-loader-adoptNode-assert.html
blob: 57088b3f4c54775d8c7c25f9797fb7e2336c32d5 (plain)
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>