Obj-C Exceptions In Gecko: Difference between revisions

Jump to navigation Jump to search
Line 10: Line 10:
== Gecko 1.9 ==
== Gecko 1.9 ==


Gecko 1.9 has dropped support 10.2. As mentioned in the bug above, 10.3 brought new exception handling support. It's possible that setjmp and longjmp may no longer be  used for some parts of the exception system, which now appears to be in the compiler, at least partially. Some parts of the exception handling are still using  setjmp/longjmp, obviously, because stack smashing is still occurring. Need to look into exactly what's safe and what's not. We may end up in the same boat as on branch, unfortunately.
As mentioned in the bug above, 10.3 brought new exception handling support. It's possible that setjmp and longjmp may no longer be  used for some parts of the exception system, which now appears to be in the compiler, at least partially. Some parts of the exception handling are still using  setjmp/longjmp, obviously, because stack smashing is still occurring. Need to look into exactly what's safe and what's not. We may end up in the same boat as on branch, unfortunately.


As far as I've seen, Apple documents what exceptions can get thrown. We really should just exit the browser with a nonzero exit code when we catch an unhandled ObjC exception. --[[User:Cbarrett|Cbarrett]] 15:33, 14 September 2007 (PDT)
As far as I've seen, Apple documents what exceptions can get thrown. We really should just exit the browser with a nonzero exit code when we catch an unhandled ObjC exception. --[[User:Cbarrett|Cbarrett]] 15:33, 14 September 2007 (PDT)
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu