Changeset 290445 in webkit
- Timestamp:
- Feb 24, 2022, 11:41:30 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r290443 r290445 1 2022-02-24 Chris Dumez <cdumez@apple.com> 2 3 Fix bad logging in SharedWorkerObjectConnection::notifyWorkerObjectOfLoadCompletion() 4 https://bugs.webkit.org/show_bug.cgi?id=237146 5 6 Reviewed by Geoffrey Garen. 7 8 Fix bad logging in SharedWorkerObjectConnection::notifyWorkerObjectOfLoadCompletion(). 9 It was logging an error even when the load succeeded. 10 11 * workers/shared/SharedWorkerObjectConnection.cpp: 12 (WebCore::SharedWorkerObjectConnection::notifyWorkerObjectOfLoadCompletion): 13 1 14 2022-02-24 Kate Cheney <katherine_cheney@apple.com> 2 15 -
trunk/Source/WebCore/workers/shared/SharedWorkerObjectConnection.cpp
r289469 r290445 73 73 ASSERT(isMainThread()); 74 74 auto* workerObject = SharedWorker::fromIdentifier(sharedWorkerObjectIdentifier); 75 CONNECTION_RELEASE_LOG_ERROR("notifyWorkerObjectOfLoadCompletion: sharedWorkerObjectIdentifier=%{public}s, worker=%p, success=%d", sharedWorkerObjectIdentifier.toString().utf8().data(), workerObject, error.isNull()); 75 if (error.isNull()) 76 CONNECTION_RELEASE_LOG("notifyWorkerObjectOfLoadCompletion: sharedWorkerObjectIdentifier=%{public}s, worker=%p, load succeeded", sharedWorkerObjectIdentifier.toString().utf8().data(), workerObject); 77 else 78 CONNECTION_RELEASE_LOG_ERROR("notifyWorkerObjectOfLoadCompletion: sharedWorkerObjectIdentifier=%{public}s, worker=%p, load failed", sharedWorkerObjectIdentifier.toString().utf8().data(), workerObject); 76 79 if (workerObject) 77 80 workerObject->didFinishLoading(error);
Note:
See TracChangeset
for help on using the changeset viewer.