Skip to content

Conversation

@jdm
Copy link
Member

@jdm jdm commented Nov 22, 2025

The current implementation doesn't match the specification and is broken in a way that makes nytimes.com endlessly attempt to enqueue resource timing entries, making the page completely unresposive to user input. This PR makes some surgical changes that fix the NYTimes behaviour and add some comments to make it easier to further improve the implementation in the future.

Testing: Various WPT that used to timeout now fail instead.
Fixes: #40808

jdm added 2 commits November 22, 2025 02:50
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
…e buffer directly.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
@jdm jdm requested a review from gterzian as a code owner November 22, 2025 08:03
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 22, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 22, 2025
Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix and spec comments!

@TimvdLippe TimvdLippe added this pull request to the merge queue Nov 22, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 22, 2025
@TimvdLippe
Copy link
Contributor

Ah seems like Tay's and my review crossed in time.

Merged via the queue into servo:main with commit f2d13a9 Nov 22, 2025
35 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 22, 2025
github-merge-queue bot pushed a commit that referenced this pull request Nov 23, 2025
…um. (#40812)

This both reduces unnecessary string comparisons and fixes several cases
where two string arguments were passed in the wrong order.

Depends on #40811.

Testing: New passing tests.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
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.

nytimes.com stops responding to user input

5 participants