gecko/content/base
Bobby Holley e530e386e6 Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm
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).
2014-04-11 08:47:43 -07:00
..
crashtests Bug 930250 - Don't tear down XBL binding when element is in document. r=bz 2014-03-07 15:48:20 -08:00
public Bug 990293 - Pass false to WrapNative in nsIDocument::WrapObject. r=bz 2014-04-10 14:46:20 -04:00
src Bug 993438 - Infer the eventual compartment for OMT-compiled script when the script is retrieved. r=billm 2014-04-11 08:47:43 -07:00
test Bug 993508 - Use NullString when initializing a string to null. r=continuation 2014-04-08 10:06:00 +02:00
moz.build