mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Adding test for bug 617296. a=test-only
This commit is contained in:
parent
085fe10626
commit
16b5499a94
@ -132,6 +132,7 @@ _TEST_FILES = \
|
||||
file_bug593174_1.html \
|
||||
file_bug593174_2.html \
|
||||
test_bug612267.html \
|
||||
test_bug617296.html \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(_TEST_FILES)
|
||||
|
28
dom/tests/mochitest/bugs/test_bug617296.html
Normal file
28
dom/tests/mochitest/bugs/test_bug617296.html
Normal file
@ -0,0 +1,28 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=617296
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 617296</title>
|
||||
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=617296">Mozilla Bug 617296</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
|
||||
/** Test for Bug 617296 **/
|
||||
var URL = 5;
|
||||
is(URL, 5, "window.URL should be replaceable");
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user