Changeset 282221 in webkit
- Timestamp:
- Sep 9, 2021, 10:02:27 AM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
-
JavaScriptCore/ChangeLog (modified) (1 diff)
-
JavaScriptCore/runtime/SymbolStubsForSafariCompatibility.mm (modified) (2 diffs)
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PlatformHave.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r282212 r282221 1 2021-09-09 Patrick Angle <pangle@apple.com> 2 3 run-webkit-archive crashes with dyld error 4 https://bugs.webkit.org/show_bug.cgi?id=228060 5 6 Reviewed by Alex Christensen. 7 8 Add a compatibility symbol for the old `WTF::Optional` version of `BackendDispatcher::reportProtocolError` in 9 versions of Safari shipping with macOS Big Sur and earlier. This has the side effect of not surfacing protocol 10 errors and instead silently discarding them when crossing this API boundary. Newer versions of macOS ship using 11 the newer symbol and are therefor not affected and will continue to surface protocol errors to the frontend. 12 13 * runtime/SymbolStubsForSafariCompatibility.mm: 14 (Inspector::BackendDispatcher::reportProtocolError): 15 1 16 2021-09-09 Justin Michaud <justin_michaud@apple.com> 2 17 -
trunk/Source/JavaScriptCore/runtime/SymbolStubsForSafariCompatibility.mm
r273515 r282221 38 38 template<typename, typename> class RefPtr { }; 39 39 template<typename> struct DumbPtrTraits { }; 40 template<typename> class Optional { }; 40 41 41 42 namespace JSONImpl { … … 58 59 59 60 class BackendDispatcher { 61 enum CommonErrorCode { NotUsed }; 62 60 63 JS_EXPORT_PRIVATE void sendResponse(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object>>&&, bool); 64 JS_EXPORT_PRIVATE void reportProtocolError(WTF::Optional<long>, CommonErrorCode, const WTF::String&); 61 65 }; 62 66 void BackendDispatcher::sendResponse(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::DumbPtrTraits<WTF::JSONImpl::Object>>&&, bool) { } 67 void BackendDispatcher::reportProtocolError(WTF::Optional<long>, CommonErrorCode, const WTF::String&) { } 63 68 64 69 } // namespace Inspector -
trunk/Source/WTF/ChangeLog
r282137 r282221 1 2021-09-09 Patrick Angle <pangle@apple.com> 2 3 run-webkit-archive crashes with dyld error 4 https://bugs.webkit.org/show_bug.cgi?id=228060 5 6 Reviewed by Alex Christensen. 7 8 Bump the maximum macOS version that `HAVE_SAFARI_FOR_WEBKIT_DEVELOPMENT_REQUIRING_EXTRA_SYMBOLS` will be enabled 9 to provide compatibility with changes made in macOS 12. 10 11 * wtf/PlatformHave.h: 12 1 13 2021-09-08 Jean-Yves Avenard <jya@apple.com> 2 14 -
trunk/Source/WTF/wtf/PlatformHave.h
r282061 r282221 458 458 #endif 459 459 460 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 1 10300460 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000 461 461 #define HAVE_SAFARI_FOR_WEBKIT_DEVELOPMENT_REQUIRING_EXTRA_SYMBOLS 1 462 462 #endif
Note:
See TracChangeset
for help on using the changeset viewer.