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 24 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    e64bcbb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc749d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcf553d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a07b071 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    651ab07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c928c08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e30d9c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d51725d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0842238 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 Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bdba074 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 Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d9923c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    676c9c8 View commit details
    Browse the repository at this point in the history
  9. Add link

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6f0023f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f390694 View commit details
    Browse the repository at this point in the history
  11. Rephrase

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    0bef0cd View commit details
    Browse the repository at this point in the history
  12. Rename ShadowRealmGlobalObject

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    41ac2a3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d56dffa View commit details
    Browse the repository at this point in the history
  14. Review

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d260469 View commit details
    Browse the repository at this point in the history
  15. Running script

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    c105071 View commit details
    Browse the repository at this point in the history
  16. Incumbent

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    916c911 View commit details
    Browse the repository at this point in the history
  17. Add queueMicrotask

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    a438910 View commit details
    Browse the repository at this point in the history
  18. Indentation

    Ms2ger committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    591a4b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. typos

    Ms2ger committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    992fa40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2b1d17 View commit details
    Browse the repository at this point in the history