mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0c75150387
This kind of has to be done all at once. The primary correctness concern here is making sure that we continue to operate in the correct compartment. So the basic strategy here is as follows. For most anything that previously took a script context, we remove the parameter entirely and assert that the stack-top cx is in the compartment of the compilation scope. We then bubble this up through all the callers until we hit a caller that finds the scx via some means other than its parameter list. At these points, we push the scx, making it stack-top. This puts us in a good position to switch wholesale to the SafeJSContext in subsequent patches. |
||
---|---|---|
.. | ||
builtin | ||
crashtests | ||
src | ||
test | ||
moz.build |