Bug 269185
| Summary: | Add NativePromise::AutoRejectProducer object | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Web Template Framework | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
An AutoRejectProducer automatically reject its NativePromise if not settled upon destruction.
This will ease the use with ScriptExecutionContext::postTask(...) as the ScriptExecutionContext won't guarantee that the task be run (like if the Worker is destroyed first).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/122790738>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/24247
EWS
Committed 274535@main (1dff68a12c03): <https://commits.webkit.org/274535@main>
Reviewed commits have been landed. Closing PR #24247 and removing active labels.