mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
We have to run the navigator checks in sub-iframes as we need to set preferences which affect navigator's API which may or may not be already initialised with the current settings. The sub-iframes will have a navigator object set up with the expected preferences for the test. The iframes all call into the parent to publish the test results, this is because the SimpleTest infrastructure doesn't cope with results being published from sub-iframes. MozReview-Commit-ID: GFVQHMVkbMP
25 lines
594 B
HTML
25 lines
594 B
HTML
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
-->
|
|
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
Sub-tests of DOM Worker Navigator tests.
|
|
-->
|
|
<head>
|
|
<title>Test for DOM Worker Navigator</title>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
</head>
|
|
<body>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script type="text/javascript" src="test_navigator_iframe.js"></script>
|
|
</pre>
|
|
</body>
|
|
</html>
|