Bug 284753

Summary: environmentMapReadyPromise must be in 'pending' state after reseting it with empty string
Product: WebKit Reporter: Aleksei Marchenko <aleksei>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Aleksei Marchenko
Reported 2024-12-16 08:57:13 PST
HTMLModelElement::environmentMapReadyPromise must be in 'pending' state after reseting it with empty string. That behavior matches `HTMLModelElement::readyPromise` that signals models source loading. Steps To Reproduce: 1. Load a model with an IBL set via `environmentMap` attribute. Check `environmentMapReady` state (fulfilled). 2. Remove IBL by using `environmentMap = “”`. Check `environmentMapReady` state. Results: `environmentMapReady` state is fulfilled. Expected: `environmentMapReady` state must be ‘pending’.
Attachments
EWS
Comment 1 2024-12-19 14:39:33 PST
Committed 288124@main (06fa32413283): <https://commits.webkit.org/288124@main> Reviewed commits have been landed. Closing PR #38045 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2024-12-19 14:40:14 PST
Note You need to log in before you can comment on or make changes to this bug.