Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bbc4e3acf9393e08a4f20d2b846a6ded42ebcf65
      
https://github.com/WebKit/WebKit/commit/bbc4e3acf9393e08a4f20d2b846a6ded42ebcf65
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    A LayoutTests/inspector/worker/resources/webgpu-uncapturederror-worker.js
    A 
LayoutTests/inspector/worker/webgpu-device-uncapturederror-terminate-crash-expected.txt
    A 
LayoutTests/inspector/worker/webgpu-device-uncapturederror-terminate-crash.html
    M LayoutTests/platform/glib/TestExpectations
    M LayoutTests/platform/win/TestExpectations
    M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
    M Source/WebCore/Modules/WebGPU/GPUDevice.h
    M Source/WebCore/animation/WebAnimation.cpp
    M Source/WebCore/animation/WebAnimation.h
    M Source/WebCore/dom/ScriptExecutionContext.cpp
    M Source/WebCore/dom/ScriptExecutionContext.h
    M Source/WebCore/html/canvas/WebGLProgram.cpp
    M Source/WebCore/html/canvas/WebGLProgram.h
    M Source/WebCore/inspector/InspectorInstrumentation.cpp

  Log Message:
  -----------
  [WebGPU] Crash in InspectorInstrumentation::instrumentingAgents from 
GPUDevice::contextDestroyed during dedicated worker teardown when the device 
has an uncapturederror listener
https://bugs.webkit.org/show_bug.cgi?id=327093
rdar://189707616

Reviewed by Devin Rousso.

Web inspector instrumentation kept the GPUDevice alive
leading to crash on tear down.

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/win/TestExpectations:
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::stop):
(WebCore::GPUDevice::virtualHasPendingActivity const):
(WebCore::GPUDevice::listenForUncapturedErrors):
(WebCore::GPUDevice::contextDestroyed): Deleted.
* Source/WebCore/Modules/WebGPU/GPUDevice.h:

Canonical link: https://commits.webkit.org/323630@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to