For testing in Safari, the WorkerGlobalScope::addConsoleMessage() should call the owning page's ChromeClient.addMessageToConsole() so Safari can see any log messages from the service worker.
<rdar://problem/86655820>
Went with a different approach.