[webkit-changes] [WebKit/WebKit] 075300: Remove OffscreenCanvasInWorkersEnabled from Deprec...
Tim Nguyen
noreply at github.com
Fri Jan 6 19:58:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 075300bb2e05dbad88946f9bfe3ea1b271ea9b8a
https://github.com/WebKit/WebKit/commit/075300bb2e05dbad88946f9bfe3ea1b271ea9b8a
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/html/OffscreenCanvas.cpp
M Source/WebCore/html/canvas/OffscreenCanvasRenderingContext2D.cpp
M Source/WebCore/page/DeprecatedGlobalSettings.h
M Source/WebCore/workers/DedicatedWorkerGlobalScope.idl
M Tools/WebKitTestRunner/TestOptions.cpp
Log Message:
-----------
Remove OffscreenCanvasInWorkersEnabled from DeprecatedGlobalSettings
https://bugs.webkit.org/show_bug.cgi?id=250242
rdar://103972996
Reviewed by Brent Fulgham.
Use settingsValues from ScriptExecutionContext.
Also change status to testable, which makes the TestOptions::defaults changes unnecessary.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::enabledForContext):
* Source/WebCore/html/canvas/OffscreenCanvasRenderingContext2D.cpp:
(WebCore::OffscreenCanvasRenderingContext2D::enabledForContext):
* Source/WebCore/page/DeprecatedGlobalSettings.h:
(WebCore::DeprecatedGlobalSettings::setOffscreenCanvasInWorkersEnabled): Deleted.
(WebCore::DeprecatedGlobalSettings::offscreenCanvasInWorkersEnabled): Deleted.
* Source/WebCore/workers/DedicatedWorkerGlobalScope.idl:
* Tools/WebKitTestRunner/TestOptions.cpp:
(WTR::TestOptions::defaults):
Canonical link: https://commits.webkit.org/258599@main
More information about the webkit-changes
mailing list