haikuwebkit/Source/WebCore/Modules
Sihui Liu 190e8e04b1 IndexedDB: crash when triggering IDBOpenRequest completion back on a worker thread
https://bugs.webkit.org/show_bug.cgi?id=229375

Source/WebCore:

Reviewed by Brady Eidson.

Client may dispatch custom events to an IDBRequest, and we should only change request state based on events
created internally.

* Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::dispatchEvent):

Source/WTF:

Protect callee in CrossThreadTask if it inherits from ThreadSafeRefCounted<T>.

Reviewed by Brady Eidson.

* wtf/CrossThreadTask.h:


Canonical link: https://commits.webkit.org/240799@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-22 01:33:10 +00:00
..
airplay Move CFStringRef and NSString support from StringBuilder into StringConcatenateCF 2021-05-19 19:37:21 +00:00
applepay [Payment Request] `additionalShippingMethods` are not used if a `paymentMethodType` is provided 2021-07-30 00:28:45 +00:00
applicationmanifest Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
async-clipboard Fix some inefficient uses of SharedBuffer 2021-06-10 15:08:18 +00:00
beacon Align beacon CORS mode with Chrome and Firefox 2021-07-02 01:03:53 +00:00
cache Add initial support for Cross-Origin-Embedder-Policy (COEP) 2021-08-12 02:43:53 +00:00
contact-picker Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
credentialmanagement Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
encryptedmedia Use MediaKeySystemRequestIdentifier, rather than mysterious uint64_t values, in WebKit 2021-08-21 18:15:15 +00:00
entriesapi DOMFileSystem::listDirectory() fails to protect |this| when going to the background thread 2021-06-04 19:03:13 +00:00
fetch Add Cross-Origin-Embedder-Policy support for Blob URLs 2021-08-14 02:28:19 +00:00
gamepad Implement WebXR Input Sources 2021-04-22 14:06:06 +00:00
geolocation Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
highlight AppHighlightStorage should not inherit privately from RefCounted 2021-07-28 19:31:54 +00:00
indexeddb IndexedDB: crash when triggering IDBOpenRequest completion back on a worker thread 2021-08-22 01:33:10 +00:00
mediacapabilities Drop legacy MainThreadTaskQueue & EventLoopTaskQueue classes 2021-06-08 00:29:50 +00:00
mediacontrols REGRESSION (r280374): ASSERTION FAILED: Completion handler should not be called more than once under WebCore::MediaControlsContextMenuProvider::contextMenuItemSelected 2021-08-05 02:46:31 +00:00
mediarecorder SharedBuffer::takeData() is a bit dangerous 2021-07-23 22:05:03 +00:00
mediasession nexttrack and previoustrack MediaSession handlers not working 2021-08-13 11:57:19 +00:00
mediasource [MSE] Crash when getting audioTracks, videoTracks, textTracks of sourceBuffer after executing MediaSource::removeSourceBuffer() 2021-06-16 14:27:47 +00:00
mediastream Use UserMediaRequestIdentifier in WebKit rather than a mysterious uint64_t 2021-08-21 02:56:54 +00:00
model-element [Model] Restrict IPC calls to ARKit SPI availability and runtime flag 2021-07-01 19:37:13 +00:00
modern-media-controls [Modern Media Controls] Address additional feedback on LayoutTraits refactor 2021-08-02 16:38:30 +00:00
notifications Notification.requestPermission() should return a Promise 2021-05-13 05:02:45 +00:00
paymentrequest Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
pictureinpicture
plugins Not all uses of AudioToolbox framework use soft linking 2021-06-28 12:29:37 +00:00
remoteplayback RemotePlayback must keep its media element alive when there is a pending activity 2021-06-30 23:53:16 +00:00
speech Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
streams ReadableStream's pipeTo() and pipeThrough() don't properly check for AbortSignal 2021-08-04 04:49:52 +00:00
webaudio Prevent AudioSession category from moving out of PlayAndRecord too quickly 2021-08-21 07:01:21 +00:00
webauthn Reduce use of reinterpret_cast<> in the codebase 2021-06-08 17:35:15 +00:00
webdatabase Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
webdriver
webgpu/WHLSL Stop building WebGPU and the WHLSL compiler to decrease binary size 2021-07-30 03:53:49 +00:00
websockets Release assert in ScriptController::canExecuteScripts via WebCore::WebSocket::didReceiveMessage 2021-08-20 17:31:33 +00:00
webxr [WebXR] A session with only one view should cover the full screen 2021-08-20 19:41:33 +00:00