gecko/dom/jsurl/crashtests/344996-1.xhtml
Birunthan Mohanathas 546ce715f9 Bug 1058101 - Move dom/src/jsurl/ into dom/. r=mccr8
--HG--
rename : dom/src/jsurl/crashtests/1018583.html => dom/jsurl/crashtests/1018583.html
rename : dom/src/jsurl/crashtests/341963-1.html => dom/jsurl/crashtests/341963-1.html
rename : dom/src/jsurl/crashtests/344874-1.html => dom/jsurl/crashtests/344874-1.html
rename : dom/src/jsurl/crashtests/344996-1.xhtml => dom/jsurl/crashtests/344996-1.xhtml
rename : dom/src/jsurl/crashtests/457050-1-inner.html => dom/jsurl/crashtests/457050-1-inner.html
rename : dom/src/jsurl/crashtests/457050-1.html => dom/jsurl/crashtests/457050-1.html
rename : dom/src/jsurl/crashtests/crashtests.list => dom/jsurl/crashtests/crashtests.list
rename : dom/src/jsurl/moz.build => dom/jsurl/moz.build
rename : dom/src/jsurl/nsJSProtocolHandler.cpp => dom/jsurl/nsJSProtocolHandler.cpp
rename : dom/src/jsurl/nsJSProtocolHandler.h => dom/jsurl/nsJSProtocolHandler.h
rename : dom/src/jsurl/test/fail.html => dom/jsurl/test/fail.html
rename : dom/src/jsurl/test/form-submit.html => dom/jsurl/test/form-submit.html
rename : dom/src/jsurl/test/load-stopping-1a.html => dom/jsurl/test/load-stopping-1a.html
rename : dom/src/jsurl/test/load-stopping-1b.html => dom/jsurl/test/load-stopping-1b.html
rename : dom/src/jsurl/test/load-stopping-1c.html => dom/jsurl/test/load-stopping-1c.html
rename : dom/src/jsurl/test/load-stopping-1d.html => dom/jsurl/test/load-stopping-1d.html
rename : dom/src/jsurl/test/mochitest.ini => dom/jsurl/test/mochitest.ini
rename : dom/src/jsurl/test/pass.html => dom/jsurl/test/pass.html
rename : dom/src/jsurl/test/test_bug351633-1.html => dom/jsurl/test/test_bug351633-1.html
rename : dom/src/jsurl/test/test_bug351633-2.html => dom/jsurl/test/test_bug351633-2.html
rename : dom/src/jsurl/test/test_bug351633-3.html => dom/jsurl/test/test_bug351633-3.html
rename : dom/src/jsurl/test/test_bug351633-4.html => dom/jsurl/test/test_bug351633-4.html
rename : dom/src/jsurl/test/test_bug384981.html => dom/jsurl/test/test_bug384981.html
2014-08-30 21:43:45 -07:00

42 lines
839 B
HTML

<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
<![CDATA[
var a;
var b;
function foopy()
{
a = document.getElementById("a");
b = document.getElementById("b");
var img = document.getElementById("img");
var rx = document.getElementById("rx");
img.setAttribute('src', "javascript:aC(a, b);");
aC(rx, a);
document.documentElement.removeAttribute("class");
}
// This has to be a top-level function to avoid hitting bug 344890.
function aC(q1, q2) { q1.appendChild(q2); }
]]>
</script>
</head>
<body onload="setTimeout(foopy, 30);">
<span id="a" style="border: 1px solid green;">A<img src="../../../../testing/crashtest/images/tree.gif" id="img" /></span>
<span id="b">B</span>
<div data="text/plain,Hi!" style="border: 1px solid blue; display: block;" id="rx" />
</body>
</html>