Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8f868460167f4104431bd289be92b284f4e62c0a
https://github.com/WebKit/WebKit/commit/8f868460167f4104431bd289be92b284f4e62c0a
Author: Youenn Fablet <[email protected]>
Date: 2024-04-16 (Tue, 16 Apr 2024)
Changed paths:
M Source/WebCore/page/PageConsoleClient.cpp
M Source/WebCore/page/PageConsoleClient.h
M Source/WebCore/workers/WorkerGlobalScope.cpp
Log Message:
-----------
Allow workers to persist console logs to the system log
https://bugs.webkit.org/show_bug.cgi?id=272736
rdar://126494463
Reviewed by Sihui Liu.
In case logsPageMessagesToSystemConsoleEnabled is true and the session is not
ephemeral, we log worker messages in the system console like we do for window
environments.
This covers both dedicated workers, shared workers and service workers.
Manually tested.
* Source/WebCore/page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::logMessageToSystemConsole):
(WebCore::PageConsoleClient::addMessage):
* Source/WebCore/page/PageConsoleClient.h:
* Source/WebCore/workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::addConsoleMessage):
Canonical link: https://commits.webkit.org/277576@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes