Skip to content

Commit 91d34d8

Browse files
authored
Merge pull request #8599 from cloudflare/littledivy/2026-11-18-wpt-perf-idl-hang
2 parents ba00fd8 + fdbcd74 commit 91d34d8

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

‎src/wpt/performance-timeline-test.ts‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,24 @@ export default {
3636
],
3737
},
3838
'idlharness.any.js': {
39-
comment: 'idl_test setup hangs the Worker runtime',
40-
disabledTests: ['idl_test setup'],
39+
comment:
40+
'PerformanceObserver never calls its callback, so the setup does not wait for it and there is no entryList. PerformanceEntry has no id or navigationId.',
41+
expectedFailures: [
42+
'PerformanceEntry interface: attribute id',
43+
'PerformanceEntry interface: attribute navigationId',
44+
'PerformanceObserverEntryList must be primary interface of entryList',
45+
'Stringification of entryList',
46+
'PerformanceObserverEntryList interface: entryList must inherit property "getEntries()" with the proper type',
47+
'PerformanceObserverEntryList interface: entryList must inherit property "getEntriesByType(DOMString)" with the proper type',
48+
'PerformanceObserverEntryList interface: calling getEntriesByType(DOMString) on entryList with too few arguments must throw TypeError',
49+
'PerformanceObserverEntryList interface: entryList must inherit property "getEntriesByName(DOMString, optional DOMString)" with the proper type',
50+
'PerformanceObserverEntryList interface: calling getEntriesByName(DOMString, optional DOMString) on entryList with too few arguments must throw TypeError',
51+
],
52+
replace: (code): string =>
53+
code.replace(
54+
'self.entryList = await new Promise(',
55+
'self.entryList = undefined; void new Promise('
56+
),
4157
},
4258
'multiple-buffered-flag-observers.any.js': {
4359
comment: 'This is not yet implemented',

0 commit comments

Comments
 (0)