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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
EWS
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
<rdar://problem/141783711>