mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
211b631fae
Currently, the script gets put in a compartment specified when the compilation is initiated. Later on, when we retrieve that script and try to execute it, we won't necessarily be in the same compartment. Currently, SM just handles this and clones the script, but it's simpler and more efficient to just create the script in the compartment of whoever calls FinishOffThreadScript. Note that the existing code actually has a hazard in which the call to GetBuiltinPrototypePure returns null - it just wasn't exercised in automation (and was triggered by onNewScript-off-main-thread.js with this patch). |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
jsd | ||
public | ||
src | ||
xpconnect |