Bug 261008
| Summary: | SerialFunctionDispatcher should implement isCurrent() | ||
|---|---|---|---|
| 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: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
SerialFunctionDispatcher already implements assertIsCurrent() in debug mode.
RunLoop, a SerialFunctionDispatcher already implement isCurrent().
We should expand isCurrent() to be available on all SerialFunctionDispatcher, the change is trivial considering all versions already implement assertIsCurrent() which contains all the required logic to do so.
This will also be required for the new C++ Promise's directFunctionDispatch mode (bug pending)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/114801460>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/17342
EWS
Committed 267808@main (cce771ba5390): <https://commits.webkit.org/267808@main>
Reviewed commits have been landed. Closing PR #17342 and removing active labels.