New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert JavaScriptCore to Modern Objective-C #9692
Convert JavaScriptCore to Modern Objective-C #9692
Conversation
fcf3aaf
to
0e35859
Compare
EWS run on previous version of this PR (hash fcf3aaf)
|
0e35859
to
87b4d16
Compare
EWS run on previous version of this PR (hash 87b4d16)
|
87b4d16
to
7d1b8a1
Compare
EWS run on previous version of this PR (hash 7d1b8a1)
|
7d1b8a1
to
c0a198f
Compare
EWS run on previous version of this PR (hash c0a198f)
|
c0a198f
to
f8684f9
Compare
EWS run on previous version of this PR (hash f8684f9)
|
f8684f9
to
6ea2139
Compare
EWS run on previous version of this PR (hash 6ea2139)
|
6ea2139
to
7ae3b6f
Compare
EWS run on previous version of this PR (hash 7ae3b6f)
|
7ae3b6f
to
2e2249c
Compare
EWS run on previous version of this PR (hash 2e2249c)
|
2e2249c
to
9a86a36
Compare
EWS run on previous version of this PR (hash 9a86a36)
|
9a86a36
to
f8ef026
Compare
EWS run on previous version of this PR (hash f8ef026)
|
f8ef026
to
3063547
Compare
EWS run on previous version of this PR (hash 3063547)
|
b3f7c47
to
0c4b437
Compare
EWS run on previous version of this PR (hash 0c4b437)
|
EWS run on previous version of this PR (hash b3f7c47)
|
0c4b437
to
db66d93
Compare
EWS run on previous version of this PR (hash db66d93)
|
db66d93
to
4a881a1
Compare
EWS run on previous version of this PR (hash 4a881a1)
|
4a881a1
to
5828788
Compare
EWS run on previous version of this PR (hash 5828788)
|
5828788
to
94c2deb
Compare
EWS run on previous version of this PR (hash 94c2deb)
|
94c2deb
to
6947ebc
Compare
EWS run on previous version of this PR (hash 6947ebc)
|
6947ebc
to
e46d6b7
Compare
EWS run on previous version of this PR (hash e46d6b7)
|
e46d6b7
to
ccd50e4
Compare
EWS run on previous version of this PR (hash ccd50e4)
|
ccd50e4
to
263fb41
Compare
EWS run on previous version of this PR (hash 263fb41)
|
263fb41
to
7a49778
Compare
EWS run on previous version of this PR (hash 7a49778)
|
7a49778
to
92fa339
Compare
EWS run on previous version of this PR (hash 92fa339)
|
92fa339
to
84907dd
Compare
EWS run on previous version of this PR (hash 84907dd)
|
https://bugs.webkit.org/show_bug.cgi?id=251797 Reviewed by NOBODY (OOPS!). JavaScriptCore was run through the Xcode's Modern Objective-C converter. However, the results were not buildable alone, so some additional changes were made to get the JavaScriptCore framework to build again. As this is an API change, this warrants modernization as: 1. This code has roots going back years, which makes sense as Safari has been around for 2 decades. Modernizing the code helps as it lays the groundwork for future patches to follow modern Objective-C coding conventions as well as being consistent with newer code written. 2. These modernizations make the code more safe while improving performance in some places. 3. If we ever need to write Swift code calling this library directly, it will be much easier to get Swift to work with this framework. * Source/JavaScriptCore/API/APICallbackFunction.h: * Source/JavaScriptCore/API/JSAPIGlobalObject.mm: * Source/JavaScriptCore/API/JSContext.mm: * Source/JavaScriptCore/API/JSContextInternal.h: * Source/JavaScriptCore/API/JSManagedValue.h: * Source/JavaScriptCore/API/JSManagedValue.mm: * Source/JavaScriptCore/API/JSScript.h: * Source/JavaScriptCore/API/JSScript.mm: * Source/JavaScriptCore/API/JSScriptInternal.h: * Source/JavaScriptCore/API/JSScriptSourceProvider.mm: * Source/JavaScriptCore/API/JSValue.mm: * Source/JavaScriptCore/API/JSVirtualMachine.mm: * Source/JavaScriptCore/API/JSWrapperMap.mm: * Source/JavaScriptCore/API/ObjCCallbackFunction.mm: * Source/JavaScriptCore/API/tests/CurrentThisInsideBlockGetterTest.mm: * Source/JavaScriptCore/API/tests/DateTests.mm: * Source/JavaScriptCore/API/tests/Regress141275.mm: * Source/JavaScriptCore/API/tests/Regress141809.mm: * Source/JavaScriptCore/API/tests/testapi.mm: * Source/JavaScriptCore/inspector/ContentSearchUtilities.cpp: * Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorCocoa.mm: * Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorXPCConnection.mm: * Source/JavaScriptCore/testmem/testmem.mm: * Source/WTF/wtf/cocoa/FileSystemCocoa.mm: * Source/WTF/wtf/cocoa/LanguageCocoa.mm: * Source/WTF/wtf/cocoa/NSURLExtras.mm: * Source/WebCore/bridge/objc/objc_utility.mm: * Source/WebCore/platform/mac/PluginBlocklist.mm: * Source/WebGPU/WebGPU/Adapter.mm: * Source/WebGPU/WebGPU/Device.mm: * Source/WebGPU/WebGPU/HardwareCapabilities.mm: * Source/WebKit/UIProcess/API/Cocoa/APIContentRuleListStoreCocoa.mm: * Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionControllerConfiguration.mm: * Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * Source/bmalloc/bmalloc/ProcessCheck.mm:
84907dd
to
7f1fd02
Compare
EWS run on current version of this PR (hash 7f1fd02)
|
We're going to close this pull-request because modifications of JavaScriptCore's API in this way does not appear to be something we are capable of resolving in a GitHub pull-request. At this point, if you'd like to join the WebKit project on Slack, we can discuss these changes further. |
5828788aa36b103f16a1990848521e05c1100c00
7f1fd02