-
Notifications
You must be signed in to change notification settings - Fork 511
WebKit macOS xcode14.0 rc
Israel Soto edited this page Sep 7, 2022
·
1 revision
#WebKit.framework
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKError.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKError.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKError.h 2022-08-05 15:52:25.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKError.h 2022-08-03 21:07:59.000000000 -0500
@@ -63,9 +63,6 @@
WKErrorJavaScriptInvalidFrameTarget API_AVAILABLE(macos(11.0), ios(14.0)),
WKErrorNavigationAppBoundDomain API_AVAILABLE(macos(11.0), ios(14.0)),
WKErrorJavaScriptAppBoundDomain API_AVAILABLE(macos(11.0), ios(14.0)),
- WKErrorDuplicateCredential API_AVAILABLE(macos(13.0), ios(16.0)),
- WKErrorMalformedCredential API_AVAILABLE(macos(13.0), ios(16.0)),
- WKErrorCredentialNotFound API_AVAILABLE(macos(13.0), ios(16.0)),
} API_AVAILABLE(macos(10.10), ios(8.0));
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h 2022-08-05 15:52:24.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h 2022-08-03 21:07:58.000000000 -0500
@@ -68,12 +68,12 @@
to improve compatibility with certain known websites. You can disable site-specific quirks
to help test your website without these workarounds. Enabled by default.
*/
-@property (nonatomic, getter=isSiteSpecificQuirksModeEnabled) BOOL siteSpecificQuirksModeEnabled API_AVAILABLE(macos(12.3), ios(15.4));
+@property (nonatomic, getter=isSiteSpecificQuirksModeEnabled) BOOL siteSpecificQuirksModeEnabled API_AVAILABLE(macos(12.0), ios(15.0));
/*! @abstract A Boolean value indicating whether Fullscreen API is enabled.
@discussion The default value is NO. We can set it to YES to enable support for the fullscreen API.
*/
-@property (nonatomic, getter=isElementFullscreenEnabled) BOOL elementFullscreenEnabled API_AVAILABLE(macos(12.3), ios(15.4));
+@property (nonatomic, getter=isElementFullscreenEnabled) BOOL elementFullscreenEnabled API_AVAILABLE(macos(12.0), ios(15.0));
@end
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h 2022-08-05 15:54:37.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h 2022-08-03 21:07:59.000000000 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2022 Apple Inc. All rights reserved.
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -57,18 +57,6 @@
WKMediaCaptureTypeCameraAndMicrophone,
} API_AVAILABLE(macos(12.0), ios(15.0));
-/*! @enum WKDialogResult
-@abstract Constants returned by showLockdownModeFirstUseMessage to indicate how WebKit should treat first use.
-@constant WKDialogResultShowDefault Indicates that the client did not display a first use message. WebKit should show the default.
-@constant WKDialogResultAskAgain Indicates the client handled the message, but wants to be checked if other WKWebViews are used.
-@constant WKDialogResultHandled Indicates the client handled the message and no further checks are needed.
-*/
-typedef NS_ENUM(NSInteger, WKDialogResult) {
- WKDialogResultShowDefault = 1,
- WKDialogResultAskAgain,
- WKDialogResultHandled
-} API_AVAILABLE(ios(16.0));
-
/*! A class conforming to the WKUIDelegate protocol provides methods for
presenting native UI on behalf of a webpage.
*/
@@ -244,16 +232,6 @@
- (void)webView:(WKWebView *)webView contextMenuDidEndForElement:(WKContextMenuElementInfo *)elementInfo API_AVAILABLE(ios(13.0));
-/*! @abstract Displays a Lockdown Mode warning panel.
- @param webView The web view invoking the delegate method.
- @param message The message WebKit would display if this delegate were not invoked.
- @param completionHandler The completion handler you must invoke to resume after the first use message is displayed.
- @discussion The panel should have a single OK button.
-
- If you do not implement this method, the web view will display the default Lockdown Mode message.
- */
-- (void)webView:(WKWebView *)webView showLockdownModeFirstUseMessage:(NSString *)message completionHandler:(void (^)(WKDialogResult))completionHandler API_AVAILABLE(ios(13.0));
-
#endif // TARGET_OS_IOS
#if !TARGET_OS_IPHONE
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h 2022-08-05 12:39:14.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h 2022-08-03 21:06:26.000000000 -0500
@@ -33,10 +33,6 @@
NS_ASSUME_NONNULL_BEGIN
-#if TARGET_OS_IOS
-@class UIFindInteraction;
-#endif
-
@class WKBackForwardList;
@class WKBackForwardListItem;
@class WKContentWorld;
@@ -83,7 +79,7 @@
WKFullscreenStateEnteringFullscreen,
WKFullscreenStateInFullscreen,
WKFullscreenStateExitingFullscreen,
-} NS_SWIFT_NAME(WKWebView.FullscreenState) API_AVAILABLE(macos(13.0), ios(16.0));
+} NS_SWIFT_NAME(WKWebView.FullscreenState) API_AVAILABLE(macos(12.0), ios(15.0));
/*! @abstract A copy of the configuration with which the web view was
initialized. */
@@ -410,7 +406,7 @@
/*! @abstract Set microphone capture state of a WKWebView.
@param state state to apply for capture.
- @param completionHandler A block to invoke after the microphone state has been changed.
+ @param completionHandler A block to invoke after the camera state has been changed.
@discussion
If value is WKMediaCaptureStateNone, this will stop any microphone capture.
If value is WKMediaCaptureStateMuted, any active microphone capture will become muted.
@@ -623,40 +619,7 @@
its native UI components when the fullscreen state changes. The application should observe the fullscreenState
property of WKWebView in order to receive notifications regarding the fullscreen state change.
*/
-@property (nonatomic, readonly) WKFullscreenState fullscreenState API_AVAILABLE(macos(13.0), ios(16.0));
-
-/*! @abstract Insets from the @link frame @/link that represent the smallest and largest possible size of the
- visual area of the @link WKWebView @/link based on the state of the surrounding UI.
- @discussion For apps with size-changing UI around the @link WKWebView @/link, specify minimumViewportInset and
- maximumViewportInset to supply webpages with the appropriate value for CSS "large viewport" `lv*`
- units and CSS "small viewport" `sv*` units respectively @link https://www.w3.org/TR/css-values-4/#viewport-variants @/link.
- Set minimumViewportInset to the smallest inset a webpage may experience in your app's maximally
- collapsed UI configuration. Set maximumViewportInset to the largest inset a webpage may experience
- in your app's maximally expanded UI configuration. For apps where the maximally collapsed UI
- configuration is such that the @link WKWebView @/link is not surrounded by anything, there is no need to specify
- minimumViewportInset. For apps with fixed-sized UI surrounding the @link WKWebView @/link, there is no need to
- specify either value. Both values must be either zero or positive, and maximumViewportInset must be
- larger than minimumViewportInset.
- */
-#if TARGET_OS_IPHONE
-@property (nonatomic, readonly) UIEdgeInsets minimumViewportInset API_AVAILABLE(ios(15.5));
-@property (nonatomic, readonly) UIEdgeInsets maximumViewportInset API_AVAILABLE(ios(15.5));
-- (void)setMinimumViewportInset:(UIEdgeInsets)minimumViewportInset maximumViewportInset:(UIEdgeInsets)maximumViewportInset API_AVAILABLE(ios(15.5));
-#else
-@property (nonatomic, readonly) NSEdgeInsets minimumViewportInset API_AVAILABLE(macos(13.0));
-@property (nonatomic, readonly) NSEdgeInsets maximumViewportInset API_AVAILABLE(macos(13.0));
-- (void)setMinimumViewportInset:(NSEdgeInsets)minimumViewportInset maximumViewportInset:(NSEdgeInsets)maximumViewportInset API_AVAILABLE(macos(13.0));
-#endif
-
-#if TARGET_OS_IOS
-
-/*! @abstract Enables the web view's built-in find interaction. */
-@property (nonatomic, readwrite, getter=isFindInteractionEnabled) BOOL findInteractionEnabled API_AVAILABLE(ios(16.0));
-
-/*! @abstract If @link findInteractionEnabled @/link is set to true, returns this web view's built-in find interaction. Otherwise, nil. */
-@property (nonatomic, nullable, readonly) UIFindInteraction *findInteraction API_AVAILABLE(ios(16.0));
-
-#endif
+@property (nonatomic, readonly) WKFullscreenState fullscreenState API_AVAILABLE(macos(12.0), ios(15.0));
@end
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2022-08-05 12:39:12.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2022-08-03 21:06:23.000000000 -0500
@@ -71,10 +71,6 @@
*/
@property (nonatomic) BOOL allowsContentJavaScript API_AVAILABLE(macos(11.0), ios(14.0));
-/*! @abstract A boolean indicating whether lockdown mode is enabled.
- @discussion This mode trades off performance and compatibility in favor of security.
- The default value depends on the system setting.
- */
-@property (nonatomic, getter=isLockdownModeEnabled) BOOL lockdownModeEnabled API_AVAILABLE(macos(13.0), ios(16.0));
+
@end
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h 2022-08-05 12:39:11.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h 2022-08-03 21:06:22.000000000 -0500
@@ -59,9 +59,6 @@
/*! @constant WKWebsiteDataTypeServiceWorkerRegistrations Service worker registrations. */
WK_EXTERN NSString * const WKWebsiteDataTypeServiceWorkerRegistrations API_AVAILABLE(macos(10.13.4), ios(11.3));
-/*! @constant WKWebsiteDataTypeFileSystem File system storage. */
-WK_EXTERN NSString * const WKWebsiteDataTypeFileSystem API_AVAILABLE(macos(13.0), ios(16.0));
-
/*! A WKWebsiteDataRecord represents website data, grouped by domain name using the public suffix list. */
WK_EXTERN API_AVAILABLE(macos(10.11), ios(9.0))
@interface WKWebsiteDataRecord : NSObject
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitAvailability.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitAvailability.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitAvailability.h 2022-08-05 12:39:16.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitAvailability.h 2022-08-03 21:06:28.000000000 -0500
@@ -28,6 +28,7 @@
#import <TargetConditionals.h>
+#if !TARGET_OS_IPHONE
#include <Foundation/NSObjCRuntime.h>
#define WEBKIT_AVAILABLE_MAC(introduced) NS_AVAILABLE_MAC(introduced)
@@ -48,4 +49,15 @@
#endif /* !defined(BUILDING_WEBKIT) && !defined(DISABLE_LEGACY_WEBKIT_DEPRECATIONS) */
+#else
+
+#define WEBKIT_AVAILABLE_MAC(introduced)
+#define WEBKIT_CLASS_AVAILABLE_MAC(introduced)
+#define WEBKIT_ENUM_AVAILABLE_MAC(introduced)
+#define WEBKIT_DEPRECATED_MAC(introduced, deprecated, ...)
+#define WEBKIT_CLASS_DEPRECATED_MAC(introduced, deprecated, ...)
+#define WEBKIT_ENUM_DEPRECATED_MAC(introduced, deprecated, ...)
+
+#endif /* !TARGET_OS_IPHONE */
+
#endif /* WebKit_WebKitAvailability_h */
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h 2022-08-05 00:09:39.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h 2022-02-19 00:59:34.000000000 -0600
@@ -6,13 +6,13 @@
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
+ * documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
+ * from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebPreferences.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebPreferences.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebPreferences.h 2022-08-05 12:39:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebPreferences.h 2022-08-03 21:06:20.000000000 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2022 Apple Inc. All rights reserved.
+ * Copyright (C) 2003, 2004, 2005, 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -168,9 +168,8 @@
/*!
@property javaEnabled
- @discussion Deprecated function that does nothing and always returns false.
*/
-@property (nonatomic, getter=isJavaEnabled) BOOL javaEnabled WEBKIT_DEPRECATED_MAC(10_3, 10_15);
+@property (nonatomic, getter=isJavaEnabled) BOOL javaEnabled;
/*!
@property javaScriptEnabled
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status