RESOLVED FIXED314687
Web Inspector: `TestHarness.expect(Not)Null` should account for `undefined`
https://bugs.webkit.org/show_bug.cgi?id=314687
Summary Web Inspector: `TestHarness.expect(Not)Null` should account for `undefined`
Qianlang Chen
Reported 2026-05-12 16:53:33 PDT
Including `undefined` in these checks should make practical sense for JavaScript — callers typically care about "null-ish" rather than strictly `=== null`; relying on the latter in layout tests may introduce uncovered bugs due to the value being `undefined` unexpectedly
Attachments
EWS
Comment 1 2026-05-14 15:49:44 PDT
Committed 313273@main (e01a74ffaab3): <https://commits.webkit.org/313273@main> Reviewed commits have been landed. Closing PR #64711 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2026-05-14 15:50:13 PDT
Note You need to log in before you can comment on or make changes to this bug.