Bug 314687

Summary: Web Inspector: `TestHarness.expect(Not)Null` should account for `undefined`
Product: WebKit Reporter: Qianlang Chen <qianlangchen>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

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.