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