4 https://bugzilla.mozilla.org/show_bug.cgi?id=677638
8 <title>Test for Bug
677638 - pref
</title>
9 <script type=
"application/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=677638">Mozilla Bug
677638</a>
14 <div id=
"content"></div>
17 <script type=
"application/javascript">
19 function runTest(what) {
22 status = MessageChannel;
23 ok(what,
"Should MessageChannel exist?");
25 ok(!what,
"Should MessageChannel exist?");
29 SimpleTest.waitForExplicitFinish();
32 SpecialPowers.pushPrefEnv({
"set": [[
"dom.messageChannel.enabled", true]]},
33 function() { runTest(true); SimpleTest.finish(); });