Skip to content

Stop the performance-timeline idlharness setup from waiting forever - #8599

Merged
littledivy merged 1 commit into
mainfrom
littledivy/2026-11-18-wpt-perf-idl-hang
Nov 20, 2026
Merged

littledivy merged 1 commit into
mainfrom
littledivy/2026-11-18-wpt-perf-idl-hang

Conversation

@littledivy

Copy link
Copy Markdown
Member

The performance-timeline idlharness setup awaits a promise that resolves from a PerformanceObserver callback. workerd's PerformanceObserver never calls its callback, so the promise never settles and workerd cancels the request as hung. The whole file was disabled, so none of its IDL checks ran.

In this patch the test config rewrites the setup so it no longer waits for the callback, and the file runs again. 49 checks now pass. The 9 expected failures are the 7 checks on the observer entry list, which can't exist without a callback, and the missing PerformanceEntry id and navigationId attributes.

The performance-timeline idlharness setup awaits a promise that
resolves from a PerformanceObserver callback. workerd's
PerformanceObserver never calls its callback, so the promise never
settles and workerd cancels the request as hung. The whole file was
disabled, so none of its IDL checks ran.

In this patch the test config rewrites the setup so it no longer
waits for the callback, and the file runs again. 49 checks now pass.
The 9 expected failures are the 7 checks on the observer entry list,
which can't exist without a callback, and the missing PerformanceEntry
id and navigationId attributes.
@littledivy
littledivy requested review from a team as code owners November 18, 2026 08:18

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Approved — This is a small, well-scoped change to the test config. It re-enables the performance-timeline idlharness file, and the expected-failure list matches the description: 7 entryList checks plus the 2 missing PerformanceEntry attributes. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The replace hook follows the pattern other WPT configs in src/wpt/ already use. It drops the await on the PerformanceObserver promise and sets self.entryList to undefined, so the setup no longer hangs. The expected failures cover exactly the checks that need a real entry list, plus the id and navigationId attributes that PerformanceEntry does not have.


📝 Documentation: ✅ LGTM

The config comment describes how things work now: the callback is never called and the attributes are missing. It does not narrate the change.


Reviewed commit: fdbcd749

@littledivy
littledivy merged commit 91d34d8 into main Nov 20, 2026
36 of 37 checks passed
@littledivy
littledivy deleted the littledivy/2026-11-18-wpt-perf-idl-hang branch November 20, 2026 00:54
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.

2 participants