mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
248a7e6b13
--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
37 lines
992 B
HTML
37 lines
992 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=384981
|
|
-->
|
|
<head>
|
|
<title>Test for Bug 384981</title>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
<!-- Make sure we wait for the stylesheet load -->
|
|
<script>document.documentElement.offsetWidth</script>
|
|
</head>
|
|
<body>
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=384981">Mozilla Bug 384981</a>
|
|
<p id="display">
|
|
<iframe src="javascript:'content'"></iframe>
|
|
</p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
/** Test for Bug 384981 **/
|
|
SimpleTest.waitForExplicitFinish()
|
|
addLoadEvent(function() {
|
|
is(window.frames[0].document.documentElement.textContent, "content",
|
|
"Onload should not fire before subframe loads");
|
|
});
|
|
addLoadEvent(SimpleTest.finish);
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
|