Bug 249075
| Summary: | Check for promise before resolving in FullscreenManager::exitFullscreen() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | DOM | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tim Nguyen (:ntim)
The promise can be nullptr if called from the legacy fullscreen API (see DocumentFullscreen::webkitExitFullScreen), so we should check it's existence before trying to resolve.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103215492>
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/7443
EWS
Committed 257689@main (91d9d701a8cd): <https://commits.webkit.org/257689@main>
Reviewed commits have been landed. Closing PR #7443 and removing active labels.