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

JavaScript ShadowRealm proposal integration #9893

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    2a87103 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca50b27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2fb363 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6488451 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    56aaeda View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7567781 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c3cad2c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    62af1fb View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    1dfd5f6 View commit details
    Browse the repository at this point in the history
  2. Editorial: don't go through the settings object to report an exceptio…

    …n in 'run a classic/module script'
    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    dcf6a9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbca750 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd44af4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77c311f View commit details
    Browse the repository at this point in the history
  6. JavaScript ShadowRealm proposal integration

    This patch gives the TC39 JavaScript ShadowRealm proposal semantics in HTML.
    ShadowRealms are given an environment settings object; in general,
    ShadowRealms inherit their settings from the outer environment.
    
    When modules are used in ShadowRealms, module specifiers are interpreted with
    respect to the base URL of the surrounding environment, but when a module is
    imported within a ShadowRealm, it is a separate copy from what may be loaded
    in the surrounding environment or other ShadowRealms.
    
    This patch implements the plan described earlier at
    <tc39/proposal-shadowrealm#225 (comment)>.
    
    The ShadowRealm proposal is currently at Stage 2. Once this PR has been approved,
    it should be able to advance to Stage 3.
    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    169edde View commit details
    Browse the repository at this point in the history
  7. Fetch modules directly for ShadowRealms

    This avoids issues with ShadowRealms importing modules that the principal realm hasn't cached (yet).
    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    010439d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    86e444b View commit details
    Browse the repository at this point in the history
  9. Add link

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    b0099c3 View commit details
    Browse the repository at this point in the history
  10. Review

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    a85c848 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5ba4d42 View commit details
    Browse the repository at this point in the history
  12. Rephrase

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ebf8d6a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c622716 View commit details
    Browse the repository at this point in the history
  14. Rename ShadowRealmGlobalObject

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    6bc50ae View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ebee43e View commit details
    Browse the repository at this point in the history
  16. Add queueMicrotask

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e5fba8e View commit details
    Browse the repository at this point in the history
  17. Indentation

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1da63ab View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    88722e9 View commit details
    Browse the repository at this point in the history
  19. review

    Ms2ger committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    a67403f View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Review

    Ms2ger committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    383b26c View commit details
    Browse the repository at this point in the history
  2. review

    Ms2ger committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    32ad7a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    5ee3afa View commit details
    Browse the repository at this point in the history