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

Commits on Nov 18, 2024

  1. Configuration menu
    Copy the full SHA
    afc1353 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    002d9fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d1c1f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b49562c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1dbdc6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50f5d5c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e14e94d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d5286dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e9543b View commit details
    Browse the repository at this point in the history
  10. Editorial: don't go through the settings object to report an exceptio…

    …n in 'run a classic/module script'
    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    1beeb82 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    84c282f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    698addf View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    eba56c6 View commit details
    Browse the repository at this point in the history
  14. 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 Nov 18, 2024
    Configuration menu
    Copy the full SHA
    dbd4eef View commit details
    Browse the repository at this point in the history
  15. Fetch modules directly for ShadowRealms

    This avoids issues with ShadowRealms importing modules that the principal realm hasn't cached (yet).
    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    e976653 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8131d27 View commit details
    Browse the repository at this point in the history
  17. Add link

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    4fc8be2 View commit details
    Browse the repository at this point in the history
  18. Review

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    5990402 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6e859ee View commit details
    Browse the repository at this point in the history
  20. Rephrase

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    06b190b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f788ca6 View commit details
    Browse the repository at this point in the history
  22. Rename ShadowRealmGlobalObject

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    097b31b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    8f37b91 View commit details
    Browse the repository at this point in the history
  24. Add queueMicrotask

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    d8e1594 View commit details
    Browse the repository at this point in the history
  25. Indentation

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    20bae79 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b1021fe View commit details
    Browse the repository at this point in the history
  27. review

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    01e83bb View commit details
    Browse the repository at this point in the history
  28. Review

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    0dc0ee4 View commit details
    Browse the repository at this point in the history
  29. review

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    9e48745 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ea3c573 View commit details
    Browse the repository at this point in the history
  31. Indentation

    Ms2ger committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    7660208 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Fix

    Ms2ger committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f5194b0 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary concept

    Ms2ger committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    873cd6d View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. queueing

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

Commits on Nov 21, 2024

  1. Better guidance and sectioning

    Ms2ger committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    eff546f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc9fddc View commit details
    Browse the repository at this point in the history
  3. Rephrase

    nicolo-ribaudo authored and Ms2ger committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    f0e4ee6 View commit details
    Browse the repository at this point in the history
  4. address comment

    Ms2ger committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    c8d1b45 View commit details
    Browse the repository at this point in the history
  5. Note

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

Commits on Nov 26, 2024

  1. link ShadowRealmGlobalScope

    Ms2ger committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    2039fa1 View commit details
    Browse the repository at this point in the history
  2. event handlers

    Ms2ger committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    0f65b04 View commit details
    Browse the repository at this point in the history
  3. Add reportError

    Ms2ger committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    9aece76 View commit details
    Browse the repository at this point in the history
  4. isSecureContext

    Ms2ger committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    8cf3150 View commit details
    Browse the repository at this point in the history