We need to ad default prefs for 64bit Mac and remove those for PPC after switching builds that way.
This might fix some test failures on 10.6 as well, thanks to Mark for the pointer!
Created attachment 492637 [details] [diff] [review]
fix the prefs
This is the exact patch Mark proposed on IRC, so I'm marking is as his patch and giving it r+ from my side.
And pushed that one as http://hg.mozilla.org/comm-central/rev/7565213b4324
(In reply to comment #0)
> This might fix some test failures on 10.6 as well, thanks to Mark for the
Very first MacOSX 64bit (reftest) build:
OS X 10.6 comm-central-trunk debug test reftest on 2010/11/18 21:03:14
REFTEST TEST-UNEXPECTED-FAIL | | EXCEPTION: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch2.getBoolPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://reftest/content/reftest.js :: <TOP_LEVEL> :: line 466" data: no]
TEST-UNEXPECTED-FAIL | automationutils.processLeakLog() | leaked 409355 bytes during test execution
(And this bug affected some other test suites too...)
Last (reftest) build with this error:
OS X 10.6 comm-central-trunk debug test reftest on 2010/11/23 05:40:43
1st fixed (reftest) build:
OS X 10.6 comm-central-trunk debug test reftest on 2010/11/23 17:08:43