Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 663259 - Fixed mochitest/utils.js for mac async plugin backout. a…
Browse files Browse the repository at this point in the history
…=LegNeato
  • Loading branch information
bgirard committed Oct 26, 2011
1 parent 4ec3164 commit cecdd3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dom/plugins/test/mochitest/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
function paintCountIs(plugin, expected, msg) {
var count = plugin.getPaintCount();
var realExpected = expected;
var isAsync = SimpleTest.testPluginIsOOP();
var isAsync = SimpleTest.testPluginIsOOP() &&
navigator.platform.indexOf("Mac") < 0;
if (isAsync) {
++realExpected; // extra paint at startup for all async-rendering plugins
} else {
Expand Down

0 comments on commit cecdd3a

Please sign in to comment.