Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement global origin property #622

Merged
merged 2 commits into from
May 9, 2023
Merged

Implement global origin property #622

merged 2 commits into from
May 9, 2023

Conversation

ohodson
Copy link
Contributor

@ohodson ohodson commented May 9, 2023

Changes the origin property from unimplemented to undefined. If origin is unimplemented, then it causes an exception to be thrown when the inspector queries the origin property, and this subsequently trips checks in v8 that cause process termination.

@ohodson ohodson requested review from dom96, jasnell and kentonv May 9, 2023 06:47
ohodson added 2 commits May 9, 2023 15:14
Changes the origin property from unimplemented to "null" following
https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-opaque.

If origin is unimplemented, then it causes an exception to be thrown when the
inspector queries the origin property, and this subsequently trips
checks in v8 that cause process termination.

Test: Manual with inspector attached
@ohodson ohodson force-pushed the orion/global-origin branch from 9e21475 to b12b7da Compare May 9, 2023 14:15
@ohodson ohodson merged commit aa77206 into main May 9, 2023
@ohodson ohodson deleted the orion/global-origin branch May 9, 2023 15:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants