Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1431803 Turn __try into if(true) and __except into else in the ch…
…romium sandbox code r=bobowen,glandium MinGW doesn't support __try / __except. There are a few mechanisms available to hack around it and pseudo-support it, but these are untested in Firefox. What is tested (and works) is replacing them with if(true) and else. So we do that to neuter them in all places. There is only one situation where we need to actively modify the code (because it always throws an exception) and that situation is resolved in the other patch of this bug. MozReview-Commit-ID: IySnfxDlmW3
- Loading branch information