Skip to content

Conversation

@karlseguin
Copy link
Collaborator

@karlseguin karlseguin commented May 7, 2025

  • Add dummy MediaQueryList and window.matchMedia
  • Execute deferred scripts after non-deferred I realize this doesn't change much, given how we currently load all scripts after the document is parsed, but scripts could depend on execution order.
  • Add support for executing the onload attribute of

I also cleaned up some of the Script code, i.e. removimg unknown kind and simply returning a null script, and removing the EmptyBody error and returning a null body string.

karlseguin added 2 commits May 8, 2025 07:46
- Add dummy MediaQueryList and window.matchMedia
- Execute deferred scripts after non-deferred
  I realize this doesn't change much, given how we currently load all scripts
  after the document is parsed, but scripts _could_ depend on execution order.
- Add support for executing the `onload` attribute of <scripts>

I also cleaned up some of the Script code, i.e. removimg `unknown` kind and
simply returning a null script, and removing the EmptyBody error and returning
a null body string.

Finally, I re-enabled the microtask loop which I must have previously disabled.
@karlseguin karlseguin merged commit 5cc338d into main May 10, 2025
12 checks passed
@karlseguin karlseguin deleted the ddg_compat branch May 10, 2025 02:32
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants