Skip to content

Make this an Object not a Scriptable, and handle toObject for non-strict functions.#2334

Draft
aardvark179 wants to merge 42 commits intomozilla:masterfrom
aardvark179:aardvark179-this-as-object
Draft

Make this an Object not a Scriptable, and handle toObject for non-strict functions.#2334
aardvark179 wants to merge 42 commits intomozilla:masterfrom
aardvark179:aardvark179-this-as-object

Conversation

@aardvark179
Copy link
Copy Markdown
Contributor

This PR stacks on top of #2332, adding two commits
Convert thisObj to be Object not Scriptable.
Update test 262 properties.

This PR converts this to be an Object rather than a Scriptable. We then handle the toObject conversion in functions.

@aardvark179 aardvark179 force-pushed the aardvark179-this-as-object branch 3 times, most recently from 042d6b3 to 443a5c8 Compare March 11, 2026 17:52
@gbrail gbrail added the Scope Separation Work to separate scopes and objects label Mar 14, 2026
@aardvark179 aardvark179 force-pushed the aardvark179-this-as-object branch 6 times, most recently from cbd84ca to 219b830 Compare March 23, 2026 13:39
@aardvark179 aardvark179 force-pushed the aardvark179-this-as-object branch 6 times, most recently from 0923587 to 74f39e4 Compare March 31, 2026 09:19
@aardvark179 aardvark179 force-pushed the aardvark179-this-as-object branch 2 times, most recently from 23cd9f7 to 38b044a Compare April 1, 2026 17:17
@aardvark179 aardvark179 force-pushed the aardvark179-this-as-object branch from 38b044a to 0fcbe1e Compare April 3, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope Separation Work to separate scopes and objects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants