To simplify running JavaScriptCore/tests/mozilla/jsDriver.pl on Windows use SEH to catch access violation exceptions. That way the crash dialog is not shown and the tests run through without the need to dismiss any dialogs.
Created attachment 7428 [details] Adds SEH to main in Release builds
Comment on attachment 7428 [details] Adds SEH to main in Release builds Seems like a fine fix, but we don't have to do it in a strange way like this. We can always have the separate main function.
Created attachment 7440 [details] Always use separate main functions This time with some preprocessor voodoo :]
Comment on attachment 7440 [details] Always use separate main functions Looks fine. r=me
(In reply to comment #4) > (From update of attachment 7440 [details] [edit]) > Looks fine. r=me NOTE: This patch has bits from attachment 7427 [details] from Bug 7399 in it!
Note: This patch is missing a changelog, as well as copyright information. I will add those as I land this time, but please be sure to include such in your future patches.