Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

LibJS: Preserve the original this value #2231

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. LibJS: Preserve the original this value

    As shown in the test added by this patch, it was possible to re-assign
    the `this` value of a member function call while it was executing.
    Let's copy the original this value like we already do with the callee.
    
    Fixes LadybirdBrowser#2226.
    yyny committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    90420f3 View commit details
    Browse the repository at this point in the history