4 https://bugzilla.mozilla.org/show_bug.cgi?id=393269
7 <title>Test for Bug
393269</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=393269">Mozilla Bug
393269</a>
13 <iframe id=
"ifr"></iframe>
15 <script class=
"testbody" type=
"text/javascript">
18 /** Test for Bug
393269 **/
19 var doc = $(
"ifr").contentDocument;
20 is(
"UTF-8", doc.characterSet,
"control, getting a property");
23 is(
"UTF-8", doc.characterSet,
24 "can get a property after 1 document.open")
26 fail(
"Shouldn't have thrown: " + e);
34 is(
"UTF-8", doc.characterSet,
35 "can get a property after 2 document.opens")
37 fail(
"Shouldn't have thrown: " + e);