Skip to content
Permalink
Browse files
Unreviewed, fix test crashes after r275779
https://bugs.webkit.org/show_bug.cgi?id=224305
rdar://71962196


* NetworkProcess/IndexedDB/WebIDBServer.cpp:
(WebKit::WebIDBServer::WebIDBServer): rolling back change on setting thread name as we see crash in
pthread_setname_np.


Canonical link: https://commits.webkit.org/236365@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
szewai committed Apr 10, 2021
1 parent df2f5f4 commit de4e4e39d50e07b5b7915ef86377888b5e7299f5
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,13 @@
2021-04-10 Sihui Liu <sihui_liu@apple.com>

Unreviewed, fix test crashes after r275779
https://bugs.webkit.org/show_bug.cgi?id=224305
rdar://71962196

* NetworkProcess/IndexedDB/WebIDBServer.cpp:
(WebKit::WebIDBServer::WebIDBServer): rolling back change on setting thread name as we see crash in
pthread_setname_np.

2021-04-09 Simon Fraser <simon.fraser@apple.com>

[iOS WK2] CADisplayLink in the web process is used unintentionally
@@ -40,7 +40,7 @@ Ref<WebIDBServer> WebIDBServer::create(PAL::SessionID sessionID, const String& d
}

WebIDBServer::WebIDBServer(PAL::SessionID sessionID, const String& directory, WebCore::IDBServer::IDBServer::StorageQuotaManagerSpaceRequester&& spaceRequester, CompletionHandler<void()>&& callback)
: CrossThreadTaskHandler(makeString("com.apple.WebKit.IndexedDBServer.", sessionID.toUInt64()).ascii().data(), WTF::CrossThreadTaskHandler::AutodrainedPoolForRunLoop::Use)
: CrossThreadTaskHandler("com.apple.WebKit.IndexedDBServer", WTF::CrossThreadTaskHandler::AutodrainedPoolForRunLoop::Use)
, m_dataTaskCounter([weakThis = makeWeakPtr(this)](RefCounterEvent) {
if (weakThis)
weakThis->tryClose();

0 comments on commit de4e4e3

Please sign in to comment.