Bug 1264540 - Turn on test_windowless_ime.html on e10s. r?jimm draft
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 15 Apr 2016 14:25:39 +0900
changeset 351866 1d3afbf2b98f56f5a95a339813ebb0adedccb265
parent 350969 10f66b3164570b2183333262fa91a16004cbb908
child 518520 a107b5852f3f0144d13c8e275f91d0d5e1983967
push id15547
push userm_kato@ga2.so-net.ne.jp
push dateFri, 15 Apr 2016 05:28:48 +0000
reviewersjimm
bugs1264540
milestone48.0a1
Bug 1264540 - Turn on test_windowless_ime.html on e10s. r?jimm Use plugin-utils.js's setTestPluginEnabledState to fix race. MozReview-Commit-ID: 6eVTDJzdKR0
dom/plugins/test/mochitest/mochitest.ini
dom/plugins/test/mochitest/test_windowless_ime.html
--- a/dom/plugins/test/mochitest/mochitest.ini
+++ b/dom/plugins/test/mochitest/mochitest.ini
@@ -133,10 +133,10 @@ skip-if = toolkit != "cocoa"
 [test_twostreams.html]
 [test_visibility.html]
 skip-if = toolkit == "cocoa"
 [test_windowed_invalidate.html]
 skip-if = os != "win"
 [test_windowless_flash.html]
 skip-if = !(os == "win" && processor == "x86_64" && !e10s) # Bug 1253957
 [test_windowless_ime.html]
-skip-if = os != "win" || e10s
+skip-if = os != "win"
 [test_zero_opacity.html]
--- a/dom/plugins/test/mochitest/test_windowless_ime.html
+++ b/dom/plugins/test/mochitest/test_windowless_ime.html
@@ -31,16 +31,16 @@ function runTests() {
 
   synthesizeComposition({ type: "compositionstart", data: "" });
   is(plugin.getLastCompositionText(), "", "can get empty composition string");
   synthesizeComposition({ type: "compositioncommit", data: "" });
   SimpleTest.finish();
 }
 
 SimpleTest.waitForExplicitFinish();
-SpecialPowers.setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
+setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
   </script>
 </head>
 
 <body onload="runTests()">
   <embed id="plugin1" type="application/x-test" wmode="transparent" width="200" height="200"></embed>
 </body>
 </html>