[webkit-changes] [WebKit/WebKit] 4903b2: Address Safer CPP failures in JSContext
Chris Dumez
noreply at github.com
Wed Feb 26 18:04:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4903b29014c50616d45cb769528d8cfe6938d3bd
https://github.com/WebKit/WebKit/commit/4903b29014c50616d45cb769528d8cfe6938d3bd
Author: Chris Dumez <cdumez at apple.com>
Date: 2025-02-26 (Wed, 26 Feb 2025)
Changed paths:
M Source/JavaScriptCore/API/JSContext.mm
M Source/JavaScriptCore/API/JSContextRef.cpp
M Source/JavaScriptCore/API/glib/JSCContext.cpp
M Source/JavaScriptCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/JavaScriptCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M Source/JavaScriptCore/assembler/ProbeStack.h
M Source/JavaScriptCore/heap/BlockDirectory.cpp
M Source/JavaScriptCore/heap/Heap.cpp
M Source/JavaScriptCore/heap/MachineStackMarker.cpp
M Source/JavaScriptCore/heap/MachineStackMarker.h
M Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorSocketEndpoint.cpp
M Source/JavaScriptCore/jsc.cpp
M Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
M Source/JavaScriptCore/runtime/Completion.cpp
M Source/JavaScriptCore/runtime/ExceptionScope.cpp
M Source/JavaScriptCore/runtime/Identifier.cpp
M Source/JavaScriptCore/runtime/InitializeThreading.cpp
M Source/JavaScriptCore/runtime/JSGlobalObject.cpp
M Source/JavaScriptCore/runtime/JSGlobalObject.h
M Source/JavaScriptCore/runtime/JSGlobalObjectInlines.h
M Source/JavaScriptCore/runtime/JSLock.cpp
M Source/JavaScriptCore/runtime/JSLock.h
M Source/JavaScriptCore/runtime/JSONObject.cpp
M Source/JavaScriptCore/runtime/SamplingProfiler.cpp
M Source/JavaScriptCore/runtime/VM.cpp
M Source/JavaScriptCore/runtime/VM.h
M Source/JavaScriptCore/runtime/VMEntryScope.cpp
M Source/JavaScriptCore/runtime/WaiterListManager.cpp
M Source/JavaScriptCore/tools/HeapVerifier.cpp
M Source/JavaScriptCore/tools/JSDollarVM.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp
M Source/JavaScriptCore/wasm/WasmSlowPaths.cpp
M Source/JavaScriptCore/yarr/YarrMatchingContextHolder.h
M Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
M Source/WTF/benchmarks/ConditionSpeedTest.cpp
M Source/WTF/wtf/CompilationThread.cpp
M Source/WTF/wtf/DataMutex.h
M Source/WTF/wtf/MainThread.cpp
M Source/WTF/wtf/ParkingLot.cpp
M Source/WTF/wtf/RecursiveLockAdapter.h
M Source/WTF/wtf/SingleThreadIntegralWrapper.h
M Source/WTF/wtf/StackCheck.h
M Source/WTF/wtf/StackStats.cpp
M Source/WTF/wtf/ThreadGroup.cpp
M Source/WTF/wtf/ThreadSpecific.h
M Source/WTF/wtf/Threading.cpp
M Source/WTF/wtf/Threading.h
M Source/WTF/wtf/cocoa/MainThreadCocoa.mm
M Source/WTF/wtf/generic/WorkQueueGeneric.cpp
M Source/WTF/wtf/posix/ThreadingPOSIX.cpp
M Source/WTF/wtf/text/AtomStringImpl.cpp
M Source/WTF/wtf/win/ThreadingWin.cpp
M Source/WebCore/Modules/indexeddb/IDBActiveDOMObject.h
M Source/WebCore/Modules/indexeddb/client/IDBConnectionProxy.cpp
M Source/WebCore/Modules/indexeddb/client/TransactionOperation.h
M Source/WebCore/Modules/webaudio/AudioDestinationNode.cpp
M Source/WebCore/Modules/webaudio/AudioWorkletNode.cpp
M Source/WebCore/Modules/webaudio/BaseAudioContext.h
M Source/WebCore/Modules/webdatabase/Database.cpp
M Source/WebCore/Modules/webdatabase/DatabaseDetails.h
M Source/WebCore/Modules/webdatabase/DatabaseManager.cpp
M Source/WebCore/Modules/webdatabase/DatabaseThread.cpp
M Source/WebCore/Modules/webdatabase/SQLTransaction.cpp
M Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
M Source/WebCore/bindings/js/IDBBindingUtilities.cpp
M Source/WebCore/bindings/js/JSCallbackData.h
M Source/WebCore/bindings/js/ScheduledAction.cpp
M Source/WebCore/dom/ActiveDOMObject.h
M Source/WebCore/dom/ScriptExecutionContext.cpp
M Source/WebCore/platform/Supplementable.h
M Source/WebCore/platform/ThreadGlobalData.cpp
M Source/WebCore/platform/ThreadGlobalData.h
M Source/WebCore/platform/Timer.h
M Source/WebCore/platform/graphics/FontCascadeFonts.cpp
M Source/WebCore/platform/graphics/FontCascadeFonts.h
M Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp
M Source/WebCore/platform/mediastream/MediaStreamTrackPrivate.cpp
M Source/WebCore/platform/sql/SQLiteDatabase.cpp
M Source/WebCore/platform/sql/SQLiteDatabase.h
M Source/WebCore/workers/WorkerGlobalScope.cpp
M Source/WebCore/workers/WorkerMessagingProxy.cpp
M Source/WebCore/workers/WorkerOrWorkletGlobalScope.cpp
M Source/WebCore/workers/WorkerOrWorkletThread.cpp
M Source/WebCore/workers/WorkerRunLoop.cpp
M Source/WebCore/workers/WorkerThread.cpp
M Source/WebCore/workers/service/ServiceWorkerContainer.cpp
M Source/WebCore/workers/service/ServiceWorkerContainer.h
M Source/WebCore/workers/service/ServiceWorkerJob.cpp
M Source/WebCore/workers/service/ServiceWorkerJob.h
M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
M Source/WebKit/Platform/IPC/StreamConnectionWorkQueue.cpp
M Tools/DumpRenderTree/JavaScriptThreading.cpp
M Tools/TestWebKitAPI/Tests/IPC/ConnectionTests.cpp
M Tools/TestWebKitAPI/Tests/WTF/Condition.cpp
M Tools/TestWebKitAPI/Tests/WTF/ParkingLot.cpp
M Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp
M Tools/TestWebKitAPI/Tests/WTF/Threading.cpp
M Tools/TestWebKitAPI/Tests/WebCore/cocoa/TestGraphicsContextGLCocoa.mm
M Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp
Log Message:
-----------
Address Safer CPP failures in JSContext
https://bugs.webkit.org/show_bug.cgi?id=288409
Reviewed by Darin Adler.
* Source/JavaScriptCore/API/JSContext.mm:
(+[JSContext currentContext]):
(+[JSContext currentThis]):
(+[JSContext currentCallee]):
(+[JSContext currentArguments]):
(-[JSContext name]):
(-[JSContext beginCallbackWithData:calleeValue:thisValue:argumentCount:arguments:]):
(-[JSContext endCallbackWithData:]):
* Source/JavaScriptCore/API/JSContextRef.cpp:
(JSContextGroupSetExecutionTimeLimit):
(JSContextGroupClearExecutionTimeLimit):
(JSGlobalContextSetDebuggerRunLoop):
* Source/JavaScriptCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/JavaScriptCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/JavaScriptCore/runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::protectedInspectorDebuggable):
* Source/JavaScriptCore/runtime/JSGlobalObject.h:
Canonical link: https://commits.webkit.org/291186@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list