Open Bug 1137319 Opened 9 years ago Updated 2 years ago

Template functions should inherit state from sandbox they were created from

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: gps, Unassigned)

References

Details

This is a followup from bug 1132771.

In MozbuildSandbox._create_template_function, we create a derived sandbox to hold the template execution. However, this sandbox is currently derived completely from the currently executing sandbox. Some parts of the template sandbox (such as the set of template functions) should probably be derived from the state of the sandbox that template was declared in, not the sandbox it was instantiated in.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.