Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / loader / image-loader-adoptNode-assert.html
blob57088b3f4c54775d8c7c25f9797fb7e2336c32d5
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>