Bug 311963
| Summary: | [Navigation API] Fix missing tracker cleanup in same-document handler rejection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | Basuke Suzuki <basuke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Basuke Suzuki
In handleSameDocumentNavigation(), when the wrapper promise is rejected (handler promise failure), the finishedPromise is rejected but cleanupAPIMethodTracker() is never called. The ongoing tracker leaks in m_ongoingAPIMethodTracker. rdar://174513527
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
<rdar://problem/174513527>
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/62483
EWS
Committed 311159@main (93725f4afeda): <https://commits.webkit.org/311159@main>
Reviewed commits have been landed. Closing PR #62483 and removing active labels.