mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Add bug 3348 tests
This commit is contained in:
parent
d596c388e9
commit
25fcd63b3d
@ -45,6 +45,7 @@ var RunSet = {}
|
||||
RunSet.runall = function() {
|
||||
TestRunner.runTests(
|
||||
'test_bug2082.html',
|
||||
'test_bug3348.html',
|
||||
'test_bug100533.html',
|
||||
'test_bug218277.html',
|
||||
'test_bug302186.html',
|
||||
|
34
testing/mochitest/tests/test_bug3348.html
Normal file
34
testing/mochitest/tests/test_bug3348.html
Normal file
@ -0,0 +1,34 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
https://bugzilla.mozilla.org/show_bug.cgi?id=3348
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 3348</title>
|
||||
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
||||
<script type="text/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=3348">Mozilla Bug 3348</a>
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
<form id="form1">
|
||||
<input type="button" value="click here" onclick="buttonClick();">
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
/** Test for Bug 3348 **/
|
||||
|
||||
var oForm = document.getElementById("form1");
|
||||
is(oForm.tagName, "FORM", "tagName of HTML element gives tag in upper case");
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user