Prepare to remove self-hosting zone
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(6 files, 1 obsolete file)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Preliminary patches for Bug 1688794. Try to simplify selfhosted.js and its parsing now.
| Assignee | ||
Comment 1•4 years ago
|
||
Instead of setting the realm-behaviour on the self-hosted realm, set it on the
CompileOptions directly when parsing. This is in preparation for removal of the
self-hosted Zone. Also set NoScriptRVal at same time.
| Assignee | ||
Comment 2•4 years ago
|
||
GetIntrinsic ensures that using Symbol from self-hosting always gets the
original value so std_Symbol is not helpful. Add a simple test case just to
confirm this is safe.
Depends on D115028
Comment 4•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•4 years ago
|
||
Instead of forcing the FUNCTION_EXTENDED flag while cloning inner functions, we
should use the original flags. To do this we must fix an edge-case around bound
functions by using a $ prefix. The change avoids unnecessary extended function
usage and prepares us to directly instantiate from a Stencil.
| Assignee | ||
Comment 6•4 years ago
|
||
Replace uses of lambdas in the top-level body of self-hosting (that is executed
at startup) in order to simplify things in future when we use Stencil for self
hosting. This adds a couple of entries to the per-global intrinsics holder only
if the Intl APIs are used but it neglible.
Depends on D115556
| Assignee | ||
Comment 7•4 years ago
|
||
Comment 10•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
Comment 13•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 14•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Description
•