gecko/js
Shu-yu Guo 2a5630871e Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo)
CloneFunctionObject is split into the following:

  - CloneFunctionAndScript, which deep clones the function and its
    script, giving the cloned script a new static scope chain. This is
    used for cloning singleton lambdas and JSAPI cloning. For singleton
    lambdas, the original and the clone script have the same static
    scope chain. For JSAPI cloning, a new static scope is provided
    (either null, for a clean global, or StaticPollutingGlobalObject,
    for a polluted global).

  - CloneFunctionReuseScript, which clones the function but reuses the
    script, and thus keeps the same static scope chain.

CloneScript is split into the following:

  - CloneGlobalScript, which clones a script with and gives it a new
    static scope.

  - CloneScriptIntoFunction, which clones a script into a JSFunction and
    gives it a new static scope. Cloning a script into a new function
    container requires slightly different logic to hook up the static
    scope chain before cloning inner scripts.
2015-06-15 17:38:01 -07:00
..
ductwork/debugger
examples
ipc Bug 1156264 - Activate/deactivate jank and CPOW monitoring separately (low-level). r=jandem 2015-06-04 13:12:07 +02:00
public Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts. 2015-06-15 13:06:23 -04:00
src Bug 1165486 - Restructure function and script cloning in light of PollutingGlobal scope changes. (r=Waldo) 2015-06-15 17:38:01 -07:00
xpconnect Bug 1173638. Make the constructors for Error and its subtypes get their filenames/linenumbers from the saved stack, not manually. r=fitzgen,bholley 2015-06-15 20:05:49 -04:00