Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 288b83d4056fe4f3f043d9a4404cc12c1fca8e60
https://github.com/WebKit/WebKit/commit/288b83d4056fe4f3f043d9a4404cc12c1fca8e60
Author: Rob Buis <[email protected]>
Date: 2025-08-08 (Fri, 08 Aug 2025)
Changed paths:
A LayoutTests/fast/canvas/offscreen-no-script-context-crash-expected.txt
A LayoutTests/fast/canvas/offscreen-no-script-context-crash.html
M LayoutTests/platform/mac-wk1/TestExpectations
M Source/WebCore/html/CanvasBase.cpp
M Source/WebCore/html/OffscreenCanvas.cpp
Log Message:
-----------
ASAN_SEGV | WebCore::CanvasBase::setImageBuffer;
WebCore::OffscreenCanvas::setImageBufferAndMarkDirty;
WebCore::ImageBitmapRenderingContext::setBlank
https://bugs.webkit.org/show_bug.cgi?id=289380
Reviewed by Ryosuke Niwa.
The OffscreenCanvas DOM object can be detached from its script execution
context so
add checks to see if it is available.
* LayoutTests/fast/canvas/offscreen-no-script-context-crash-expected.txt: Added.
* LayoutTests/fast/canvas/offscreen-no-script-context-crash.html: Added.
* LayoutTests/platform/mac-wk1/TestExpectations:
* Source/WebCore/html/CanvasBase.cpp:
(WebCore::CanvasBase::setImageBuffer const):
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas):
Originally-landed-as: [email protected] (44fc00a2610d).
rdar://157792218
Canonical link: https://commits.webkit.org/298454@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