4 https://bugzilla.mozilla.org/show_bug.cgi?id=749186
5 Note that this is a crashtest, but because of the special privileges
6 required, it needs to be run as a mochitest. Thus, the expected
7 behavior of this test is that it actually loads and doesn't crash the
11 <title>Test for Bug
749186 (Crashtest)
</title>
12 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
15 ok(true, 'test finished without crashing');
19 function removeBoldStyle() {
20 document
.getElementById('b').removeAttribute('style');
21 SpecialPowers
.pushPrefEnv({'set': [['font.size.inflation.emPerLine', 0]]},endTest
);
24 function startTest() {
25 SimpleTest
.waitForExplicitFinish();
26 SimpleTest
.requestFlakyTimeout("untriaged");
27 SpecialPowers
.pushPrefEnv({'set': [['font.size.inflation.emPerLine', 8]]},removeBoldStyle
);
32 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
36 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=749186">Bug
749186</a>
37 <iframe id=
"a" style=
"display: none;"></iframe>
38 <div id=
"b" style=
"display: inline;"></div>