Repository navigation
Stop the performance-timeline idlharness setup from waiting forever - #8599
Conversation
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.
There was a problem hiding this comment.
✅ 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
The performance-timeline idlharness setup awaits a promise that resolves from a
PerformanceObservercallback. workerd'sPerformanceObservernever 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
PerformanceEntryidandnavigationIdattributes.