Skip to content

Commit de4e4e3

Browse files
committed
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
1 parent df2f5f4 commit de4e4e3

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

Source/WebKit/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2021-04-10 Sihui Liu <sihui_liu@apple.com>
2+
3+
Unreviewed, fix test crashes after r275779
4+
https://bugs.webkit.org/show_bug.cgi?id=224305
5+
rdar://71962196
6+
7+
* NetworkProcess/IndexedDB/WebIDBServer.cpp:
8+
(WebKit::WebIDBServer::WebIDBServer): rolling back change on setting thread name as we see crash in
9+
pthread_setname_np.
10+
111
2021-04-09 Simon Fraser <simon.fraser@apple.com>
212

313
[iOS WK2] CADisplayLink in the web process is used unintentionally

Source/WebKit/NetworkProcess/IndexedDB/WebIDBServer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Ref<WebIDBServer> WebIDBServer::create(PAL::SessionID sessionID, const String& d
4040
}
4141

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

0 commit comments

Comments
 (0)