Bug 1874684 - Part 6: Limit day length calculations to safe integers. r=mgaudet
[gecko.git] / dom / console / tests / test_bug979109.html
blob231808e260b5e984345c0b556284b1891f91be89
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=979109
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 979109</title>
9 <script src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=979109">Mozilla Bug 979109</a>
14 <script type="application/javascript">
16 console.warn("%", "a");
17 console.warn("%%", "a");
18 console.warn("%123", "a");
19 console.warn("%123.", "a");
20 console.warn("%123.123", "a");
21 console.warn("%123.123o", "a");
22 console.warn("%123.123s", "a");
23 console.warn("%123.123d", "a");
24 console.warn("%123.123f", "a");
25 console.warn("%123.123z", "a");
26 console.warn("%.", "a");
27 console.warn("%.123", "a");
28 ok(true, "Still alive \\o/");
30 </script>
31 </body>
32 </html>