Skip to content

LibWeb: Only expose performance.{timing,navigation} on Window #5565

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

Conversation

Lubrsi
Copy link
Contributor

@Lubrsi Lubrsi commented Jul 22, 2025

They are only valid in a Window context, and the spec only exposes them in Window contexts.

Fixes workers crashing on:

@ADKaster
Copy link
Member

iirc this affects ##3840

@Lubrsi Lubrsi force-pushed the timing-and-navigation-only-on-window branch from a6e7658 to fdac86e Compare July 24, 2025 12:24
@awesomekling awesomekling merged commit da5fca1 into LadybirdBrowser:master Jul 25, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants