Version in base suite: 2.32.3-2 Base version: wpewebkit_2.32.3-2 Target version: wpewebkit_2.32.4-1~deb11u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/w/wpewebkit/wpewebkit_2.32.3-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/w/wpewebkit/wpewebkit_2.32.4-1~deb11u1.dsc Documentation/wpe-1.0/html/WebKitApplicationInfo.html | 28 Documentation/wpe-1.0/html/WebKitAuthenticationRequest.html | 80 Documentation/wpe-1.0/html/WebKitAutomationSession.html | 12 Documentation/wpe-1.0/html/WebKitBackForwardList.html | 60 Documentation/wpe-1.0/html/WebKitBackForwardListItem.html | 24 Documentation/wpe-1.0/html/WebKitColor.html | 20 Documentation/wpe-1.0/html/WebKitContextMenu.html | 42 Documentation/wpe-1.0/html/WebKitContextMenuItem.html | 46 Documentation/wpe-1.0/html/WebKitCookieManager.html | 122 Documentation/wpe-1.0/html/WebKitDownload.html | 90 Documentation/wpe-1.0/html/WebKitEditorState.html | 42 Documentation/wpe-1.0/html/WebKitFaviconDatabase.html | 26 Documentation/wpe-1.0/html/WebKitFileChooserRequest.html | 46 Documentation/wpe-1.0/html/WebKitFindController.html | 56 Documentation/wpe-1.0/html/WebKitFormSubmissionRequest.html | 18 Documentation/wpe-1.0/html/WebKitGeolocationPermissionRequest.html | 14 Documentation/wpe-1.0/html/WebKitHitTestResult.html | 90 Documentation/wpe-1.0/html/WebKitInputMethodContext.html | 60 Documentation/wpe-1.0/html/WebKitInstallMissingMediaPluginsPermissionRequest.html | 8 Documentation/wpe-1.0/html/WebKitMediaKeySystemPermissionRequest.html | 8 Documentation/wpe-1.0/html/WebKitNavigationAction.html | 22 Documentation/wpe-1.0/html/WebKitNavigationPolicyDecision.html | 14 Documentation/wpe-1.0/html/WebKitNetworkProxySettings.html | 14 Documentation/wpe-1.0/html/WebKitNotificationPermissionRequest.html | 4 Documentation/wpe-1.0/html/WebKitPermissionRequest.html | 8 Documentation/wpe-1.0/html/WebKitPlugin.html | 38 Documentation/wpe-1.0/html/WebKitPolicyDecision.html | 4 Documentation/wpe-1.0/html/WebKitRectangle.html | 12 Documentation/wpe-1.0/html/WebKitResponsePolicyDecision.html | 10 Documentation/wpe-1.0/html/WebKitSecurityManager.html | 76 Documentation/wpe-1.0/html/WebKitSecurityOrigin.html | 42 Documentation/wpe-1.0/html/WebKitSettings.html | 648 +-- Documentation/wpe-1.0/html/WebKitURIRequest.html | 28 Documentation/wpe-1.0/html/WebKitURIResponse.html | 54 Documentation/wpe-1.0/html/WebKitURISchemeRequest.html | 32 Documentation/wpe-1.0/html/WebKitUserContentFilterStore.html | 130 Documentation/wpe-1.0/html/WebKitUserContentManager.html | 38 Documentation/wpe-1.0/html/WebKitUserMediaPermissionRequest.html | 24 Documentation/wpe-1.0/html/WebKitUserMessage.html | 46 Documentation/wpe-1.0/html/WebKitWebContext.html | 200 - Documentation/wpe-1.0/html/WebKitWebResource.html | 86 Documentation/wpe-1.0/html/WebKitWebView.html | 774 ++-- Documentation/wpe-1.0/html/WebKitWebViewBackend.html | 14 Documentation/wpe-1.0/html/WebKitWebsiteData.html | 8 Documentation/wpe-1.0/html/WebKitWebsiteDataAccessPermissionRequest.html | 4 Documentation/wpe-1.0/html/WebKitWebsiteDataManager.html | 236 - Documentation/wpe-1.0/html/WebKitWindowProperties.html | 74 Documentation/wpe-1.0/html/annotation-glossary.html | 2 Documentation/wpe-1.0/html/ch01.html | 2 Documentation/wpe-1.0/html/ch02.html | 2 Documentation/wpe-1.0/html/index-all.html | 1822 +++++----- Documentation/wpe-1.0/html/index.html | 4 Documentation/wpe-1.0/html/wpe-1.0-Geolocation-manager.html | 40 Documentation/wpe-1.0/html/wpe-1.0-The-title-for-the-notification..html | 36 Documentation/wpe-1.0/html/wpe-1.0-WebKitError.html | 30 Documentation/wpe-1.0/html/wpe-1.0-WebKitURIUtilities.html | 10 Documentation/wpe-1.0/html/wpe-1.0-WebKitUserContent.html | 56 Documentation/wpe-webextensions-1.0/html/WebKitConsoleMessage.html | 18 Documentation/wpe-webextensions-1.0/html/WebKitDOMDocument.html | 4 Documentation/wpe-webextensions-1.0/html/WebKitDOMElement.html | 14 Documentation/wpe-webextensions-1.0/html/WebKitDOMNode.html | 10 Documentation/wpe-webextensions-1.0/html/WebKitDOMObject.html | 4 Documentation/wpe-webextensions-1.0/html/WebKitFrame.html | 50 Documentation/wpe-webextensions-1.0/html/WebKitScriptWorld.html | 16 Documentation/wpe-webextensions-1.0/html/WebKitWebEditor.html | 10 Documentation/wpe-webextensions-1.0/html/WebKitWebExtension.html | 78 Documentation/wpe-webextensions-1.0/html/WebKitWebHitTestResult.html | 10 Documentation/wpe-webextensions-1.0/html/WebKitWebPage.html | 172 Documentation/wpe-webextensions-1.0/html/annotation-glossary.html | 2 Documentation/wpe-webextensions-1.0/html/ch01.html | 2 Documentation/wpe-webextensions-1.0/html/ch02.html | 2 Documentation/wpe-webextensions-1.0/html/index-all.html | 132 Documentation/wpe-webextensions-1.0/html/index.html | 4 NEWS | 9 Source/JavaScriptCore/assembler/ARM64Assembler.h | 104 Source/JavaScriptCore/assembler/AssemblerCommon.h | 11 Source/JavaScriptCore/assembler/MacroAssemblerARM64.h | 20 Source/JavaScriptCore/assembler/testmasm.cpp | 437 ++ Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp | 21 Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.cpp | 8 Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h | 4 Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp | 4 Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h | 2 Source/JavaScriptCore/llint/LLIntSlowPaths.h | 20 Source/JavaScriptCore/runtime/ConsoleClient.h | 3 Source/JavaScriptCore/runtime/ConsoleObject.cpp | 44 Source/JavaScriptCore/runtime/JSGlobalObject.cpp | 6 Source/JavaScriptCore/runtime/JSGlobalObject.h | 7 Source/JavaScriptCore/wasm/WasmMemory.cpp | 6 Source/JavaScriptCore/wasm/WasmSlowPaths.h | 8 Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ShaderVk.cpp | 4 Source/WTF/wtf/CrossThreadTask.h | 4 Source/WTF/wtf/ObjectIdentifier.h | 1 Source/WTF/wtf/Ref.h | 4 Source/WTF/wtf/URLHelpers.cpp | 65 Source/WTF/wtf/dtoa.h | 4 Source/WebCore/Modules/fetch/FetchBodyOwner.h | 2 Source/WebCore/Modules/fetch/FetchBodySource.cpp | 4 Source/WebCore/Modules/fetch/FetchBodySource.h | 3 Source/WebCore/Modules/fetch/FetchResponse.h | 2 Source/WebCore/Modules/indexeddb/IDBRequest.cpp | 3 Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp | 4 Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h | 2 Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.h | 2 Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp | 118 Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.h | 4 Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp | 10 Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h | 2 Source/WebCore/Modules/webaudio/AudioNode.cpp | 2 Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp | 10 Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp | 94 Source/WebCore/animation/WebAnimation.cpp | 2 Source/WebCore/bindings/js/JSDOMWindowCustom.cpp | 3 Source/WebCore/bindings/js/ScriptCachedFrameData.cpp | 2 Source/WebCore/bindings/js/ScriptController.cpp | 2 Source/WebCore/bindings/js/WindowProxy.cpp | 2 Source/WebCore/css/CSSCalculationValue.cpp | 13 Source/WebCore/css/CSSCalculationValue.h | 16 Source/WebCore/css/CSSFontFaceSet.cpp | 5 Source/WebCore/dom/ComposedTreeIterator.cpp | 6 Source/WebCore/dom/ContainerNode.cpp | 4 Source/WebCore/dom/Document.cpp | 13 Source/WebCore/dom/Document.h | 2 Source/WebCore/dom/Element.cpp | 14 Source/WebCore/dom/Element.h | 2 Source/WebCore/dom/Node.cpp | 1 Source/WebCore/dom/Node.h | 17 Source/WebCore/dom/Position.cpp | 19 Source/WebCore/dom/Position.h | 1 Source/WebCore/dom/ShadowRoot.h | 1 Source/WebCore/dom/SlotAssignment.cpp | 40 Source/WebCore/dom/SlotAssignment.h | 15 Source/WebCore/dom/TaskSource.h | 1 Source/WebCore/dom/make_names.pl | 9 Source/WebCore/editing/ApplyStyleCommand.cpp | 4 Source/WebCore/editing/CompositeEditCommand.cpp | 18 Source/WebCore/editing/Editing.cpp | 8 Source/WebCore/editing/FrameSelection.cpp | 16 Source/WebCore/editing/FrameSelection.h | 2 Source/WebCore/editing/IndentOutdentCommand.cpp | 6 Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp | 2 Source/WebCore/editing/ReplaceSelectionCommand.cpp | 24 Source/WebCore/editing/VisiblePosition.cpp | 2 Source/WebCore/editing/VisibleSelection.cpp | 19 Source/WebCore/editing/VisibleSelection.h | 1 Source/WebCore/editing/markup.cpp | 2 Source/WebCore/html/HTMLElement.h | 1 Source/WebCore/html/HTMLMediaElement.cpp | 4 Source/WebCore/html/HTMLPlugInElement.cpp | 1 Source/WebCore/html/HTMLUnknownElement.h | 4 Source/WebCore/html/ImageBitmap.cpp | 2 Source/WebCore/html/InputType.cpp | 3 Source/WebCore/inspector/InspectorInstrumentation.cpp | 4 Source/WebCore/inspector/InspectorInstrumentation.h | 4 Source/WebCore/inspector/agents/InspectorCSSAgent.cpp | 24 Source/WebCore/inspector/agents/InspectorCSSAgent.h | 5 Source/WebCore/loader/DocumentWriter.cpp | 2 Source/WebCore/mathml/MathMLElement.cpp | 4 Source/WebCore/mathml/MathMLElement.h | 2 Source/WebCore/mathml/MathMLUnknownElement.h | 2 Source/WebCore/page/ActivityStateChangeObserver.h | 3 Source/WebCore/page/DOMWindow.cpp | 228 - Source/WebCore/page/EventHandler.cpp | 214 - Source/WebCore/page/Page.cpp | 8 Source/WebCore/page/Page.h | 3 Source/WebCore/page/Performance.cpp | 20 Source/WebCore/page/Performance.h | 5 Source/WebCore/page/PrintContext.cpp | 6 Source/WebCore/platform/CalculationValue.cpp | 4 Source/WebCore/platform/CalculationValue.h | 20 Source/WebCore/platform/GenericTaskQueue.h | 5 Source/WebCore/platform/SharedBuffer.cpp | 9 Source/WebCore/platform/graphics/FontCache.cpp | 34 Source/WebCore/platform/graphics/FontCache.h | 18 Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp | 25 Source/WebCore/platform/graphics/displaylists/DisplayListItems.h | 86 Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp | 3 Source/WebCore/rendering/RenderBlock.cpp | 6 Source/WebCore/rendering/RenderElement.cpp | 27 Source/WebCore/rendering/RenderElement.h | 1 Source/WebCore/rendering/RenderGrid.cpp | 8 Source/WebCore/rendering/RenderLineBreak.cpp | 1 Source/WebCore/rendering/RenderListMarker.cpp | 4 Source/WebCore/rendering/RenderObject.h | 2 Source/WebCore/rendering/line/BreakingContext.h | 4 Source/WebCore/rendering/mathml/RenderMathMLRow.cpp | 1 Source/WebCore/rendering/svg/SVGInlineTextBox.cpp | 16 Source/WebCore/rendering/updating/RenderTreeBuilder.cpp | 27 Source/WebCore/rendering/updating/RenderTreeBuilder.h | 3 Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp | 2 Source/WebCore/rendering/updating/RenderTreeUpdater.cpp | 37 Source/WebCore/rendering/updating/RenderTreeUpdater.h | 4 Source/WebCore/replay/UserInputBridge.cpp | 24 Source/WebCore/style/StyleBuilderCustom.h | 50 Source/WebCore/style/StyleTreeResolver.cpp | 2 Source/WebCore/svg/SVGAnimationElement.cpp | 33 Source/WebCore/svg/SVGAnimationElement.h | 3 Source/WebCore/svg/SVGElement.cpp | 5 Source/WebCore/svg/SVGElement.h | 2 Source/WebCore/svg/SVGUnknownElement.h | 2 Source/WebCore/svg/SVGUseElement.cpp | 24 Source/WebCore/svg/properties/SVGPrimitivePropertyAnimator.h | 2 Source/WebCore/svg/properties/SVGPropertyAnimator.h | 12 Source/WebCore/svg/properties/SVGValuePropertyAnimatorImpl.h | 2 Source/WebCore/svg/properties/SVGValuePropertyListAnimatorImpl.h | 2 Source/WebCore/workers/WorkerOrWorkletScriptController.cpp | 2 Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h | 3 Source/WebKit/GPUProcess/GPUProcess.h | 2 Source/WebKit/GPUProcess/graphics/DisplayListReaderHandle.h | 20 Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp | 14 Source/WebKit/GPUProcess/media/RemoteAudioSessionProxy.h | 3 Source/WebKit/GPUProcess/media/RemoteCDMFactoryProxy.h | 2 Source/WebKit/GPUProcess/media/RemoteCDMProxy.h | 2 Source/WebKit/GPUProcess/media/RemoteLegacyCDMFactoryProxy.h | 2 Source/WebKit/GPUProcess/media/RemoteLegacyCDMProxy.h | 5 Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.h | 5 Source/WebKit/GPUProcess/media/RemoteMediaEngineConfigurationFactoryProxy.h | 2 Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.h | 3 Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.h | 5 Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h | 3 Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h | 3 Source/WebKit/NetworkProcess/NetworkProcess.h | 2 Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h | 3 Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h | 2 Source/WebKit/Platform/IPC/Decoder.cpp | 4 Source/WebKit/Platform/IPC/MessageReceiver.h | 3 Source/WebKit/Platform/IPC/MessageReceiverMap.cpp | 30 Source/WebKit/Platform/IPC/MessageReceiverMap.h | 5 Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h | 3 Source/WebKit/Shared/Authentication/AuthenticationManager.h | 2 Source/WebKit/Shared/AuxiliaryProcess.h | 2 Source/WebKit/Shared/SandboxExtension.h | 2 Source/WebKit/Shared/SessionState.cpp | 16 Source/WebKit/Shared/SessionState.h | 2 Source/WebKit/Shared/SharedDisplayListHandle.h | 18 Source/WebKit/UIProcess/GPU/GPUProcessProxy.h | 2 Source/WebKit/UIProcess/Inspector/WebInspectorProxy.h | 1 Source/WebKit/UIProcess/Inspector/WebInspectorUIExtensionControllerProxy.h | 3 Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h | 3 Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h | 2 Source/WebKit/UIProcess/Network/NetworkProcessProxy.h | 2 Source/WebKit/UIProcess/ProvisionalPageProxy.h | 2 Source/WebKit/UIProcess/SpeechRecognitionRemoteRealtimeMediaSourceManager.h | 2 Source/WebKit/UIProcess/SpeechRecognitionServer.h | 2 Source/WebKit/UIProcess/SuspendedPageProxy.h | 2 Source/WebKit/UIProcess/WebAuthentication/WebAuthnProcessProxy.h | 2 Source/WebKit/UIProcess/WebNavigationState.h | 4 Source/WebKit/UIProcess/WebPageProxy.cpp | 23 Source/WebKit/UIProcess/WebPageProxy.h | 5 Source/WebKit/UIProcess/WebProcessPool.h | 3 Source/WebKit/UIProcess/WebProcessProxy.cpp | 2 Source/WebKit/UIProcess/WebProcessProxy.h | 2 Source/WebKit/WebAuthnProcess/WebAuthnProcess.h | 2 Source/WebKit/WebProcess/GPU/GPUProcessConnection.h | 2 Source/WebKit/WebProcess/GPU/graphics/DisplayListWriterHandle.h | 11 Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp | 1 Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h | 3 Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.h | 5 Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h | 3 Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h | 5 Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.h | 2 Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.h | 3 Source/WebKit/WebProcess/Network/WebSocketChannel.h | 2 Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.h | 2 Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp | 13 Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h | 2 Source/WebKit/WebProcess/WebPage/WebPage.cpp | 28 Source/WebKit/WebProcess/WebPage/WebPage.h | 29 Source/WebKit/WebProcess/WebStorage/StorageAreaMap.h | 2 Source/WebKit/wpe/NEWS | 9 Source/cmake/OptionsWPE.cmake | 4 Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp | 2 Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp | 20 Tools/TestWebKitAPI/Tests/WebKitGLib/resources/text | 1 debian/changelog | 17 debian/patches/disable-external-audio-rendering.patch | 17 debian/patches/series | 1 debian/source/lintian-overrides | 28 278 files changed, 4950 insertions(+), 3971 deletions(-) diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitApplicationInfo.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitApplicationInfo.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitApplicationInfo.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitApplicationInfo.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitApplicationInfo: WPE Reference Manual - + @@ -73,7 +73,7 @@ -const gchar * +const gchar * webkit_application_info_get_name () @@ -113,7 +113,7 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitApplicationInfo
 
@@ -195,9 +195,9 @@

webkit_application_info_set_name ()

void
 webkit_application_info_set_name (WebKitApplicationInfo *info,
-                                  const gchar *name);
-

Set the name of the application. If not provided, or NULL is passed, -g_get_prgname() will be used.

+ const gchar *name); +

Set the name of the application. If not provided, or NULL is passed, +g_get_prgname() will be used.

Parameters

@@ -225,10 +225,10 @@

webkit_application_info_get_name ()

-
const gchar *
+
const gchar *
 webkit_application_info_get_name (WebKitApplicationInfo *info);

Get the name of the application. If webkit_application_info_set_name() hasn't been -called with a valid name, this returns g_get_prgname().

+called with a valid name, this returns g_get_prgname().

Parameters

@@ -255,9 +255,9 @@

webkit_application_info_set_version ()

void
 webkit_application_info_set_version (WebKitApplicationInfo *info,
-                                     guint64 major,
-                                     guint64 minor,
-                                     guint64 micro);
+ guint64 major, + guint64 minor, + guint64 micro);

Set the application version. If the application doesn't use the format major.minor.micro you can pass 0 as the micro to use major.minor, or pass 0 as both micro and minor to use only major number. Any other format must @@ -301,9 +301,9 @@

webkit_application_info_get_version ()

void
 webkit_application_info_get_version (WebKitApplicationInfo *info,
-                                     guint64 *major,
-                                     guint64 *minor,
-                                     guint64 *micro);
+ guint64 *major, + guint64 *minor, + guint64 *micro);

Get the application version previously set with webkit_application_info_set_version().

Parameters

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitAuthenticationRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitAuthenticationRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitAuthenticationRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitAuthenticationRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitAuthenticationRequest: WPE Reference Manual - + @@ -59,7 +59,7 @@
- - - - - + - +
-gboolean +gboolean webkit_authentication_request_can_save_credentials () @@ -74,7 +74,7 @@
const gchar * +const gchar * webkit_authentication_request_get_host () @@ -82,7 +82,7 @@
-guint +guint webkit_authentication_request_get_port () @@ -98,7 +98,7 @@
-gboolean +gboolean webkit_authentication_request_is_retry () @@ -121,7 +121,7 @@
const gchar * +const gchar * webkit_authentication_request_get_realm () @@ -137,7 +137,7 @@
-gboolean +gboolean webkit_authentication_request_is_for_proxy () @@ -168,7 +168,7 @@
const gchar * +const gchar * webkit_credential_get_password () @@ -183,7 +183,7 @@
const gchar * +const gchar * webkit_credential_get_username () @@ -191,7 +191,7 @@
-gboolean +gboolean webkit_credential_has_password () @@ -212,12 +212,12 @@
void authenticatedRun LastRun Last
void cancelledRun LastRun Last
@@ -251,9 +251,9 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitCredential
-    GObject
+    GObject
     ╰── WebKitAuthenticationRequest
 
@@ -280,7 +280,7 @@ (WebKitAuthenticationRequest *request, WebKitCredential *credential);

Authenticate the WebKitAuthenticationRequest using the WebKitCredential -supplied. To continue without credentials, pass NULL as credential +supplied. To continue without credentials, pass NULL as credential .

Parameters

@@ -298,7 +298,7 @@

credential

-

A WebKitCredential, or NULL.

+

A WebKitCredential, or NULL.

[transfer none][allow-none] @@ -333,12 +333,12 @@

webkit_authentication_request_can_save_credentials ()

-
gboolean
+
gboolean
 webkit_authentication_request_can_save_credentials
                                (WebKitAuthenticationRequest *request);

Determine whether the authentication method associated with this WebKitAuthenticationRequest should allow the storage of credentials. -This will return FALSE if WebKit doesn't support credential storing, +This will return FALSE if WebKit doesn't support credential storing, if private browsing is enabled, or if persistent credential storage has been disabled in WebKitWebsiteDataManager, unless credentials saving has been explicitly enabled with webkit_authentication_request_set_can_save_credentials().

@@ -359,7 +359,7 @@

Returns

-

TRUE if WebKit can store credentials or FALSE otherwise.

+

TRUE if WebKit can store credentials or FALSE otherwise.

Since: 2.2

@@ -369,7 +369,7 @@
void
 webkit_authentication_request_set_can_save_credentials
                                (WebKitAuthenticationRequest *request,
-                                gboolean enabled);
+ gboolean enabled);

Set whether the authentication method associated with request should allow the storage of credentials. @@ -405,7 +405,7 @@


webkit_authentication_request_get_host ()

-
const gchar *
+
const gchar *
 webkit_authentication_request_get_host
                                (WebKitAuthenticationRequest *request);

Get the host that this authentication challenge is applicable to.

@@ -434,7 +434,7 @@

webkit_authentication_request_get_port ()

-
guint
+
guint
 webkit_authentication_request_get_port
                                (WebKitAuthenticationRequest *request);

Get the port that this authentication challenge is applicable to.

@@ -492,7 +492,7 @@

webkit_authentication_request_is_retry ()

-
gboolean
+
gboolean
 webkit_authentication_request_is_retry
                                (WebKitAuthenticationRequest *request);

Determine whether this this is a first attempt or a retry for this authentication challenge.

@@ -513,7 +513,7 @@

Returns

-

TRUE if authentication attempt is a retry or FALSE otherwise.

+

TRUE if authentication attempt is a retry or FALSE otherwise.

Since: 2.2

@@ -544,7 +544,7 @@

Returns

A WebKitCredential encapsulating credential details -or NULL if there is no stored credential.

+or NULL if there is no stored credential.

[transfer full]

Since: 2.2

@@ -561,7 +561,7 @@ their own credential storage. (When using the default WebKit credential storage, webkit_authentication_request_get_proposed_credential() already contains previously-stored credentials.) -Passing a NULL credential +Passing a NULL credential will clear the proposed credential.

Parameters

@@ -579,7 +579,7 @@

credential

-

a WebKitCredential, or NULL

+

a WebKitCredential, or NULL

  @@ -590,7 +590,7 @@

webkit_authentication_request_get_realm ()

-
const gchar *
+
const gchar *
 webkit_authentication_request_get_realm
                                (WebKitAuthenticationRequest *request);

Get the realm that this authentication challenge is applicable to.

@@ -648,7 +648,7 @@

webkit_authentication_request_is_for_proxy ()

-
gboolean
+
gboolean
 webkit_authentication_request_is_for_proxy
                                (WebKitAuthenticationRequest *request);

Determine whether the authentication challenge is associated with a proxy server rather than an "origin" server.

@@ -669,7 +669,7 @@

Returns

-

TRUE if authentication is for a proxy or FALSE otherwise.

+

TRUE if authentication is for a proxy or FALSE otherwise.

Since: 2.2

@@ -677,8 +677,8 @@

webkit_credential_new ()

WebKitCredential *
-webkit_credential_new (const gchar *username,
-                       const gchar *password,
+webkit_credential_new (const gchar *username,
+                       const gchar *password,
                        WebKitCredentialPersistence persistence);

Create a new credential from the provided username, password and persistence mode.

@@ -769,7 +769,7 @@

webkit_credential_get_password ()

-
const gchar *
+
const gchar *
 webkit_credential_get_password (WebKitCredential *credential);

Get the password currently held by this WebKitCredential.

@@ -823,7 +823,7 @@

webkit_credential_get_username ()

-
const gchar *
+
const gchar *
 webkit_credential_get_username (WebKitCredential *credential);

Get the username currently held by this WebKitCredential.

@@ -850,7 +850,7 @@

webkit_credential_has_password ()

-
gboolean
+
gboolean
 webkit_credential_has_password (WebKitCredential *credential);

Determine whether this credential has a password stored.

@@ -870,7 +870,7 @@

Returns

-

TRUE if the credential has a password or FALSE otherwise.

+

TRUE if the credential has a password or FALSE otherwise.

Since: 2.2

@@ -1014,7 +1014,7 @@
void
 user_function (WebKitAuthenticationRequest *request,
                WebKitCredential            *credential,
-               gpointer                     user_data)
+ gpointer user_data)

This signal is emitted when the user authentication request succeeded. Applications handling their own credential storage should connect to this signal to save the credentials.

@@ -1045,7 +1045,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.30


@@ -1053,7 +1053,7 @@

The “cancelled” signal

void
 user_function (WebKitAuthenticationRequest *request,
-               gpointer                     user_data)
+ gpointer user_data)

This signal is emitted when the user authentication request is cancelled. It allows the application to dismiss its authentication dialog in case of page load failure for example.

@@ -1079,7 +1079,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.2

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitAutomationSession.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitAutomationSession.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitAutomationSession.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitAutomationSession.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitAutomationSession: WPE Reference Manual - + @@ -96,7 +96,7 @@ WebKitWebView* create-web-view -Has Details +Has Details @@ -121,7 +121,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitAutomationSession
 
@@ -226,7 +226,7 @@

Returns

the WebKitAutomationSession of session -, or NULL if no one has been set.

+, or NULL if no one has been set.

[transfer none]

Since: 2.18

@@ -289,7 +289,7 @@

The “create-web-view” signal

WebKitWebView*
 user_function (WebKitAutomationSession *session,
-               gpointer                 user_data)
+ gpointer user_data)

This signal is emitted when the automation client requests a new browsing context to interact with it. The callback handler should return a WebKitWebView created with “is-controlled-by-automation” @@ -328,7 +328,7 @@

a WebKitWebView widget.

[transfer none]

-

Flags: Has Details

+

Flags: Has Details

Since: 2.18

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitBackForwardList.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitBackForwardList.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitBackForwardList.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitBackForwardList.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitBackForwardList: WPE Reference Manual - + @@ -43,7 +43,7 @@ -guint +guint webkit_back_forward_list_get_length () @@ -83,7 +83,7 @@ -GList * +GList * webkit_back_forward_list_get_back_list () @@ -91,7 +91,7 @@ -GList * +GList * webkit_back_forward_list_get_back_list_with_limit () @@ -99,7 +99,7 @@ -GList * +GList * webkit_back_forward_list_get_forward_list () @@ -107,7 +107,7 @@ -GList * +GList * webkit_back_forward_list_get_forward_list_with_limit () @@ -127,7 +127,7 @@ void changed -Run Last +Run Last @@ -146,7 +146,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitBackForwardList
 
@@ -169,7 +169,7 @@

Functions

webkit_back_forward_list_get_length ()

-
guint
+
guint
 webkit_back_forward_list_get_length (WebKitBackForwardList *back_forward_list);

Parameters

@@ -218,7 +218,7 @@

Returns

a WebKitBackForwardListItem -or NULL if back_forward_list +or NULL if back_forward_list is empty.

[nullable][transfer none]

@@ -248,7 +248,7 @@

Returns

the WebKitBackForwardListItem -preceding the current item or NULL.

+preceding the current item or NULL.

[nullable][transfer none]

@@ -277,7 +277,7 @@

Returns

the WebKitBackForwardListItem -following the current item or NULL.

+following the current item or NULL.

[nullable][transfer none]

@@ -286,7 +286,7 @@

webkit_back_forward_list_get_nth_item ()

WebKitBackForwardListItem *
 webkit_back_forward_list_get_nth_item (WebKitBackForwardList *back_forward_list,
-                                       gint index);
+ gint index);

Returns the item at a given index relative to the current item.

Parameters

@@ -313,14 +313,14 @@

Returns

the WebKitBackForwardListItem -located at the specified index relative to the current item or NULL.

+located at the specified index relative to the current item or NULL.

[nullable][transfer none]


webkit_back_forward_list_get_back_list ()

-
GList *
+
GList *
 webkit_back_forward_list_get_back_list
                                (WebKitBackForwardList *back_forward_list);
@@ -340,7 +340,7 @@

Returns

-

a GList of +

a GList of items preceding the current item.

[element-type WebKit2.BackForwardListItem][transfer container]

@@ -348,10 +348,10 @@

webkit_back_forward_list_get_back_list_with_limit ()

-
GList *
+
GList *
 webkit_back_forward_list_get_back_list_with_limit
                                (WebKitBackForwardList *back_forward_list,
-                                guint limit);
+ guint limit);

Parameters

@@ -376,7 +376,7 @@

Returns

-

a GList of +

a GList of items preceding the current item limited by limit .

[element-type WebKit2.BackForwardListItem][transfer container]

@@ -385,7 +385,7 @@

webkit_back_forward_list_get_forward_list ()

-
GList *
+
GList *
 webkit_back_forward_list_get_forward_list
                                (WebKitBackForwardList *back_forward_list);
@@ -405,7 +405,7 @@

Returns

-

a GList of +

a GList of items following the current item.

[element-type WebKit2.BackForwardListItem][transfer container]

@@ -413,10 +413,10 @@

webkit_back_forward_list_get_forward_list_with_limit ()

-
GList *
+
GList *
 webkit_back_forward_list_get_forward_list_with_limit
                                (WebKitBackForwardList *back_forward_list,
-                                guint limit);
+ guint limit);

Parameters

@@ -441,7 +441,7 @@

Returns

-

a GList of +

a GList of items following the current item limited by limit .

[element-type WebKit2.BackForwardListItem][transfer container]

@@ -462,15 +462,15 @@
void
 user_function (WebKitBackForwardList     *back_forward_list,
                WebKitBackForwardListItem *item_added,
-               gpointer                   items_removed,
-               gpointer                   user_data)
+ gpointer items_removed, + gpointer user_data)

This signal is emitted when back_forward_list changes. This happens when the current item is updated, a new item is added or one or more items are removed. Note that both item_added and items_removed can -NULL when only the current item is updated. Items are only removed +NULL when only the current item is updated. Items are only removed when the list is cleared or the maximum items limit is reached.

Parameters

@@ -488,12 +488,12 @@
- + - + @@ -504,7 +504,7 @@

item_added

the WebKitBackForwardListItem added or NULL.

the WebKitBackForwardListItem added or NULL.

[allow-none]

items_removed

a GList of WebKitBackForwardListItems

a GList of WebKitBackForwardListItems

 
-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitBackForwardListItem.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitBackForwardListItem.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitBackForwardListItem.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitBackForwardListItem.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitBackForwardListItem: WPE Reference Manual - + @@ -41,21 +41,21 @@ -const gchar * +const gchar * webkit_back_forward_list_item_get_title () -const gchar * +const gchar * webkit_back_forward_list_item_get_uri () -const gchar * +const gchar * webkit_back_forward_list_item_get_original_uri () @@ -79,8 +79,8 @@

Object Hierarchy

-
    GObject
-    ╰── GInitiallyUnowned
+
    GObject
+    ╰── GInitiallyUnowned
         ╰── WebKitBackForwardListItem
 
@@ -93,7 +93,7 @@

Functions

webkit_back_forward_list_item_get_title ()

-
const gchar *
+
const gchar *
 webkit_back_forward_list_item_get_title
                                (WebKitBackForwardListItem *list_item);
@@ -114,14 +114,14 @@

Returns

the page title of list_item -or NULL +or NULL when the title is empty.


webkit_back_forward_list_item_get_uri ()

-
const gchar *
+
const gchar *
 webkit_back_forward_list_item_get_uri (WebKitBackForwardListItem *list_item);

This URI may differ from the original URI if the page was, for example, redirected to a new location. @@ -144,14 +144,14 @@

Returns

the URI of list_item -or NULL +or NULL when the URI is empty.


webkit_back_forward_list_item_get_original_uri ()

-
const gchar *
+
const gchar *
 webkit_back_forward_list_item_get_original_uri
                                (WebKitBackForwardListItem *list_item);

See also webkit_back_forward_list_item_get_uri().

@@ -173,7 +173,7 @@

Returns

the original URI of list_item -or NULL +or NULL when the original URI is empty.

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitColor.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitColor.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitColor.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitColor.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitColor: WPE Reference Manual - + @@ -41,7 +41,7 @@ -gboolean +gboolean webkit_color_parse () @@ -70,7 +70,7 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitColor
 
@@ -82,9 +82,9 @@

Functions

webkit_color_parse ()

-
gboolean
+
gboolean
 webkit_color_parse (WebKitColor *color,
-                    const gchar *color_string);
+ const gchar *color_string);

Create a new WebKitColor for the given color_string representation. There are two valid representation types: standard color @@ -114,7 +114,7 @@

Returns

-

a gboolean indicating if the color +

a gboolean indicating if the color was correctly filled in or not.

Since: 2.24

@@ -148,22 +148,22 @@ -

gdouble red;

+

gdouble red;

Red channel, between 0.0 and 1.0 inclusive

  -

gdouble green;

+

gdouble green;

Green channel, between 0.0 and 1.0 inclusive

  -

gdouble blue;

+

gdouble blue;

Blue channel, between 0.0 and 1.0 inclusive

  -

gdouble alpha;

+

gdouble alpha;

Alpha channel, between 0.0 and 1.0 inclusive

  diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitContextMenu.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitContextMenu.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitContextMenu.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitContextMenu.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitContextMenu: WPE Reference Manual - + @@ -90,7 +90,7 @@ -GList * +GList * webkit_context_menu_get_items () @@ -98,7 +98,7 @@ -guint +guint webkit_context_menu_get_n_items () @@ -154,7 +154,7 @@ -GVariant * +GVariant * webkit_context_menu_get_user_data () @@ -178,7 +178,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitContextMenu
 
@@ -217,7 +217,7 @@

webkit_context_menu_new_with_items ()

WebKitContextMenu *
-webkit_context_menu_new_with_items (GList *items);
+webkit_context_menu_new_with_items (GList *items);

Creates a new WebKitContextMenu object to be used as a submenu of an existing WebKitContextMenu with the given initial items. See also webkit_context_menu_new()

@@ -231,7 +231,7 @@

items

-

a GList of WebKitContextMenuItem.

+

a GList of WebKitContextMenuItem.

[element-type WebKitContextMenuItem]
@@ -311,7 +311,7 @@
void
 webkit_context_menu_insert (WebKitContextMenu *menu,
                             WebKitContextMenuItem *item,
-                            gint position);
+ gint position);

Inserts item into the menu at the given position. @@ -354,7 +354,7 @@

void
 webkit_context_menu_move_item (WebKitContextMenu *menu,
                                WebKitContextMenuItem *item,
-                               gint position);
+ gint position);

Moves item to the given position in the menu . @@ -395,7 +395,7 @@


webkit_context_menu_get_items ()

-
GList *
+
GList *
 webkit_context_menu_get_items (WebKitContextMenu *menu);

Returns the item list of menu .

@@ -416,7 +416,7 @@

Returns

-

a GList of +

a GList of WebKitContextMenuItems.

[element-type WebKitContextMenuItem][transfer none]

@@ -424,7 +424,7 @@

webkit_context_menu_get_n_items ()

-
guint
+
guint
 webkit_context_menu_get_n_items (WebKitContextMenu *menu);

Gets the length of the menu .

@@ -475,7 +475,7 @@

Returns

the first WebKitContextMenuItem of menu , -or NULL if the WebKitContextMenu is empty.

+or NULL if the WebKitContextMenu is empty.

[transfer none]

@@ -505,7 +505,7 @@

Returns

the last WebKitContextMenuItem of menu , -or NULL if the WebKitContextMenu is empty.

+or NULL if the WebKitContextMenu is empty.

[transfer none]

@@ -515,7 +515,7 @@
WebKitContextMenuItem *
 webkit_context_menu_get_item_at_position
                                (WebKitContextMenu *menu,
-                                guint position);
+ guint position);

Gets the item at the given position in the menu .

@@ -545,7 +545,7 @@

the WebKitContextMenuItem at position position in menu , -or NULL if the position is off the end of the menu +or NULL if the position is off the end of the menu .

[transfer none]

@@ -611,13 +611,13 @@

webkit_context_menu_set_user_data ()

void
 webkit_context_menu_set_user_data (WebKitContextMenu *menu,
-                                   GVariant *user_data);
+ GVariant *user_data);

Sets user data to menu . This function can be used from a Web Process extension to set user data that can be retrieved from the UI Process using webkit_context_menu_get_user_data(). If the user_data - GVariant is floating, it is consumed.

+ GVariant is floating, it is consumed.

Parameters

@@ -634,7 +634,7 @@ - + @@ -645,7 +645,7 @@

webkit_context_menu_get_user_data ()

-
GVariant *
+
GVariant *
 webkit_context_menu_get_user_data (WebKitContextMenu *menu);

Gets the user data of menu . @@ -669,7 +669,7 @@

Returns

the user data of menu -, or NULL if menu +, or NULL if menu doesn't have user data.

[transfer none]

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitContextMenuItem.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitContextMenuItem.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitContextMenuItem.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitContextMenuItem.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitContextMenuItem: WPE Reference Manual - + @@ -82,7 +82,7 @@
- + @@ -191,7 +191,7 @@ - + @@ -213,9 +213,9 @@ Stock actions are handled automatically by WebKit so that, for example, when a menu item created with a WEBKIT_CONTEXT_MENU_ACTION_STOP is activated the action associated will be handled by WebKit and the current -load operation will be stopped. You can get the GAction of a +load operation will be stopped. You can get the GAction of a WebKitContextMenuItem created with a WebKitContextMenuAction with -webkit_context_menu_item_get_gaction() and connect to the “activate” signal +webkit_context_menu_item_get_gaction() and connect to the “activate” signal to be notified when the item is activated, but you can't prevent the associated action from being performed.

@@ -244,7 +244,7 @@
WebKitContextMenuItem *
 webkit_context_menu_item_new_from_stock_action_with_label
                                (WebKitContextMenuAction action,
-                                const gchar *label);
+ const gchar *label);

Creates a new WebKitContextMenuItem for the given stock action using the given label . Stock actions have a predefined label, this method can be used to create a @@ -281,7 +281,7 @@

webkit_context_menu_item_new_with_submenu ()

WebKitContextMenuItem *
 webkit_context_menu_item_new_with_submenu
-                               (const gchar *label,
+                               (const gchar *label,
                                 WebKitContextMenu *submenu);

Creates a new WebKitContextMenuItem using the given label with a submenu.

@@ -327,10 +327,10 @@

webkit_context_menu_item_get_gaction ()

-
GAction *
+
GAction *
 webkit_context_menu_item_get_gaction (WebKitContextMenuItem *item);

Gets the action associated to item - as a GAction.

+ as a GAction.

Parameters

user_data

a GVariant

a GVariant

 
-GAction * +GAction * webkit_context_menu_item_get_gaction () @@ -98,7 +98,7 @@
-gboolean +gboolean webkit_context_menu_item_is_separator () @@ -144,8 +144,8 @@

Object Hierarchy

-
    GObject
-    ╰── GInitiallyUnowned
+
    GObject
+    ╰── GInitiallyUnowned
         ╰── WebKitContextMenuItem
 
@@ -162,9 +162,9 @@

webkit_context_menu_item_new_from_gaction ()

WebKitContextMenuItem *
 webkit_context_menu_item_new_from_gaction
-                               (GAction *action,
-                                const gchar *label,
-                                GVariant *target);
+ (GAction *action, + const gchar *label, + GVariant *target);

Creates a new WebKitContextMenuItem for the given action and label . On activation @@ -181,7 +181,7 @@

action

a GAction

a GAction

 

target

a GVariant to use as the action target.

a GVariant to use as the action target.

[allow-none]
@@ -348,8 +348,8 @@

Returns

-

the GAction associated to the WebKitContextMenuItem, -or NULL if item +

the GAction associated to the WebKitContextMenuItem, +or NULL if item is a separator.

[transfer none]

@@ -390,7 +390,7 @@

webkit_context_menu_item_is_separator ()

-
gboolean
+
gboolean
 webkit_context_menu_item_is_separator (WebKitContextMenuItem *item);

Checks whether item is a separator.

@@ -411,8 +411,8 @@

Returns

-

TRUE is item -is a separator or FALSE otherwise

+

TRUE is item +is a separator or FALSE otherwise


@@ -423,7 +423,7 @@ WebKitContextMenu *submenu);

Sets or replaces the item submenu. If submenu - is NULL the current + is NULL the current submenu of item is removed.

@@ -475,7 +475,7 @@

Returns

the WebKitContextMenu representing the submenu of item -or NULL if item +or NULL if item doesn't have a submenu.

[transfer none]

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitCookieManager.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitCookieManager.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitCookieManager.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitCookieManager.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitCookieManager: WPE Reference Manual - + @@ -83,7 +83,7 @@ - +
-gboolean +gboolean webkit_cookie_manager_add_cookie_finish () @@ -99,7 +99,7 @@
-GList * +GList * webkit_cookie_manager_get_cookies_finish () @@ -115,7 +115,7 @@
-gboolean +gboolean webkit_cookie_manager_delete_cookie_finish () @@ -135,7 +135,7 @@
void changedRun LastRun Last
@@ -164,7 +164,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitCookieManager
 
@@ -183,7 +183,7 @@
void
 webkit_cookie_manager_set_persistent_storage
                                (WebKitCookieManager *cookie_manager,
-                                const gchar *filename,
+                                const gchar *filename,
                                 WebKitCookiePersistentStorage storage);

Set the filename where non-session cookies are stored persistently using @@ -270,9 +270,9 @@

void
 webkit_cookie_manager_get_accept_policy
                                (WebKitCookieManager *cookie_manager,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously get the cookie acceptance policy of cookie_manager . Note that when policy was set to WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY and @@ -297,12 +297,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -320,8 +320,8 @@
WebKitCookieAcceptPolicy
 webkit_cookie_manager_get_accept_policy_finish
                                (WebKitCookieManager *cookie_manager,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_cookie_manager_get_accept_policy().

Parameters

@@ -339,12 +339,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -361,11 +361,11 @@

webkit_cookie_manager_add_cookie ()

void
 webkit_cookie_manager_add_cookie (WebKitCookieManager *cookie_manager,
-                                  SoupCookie *cookie,
-                                  GCancellable *cancellable,
-                                  GAsyncReadyCallback callback,
-                                  gpointer user_data);
-

Asynchronously add a SoupCookie to the underlying storage.

+ SoupCookie *cookie, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +

Asynchronously add a SoupCookie to the underlying storage.

When the operation is finished, callback will be called. You can then call webkit_cookie_manager_add_cookie_finish() to get the result of the operation.

@@ -385,17 +385,17 @@

cookie

-

the SoupCookie to be added

+

the SoupCookie to be added

 

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -411,11 +411,11 @@

webkit_cookie_manager_add_cookie_finish ()

-
gboolean
+
gboolean
 webkit_cookie_manager_add_cookie_finish
                                (WebKitCookieManager *cookie_manager,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_cookie_manager_add_cookie().

Parameters

@@ -433,12 +433,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -446,7 +446,7 @@

Returns

-

TRUE if the cookie was added or FALSE in case of error.

+

TRUE if the cookie was added or FALSE in case of error.

Since: 2.20

@@ -455,11 +455,11 @@

webkit_cookie_manager_get_cookies ()

void
 webkit_cookie_manager_get_cookies (WebKitCookieManager *cookie_manager,
-                                   const gchar *uri,
-                                   GCancellable *cancellable,
-                                   GAsyncReadyCallback callback,
-                                   gpointer user_data);
-

Asynchronously get a list of SoupCookie from cookie_manager + const gchar *uri, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +

Asynchronously get a list of SoupCookie from cookie_manager associated with uri , which must be either an HTTP or an HTTPS URL.

@@ -487,12 +487,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -508,14 +508,14 @@

webkit_cookie_manager_get_cookies_finish ()

-
GList *
+
GList *
 webkit_cookie_manager_get_cookies_finish
                                (WebKitCookieManager *cookie_manager,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_cookie_manager_get_cookies(). -The return value is a GSList of SoupCookie instances which should be released -with g_list_free_full() and soup_cookie_free().

+The return value is a GSList of SoupCookie instances which should be released +with g_list_free_full() and soup_cookie_free().

Parameters

@@ -532,12 +532,12 @@ - + - + @@ -545,7 +545,7 @@

Returns

-

A GList of SoupCookie instances.

+

A GList of SoupCookie instances.

[element-type SoupCookie][transfer full]

Since: 2.20

@@ -555,11 +555,11 @@

webkit_cookie_manager_delete_cookie ()

void
 webkit_cookie_manager_delete_cookie (WebKitCookieManager *cookie_manager,
-                                     SoupCookie *cookie,
-                                     GCancellable *cancellable,
-                                     GAsyncReadyCallback callback,
-                                     gpointer user_data);
-

Asynchronously delete a SoupCookie from the current session.

+ SoupCookie *cookie, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +

Asynchronously delete a SoupCookie from the current session.

When the operation is finished, callback will be called. You can then call webkit_cookie_manager_delete_cookie_finish() to get the result of the operation.

@@ -579,17 +579,17 @@ - + - + - + @@ -605,11 +605,11 @@

webkit_cookie_manager_delete_cookie_finish ()

-
gboolean
+
gboolean
 webkit_cookie_manager_delete_cookie_finish
                                (WebKitCookieManager *cookie_manager,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_cookie_manager_delete_cookie().

Parameters

@@ -627,12 +627,12 @@
- + - + @@ -640,7 +640,7 @@

Returns

-

TRUE if the cookie was deleted or FALSE in case of error.

+

TRUE if the cookie was deleted or FALSE in case of error.

Since: 2.20

@@ -729,7 +729,7 @@

The “changed” signal

void
 user_function (WebKitCookieManager *cookie_manager,
-               gpointer             user_data)
+ gpointer user_data)

This signal is emitted when cookies are added, removed or modified.

Parameters

@@ -753,7 +753,7 @@

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

cookie

the SoupCookie to be deleted

the SoupCookie to be deleted

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when the request is satisfied.

a GAsyncReadyCallback to call when the request is satisfied.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 
-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitDownload.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitDownload.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitDownload.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitDownload.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitDownload: WPE Reference Manual - + @@ -51,7 +51,7 @@ -const gchar * +const gchar * webkit_download_get_destination () @@ -83,7 +83,7 @@ -gdouble +gdouble webkit_download_get_estimated_progress () @@ -91,7 +91,7 @@ -gdouble +gdouble webkit_download_get_elapsed_time () @@ -99,7 +99,7 @@ -guint64 +guint64 webkit_download_get_received_data_length () @@ -115,7 +115,7 @@ -gboolean +gboolean webkit_download_get_allow_overwrite () @@ -142,7 +142,7 @@ -gboolean +gboolean allow-overwrite Read / Write @@ -178,27 +178,27 @@ void created-destination -Run Last +Run Last -gboolean +gboolean decide-destination -Run Last +Run Last void failed -Run Last +Run Last void finished -Run Last +Run Last void received-data -Run Last +Run Last @@ -218,7 +218,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitDownload
 
@@ -263,7 +263,7 @@

webkit_download_get_destination ()

-
const gchar *
+
const gchar *
 webkit_download_get_destination (WebKitDownload *download);

Obtains the URI to which the downloaded file will be written. You can connect to “created-destination” to make @@ -285,7 +285,7 @@

Returns

-

the destination URI or NULL

+

the destination URI or NULL


@@ -293,7 +293,7 @@

webkit_download_set_destination ()

void
 webkit_download_set_destination (WebKitDownload *download,
-                                 const gchar *uri);
+ const gchar *uri);

Sets the URI to which the downloaded file will be written. This method should be called before the download transfer starts or it will not have any effect on the ongoing download @@ -306,7 +306,7 @@ If “decide-destination” signal is not handled and destination URI is not set when the download transfer starts, the file will be saved with the filename suggested by the server in -G_USER_DIRECTORY_DOWNLOAD directory.

+G_USER_DIRECTORY_DOWNLOAD directory.

Parameters

@@ -336,7 +336,7 @@
WebKitURIResponse *
 webkit_download_get_response (WebKitDownload *download);

Retrieves the WebKitURIResponse object that backs the download -process. This method returns NULL if called before the response +process. This method returns NULL if called before the response is received from the server. You can connect to notify::response signal to be notified when the response is received.

@@ -356,7 +356,7 @@

Returns

-

the WebKitURIResponse, or NULL if +

the WebKitURIResponse, or NULL if the response hasn't been received yet.

[transfer none]

@@ -389,7 +389,7 @@

webkit_download_get_estimated_progress ()

-
gdouble
+
gdouble
 webkit_download_get_estimated_progress
                                (WebKitDownload *download);

Gets the value of the “estimated-progress” property. @@ -420,7 +420,7 @@


webkit_download_get_elapsed_time ()

-
gdouble
+
gdouble
 webkit_download_get_elapsed_time (WebKitDownload *download);

Gets the elapsed time in seconds, including any fractional part. If the download finished, had an error or was cancelled this is @@ -448,7 +448,7 @@


webkit_download_get_received_data_length ()

-
guint64
+
guint64
 webkit_download_get_received_data_length
                                (WebKitDownload *download);

Gets the length of the data already downloaded for download @@ -499,7 +499,7 @@

Returns

the WebKitWebView that initiated download , -or NULL if download +or NULL if download was not initiated by a WebKitWebView.

[transfer none]

@@ -507,7 +507,7 @@

webkit_download_get_allow_overwrite ()

-
gboolean
+
gboolean
 webkit_download_get_allow_overwrite (WebKitDownload *download);

Returns the current value of the “allow-overwrite” property, which determines whether the download will overwrite an existing file on @@ -538,7 +538,7 @@

webkit_download_set_allow_overwrite ()

void
 webkit_download_set_allow_overwrite (WebKitDownload *download,
-                                     gboolean allowed);
+ gboolean allowed);

Sets the “allow-overwrite” property, which determines whether the download may overwrite an existing file on disk, or if it will fail if the destination already exists.

@@ -578,9 +578,9 @@

Property Details

The “allow-overwrite” property

-
  “allow-overwrite”          gboolean
+
  “allow-overwrite”          gboolean

Whether or not the download is allowed to overwrite an existing file on -disk. If this property is FALSE and the destination already exists, +disk. If this property is FALSE and the destination already exists, the download will fail.

Owner: WebKitDownload

Flags: Read / Write

@@ -627,7 +627,7 @@
void
 user_function (WebKitDownload *download,
                char           *destination,
-               gpointer        user_data)
+ gpointer user_data)

This signal is emitted after “decide-destination” and before “received-data” to notify that destination file has been created successfully at destination @@ -659,18 +659,18 @@

-

Flags: Run Last

+

Flags: Run Last


The “decide-destination” signal

-
gboolean
+
gboolean
 user_function (WebKitDownload *download,
                char           *suggested_filename,
-               gpointer        user_data)
+ gpointer user_data)

This signal is emitted after response is received to decide a destination URI for the download. If this signal is not -handled the file will be downloaded to G_USER_DIRECTORY_DOWNLOAD +handled the file will be downloaded to G_USER_DIRECTORY_DOWNLOAD directory using suggested_filename .

@@ -702,18 +702,18 @@

Returns

-

TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

+

TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

-

Flags: Run Last

+

Flags: Run Last


The “failed” signal

void
 user_function (WebKitDownload *download,
-               GError         *error,
-               gpointer        user_data)
+ GError *error, + gpointer user_data)

This signal is emitted when an error occurs during the download operation. The given error , of the domain WEBKIT_DOWNLOAD_ERROR, @@ -737,7 +737,7 @@

error

-

the GError that was triggered

+

the GError that was triggered

  @@ -748,14 +748,14 @@
-

Flags: Run Last

+

Flags: Run Last


The “finished” signal

void
 user_function (WebKitDownload *download,
-               gpointer        user_data)
+ gpointer user_data)

This signal is emitted when download finishes successfully or due to an error. In case of errors “failed” signal is emitted before this one.

@@ -780,15 +780,15 @@
-

Flags: Run Last

+

Flags: Run Last


The “received-data” signal

void
 user_function (WebKitDownload *download,
-               guint64         data_length,
-               gpointer        user_data)
+ guint64 data_length, + gpointer user_data)

This signal is emitted after response is received, every time new data has been written to the destination. It's useful to know the progress of the download operation.

@@ -819,7 +819,7 @@
-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitEditorState.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitEditorState.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitEditorState.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitEditorState.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitEditorState: WPE Reference Manual - + @@ -43,7 +43,7 @@ -guint +guint webkit_editor_state_get_typing_attributes () @@ -51,7 +51,7 @@ -gboolean +gboolean webkit_editor_state_is_cut_available () @@ -59,7 +59,7 @@ -gboolean +gboolean webkit_editor_state_is_copy_available () @@ -67,7 +67,7 @@ -gboolean +gboolean webkit_editor_state_is_paste_available () @@ -75,7 +75,7 @@ -gboolean +gboolean webkit_editor_state_is_undo_available () @@ -83,7 +83,7 @@ -gboolean +gboolean webkit_editor_state_is_redo_available () @@ -101,7 +101,7 @@ -guint +guint typing-attributes Read @@ -128,7 +128,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitEditorState
 
@@ -142,7 +142,7 @@

Functions

webkit_editor_state_get_typing_attributes ()

-
guint
+
guint
 webkit_editor_state_get_typing_attributes
                                (WebKitEditorState *editor_state);

Gets the typing attributes at the current cursor position. @@ -174,7 +174,7 @@


webkit_editor_state_is_cut_available ()

-
gboolean
+
gboolean
 webkit_editor_state_is_cut_available (WebKitEditorState *editor_state);

Gets whether a cut command can be issued.

@@ -194,14 +194,14 @@

Returns

-

TRUE if cut is currently available

+

TRUE if cut is currently available

Since: 2.20


webkit_editor_state_is_copy_available ()

-
gboolean
+
gboolean
 webkit_editor_state_is_copy_available (WebKitEditorState *editor_state);

Gets whether a copy command can be issued.

@@ -221,14 +221,14 @@

Returns

-

TRUE if copy is currently available

+

TRUE if copy is currently available

Since: 2.20


webkit_editor_state_is_paste_available ()

-
gboolean
+
gboolean
 webkit_editor_state_is_paste_available
                                (WebKitEditorState *editor_state);

Gets whether a paste command can be issued.

@@ -249,14 +249,14 @@

Returns

-

TRUE if paste is currently available

+

TRUE if paste is currently available

Since: 2.20


webkit_editor_state_is_undo_available ()

-
gboolean
+
gboolean
 webkit_editor_state_is_undo_available (WebKitEditorState *editor_state);

Gets whether an undo command can be issued.

@@ -276,14 +276,14 @@

Returns

-

TRUE if undo is currently available

+

TRUE if undo is currently available

Since: 2.20


webkit_editor_state_is_redo_available ()

-
gboolean
+
gboolean
 webkit_editor_state_is_redo_available (WebKitEditorState *editor_state);

Gets whether a redo command can be issued.

@@ -303,7 +303,7 @@

Returns

-

TRUE if redo is currently available

+

TRUE if redo is currently available

Since: 2.20

@@ -372,7 +372,7 @@

Property Details

The “typing-attributes” property

-
  “typing-attributes”        guint
+
  “typing-attributes”        guint

Bitmask of WebKitEditorTypingAttributes flags. See webkit_editor_state_get_typing_attributes() for more information.

Owner: WebKitEditorState

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFaviconDatabase.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFaviconDatabase.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFaviconDatabase.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFaviconDatabase.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitFaviconDatabase: WPE Reference Manual - + @@ -43,7 +43,7 @@ -gchar * +gchar * webkit_favicon_database_get_favicon_uri () @@ -71,7 +71,7 @@ void favicon-changed -Run Last +Run Last
@@ -100,7 +100,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitFaviconDatabase
 
@@ -112,7 +112,7 @@ elements on opened pages as well as an existing favicon.ico and load the images found into a memory cache if possible. That cache is frozen to an on-disk database for persistence.

-

If “enable-private-browsing” is TRUE, new icons +

If “enable-private-browsing” is TRUE, new icons won't be added to the on-disk database and no existing icons will be deleted from it. Nevertheless, WebKit will still store them in the in-memory cache during the current execution.

@@ -121,10 +121,10 @@

Functions

webkit_favicon_database_get_favicon_uri ()

-
gchar *
+
gchar *
 webkit_favicon_database_get_favicon_uri
                                (WebKitFaviconDatabase *database,
-                                const gchar *page_uri);
+ const gchar *page_uri);

Obtains the URI of the favicon for the given page_uri .

@@ -151,7 +151,7 @@

Returns

-

a newly allocated URI for the favicon, or NULL if the +

a newly allocated URI for the favicon, or NULL if the database doesn't have a favicon for page_uri .

@@ -238,15 +238,15 @@ user_function (WebKitFaviconDatabase *database, char *page_uri, char *favicon_uri, - gpointer user_data) + gpointer user_data)

This signal is emitted when the favicon URI of page_uri has been changed to favicon_uri in the database. You can connect -to this signal and call webkit_favicon_database_get_favicon() +to this signal and call webkit_favicon_database_get_favicon() to get the favicon. If you are interested in the favicon of a -WebKitWebView it's easier to use the “favicon” -property. See webkit_web_view_get_favicon() for more details.

+WebKitWebView it's easier to use the “favicon” +property. See webkit_web_view_get_favicon() for more details.

Parameters

@@ -279,7 +279,7 @@
-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFileChooserRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFileChooserRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFileChooserRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFileChooserRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitFileChooserRequest: WPE Reference Manual - + @@ -42,7 +42,7 @@ -const gchar * const * +const gchar * const * webkit_file_chooser_request_get_mime_types () @@ -50,7 +50,7 @@ -gboolean +gboolean webkit_file_chooser_request_get_select_multiple () @@ -65,7 +65,7 @@ -const gchar * const * +const gchar * const * webkit_file_chooser_request_get_selected_files () @@ -92,17 +92,17 @@ -GStrv +GStrv mime-types Read -gboolean +gboolean select-multiple Read -GStrv +GStrv selected-files Read @@ -124,7 +124,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitFileChooserRequest
 
@@ -150,7 +150,7 @@

Functions

webkit_file_chooser_request_get_mime_types ()

-
const gchar * const *
+
const gchar * const *
 webkit_file_chooser_request_get_mime_types
                                (WebKitFileChooserRequest *request);

Get the list of MIME types the file chooser dialog should handle, @@ -177,8 +177,8 @@

Returns

a -NULL-terminated array of strings if a list of accepted MIME types -is defined or NULL otherwise, meaning that any MIME type should be +NULL-terminated array of strings if a list of accepted MIME types +is defined or NULL otherwise, meaning that any MIME type should be accepted. This array and its contents are owned by WebKit and should not be modified or freed.

[array zero-terminated=1][transfer none]

@@ -187,7 +187,7 @@

webkit_file_chooser_request_get_select_multiple ()

-
gboolean
+
gboolean
 webkit_file_chooser_request_get_select_multiple
                                (WebKitFileChooserRequest *request);

Determine whether the file chooser associated to this @@ -211,7 +211,7 @@

Returns

-

TRUE if the file chooser should allow selecting multiple files or FALSE otherwise.

+

TRUE if the file chooser should allow selecting multiple files or FALSE otherwise.


@@ -220,7 +220,7 @@
void
 webkit_file_chooser_request_select_files
                                (WebKitFileChooserRequest *request,
-                                const gchar * const *files);
+ const gchar * const *files);

Ask WebKit to select local files for upload and complete the request.

@@ -240,7 +240,7 @@

files

a -NULL-terminated array of strings, containing paths to local files.

+NULL-terminated array of strings, containing paths to local files.

[array zero-terminated=1][transfer none] @@ -250,7 +250,7 @@

webkit_file_chooser_request_get_selected_files ()

-
const gchar * const *
+
const gchar * const *
 webkit_file_chooser_request_get_selected_files
                                (WebKitFileChooserRequest *request);

Get the list of selected files currently associated to the @@ -279,8 +279,8 @@

Returns

a -NULL-terminated array of strings if there are selected files -associated with the request or NULL otherwise. This array and its +NULL-terminated array of strings if there are selected files +associated with the request or NULL otherwise. This array and its contents are owned by WebKit and should not be modified or freed.

[array zero-terminated=1][transfer none]

@@ -323,8 +323,8 @@

Property Details

The “mime-types” property

-
  “mime-types”               GStrv
-

A NULL-terminated array of strings containing the list of MIME +

  “mime-types”               GStrv
+

A NULL-terminated array of strings containing the list of MIME types the file chooser dialog should handle. See webkit_file_chooser_request_get_mime_types() for more details.

Owner: WebKitFileChooserRequest

@@ -333,7 +333,7 @@

The “select-multiple” property

-
  “select-multiple”          gboolean
+
  “select-multiple”          gboolean

Whether the file chooser should allow selecting multiple files. See webkit_file_chooser_request_get_select_multiple() for @@ -345,8 +345,8 @@


The “selected-files” property

-
  “selected-files”           GStrv
-

A NULL-terminated array of strings containing the list of +

  “selected-files”           GStrv
+

A NULL-terminated array of strings containing the list of selected files associated to the current request. See webkit_file_chooser_request_get_selected_files() for more details.

Owner: WebKitFileChooserRequest

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFindController.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFindController.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFindController.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFindController.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitFindController: WPE Reference Manual - + @@ -75,7 +75,7 @@ -const gchar * +const gchar * webkit_find_controller_get_search_text () @@ -91,7 +91,7 @@ -guint32 +guint32 webkit_find_controller_get_options () @@ -99,7 +99,7 @@ -guint +guint webkit_find_controller_get_max_match_count () @@ -126,7 +126,7 @@ -guint +guint max-match-count Read @@ -162,17 +162,17 @@ void counted-matches -Run Last +Run Last void failed-to-find-text -Run Last +Run Last void found-text -Run Last +Run Last
@@ -198,7 +198,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitFindController
 
@@ -220,9 +220,9 @@

webkit_find_controller_search ()

void
 webkit_find_controller_search (WebKitFindController *find_controller,
-                               const gchar *search_text,
-                               guint32 find_options,
-                               guint max_match_count);
+ const gchar *search_text, + guint32 find_options, + guint max_match_count);

Looks for search_text in the WebKitWebView associated with find_controller @@ -239,7 +239,7 @@ method.

Note that if the number of matches is higher than max_match_count -then “found-text” will report G_MAXUINT matches +then “found-text” will report G_MAXUINT matches instead of the actual number.

Callers should call webkit_find_controller_search_finish() to finish the current search operation.

@@ -354,7 +354,7 @@

webkit_find_controller_get_search_text ()

-
const gchar *
+
const gchar *
 webkit_find_controller_get_search_text
                                (WebKitFindController *find_controller);

Gets the text that find_controller @@ -387,9 +387,9 @@

webkit_find_controller_count_matches ()

void
 webkit_find_controller_count_matches (WebKitFindController *find_controller,
-                                      const gchar *search_text,
-                                      guint32 find_options,
-                                      guint max_match_count);
+ const gchar *search_text, + guint32 find_options, + guint max_match_count);

Counts the number of matches for search_text found in the WebKitWebView with the provided find_options @@ -432,7 +432,7 @@


webkit_find_controller_get_options ()

-
guint32
+
guint32
 webkit_find_controller_get_options (WebKitFindController *find_controller);

Gets a bitmask containing the WebKitFindOptions associated with the current search.

@@ -460,7 +460,7 @@

webkit_find_controller_get_max_match_count ()

-
guint
+
guint
 webkit_find_controller_get_max_match_count
                                (WebKitFindController *find_controller);

Gets the maximum number of matches to report during a text @@ -591,7 +591,7 @@

Property Details

The “max-match-count” property

-
  “max-match-count”          guint
+
  “max-match-count”          guint

The maximum number of matches to report for a given search.

Owner: WebKitFindController

Flags: Read

@@ -629,8 +629,8 @@

The “counted-matches” signal

void
 user_function (WebKitFindController *find_controller,
-               guint                 match_count,
-               gpointer              user_data)
+ guint match_count, + gpointer user_data)

This signal is emitted when the WebKitFindController has counted the number of matches for a given text after a call to webkit_find_controller_count_matches().

@@ -661,14 +661,14 @@
-

Flags: Run Last

+

Flags: Run Last


The “failed-to-find-text” signal

void
 user_function (WebKitFindController *find_controller,
-               gpointer              user_data)
+ gpointer user_data)

This signal is emitted when a search operation does not find any result for the given text. It will be issued if the text is not found asynchronously after a call to @@ -696,15 +696,15 @@

-

Flags: Run Last

+

Flags: Run Last


The “found-text” signal

void
 user_function (WebKitFindController *find_controller,
-               guint                 match_count,
-               gpointer              user_data)
+ guint match_count, + gpointer user_data)

This signal is emitted when a given text is found in the web page text. It will be issued if the text is found asynchronously after a call to webkit_find_controller_search(), @@ -737,7 +737,7 @@

-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFormSubmissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFormSubmissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitFormSubmissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitFormSubmissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitFormSubmissionRequest: WPE Reference Manual - + @@ -42,7 +42,7 @@ -gboolean +gboolean webkit_form_submission_request_list_text_fields () @@ -74,7 +74,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitFormSubmissionRequest
 
@@ -91,16 +91,16 @@

Functions

webkit_form_submission_request_list_text_fields ()

-
gboolean
+
gboolean
 webkit_form_submission_request_list_text_fields
                                (WebKitFormSubmissionRequest *request,
-                                GPtrArray **field_names,
-                                GPtrArray **field_values);
+ GPtrArray **field_names, + GPtrArray **field_values);

Get lists with the names and values of the text fields contained in the form associated to request . Note that names and values may be -NULL.

-

If this function returns FALSE, then both field_names +NULL.

+

If this function returns FALSE, then both field_names and field_values will be empty.

@@ -133,7 +133,7 @@

Returns

-

TRUE if the form contains text fields, or FALSE otherwise

+

TRUE if the form contains text fields, or FALSE otherwise

Since: 2.20

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitGeolocationPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitGeolocationPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitGeolocationPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitGeolocationPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitGeolocationPermissionRequest: WPE Reference Manual - + @@ -48,7 +48,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitGeolocationPermissionRequest
 
@@ -69,13 +69,13 @@ application identifier to allow web content to use geolocation services. The identifier *must* match the name of the .desktop file which describes the application, sans the suffix.

-

If your application uses GApplication (or any subclass like +

If your application uses GApplication (or any subclass like GtkApplication), WebKit will automatically use the identifier returned by -g_application_get_application_id(). This is the recommended approach for +g_application_get_application_id(). This is the recommended approach for enabling geolocation in applications.

-

If an identifier cannot be obtained through GApplication, the value -returned by g_get_prgname() will be used instead as a fallback. For -programs which cannot use GApplication, calling g_set_prgname() early +

If an identifier cannot be obtained through GApplication, the value +returned by g_get_prgname() will be used instead as a fallback. For +programs which cannot use GApplication, calling g_set_prgname() early during initialization is needed when the name of the executable on disk does not match the name of a valid .desktop file.

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitHitTestResult.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitHitTestResult.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitHitTestResult.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitHitTestResult.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitHitTestResult: WPE Reference Manual - + @@ -43,7 +43,7 @@ -guint +guint webkit_hit_test_result_get_context () @@ -51,7 +51,7 @@ -gboolean +gboolean webkit_hit_test_result_context_is_link () @@ -59,7 +59,7 @@ -gboolean +gboolean webkit_hit_test_result_context_is_image () @@ -67,7 +67,7 @@ -gboolean +gboolean webkit_hit_test_result_context_is_media () @@ -75,7 +75,7 @@ -gboolean +gboolean webkit_hit_test_result_context_is_editable () @@ -83,7 +83,7 @@ -gboolean +gboolean webkit_hit_test_result_context_is_selection () @@ -91,42 +91,42 @@ -gboolean +gboolean webkit_hit_test_result_context_is_scrollbar () -const gchar * +const gchar * webkit_hit_test_result_get_link_uri () -const gchar * +const gchar * webkit_hit_test_result_get_link_title () -const gchar * +const gchar * webkit_hit_test_result_get_link_label () -const gchar * +const gchar * webkit_hit_test_result_get_image_uri () -const gchar * +const gchar * webkit_hit_test_result_get_media_uri () @@ -145,7 +145,7 @@ -guint +guint context Read / Write / Construct Only @@ -203,7 +203,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitHitTestResult
 
@@ -230,7 +230,7 @@

Functions

webkit_hit_test_result_get_context ()

-
guint
+
guint
 webkit_hit_test_result_get_context (WebKitHitTestResult *hit_test_result);

Gets the value of the “context” property.

@@ -256,7 +256,7 @@

webkit_hit_test_result_context_is_link ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_link
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK flag is present in @@ -278,14 +278,14 @@

Returns

-

TRUE if there's a link element in the coordinates of the Hit Test, -or FALSE otherwise

+

TRUE if there's a link element in the coordinates of the Hit Test, +or FALSE otherwise


webkit_hit_test_result_context_is_image ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_image
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE flag is present in @@ -307,14 +307,14 @@

Returns

-

TRUE if there's an image element in the coordinates of the Hit Test, -or FALSE otherwise

+

TRUE if there's an image element in the coordinates of the Hit Test, +or FALSE otherwise


webkit_hit_test_result_context_is_media ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_media
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA flag is present in @@ -336,14 +336,14 @@

Returns

-

TRUE if there's a media element in the coordinates of the Hit Test, -or FALSE otherwise

+

TRUE if there's a media element in the coordinates of the Hit Test, +or FALSE otherwise


webkit_hit_test_result_context_is_editable ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_editable
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE flag is present in @@ -365,15 +365,15 @@

Returns

-

TRUE if there's an editable element at the coordinates of the hit_test_result +

TRUE if there's an editable element at the coordinates of the hit_test_result , -or FALSE otherwise

+or FALSE otherwise


webkit_hit_test_result_context_is_selection ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_selection
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION flag is present in @@ -395,16 +395,16 @@

Returns

-

TRUE if there's a selected element at the coordinates of the hit_test_result +

TRUE if there's a selected element at the coordinates of the hit_test_result , -or FALSE otherwise

+or FALSE otherwise

Since: 2.8


webkit_hit_test_result_context_is_scrollbar ()

-
gboolean
+
gboolean
 webkit_hit_test_result_context_is_scrollbar
                                (WebKitHitTestResult *hit_test_result);

Gets whether WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR flag is present in @@ -426,15 +426,15 @@

Returns

-

TRUE if there's a scrollbar element at the coordinates of the hit_test_result +

TRUE if there's a scrollbar element at the coordinates of the hit_test_result , -or FALSE otherwise

+or FALSE otherwise


webkit_hit_test_result_get_link_uri ()

-
const gchar *
+
const gchar *
 webkit_hit_test_result_get_link_uri (WebKitHitTestResult *hit_test_result);

Gets the value of the “link-uri” property.

@@ -455,14 +455,14 @@

Returns

the URI of the link element in the coordinates of the Hit Test, -or NULL if there isn't a link element in hit_test_result +or NULL if there isn't a link element in hit_test_result context


webkit_hit_test_result_get_link_title ()

-
const gchar *
+
const gchar *
 webkit_hit_test_result_get_link_title (WebKitHitTestResult *hit_test_result);

Gets the value of the “link-title” property.

@@ -483,7 +483,7 @@

Returns

the title of the link element in the coordinates of the Hit Test, -or NULL if there isn't a link element in hit_test_result +or NULL if there isn't a link element in hit_test_result context or the link element doesn't have a title

@@ -491,7 +491,7 @@

webkit_hit_test_result_get_link_label ()

-
const gchar *
+
const gchar *
 webkit_hit_test_result_get_link_label (WebKitHitTestResult *hit_test_result);

Gets the value of the “link-label” property.

@@ -512,7 +512,7 @@

Returns

the label of the link element in the coordinates of the Hit Test, -or NULL if there isn't a link element in hit_test_result +or NULL if there isn't a link element in hit_test_result context or the link element doesn't have a label

@@ -520,7 +520,7 @@

webkit_hit_test_result_get_image_uri ()

-
const gchar *
+
const gchar *
 webkit_hit_test_result_get_image_uri (WebKitHitTestResult *hit_test_result);

Gets the value of the “image-uri” property.

@@ -541,14 +541,14 @@

Returns

the URI of the image element in the coordinates of the Hit Test, -or NULL if there isn't an image element in hit_test_result +or NULL if there isn't an image element in hit_test_result context


webkit_hit_test_result_get_media_uri ()

-
const gchar *
+
const gchar *
 webkit_hit_test_result_get_media_uri (WebKitHitTestResult *hit_test_result);

Gets the value of the “media-uri” property.

@@ -569,7 +569,7 @@

Returns

the URI of the media element in the coordinates of the Hit Test, -or NULL if there isn't a media element in hit_test_result +or NULL if there isn't a media element in hit_test_result context

@@ -651,7 +651,7 @@

Property Details

The “context” property

-
  “context”                  guint
+
  “context”                  guint

Bitmask of WebKitHitTestResultContext flags representing the context of the WebKitHitTestResult.

Owner: WebKitHitTestResult

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitInputMethodContext.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitInputMethodContext.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitInputMethodContext.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitInputMethodContext.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitInputMethodContext: WPE Reference Manual - + @@ -60,7 +60,7 @@ -gboolean +gboolean webkit_input_method_context_filter_key_event () @@ -207,27 +207,27 @@ void committed -Run Last +Run Last void delete-surrounding -Run Last +Run Last void preedit-changed -Run Last +Run Last void preedit-finished -Run Last +Run Last void preedit-started -Run Last +Run Last
@@ -261,9 +261,9 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitInputMethodUnderline
-    GObject
+    GObject
     ╰── WebKitInputMethodContext
 
@@ -284,7 +284,7 @@
void
 webkit_input_method_context_set_enable_preedit
                                (WebKitInputMethodContext *context,
-                                gboolean enabled);
+ gboolean enabled);

Set whether context should enable preedit to display feedback.

@@ -318,8 +318,8 @@ webkit_input_method_context_get_preedit (WebKitInputMethodContext *context, char **text, - GList **underlines, - guint *cursor_offset);
+ GList **underlines, + guint *cursor_offset);

Get the current preedit string for the context , and a list of WebKitInputMethodUnderline to apply to the string. The string will be displayed inserted at cursor_offset @@ -345,7 +345,7 @@

underlines

-

location to store the underlines as a GList of WebKitInputMethodUnderline.

+

location to store the underlines as a GList of WebKitInputMethodUnderline.

[out][transfer full][nullable][element-type WebKit2.InputMethodUnderline] @@ -361,7 +361,7 @@

webkit_input_method_context_filter_key_event ()

-
gboolean
+
gboolean
 webkit_input_method_context_filter_key_event
                                (WebKitInputMethodContext *context,
                                 struct wpe_input_keyboard_event *key_event);
@@ -473,10 +473,10 @@
void
 webkit_input_method_context_notify_surrounding
                                (WebKitInputMethodContext *context,
-                                const gchar *text,
+                                const gchar *text,
                                 int length,
-                                guint cursor_index,
-                                guint selection_index);
+ guint cursor_index, + guint selection_index);

Notify context that the context surrounding the cursor has changed. If there's no selection selection_index @@ -651,8 +651,8 @@

webkit_input_method_underline_new ()

WebKitInputMethodUnderline *
-webkit_input_method_underline_new (guint start_offset,
-                                   guint end_offset);
+webkit_input_method_underline_new (guint start_offset, + guint end_offset);

Create a new WebKitInputMethodUnderline for the given range in preedit string

Parameters

@@ -915,7 +915,7 @@
void
 user_function (WebKitInputMethodContext *context,
                char                     *text,
-               gpointer                  user_data)
+ gpointer user_data)

Emitted when a complete input sequence has been entered by the user. This can be a single character immediately after a key press or the final result of preediting.

@@ -946,7 +946,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.28


@@ -955,8 +955,8 @@
void
 user_function (WebKitInputMethodContext *context,
                int                       offset,
-               guint                     n_chars,
-               gpointer                  user_data)
+ guint n_chars, + gpointer user_data)

Emitted when the input method wants to delete the context surrounding the cursor. If offset is a negative value, it means a position before the cursor.

@@ -992,7 +992,7 @@ -

Flags: Run Last

+

Flags: Run Last

Since: 2.28


@@ -1000,7 +1000,7 @@

The “preedit-changed” signal

void
 user_function (WebKitInputMethodContext *context,
-               gpointer                  user_data)
+ gpointer user_data)

Emitted whenever the preedit sequence currently being entered has changed. It is also emitted at the end of a preedit sequence, in which case webkit_input_method_context_get_preedit() returns the empty string.

@@ -1026,7 +1026,7 @@ -

Flags: Run Last

+

Flags: Run Last

Since: 2.28


@@ -1034,7 +1034,7 @@

The “preedit-finished” signal

void
 user_function (WebKitInputMethodContext *context,
-               gpointer                  user_data)
+ gpointer user_data)

Emitted when a preediting sequence has been completed or canceled.

Parameters

@@ -1058,7 +1058,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.28


@@ -1066,7 +1066,7 @@

The “preedit-started” signal

void
 user_function (WebKitInputMethodContext *context,
-               gpointer                  user_data)
+ gpointer user_data)

Emitted when a new preediting sequence starts.

Parameters

@@ -1090,7 +1090,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.28

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitInstallMissingMediaPluginsPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitInstallMissingMediaPluginsPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitInstallMissingMediaPluginsPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitInstallMissingMediaPluginsPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitInstallMissingMediaPluginsPermissionRequest: WPE Reference Manual - + @@ -41,7 +41,7 @@ -const gchar * +const gchar * webkit_install_missing_media_plugins_permission_request_get_description () @@ -64,7 +64,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitInstallMissingMediaPluginsPermissionRequest
 
@@ -87,7 +87,7 @@

Functions

webkit_install_missing_media_plugins_permission_request_get_description ()

-
const gchar *
+
const gchar *
 webkit_install_missing_media_plugins_permission_request_get_description
                                (WebKitInstallMissingMediaPluginsPermissionRequest *request);

Gets the description about the missing plugins provided by the media backend when a media couldn't be played.

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitMediaKeySystemPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitMediaKeySystemPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitMediaKeySystemPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitMediaKeySystemPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitMediaKeySystemPermissionRequest: WPE Reference Manual - + @@ -41,7 +41,7 @@ -const gchar * +const gchar * webkit_media_key_system_permission_get_name () @@ -64,7 +64,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitMediaKeySystemPermissionRequest
 
@@ -88,7 +88,7 @@

Functions

webkit_media_key_system_permission_get_name ()

-
const gchar *
+
const gchar *
 webkit_media_key_system_permission_get_name
                                (WebKitMediaKeySystemPermissionRequest *request);

Get the key system for which access permission is being requested.

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNavigationAction.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNavigationAction.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNavigationAction.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNavigationAction.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitNavigationAction: WPE Reference Manual - + @@ -66,7 +66,7 @@ -guint +guint webkit_navigation_action_get_mouse_button () @@ -74,7 +74,7 @@ -guint +guint webkit_navigation_action_get_modifiers () @@ -90,7 +90,7 @@ -gboolean +gboolean webkit_navigation_action_is_user_gesture () @@ -98,7 +98,7 @@ -gboolean +gboolean webkit_navigation_action_is_redirect () @@ -122,7 +122,7 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitNavigationAction
 
@@ -213,7 +213,7 @@

webkit_navigation_action_get_mouse_button ()

-
guint
+
guint
 webkit_navigation_action_get_mouse_button
                                (WebKitNavigationAction *navigation);

Return the number of the mouse button that triggered the navigation, or 0 if @@ -242,7 +242,7 @@


webkit_navigation_action_get_modifiers ()

-
guint
+
guint
 webkit_navigation_action_get_modifiers
                                (WebKitNavigationAction *navigation);

Return a bitmask of GdkModifierType values describing the modifier keys that were in effect @@ -304,7 +304,7 @@


webkit_navigation_action_is_user_gesture ()

-
gboolean
+
gboolean
 webkit_navigation_action_is_user_gesture
                                (WebKitNavigationAction *navigation);

Return whether the navigation was triggered by a user gesture like a mouse click.

@@ -332,7 +332,7 @@

webkit_navigation_action_is_redirect ()

-
gboolean
+
gboolean
 webkit_navigation_action_is_redirect (WebKitNavigationAction *navigation);

Returns whether the navigation was redirected.

@@ -353,7 +353,7 @@

Returns

-

TRUE if the original navigation was redirected, FALSE otherwise.

+

TRUE if the original navigation was redirected, FALSE otherwise.

Since: 2.20

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNavigationPolicyDecision.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNavigationPolicyDecision.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNavigationPolicyDecision.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNavigationPolicyDecision.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitNavigationPolicyDecision: WPE Reference Manual - + @@ -50,7 +50,7 @@ -const gchar * +const gchar * webkit_navigation_policy_decision_get_frame_name () @@ -104,7 +104,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitPolicyDecision
         ╰── WebKitNavigationPolicyDecision
 
@@ -112,7 +112,7 @@

Description

WebKitNavigationPolicyDecision represents a policy decision for events associated with -navigations. If the value of “mouse-button” is not 0, then +navigations. If the value of “mouse-button” is not 0, then the navigation was triggered by a mouse event.

@@ -148,7 +148,7 @@

webkit_navigation_policy_decision_get_frame_name ()

-
const gchar *
+
const gchar *
 webkit_navigation_policy_decision_get_frame_name
                                (WebKitNavigationPolicyDecision *decision);

Gets the value of the “frame-name” property.

@@ -169,7 +169,7 @@

Returns

-

The name of the new frame this navigation action targets or NULL

+

The name of the new frame this navigation action targets or NULL

@@ -247,7 +247,7 @@

If this navigation request targets a new frame, this property contains the name of that frame. For example if the decision was triggered by clicking a link with a target attribute equal to "_blank", this property will contain the -value of that attribute. In all other cases, this value will be NULL.

+value of that attribute. In all other cases, this value will be NULL.

Owner: WebKitNavigationPolicyDecision

Flags: Read

Default value: NULL

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNetworkProxySettings.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNetworkProxySettings.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNetworkProxySettings.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNetworkProxySettings.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitNetworkProxySettings: WPE Reference Manual - + @@ -96,7 +96,7 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitNetworkProxySettings
 
@@ -111,8 +111,8 @@

webkit_network_proxy_settings_new ()

WebKitNetworkProxySettings *
-webkit_network_proxy_settings_new (const gchar *default_proxy_uri,
-                                   const gchar * const *ignore_hosts);
+webkit_network_proxy_settings_new (const gchar *default_proxy_uri, + const gchar * const *ignore_hosts);

Create a new WebKitNetworkProxySettings with the given default_proxy_uri and ignore_hosts .

@@ -158,7 +158,7 @@

default_proxy_uri

-

the default proxy URI to use, or NULL.

+

the default proxy URI to use, or NULL.

[allow-none] @@ -233,8 +233,8 @@
void
 webkit_network_proxy_settings_add_proxy_for_scheme
                                (WebKitNetworkProxySettings *proxy_settings,
-                                const gchar *scheme,
-                                const gchar *proxy_uri);
+ const gchar *scheme, + const gchar *proxy_uri);

Adds a URI-scheme-specific proxy. URIs whose scheme matches uri_scheme will be proxied via proxy_uri . diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNotificationPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNotificationPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitNotificationPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitNotificationPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitNotificationPermissionRequest: WPE Reference Manual - + @@ -48,7 +48,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitNotificationPermissionRequest
 
diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitPermissionRequest: WPE Reference Manual - + @@ -76,7 +76,7 @@

Object Hierarchy

-
    GInterface
+
    GInterface
     ╰── WebKitPermissionRequest
 
@@ -84,13 +84,13 @@

Prerequisites

WebKitPermissionRequest requires - GObject.

+ GObject.

Known Implementations

WebKitPermissionRequest is implemented by - WebKitDeviceInfoPermissionRequest, WebKitGeolocationPermissionRequest, WebKitInstallMissingMediaPluginsPermissionRequest, WebKitMediaKeySystemPermissionRequest, WebKitNotificationPermissionRequest, WebKitUserMediaPermissionRequest and WebKitWebsiteDataAccessPermissionRequest.

+ WebKitDeviceInfoPermissionRequest, WebKitGeolocationPermissionRequest, WebKitInstallMissingMediaPluginsPermissionRequest, WebKitMediaKeySystemPermissionRequest, WebKitNotificationPermissionRequest, WebKitUserMediaPermissionRequest and WebKitWebsiteDataAccessPermissionRequest.

Description

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPlugin.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPlugin.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPlugin.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPlugin.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitPlugin: WPE Reference Manual - + @@ -41,21 +41,21 @@ -const gchar * +const gchar * webkit_plugin_get_name () -const gchar * +const gchar * webkit_plugin_get_description () -const gchar * +const gchar * webkit_plugin_get_path () @@ -63,7 +63,7 @@ -GList * +GList * webkit_plugin_get_mime_info_list () @@ -86,21 +86,21 @@ -const gchar * +const gchar * webkit_mime_info_get_mime_type () -const gchar * +const gchar * webkit_mime_info_get_description () -const gchar * const * +const gchar * const * webkit_mime_info_get_extensions () @@ -130,9 +130,9 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitMimeInfo
-    GObject
+    GObject
     ╰── WebKitPlugin
 
@@ -149,7 +149,7 @@

Functions

webkit_plugin_get_name ()

-
const gchar *
+
const gchar *
 webkit_plugin_get_name (WebKitPlugin *plugin);

webkit_plugin_get_name has been deprecated since version 2.32 and should not be used in newly-written code.

@@ -175,7 +175,7 @@

webkit_plugin_get_description ()

-
const gchar *
+
const gchar *
 webkit_plugin_get_description (WebKitPlugin *plugin);

webkit_plugin_get_description has been deprecated since version 2.32 and should not be used in newly-written code.

@@ -201,7 +201,7 @@

webkit_plugin_get_path ()

-
const gchar *
+
const gchar *
 webkit_plugin_get_path (WebKitPlugin *plugin);

webkit_plugin_get_path has been deprecated since version 2.32 and should not be used in newly-written code.

@@ -227,7 +227,7 @@

webkit_plugin_get_mime_info_list ()

-
GList *
+
GList *
 webkit_plugin_get_mime_info_list (WebKitPlugin *plugin);

webkit_plugin_get_mime_info_list has been deprecated since version 2.32 and should not be used in newly-written code.

Get information about MIME types handled by the plugin, @@ -249,7 +249,7 @@

Returns

-

a GList of WebKitMimeInfo.

+

a GList of WebKitMimeInfo.

[element-type WebKitMimeInfo][transfer none]

@@ -312,7 +312,7 @@

webkit_mime_info_get_mime_type ()

-
const gchar *
+
const gchar *
 webkit_mime_info_get_mime_type (WebKitMimeInfo *info);

webkit_mime_info_get_mime_type has been deprecated since version 2.32 and should not be used in newly-written code.

@@ -339,7 +339,7 @@

webkit_mime_info_get_description ()

-
const gchar *
+
const gchar *
 webkit_mime_info_get_description (WebKitMimeInfo *info);

webkit_mime_info_get_description has been deprecated since version 2.32 and should not be used in newly-written code.

@@ -366,7 +366,7 @@

webkit_mime_info_get_extensions ()

-
const gchar * const *
+
const gchar * const *
 webkit_mime_info_get_extensions (WebKitMimeInfo *info);

webkit_mime_info_get_extensions has been deprecated since version 2.32 and should not be used in newly-written code.

Get the list of file extensions associated to the @@ -390,7 +390,7 @@

Returns

a -NULL-terminated array of strings.

+NULL-terminated array of strings.

[array zero-terminated=1][transfer none]

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPolicyDecision.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPolicyDecision.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitPolicyDecision.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitPolicyDecision.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitPolicyDecision: WPE Reference Manual - + @@ -90,7 +90,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitPolicyDecision
         ├── WebKitNavigationPolicyDecision
         ╰── WebKitResponsePolicyDecision
diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitRectangle.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitRectangle.html
--- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitRectangle.html	2021-07-23 12:20:52.000000000 +0000
+++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitRectangle.html	2021-09-17 10:35:40.000000000 +0000
@@ -3,7 +3,7 @@
 
 
 WebKitRectangle: WPE Reference Manual
-
+
 
 
 
@@ -53,7 +53,7 @@
 

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitRectangle
 
@@ -93,22 +93,22 @@ -

gint x;

+

gint x;

The X coordinate of the top-left corner of the rectangle.

  -

gint y;

+

gint y;

The Y coordinate of the top-left corner of the rectangle.

  -

gint width;

+

gint width;

The width of the rectangle.

  -

gint height;

+

gint height;

The height of the rectangle.

  diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitResponsePolicyDecision.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitResponsePolicyDecision.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitResponsePolicyDecision.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitResponsePolicyDecision.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitResponsePolicyDecision: WPE Reference Manual - + @@ -59,7 +59,7 @@ -gboolean +gboolean webkit_response_policy_decision_is_mime_type_supported () @@ -107,7 +107,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitPolicyDecision
         ╰── WebKitResponsePolicyDecision
 
@@ -185,7 +185,7 @@

webkit_response_policy_decision_is_mime_type_supported ()

-
gboolean
+
gboolean
 webkit_response_policy_decision_is_mime_type_supported
                                (WebKitResponsePolicyDecision *decision);

Gets whether the MIME type of the response can be displayed in the WebKitWebView @@ -207,7 +207,7 @@

Returns

-

TRUE if the MIME type of the response is supported or FALSE otherwise

+

TRUE if the MIME type of the response is supported or FALSE otherwise

Since: 2.4

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSecurityManager.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSecurityManager.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSecurityManager.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSecurityManager.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitSecurityManager: WPE Reference Manual - + @@ -50,7 +50,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_local () @@ -66,7 +66,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_no_access () @@ -82,7 +82,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_display_isolated () @@ -98,7 +98,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_secure () @@ -114,7 +114,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_cors_enabled () @@ -130,7 +130,7 @@ -gboolean +gboolean webkit_security_manager_uri_scheme_is_empty_document () @@ -154,7 +154,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitSecurityManager
 
@@ -173,7 +173,7 @@
void
 webkit_security_manager_register_uri_scheme_as_local
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as a local scheme. This means that other non-local pages cannot link to or access URIs of this scheme.

@@ -203,10 +203,10 @@

webkit_security_manager_uri_scheme_is_local ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_local
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as a local scheme. See also webkit_security_manager_register_uri_scheme_as_local().

@@ -234,8 +234,8 @@

Returns

-

TRUE if scheme -is a local scheme or FALSE otherwise.

+

TRUE if scheme +is a local scheme or FALSE otherwise.


@@ -244,7 +244,7 @@
void
 webkit_security_manager_register_uri_scheme_as_no_access
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as a no-access scheme. This means that pages loaded with this URI scheme cannot access pages loaded with any other URI scheme.

@@ -274,10 +274,10 @@

webkit_security_manager_uri_scheme_is_no_access ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_no_access
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as a no-access scheme. See also webkit_security_manager_register_uri_scheme_as_no_access().

@@ -305,8 +305,8 @@

Returns

-

TRUE if scheme -is a no-access scheme or FALSE otherwise.

+

TRUE if scheme +is a no-access scheme or FALSE otherwise.


@@ -315,7 +315,7 @@
void
 webkit_security_manager_register_uri_scheme_as_display_isolated
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as a display isolated scheme. This means that pages cannot display these URIs unless they are from the same scheme.

@@ -345,10 +345,10 @@

webkit_security_manager_uri_scheme_is_display_isolated ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_display_isolated
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as a display isolated scheme. See also webkit_security_manager_register_uri_scheme_as_display_isolated().

@@ -376,8 +376,8 @@

Returns

-

TRUE if scheme -is a display isolated scheme or FALSE otherwise.

+

TRUE if scheme +is a display isolated scheme or FALSE otherwise.


@@ -386,7 +386,7 @@
void
 webkit_security_manager_register_uri_scheme_as_secure
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as a secure scheme. This means that mixed content warnings won't be generated for this scheme when @@ -417,10 +417,10 @@


webkit_security_manager_uri_scheme_is_secure ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_secure
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as a secure scheme. See also webkit_security_manager_register_uri_scheme_as_secure().

@@ -448,8 +448,8 @@

Returns

-

TRUE if scheme -is a secure scheme or FALSE otherwise.

+

TRUE if scheme +is a secure scheme or FALSE otherwise.


@@ -458,7 +458,7 @@
void
 webkit_security_manager_register_uri_scheme_as_cors_enabled
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as a CORS (Cross-origin resource sharing) enabled scheme. This means that CORS requests are allowed. See W3C CORS specification @@ -489,10 +489,10 @@


webkit_security_manager_uri_scheme_is_cors_enabled ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_cors_enabled
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as a CORS enabled scheme. See also webkit_security_manager_register_uri_scheme_as_cors_enabled().

@@ -520,8 +520,8 @@

Returns

-

TRUE if scheme -is a CORS enabled scheme or FALSE otherwise.

+

TRUE if scheme +is a CORS enabled scheme or FALSE otherwise.


@@ -530,7 +530,7 @@
void
 webkit_security_manager_register_uri_scheme_as_empty_document
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Register scheme as an empty document scheme. This means that they are allowed to commit synchronously.

@@ -560,10 +560,10 @@

webkit_security_manager_uri_scheme_is_empty_document ()

-
gboolean
+
gboolean
 webkit_security_manager_uri_scheme_is_empty_document
                                (WebKitSecurityManager *security_manager,
-                                const gchar *scheme);
+ const gchar *scheme);

Whether scheme is considered as an empty document scheme. See also webkit_security_manager_register_uri_scheme_as_empty_document().

@@ -591,8 +591,8 @@

Returns

-

TRUE if scheme -is an empty document scheme or FALSE otherwise.

+

TRUE if scheme +is an empty document scheme or FALSE otherwise.

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSecurityOrigin.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSecurityOrigin.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSecurityOrigin.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSecurityOrigin.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitSecurityOrigin: WPE Reference Manual - + @@ -73,14 +73,14 @@ -const gchar * +const gchar * webkit_security_origin_get_protocol () -const gchar * +const gchar * webkit_security_origin_get_host () @@ -88,7 +88,7 @@ -guint16 +guint16 webkit_security_origin_get_port () @@ -96,7 +96,7 @@ -gboolean +gboolean webkit_security_origin_is_opaque () @@ -104,7 +104,7 @@ -gchar * +gchar * webkit_security_origin_to_string () @@ -128,7 +128,7 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ╰── WebKitSecurityOrigin
 
@@ -139,7 +139,7 @@ hostname, and an optional port number.

Resources with the same security origin can generally access each other for client-side scripting or database access. When comparing -origins, beware that if both protocol and host are NULL, the origins +origins, beware that if both protocol and host are NULL, the origins should not be treated as equal.

@@ -147,9 +147,9 @@

webkit_security_origin_new ()

WebKitSecurityOrigin *
-webkit_security_origin_new (const gchar *protocol,
-                            const gchar *host,
-                            guint16 port);
+webkit_security_origin_new (const gchar *protocol, + const gchar *host, + guint16 port);

Create a new security origin from the provided protocol, host and port.

@@ -192,7 +192,7 @@

webkit_security_origin_new_for_uri ()

WebKitSecurityOrigin *
-webkit_security_origin_new_for_uri (const gchar *uri);
+webkit_security_origin_new_for_uri (const gchar *uri);

Create a new security origin from the provided URI. Components of uri other than protocol, host, and port do not affect the created @@ -278,7 +278,7 @@


webkit_security_origin_get_protocol ()

-
const gchar *
+
const gchar *
 webkit_security_origin_get_protocol (WebKitSecurityOrigin *origin);

Gets the protocol of origin .

@@ -307,10 +307,10 @@

webkit_security_origin_get_host ()

-
const gchar *
+
const gchar *
 webkit_security_origin_get_host (WebKitSecurityOrigin *origin);

Gets the hostname of origin -. It is reasonable for this to be NULL +. It is reasonable for this to be NULL if its protocol does not require a host component.

Parameters

@@ -337,7 +337,7 @@

webkit_security_origin_get_port ()

-
guint16
+
guint16
 webkit_security_origin_get_port (WebKitSecurityOrigin *origin);

Gets the port of origin . This function will always return 0 if the @@ -369,10 +369,10 @@


webkit_security_origin_is_opaque ()

-
gboolean
+
gboolean
 webkit_security_origin_is_opaque (WebKitSecurityOrigin *origin);

webkit_security_origin_is_opaque has been deprecated since version 2.32 and should not be used in newly-written code.

-

This function returns FALSE. WebKitSecurityOrigin is now a simple +

This function returns FALSE. WebKitSecurityOrigin is now a simple wrapper around a <protocol, host, port> triplet, and no longer represents an origin as defined by web standards that may be opaque.

@@ -392,19 +392,19 @@

Returns

-

FALSE

+

FALSE

Since: 2.16


webkit_security_origin_to_string ()

-
gchar *
+
gchar *
 webkit_security_origin_to_string (WebKitSecurityOrigin *origin);

Gets a string representation of origin . The string representation is a valid URI with only protocol, host, and port components, or -NULL.

+NULL.

Parameters

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSettings.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSettings.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitSettings.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitSettings.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitSettings: WPE Reference Manual - + @@ -59,7 +59,7 @@ - - - - - - - - - - - + - + - + - + - + @@ -1007,167 +1007,167 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1178,17 +1178,17 @@ - + - + - + @@ -1199,17 +1199,17 @@ - + - + - + @@ -1226,7 +1226,7 @@ - + @@ -1249,7 +1249,7 @@ - + @@ -1271,7 +1271,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitSettings
 
@@ -1315,7 +1315,7 @@

webkit_settings_new_with_settings ()

WebKitSettings *
-webkit_settings_new_with_settings (const gchar *first_setting_name,
+webkit_settings_new_with_settings (const gchar *first_setting_name,
                                    ...);

Creates a new WebKitSettings instance with the given settings. It must be manually attached to a WebKitWebView.

@@ -1336,7 +1336,7 @@
+NULL-terminated

@@ -1350,7 +1350,7 @@

webkit_settings_get_auto_load_images ()

-
gboolean
+
gboolean
 webkit_settings_get_auto_load_images (WebKitSettings *settings);

Get the “auto-load-images” property.

@@ -1370,7 +1370,7 @@

Returns

-

TRUE If auto loading of images is enabled or FALSE otherwise.

+

TRUE If auto loading of images is enabled or FALSE otherwise.


@@ -1378,7 +1378,7 @@

webkit_settings_set_auto_load_images ()

void
 webkit_settings_set_auto_load_images (WebKitSettings *settings,
-                                      gboolean enabled);
+ gboolean enabled);

Set the “auto-load-images” property.

Parameters

@@ -1406,7 +1406,7 @@

webkit_settings_get_enable_frame_flattening ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_frame_flattening
                                (WebKitSettings *settings);

Get the “enable-frame-flattening” property.

@@ -1427,7 +1427,7 @@

Returns

-

TRUE If frame flattening is enabled or FALSE otherwise.

+

TRUE If frame flattening is enabled or FALSE otherwise.


@@ -1436,7 +1436,7 @@
void
 webkit_settings_set_enable_frame_flattening
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-frame-flattening” property.

Parameters

@@ -1464,7 +1464,7 @@

webkit_settings_get_enable_html5_database ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_html5_database
                                (WebKitSettings *settings);

Get the “enable-html5-database” property.

@@ -1485,7 +1485,7 @@

Returns

-

TRUE if IndexedDB support is enabled or FALSE otherwise.

+

TRUE if IndexedDB support is enabled or FALSE otherwise.


@@ -1494,7 +1494,7 @@
void
 webkit_settings_set_enable_html5_database
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-html5-database” property.

Parameters

@@ -1522,7 +1522,7 @@

webkit_settings_get_enable_html5_local_storage ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_html5_local_storage
                                (WebKitSettings *settings);

Get the “enable-html5-local-storage” property.

@@ -1543,7 +1543,7 @@

Returns

-

TRUE If HTML5 local storage support is enabled or FALSE otherwise.

+

TRUE If HTML5 local storage support is enabled or FALSE otherwise.


@@ -1552,7 +1552,7 @@
void
 webkit_settings_set_enable_html5_local_storage
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-html5-local-storage” property.

Parameters

@@ -1580,7 +1580,7 @@

webkit_settings_get_enable_hyperlink_auditing ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_hyperlink_auditing
                                (WebKitSettings *settings);

Get the “enable-hyperlink-auditing” property.

@@ -1601,7 +1601,7 @@

Returns

-

TRUE If hyper link auditing is enabled or FALSE otherwise.

+

TRUE If hyper link auditing is enabled or FALSE otherwise.


@@ -1610,7 +1610,7 @@
void
 webkit_settings_set_enable_hyperlink_auditing
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-hyperlink-auditing” property.

Parameters

@@ -1638,7 +1638,7 @@

webkit_settings_get_enable_java ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_java (WebKitSettings *settings);

Get the “enable-java” property.

@@ -1658,7 +1658,7 @@

Returns

-

TRUE If Java is enabled or FALSE otherwise.

+

TRUE If Java is enabled or FALSE otherwise.


@@ -1666,7 +1666,7 @@

webkit_settings_set_enable_java ()

void
 webkit_settings_set_enable_java (WebKitSettings *settings,
-                                 gboolean enabled);
+ gboolean enabled);

Set the “enable-java” property.

Parameters

@@ -1694,7 +1694,7 @@

webkit_settings_get_enable_javascript ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_javascript (WebKitSettings *settings);

Get the “enable-javascript” property.

@@ -1714,7 +1714,7 @@

Returns

-

TRUE If JavaScript is enabled or FALSE otherwise.

+

TRUE If JavaScript is enabled or FALSE otherwise.


@@ -1722,7 +1722,7 @@

webkit_settings_set_enable_javascript ()

void
 webkit_settings_set_enable_javascript (WebKitSettings *settings,
-                                       gboolean enabled);
+ gboolean enabled);

Set the “enable-javascript” property.

Parameters

@@ -1750,7 +1750,7 @@

webkit_settings_get_enable_javascript_markup ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_javascript_markup
                                (WebKitSettings *settings);

Get the “enable-javascript-markup” property.

@@ -1771,7 +1771,7 @@

Returns

-

TRUE if JavaScript markup is enabled or FALSE otherwise.

+

TRUE if JavaScript markup is enabled or FALSE otherwise.

Since: 2.24

@@ -1781,7 +1781,7 @@
void
 webkit_settings_set_enable_javascript_markup
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-javascript-markup” property.

Parameters

@@ -1810,7 +1810,7 @@

webkit_settings_get_enable_offline_web_application_cache ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_offline_web_application_cache
                                (WebKitSettings *settings);

Get the “enable-offline-web-application-cache” property.

@@ -1831,7 +1831,7 @@

Returns

-

TRUE If HTML5 offline web application cache support is enabled or FALSE otherwise.

+

TRUE If HTML5 offline web application cache support is enabled or FALSE otherwise.


@@ -1840,7 +1840,7 @@
void
 webkit_settings_set_enable_offline_web_application_cache
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-offline-web-application-cache” property.

Parameters

@@ -1868,7 +1868,7 @@

webkit_settings_get_enable_plugins ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_plugins (WebKitSettings *settings);

webkit_settings_get_enable_plugins has been deprecated since version 2.32 and should not be used in newly-written code.

Get the “enable-plugins” property.

@@ -1889,7 +1889,7 @@

Returns

-

TRUE If plugins are enabled or FALSE otherwise.

+

TRUE If plugins are enabled or FALSE otherwise.


@@ -1897,7 +1897,7 @@

webkit_settings_set_enable_plugins ()

void
 webkit_settings_set_enable_plugins (WebKitSettings *settings,
-                                    gboolean enabled);
+ gboolean enabled);

webkit_settings_set_enable_plugins has been deprecated since version 2.32 and should not be used in newly-written code.

Set the “enable-plugins” property.

@@ -1926,7 +1926,7 @@

webkit_settings_get_enable_xss_auditor ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_xss_auditor
                                (WebKitSettings *settings);

Get the “enable-xss-auditor” property.

@@ -1947,7 +1947,7 @@

Returns

-

TRUE If XSS auditing is enabled or FALSE otherwise.

+

TRUE If XSS auditing is enabled or FALSE otherwise.


@@ -1956,7 +1956,7 @@
void
 webkit_settings_set_enable_xss_auditor
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-xss-auditor” property.

Parameters

@@ -1984,7 +1984,7 @@

webkit_settings_get_javascript_can_open_windows_automatically ()

-
gboolean
+
gboolean
 webkit_settings_get_javascript_can_open_windows_automatically
                                (WebKitSettings *settings);

Get the “javascript-can-open-windows-automatically” property.

@@ -2005,7 +2005,7 @@

Returns

-

TRUE If JavaScript can open window automatically or FALSE otherwise.

+

TRUE If JavaScript can open window automatically or FALSE otherwise.


@@ -2014,7 +2014,7 @@
void
 webkit_settings_set_javascript_can_open_windows_automatically
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “javascript-can-open-windows-automatically” property.

Parameters

@@ -2042,7 +2042,7 @@

webkit_settings_get_load_icons_ignoring_image_load_setting ()

-
gboolean
+
gboolean
 webkit_settings_get_load_icons_ignoring_image_load_setting
                                (WebKitSettings *settings);

Get the “load-icons-ignoring-image-load-setting” property.

@@ -2063,7 +2063,7 @@

Returns

-

TRUE If site icon can be loaded irrespective of image loading preference or FALSE otherwise.

+

TRUE If site icon can be loaded irrespective of image loading preference or FALSE otherwise.


@@ -2072,7 +2072,7 @@
void
 webkit_settings_set_load_icons_ignoring_image_load_setting
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “load-icons-ignoring-image-load-setting” property.

Parameters

@@ -2100,7 +2100,7 @@

webkit_settings_get_default_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_default_font_family
                                (WebKitSettings *settings);
@@ -2110,7 +2110,7 @@
void
 webkit_settings_set_default_font_family
                                (WebKitSettings *settings,
-                                const gchar *default_font_family);
+ const gchar *default_font_family);

Set the “default-font-family” property.

Parameters

@@ -2138,7 +2138,7 @@

webkit_settings_get_monospace_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_monospace_font_family
                                (WebKitSettings *settings);

Gets the “monospace-font-family” property.

@@ -2168,7 +2168,7 @@
void
 webkit_settings_set_monospace_font_family
                                (WebKitSettings *settings,
-                                const gchar *monospace_font_family);
+ const gchar *monospace_font_family);

Set the “monospace-font-family” property.

Parameters

@@ -2196,7 +2196,7 @@

webkit_settings_get_serif_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_serif_font_family (WebKitSettings *settings);

Gets the “serif-font-family” property.

@@ -2224,7 +2224,7 @@

webkit_settings_set_serif_font_family ()

void
 webkit_settings_set_serif_font_family (WebKitSettings *settings,
-                                       const gchar *serif_font_family);
+ const gchar *serif_font_family);

Set the “serif-font-family” property.

Parameters

@@ -2252,7 +2252,7 @@

webkit_settings_get_sans_serif_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_sans_serif_font_family
                                (WebKitSettings *settings);

Gets the “sans-serif-font-family” property.

@@ -2282,7 +2282,7 @@
void
 webkit_settings_set_sans_serif_font_family
                                (WebKitSettings *settings,
-                                const gchar *sans_serif_font_family);
+ const gchar *sans_serif_font_family);

Set the “sans-serif-font-family” property.

Parameters

@@ -2310,7 +2310,7 @@

webkit_settings_get_cursive_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_cursive_font_family
                                (WebKitSettings *settings);

Gets the “cursive-font-family” property.

@@ -2340,7 +2340,7 @@
void
 webkit_settings_set_cursive_font_family
                                (WebKitSettings *settings,
-                                const gchar *cursive_font_family);
+ const gchar *cursive_font_family);

Set the “cursive-font-family” property.

Parameters

@@ -2368,7 +2368,7 @@

webkit_settings_get_fantasy_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_fantasy_font_family
                                (WebKitSettings *settings);

Gets the “fantasy-font-family” property.

@@ -2398,7 +2398,7 @@
void
 webkit_settings_set_fantasy_font_family
                                (WebKitSettings *settings,
-                                const gchar *fantasy_font_family);
+ const gchar *fantasy_font_family);

Set the “fantasy-font-family” property.

Parameters

@@ -2426,7 +2426,7 @@

webkit_settings_get_pictograph_font_family ()

-
const gchar *
+
const gchar *
 webkit_settings_get_pictograph_font_family
                                (WebKitSettings *settings);

Gets the “pictograph-font-family” property.

@@ -2456,7 +2456,7 @@
void
 webkit_settings_set_pictograph_font_family
                                (WebKitSettings *settings,
-                                const gchar *pictograph_font_family);
+ const gchar *pictograph_font_family);

Set the “pictograph-font-family” property.

Parameters

@@ -2484,7 +2484,7 @@

webkit_settings_get_default_font_size ()

-
guint32
+
guint32
 webkit_settings_get_default_font_size (WebKitSettings *settings);

Gets the “default-font-size” property.

@@ -2512,7 +2512,7 @@

webkit_settings_set_default_font_size ()

void
 webkit_settings_set_default_font_size (WebKitSettings *settings,
-                                       guint32 font_size);
+ guint32 font_size);

Set the “default-font-size” property.

Parameters

@@ -2540,7 +2540,7 @@

webkit_settings_get_default_monospace_font_size ()

-
guint32
+
guint32
 webkit_settings_get_default_monospace_font_size
                                (WebKitSettings *settings);

Gets the “default-monospace-font-size” property.

@@ -2570,7 +2570,7 @@
void
 webkit_settings_set_default_monospace_font_size
                                (WebKitSettings *settings,
-                                guint32 font_size);
+ guint32 font_size);

Set the “default-monospace-font-size” property.

Parameters

@@ -2598,7 +2598,7 @@

webkit_settings_get_minimum_font_size ()

-
guint32
+
guint32
 webkit_settings_get_minimum_font_size (WebKitSettings *settings);

Gets the “minimum-font-size” property.

@@ -2626,7 +2626,7 @@

webkit_settings_set_minimum_font_size ()

void
 webkit_settings_set_minimum_font_size (WebKitSettings *settings,
-                                       guint32 font_size);
+ guint32 font_size);

Set the “minimum-font-size” property.

Parameters

@@ -2654,7 +2654,7 @@

webkit_settings_get_default_charset ()

-
const gchar *
+
const gchar *
 webkit_settings_get_default_charset (WebKitSettings *settings);

Gets the “default-charset” property.

@@ -2682,7 +2682,7 @@

webkit_settings_set_default_charset ()

void
 webkit_settings_set_default_charset (WebKitSettings *settings,
-                                     const gchar *default_charset);
+ const gchar *default_charset);

Set the “default-charset” property.

Parameters

@@ -2710,7 +2710,7 @@

webkit_settings_get_enable_developer_extras ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_developer_extras
                                (WebKitSettings *settings);

Get the “enable-developer-extras” property.

@@ -2731,7 +2731,7 @@

Returns

-

TRUE If developer extras is enabled or FALSE otherwise.

+

TRUE If developer extras is enabled or FALSE otherwise.


@@ -2740,7 +2740,7 @@
void
 webkit_settings_set_enable_developer_extras
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-developer-extras” property.

Parameters

@@ -2768,7 +2768,7 @@

webkit_settings_get_enable_resizable_text_areas ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_resizable_text_areas
                                (WebKitSettings *settings);

Get the “enable-resizable-text-areas” property.

@@ -2789,7 +2789,7 @@

Returns

-

TRUE If text areas can be resized or FALSE otherwise.

+

TRUE If text areas can be resized or FALSE otherwise.


@@ -2798,7 +2798,7 @@
void
 webkit_settings_set_enable_resizable_text_areas
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-resizable-text-areas” property.

Parameters

@@ -2826,7 +2826,7 @@

webkit_settings_get_enable_tabs_to_links ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_tabs_to_links
                                (WebKitSettings *settings);

Get the “enable-tabs-to-links” property.

@@ -2847,7 +2847,7 @@

Returns

-

TRUE If tabs to link is enabled or FALSE otherwise.

+

TRUE If tabs to link is enabled or FALSE otherwise.


@@ -2856,7 +2856,7 @@
void
 webkit_settings_set_enable_tabs_to_links
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-tabs-to-links” property.

Parameters

@@ -2884,7 +2884,7 @@

webkit_settings_get_enable_dns_prefetching ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_dns_prefetching
                                (WebKitSettings *settings);

Get the “enable-dns-prefetching” property.

@@ -2905,7 +2905,7 @@

Returns

-

TRUE If DNS prefetching is enabled or FALSE otherwise.

+

TRUE If DNS prefetching is enabled or FALSE otherwise.


@@ -2914,7 +2914,7 @@
void
 webkit_settings_set_enable_dns_prefetching
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-dns-prefetching” property.

Parameters

@@ -2942,7 +2942,7 @@

webkit_settings_get_enable_caret_browsing ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_caret_browsing
                                (WebKitSettings *settings);

Get the “enable-caret-browsing” property.

@@ -2963,7 +2963,7 @@

Returns

-

TRUE If caret browsing is enabled or FALSE otherwise.

+

TRUE If caret browsing is enabled or FALSE otherwise.


@@ -2972,7 +2972,7 @@
void
 webkit_settings_set_enable_caret_browsing
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-caret-browsing” property.

Parameters

@@ -3000,7 +3000,7 @@

webkit_settings_get_enable_fullscreen ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_fullscreen (WebKitSettings *settings);

Get the “enable-fullscreen” property.

@@ -3020,7 +3020,7 @@

Returns

-

TRUE If fullscreen support is enabled or FALSE otherwise.

+

TRUE If fullscreen support is enabled or FALSE otherwise.


@@ -3028,7 +3028,7 @@

webkit_settings_set_enable_fullscreen ()

void
 webkit_settings_set_enable_fullscreen (WebKitSettings *settings,
-                                       gboolean enabled);
+ gboolean enabled);

Set the “enable-fullscreen” property.

Parameters

@@ -3056,7 +3056,7 @@

webkit_settings_get_print_backgrounds ()

-
gboolean
+
gboolean
 webkit_settings_get_print_backgrounds (WebKitSettings *settings);

Get the “print-backgrounds” property.

@@ -3076,7 +3076,7 @@

Returns

-

TRUE If background images should be printed or FALSE otherwise.

+

TRUE If background images should be printed or FALSE otherwise.


@@ -3084,7 +3084,7 @@

webkit_settings_set_print_backgrounds ()

void
 webkit_settings_set_print_backgrounds (WebKitSettings *settings,
-                                       gboolean print_backgrounds);
+ gboolean print_backgrounds);

Set the “print-backgrounds” property.

Parameters

@@ -3112,7 +3112,7 @@

webkit_settings_get_enable_webaudio ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_webaudio (WebKitSettings *settings);

Get the “enable-webaudio” property.

@@ -3132,7 +3132,7 @@

Returns

-

TRUE If webaudio support is enabled or FALSE otherwise.

+

TRUE If webaudio support is enabled or FALSE otherwise.


@@ -3140,7 +3140,7 @@

webkit_settings_set_enable_webaudio ()

void
 webkit_settings_set_enable_webaudio (WebKitSettings *settings,
-                                     gboolean enabled);
+ gboolean enabled);

Set the “enable-webaudio” property.

Parameters

@@ -3168,7 +3168,7 @@

webkit_settings_get_enable_webgl ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_webgl (WebKitSettings *settings);

Get the “enable-webgl” property.

@@ -3188,7 +3188,7 @@

Returns

-

TRUE If WebGL support is enabled or FALSE otherwise.

+

TRUE If WebGL support is enabled or FALSE otherwise.


@@ -3196,7 +3196,7 @@

webkit_settings_set_enable_webgl ()

void
 webkit_settings_set_enable_webgl (WebKitSettings *settings,
-                                  gboolean enabled);
+ gboolean enabled);

Set the “enable-webgl” property.

Parameters

@@ -3227,7 +3227,7 @@
void
 webkit_settings_set_allow_modal_dialogs
                                (WebKitSettings *settings,
-                                gboolean allowed);
+ gboolean allowed);

Set the “allow-modal-dialogs” property.

Parameters

@@ -3255,7 +3255,7 @@

webkit_settings_get_allow_modal_dialogs ()

-
gboolean
+
gboolean
 webkit_settings_get_allow_modal_dialogs
                                (WebKitSettings *settings);

Get the “allow-modal-dialogs” property.

@@ -3276,13 +3276,13 @@

Returns

-

TRUE if it's allowed to create and run modal dialogs or FALSE otherwise.

+

TRUE if it's allowed to create and run modal dialogs or FALSE otherwise.


webkit_settings_get_zoom_text_only ()

-
gboolean
+
gboolean
 webkit_settings_get_zoom_text_only (WebKitSettings *settings);

Get the “zoom-text-only” property.

@@ -3302,8 +3302,8 @@

Returns

-

TRUE If zoom level of the view should only affect the text -or FALSE if all view contents should be scaled.

+

TRUE If zoom level of the view should only affect the text +or FALSE if all view contents should be scaled.


@@ -3311,7 +3311,7 @@

webkit_settings_set_zoom_text_only ()

void
 webkit_settings_set_zoom_text_only (WebKitSettings *settings,
-                                    gboolean zoom_text_only);
+ gboolean zoom_text_only);

Set the “zoom-text-only” property.

Parameters

@@ -3339,7 +3339,7 @@

webkit_settings_get_javascript_can_access_clipboard ()

-
gboolean
+
gboolean
 webkit_settings_get_javascript_can_access_clipboard
                                (WebKitSettings *settings);

Get the “javascript-can-access-clipboard” property.

@@ -3360,7 +3360,7 @@

Returns

-

TRUE If javascript-can-access-clipboard is enabled or FALSE otherwise.

+

TRUE If javascript-can-access-clipboard is enabled or FALSE otherwise.


@@ -3369,7 +3369,7 @@
void
 webkit_settings_set_javascript_can_access_clipboard
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “javascript-can-access-clipboard” property.

Parameters

@@ -3397,7 +3397,7 @@

webkit_settings_get_media_playback_requires_user_gesture ()

-
gboolean
+
gboolean
 webkit_settings_get_media_playback_requires_user_gesture
                                (WebKitSettings *settings);

Get the “media-playback-requires-user-gesture” property.

@@ -3418,8 +3418,8 @@

Returns

-

TRUE If an user gesture is needed to play or load media -or FALSE if no user gesture is needed.

+

TRUE If an user gesture is needed to play or load media +or FALSE if no user gesture is needed.


@@ -3428,7 +3428,7 @@
void
 webkit_settings_set_media_playback_requires_user_gesture
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “media-playback-requires-user-gesture” property.

Parameters

@@ -3456,7 +3456,7 @@

webkit_settings_get_media_playback_allows_inline ()

-
gboolean
+
gboolean
 webkit_settings_get_media_playback_allows_inline
                                (WebKitSettings *settings);

Get the “media-playback-allows-inline” property.

@@ -3477,8 +3477,8 @@

Returns

-

TRUE If inline playback is allowed for media -or FALSE if only fullscreen playback is allowed.

+

TRUE If inline playback is allowed for media +or FALSE if only fullscreen playback is allowed.


@@ -3487,7 +3487,7 @@
void
 webkit_settings_set_media_playback_allows_inline
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “media-playback-allows-inline” property.

Parameters

@@ -3515,7 +3515,7 @@

webkit_settings_get_draw_compositing_indicators ()

-
gboolean
+
gboolean
 webkit_settings_get_draw_compositing_indicators
                                (WebKitSettings *settings);

Get the “draw-compositing-indicators” property.

@@ -3536,7 +3536,7 @@

Returns

-

TRUE If compositing borders are drawn or FALSE otherwise.

+

TRUE If compositing borders are drawn or FALSE otherwise.


@@ -3545,7 +3545,7 @@
void
 webkit_settings_set_draw_compositing_indicators
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “draw-compositing-indicators” property.

Parameters

@@ -3573,7 +3573,7 @@

webkit_settings_get_enable_site_specific_quirks ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_site_specific_quirks
                                (WebKitSettings *settings);

Get the “enable-site-specific-quirks” property.

@@ -3594,7 +3594,7 @@

Returns

-

TRUE if site specific quirks are enabled or FALSE otherwise.

+

TRUE if site specific quirks are enabled or FALSE otherwise.


@@ -3603,7 +3603,7 @@
void
 webkit_settings_set_enable_site_specific_quirks
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-site-specific-quirks” property.

Parameters

@@ -3631,7 +3631,7 @@

webkit_settings_get_enable_page_cache ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_page_cache (WebKitSettings *settings);

Get the “enable-page-cache” property.

@@ -3651,7 +3651,7 @@

Returns

-

TRUE if page cache enabled or FALSE otherwise.

+

TRUE if page cache enabled or FALSE otherwise.


@@ -3659,7 +3659,7 @@

webkit_settings_set_enable_page_cache ()

void
 webkit_settings_set_enable_page_cache (WebKitSettings *settings,
-                                       gboolean enabled);
+ gboolean enabled);

Set the “enable-page-cache” property.

Parameters

@@ -3687,7 +3687,7 @@

webkit_settings_get_user_agent ()

-
const gchar *
+
const gchar *
 webkit_settings_get_user_agent (WebKitSettings *settings);

Get the “user-agent” property.

@@ -3715,7 +3715,7 @@

webkit_settings_set_user_agent ()

void
 webkit_settings_set_user_agent (WebKitSettings *settings,
-                                const gchar *user_agent);
+ const gchar *user_agent);

Set the “user-agent” property.

Parameters

@@ -3733,7 +3733,7 @@
- + @@ -3746,8 +3746,8 @@
void
 webkit_settings_set_user_agent_with_application_details
                                (WebKitSettings *settings,
-                                const gchar *application_name,
-                                const gchar *application_version);
+ const gchar *application_name, + const gchar *application_version);

Set the “user-agent” property by appending the application details to the default user agent. If no application name or version is given, the default user agent used will be used. If only the version is given, the default engine version is used with the given application name.

@@ -3767,12 +3767,12 @@ - + - + @@ -3782,7 +3782,7 @@

webkit_settings_get_enable_smooth_scrolling ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_smooth_scrolling
                                (WebKitSettings *settings);

Get the “enable-smooth-scrolling” property.

@@ -3803,7 +3803,7 @@

Returns

-

TRUE if smooth scrolling is enabled or FALSE otherwise.

+

TRUE if smooth scrolling is enabled or FALSE otherwise.


@@ -3812,7 +3812,7 @@
void
 webkit_settings_set_enable_smooth_scrolling
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-smooth-scrolling” property.

Parameters

@@ -3840,7 +3840,7 @@

webkit_settings_get_enable_accelerated_2d_canvas ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_accelerated_2d_canvas
                                (WebKitSettings *settings);

webkit_settings_get_enable_accelerated_2d_canvas has been deprecated since version 2.32. and should not be used in newly-written code.

@@ -3862,7 +3862,7 @@

Returns

-

TRUE if accelerated 2D canvas is enabled or FALSE otherwise.

+

TRUE if accelerated 2D canvas is enabled or FALSE otherwise.

Since: 2.2

@@ -3872,7 +3872,7 @@
void
 webkit_settings_set_enable_accelerated_2d_canvas
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

webkit_settings_set_enable_accelerated_2d_canvas has been deprecated since version 2.32. and should not be used in newly-written code.

Set the “enable-accelerated-2d-canvas” property.

@@ -3902,7 +3902,7 @@

webkit_settings_get_enable_write_console_messages_to_stdout ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_write_console_messages_to_stdout
                                (WebKitSettings *settings);

Get the “enable-write-console-messages-to-stdout” property.

@@ -3923,7 +3923,7 @@

Returns

-

TRUE if writing console messages to stdout is enabled or FALSE +

TRUE if writing console messages to stdout is enabled or FALSE otherwise.

Since: 2.2

@@ -3934,7 +3934,7 @@
void
 webkit_settings_set_enable_write_console_messages_to_stdout
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-write-console-messages-to-stdout” property.

Parameters

@@ -3963,7 +3963,7 @@

webkit_settings_get_enable_media_stream ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_media_stream
                                (WebKitSettings *settings);

Get the “enable-media-stream” property.

@@ -3984,7 +3984,7 @@

Returns

-

TRUE If mediastream support is enabled or FALSE otherwise.

+

TRUE If mediastream support is enabled or FALSE otherwise.

Since: 2.4

@@ -3994,7 +3994,7 @@
void
 webkit_settings_set_enable_media_stream
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-media-stream” property.

Parameters

@@ -4023,7 +4023,7 @@

webkit_settings_get_enable_mock_capture_devices ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_mock_capture_devices
                                (WebKitSettings *settings);

Get the “enable-mock-capture-devices” property.

@@ -4044,7 +4044,7 @@

Returns

-

TRUE If mock capture devices is enabled or FALSE otherwise.

+

TRUE If mock capture devices is enabled or FALSE otherwise.

Since: 2.24

@@ -4054,7 +4054,7 @@
void
 webkit_settings_set_enable_mock_capture_devices
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-mock-capture-devices” property.

Parameters

@@ -4083,7 +4083,7 @@

webkit_settings_get_enable_spatial_navigation ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_spatial_navigation
                                (WebKitSettings *settings);

Get the “enable-spatial-navigation” property.

@@ -4104,7 +4104,7 @@

Returns

-

TRUE If HTML5 spatial navigation support is enabled or FALSE otherwise.

+

TRUE If HTML5 spatial navigation support is enabled or FALSE otherwise.

Since: 2.2

@@ -4114,7 +4114,7 @@
void
 webkit_settings_set_enable_spatial_navigation
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-spatial-navigation” property.

Parameters

@@ -4143,7 +4143,7 @@

webkit_settings_get_enable_mediasource ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_mediasource
                                (WebKitSettings *settings);

Get the “enable-mediasource” property.

@@ -4164,7 +4164,7 @@

Returns

-

TRUE If MediaSource support is enabled or FALSE otherwise.

+

TRUE If MediaSource support is enabled or FALSE otherwise.

Since: 2.4

@@ -4174,7 +4174,7 @@
void
 webkit_settings_set_enable_mediasource
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-mediasource” property.

Parameters

@@ -4203,7 +4203,7 @@

webkit_settings_get_enable_encrypted_media ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_encrypted_media
                                (WebKitSettings *settings);

Get the “enable-encrypted-media” property.

@@ -4224,7 +4224,7 @@

Returns

-

TRUE if EncryptedMedia support is enabled or FALSE otherwise.

+

TRUE if EncryptedMedia support is enabled or FALSE otherwise.

Since: 2.20

@@ -4234,7 +4234,7 @@
void
 webkit_settings_set_enable_encrypted_media
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-encrypted-media” property.

Parameters

@@ -4263,7 +4263,7 @@

webkit_settings_get_enable_media_capabilities ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_media_capabilities
                                (WebKitSettings *settings);

Get the “enable-media-capabilities” property.

@@ -4284,7 +4284,7 @@

Returns

-

TRUE if MediaCapabilities support is enabled or FALSE otherwise.

+

TRUE if MediaCapabilities support is enabled or FALSE otherwise.

Since: 2.22

@@ -4294,7 +4294,7 @@
void
 webkit_settings_set_enable_media_capabilities
                                (WebKitSettings *settings,
-                                gboolean enabled);
+ gboolean enabled);

Set the “enable-media-capabilities” property.

Parameters

@@ -4323,7 +4323,7 @@

webkit_settings_get_allow_file_access_from_file_urls ()

-
gboolean
+
gboolean
 webkit_settings_get_allow_file_access_from_file_urls
                                (WebKitSettings *settings);

Get the “allow-file-access-from-file-urls” property.

@@ -4344,7 +4344,7 @@

Returns

-

TRUE If file access from file URLs is allowed or FALSE otherwise.

+

TRUE If file access from file URLs is allowed or FALSE otherwise.

Since: 2.10

@@ -4354,7 +4354,7 @@
void
 webkit_settings_set_allow_file_access_from_file_urls
                                (WebKitSettings *settings,
-                                gboolean allowed);
+ gboolean allowed);

Set the “allow-file-access-from-file-urls” property.

Parameters

@@ -4383,7 +4383,7 @@

webkit_settings_get_allow_universal_access_from_file_urls ()

-
gboolean
+
gboolean
 webkit_settings_get_allow_universal_access_from_file_urls
                                (WebKitSettings *settings);

Get the “allow-universal-access-from-file-urls” property.

@@ -4404,7 +4404,7 @@

Returns

-

TRUE If universal access from file URLs is allowed or FALSE otherwise.

+

TRUE If universal access from file URLs is allowed or FALSE otherwise.

Since: 2.14

@@ -4414,7 +4414,7 @@
void
 webkit_settings_set_allow_universal_access_from_file_urls
                                (WebKitSettings *settings,
-                                gboolean allowed);
+ gboolean allowed);

Set the “allow-universal-access-from-file-urls” property.

Parameters

@@ -4443,7 +4443,7 @@

webkit_settings_get_allow_top_navigation_to_data_urls ()

-
gboolean
+
gboolean
 webkit_settings_get_allow_top_navigation_to_data_urls
                                (WebKitSettings *settings);

Get the “allow-top-navigation-to-data-urls” property.

@@ -4464,7 +4464,7 @@

Returns

-

TRUE If navigation to data URLs from the top frame is allowed or FALSE\ +

TRUE If navigation to data URLs from the top frame is allowed or FALSE\ otherwise.

Since: 2.28

@@ -4475,7 +4475,7 @@
void
 webkit_settings_set_allow_top_navigation_to_data_urls
                                (WebKitSettings *settings,
-                                gboolean allowed);
+ gboolean allowed);

Set the “allow-top-navigation-to-data-urls” property.

Parameters

@@ -4504,7 +4504,7 @@

webkit_settings_get_enable_media ()

-
gboolean
+
gboolean
 webkit_settings_get_enable_media (WebKitSettings *settings);

Get the “enable-media” property.

@@ -4524,7 +4524,7 @@

Returns

-

TRUE if media support is enabled or FALSE otherwise.

+

TRUE if media support is enabled or FALSE otherwise.

Since: 2.26

@@ -4533,7 +4533,7 @@

webkit_settings_set_enable_media ()

void
 webkit_settings_set_enable_media (WebKitSettings *settings,
-                                  gboolean enabled);
+ gboolean enabled);

Set the “enable-media” property.

Parameters

@@ -4562,7 +4562,7 @@

webkit_settings_get_media_content_types_requiring_hardware_support ()

-
const gchar *
+
const gchar *
 webkit_settings_get_media_content_types_requiring_hardware_support
                                (WebKitSettings *settings);

Gets the “media-content-types-requiring-hardware-support” property.

@@ -4583,7 +4583,7 @@

Returns

-

Media content types requiring hardware support, or NULL.

+

Media content types requiring hardware support, or NULL.

Since: 2.30

@@ -4593,7 +4593,7 @@
void
 webkit_settings_set_media_content_types_requiring_hardware_support
                                (WebKitSettings *settings,
-                                const gchar *content_types);
+ const gchar *content_types);

Set the “media-content-types-requiring-hardware-support” property.

Parameters

@@ -4611,7 +4611,7 @@
- + @@ -4631,7 +4631,7 @@

Property Details

The “allow-file-access-from-file-urls” property

-
  “allow-file-access-from-file-urls” gboolean
+
  “allow-file-access-from-file-urls” gboolean

Whether file access is allowed from file URLs. By default, when something is loaded in a WebKitWebView using a file URI, cross origin requests to other file resources are not allowed. This @@ -4645,11 +4645,11 @@


The “allow-modal-dialogs” property

-
  “allow-modal-dialogs”      gboolean
+
  “allow-modal-dialogs”      gboolean

Determine whether it's allowed to create and run modal dialogs from a WebKitWebView through JavaScript with window.showModalDialog. If it's set to -FALSE, the associated WebKitWebView won't be able to create +FALSE, the associated WebKitWebView won't be able to create new modal dialogs, so not even the “create” signal will be emitted.

Owner: WebKitSettings

@@ -4659,7 +4659,7 @@

The “allow-top-navigation-to-data-urls” property

-
  “allow-top-navigation-to-data-urls” gboolean
+
  “allow-top-navigation-to-data-urls” gboolean

Whether or not the top frame is allowed to navigate to data URLs. It is disabled by default due to the risk it poses when loading untrusted URLs, with data URLs being used in scamming and phishing attacks. In contrast, a scenario where it could be enabled could be an app that @@ -4672,7 +4672,7 @@


The “allow-universal-access-from-file-urls” property

-
  “allow-universal-access-from-file-urls” gboolean
+
  “allow-universal-access-from-file-urls” gboolean

Whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. By default, when something is loaded in a WebKitWebView using a file scheme URL, @@ -4687,7 +4687,7 @@


The “auto-load-images” property

-
  “auto-load-images”         gboolean
+
  “auto-load-images”         gboolean

Determines whether images should be automatically loaded or not. On devices where network bandwidth is of concern, it might be useful to turn this property off.

@@ -4725,7 +4725,7 @@

The “default-font-size” property

-
  “default-font-size”        guint
+
  “default-font-size”        guint

The default font size in pixels to use for content displayed if no font size is specified.

Owner: WebKitSettings

@@ -4735,7 +4735,7 @@

The “default-monospace-font-size” property

-
  “default-monospace-font-size” guint
+
  “default-monospace-font-size” guint

The default font size in pixels to use for content displayed in monospace font if no font size is specified.

Owner: WebKitSettings

@@ -4745,7 +4745,7 @@

The “draw-compositing-indicators” property

-
  “draw-compositing-indicators” gboolean
+
  “draw-compositing-indicators” gboolean

Whether to draw compositing borders and repaint counters on layers drawn with accelerated compositing. This is useful for debugging issues related to web content that is composited with the GPU.

@@ -4756,7 +4756,7 @@

The “enable-accelerated-2d-canvas” property

-
  “enable-accelerated-2d-canvas” gboolean
+
  “enable-accelerated-2d-canvas” gboolean

Enable or disable accelerated 2D canvas. Accelerated 2D canvas is only available if WebKit was compiled with a version of Cairo including the unstable CairoGL API. When accelerated 2D canvas is enabled, WebKit may render some 2D canvas content @@ -4770,7 +4770,7 @@


The “enable-caret-browsing” property

-
  “enable-caret-browsing”    gboolean
+
  “enable-caret-browsing”    gboolean

Whether to enable accessibility enhanced keyboard navigation.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -4779,7 +4779,7 @@

The “enable-developer-extras” property

-
  “enable-developer-extras”  gboolean
+
  “enable-developer-extras”  gboolean

Determines whether or not developer tools, such as the Web Inspector, are enabled.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -4788,7 +4788,7 @@

The “enable-dns-prefetching” property

-
  “enable-dns-prefetching”   gboolean
+
  “enable-dns-prefetching”   gboolean

Determines whether or not to prefetch domain names. DNS prefetching attempts to resolve domain names before a user tries to follow a link.

Owner: WebKitSettings

@@ -4798,7 +4798,7 @@

The “enable-encrypted-media” property

-
  “enable-encrypted-media”   gboolean
+
  “enable-encrypted-media”   gboolean

Enable or disable support for Encrypted Media API on pages. EncryptedMedia is an experimental JavaScript API for playing encrypted media in HTML. This property will only work as intended if the EncryptedMedia feature is enabled at build time @@ -4812,7 +4812,7 @@


The “enable-frame-flattening” property

-
  “enable-frame-flattening”  gboolean
+
  “enable-frame-flattening”  gboolean

Whether to enable the frame flattening. With this setting each subframe is expanded to its contents, which will flatten all the frames to become one scrollable page. On touch devices scrollable subframes on a page can result in a confusing user experience.

@@ -4823,7 +4823,7 @@

The “enable-fullscreen” property

-
  “enable-fullscreen”        gboolean
+
  “enable-fullscreen”        gboolean

Whether to enable the Javascript Fullscreen API. The API allows any HTML element to request fullscreen display. See also the current draft of the spec: @@ -4835,7 +4835,7 @@


The “enable-html5-database” property

-
  “enable-html5-database”    gboolean
+
  “enable-html5-database”    gboolean

Whether to enable HTML5 client-side SQL database support (IndexedDB).

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -4844,7 +4844,7 @@

The “enable-html5-local-storage” property

-
  “enable-html5-local-storage” gboolean
+
  “enable-html5-local-storage” gboolean

Whether to enable HTML5 local storage support. Local storage provides simple synchronous storage access.

HTML5 local storage specification is available at @@ -4856,7 +4856,7 @@


The “enable-hyperlink-auditing” property

-
  “enable-hyperlink-auditing” gboolean
+
  “enable-hyperlink-auditing” gboolean

Determines whether or not hyperlink auditing is enabled.

The hyperlink auditing specification is available at http://www.whatwg.org/specs/web-apps/current-work/multipage/links.htmlhyperlink-auditing.

@@ -4867,7 +4867,7 @@

The “enable-java” property

-
  “enable-java”              gboolean
+
  “enable-java”              gboolean

Determines whether or not Java is enabled on the page.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -4876,7 +4876,7 @@

The “enable-javascript” property

-
  “enable-javascript”        gboolean
+
  “enable-javascript”        gboolean

Determines whether or not JavaScript executes within a page.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -4885,10 +4885,10 @@

The “enable-javascript-markup” property

-
  “enable-javascript-markup” gboolean
+
  “enable-javascript-markup” gboolean

Determines whether or not JavaScript markup is allowed in document. When this setting is disabled, all JavaScript-related elements and attributes are removed from the document during parsing. Note that -executing JavaScript is still allowed if “enable-javascript” is TRUE.

+executing JavaScript is still allowed if “enable-javascript” is TRUE.

Owner: WebKitSettings

Flags: Read / Write / Construct

Default value: TRUE

@@ -4897,7 +4897,7 @@

The “enable-media” property

-
  “enable-media”             gboolean
+
  “enable-media”             gboolean

Enable or disable support for media playback on pages. This setting is enabled by default. Disabling it means <audio>, <track> and <video> elements will have playback support disabled.

@@ -4909,7 +4909,7 @@

The “enable-media-capabilities” property

-
  “enable-media-capabilities” gboolean
+
  “enable-media-capabilities” gboolean

Enable or disable support for MediaCapabilities on pages. This specification intends to provide APIs to allow websites to make an optimal decision when picking media content for the user. The APIs will expose @@ -4925,7 +4925,7 @@


The “enable-media-stream” property

-
  “enable-media-stream”      gboolean
+
  “enable-media-stream”      gboolean

Enable or disable support for MediaStream on pages. MediaStream is an experimental proposal for allowing web pages to access audio and video devices for capture.

@@ -4938,7 +4938,7 @@

The “enable-mediasource” property

-
  “enable-mediasource”       gboolean
+
  “enable-mediasource”       gboolean

Enable or disable support for MediaSource on pages. MediaSource extends HTMLMediaElement to allow JavaScript to generate media streams for playback.

@@ -4951,7 +4951,7 @@

The “enable-mock-capture-devices” property

-
  “enable-mock-capture-devices” gboolean
+
  “enable-mock-capture-devices” gboolean

Enable or disable the Mock Capture Devices. Those are fake Microphone and Camera devices to be used as MediaStream sources.

@@ -4963,7 +4963,7 @@

The “enable-offline-web-application-cache” property

-
  “enable-offline-web-application-cache” gboolean
+
  “enable-offline-web-application-cache” gboolean

Whether to enable HTML5 offline web application cache support. Offline web application cache allows web applications to run even when the user is not connected to the network.

@@ -4976,7 +4976,7 @@

The “enable-page-cache” property

-
  “enable-page-cache”        gboolean
+
  “enable-page-cache”        gboolean

Enable or disable the page cache. Disabling the page cache is generally only useful for special circumstances like low-memory scenarios or special purpose applications like static HTML @@ -4993,7 +4993,7 @@


The “enable-plugins” property

-
  “enable-plugins”           gboolean
+
  “enable-plugins”           gboolean

Determines whether or not plugins on the page are enabled.

WebKitSettings:enable-plugins has been deprecated since version 2.32 and should not be used in newly-written code.

Owner: WebKitSettings

@@ -5003,7 +5003,7 @@

The “enable-resizable-text-areas” property

-
  “enable-resizable-text-areas” gboolean
+
  “enable-resizable-text-areas” gboolean

Determines whether or not text areas can be resized.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -5012,7 +5012,7 @@

The “enable-site-specific-quirks” property

-
  “enable-site-specific-quirks” gboolean
+
  “enable-site-specific-quirks” gboolean

Whether to turn on site-specific quirks. Turning this on will tell WebKit to use some site-specific workarounds for better web compatibility. For example, older versions of @@ -5026,7 +5026,7 @@


The “enable-smooth-scrolling” property

-
  “enable-smooth-scrolling”  gboolean
+
  “enable-smooth-scrolling”  gboolean

Enable or disable smooth scrolling.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -5035,7 +5035,7 @@

The “enable-spatial-navigation” property

-
  “enable-spatial-navigation” gboolean
+
  “enable-spatial-navigation” gboolean

Whether to enable Spatial Navigation. This feature consists in the ability to navigate between focusable elements in a Web page, such as hyperlinks and form controls, by using Left, Right, Up and Down arrow keys. @@ -5050,7 +5050,7 @@


The “enable-tabs-to-links” property

-
  “enable-tabs-to-links”     gboolean
+
  “enable-tabs-to-links”     gboolean

Determines whether the tab key cycles through the elements on the page. When this setting is enabled, users will be able to focus the next element in the page by pressing the tab key. If the selected element is editable, @@ -5062,7 +5062,7 @@


The “enable-webaudio” property

-
  “enable-webaudio”          gboolean
+
  “enable-webaudio”          gboolean

Enable or disable support for WebAudio on pages. WebAudio is an API for processing and synthesizing audio in web applications

See also https://webaudio.github.io/web-audio-api

@@ -5073,7 +5073,7 @@

The “enable-webgl” property

-
  “enable-webgl”             gboolean
+
  “enable-webgl”             gboolean

Enable or disable support for WebGL on pages. WebGL enables web content to use an API based on OpenGL ES 2.0.

Owner: WebKitSettings

@@ -5083,7 +5083,7 @@

The “enable-write-console-messages-to-stdout” property

-
  “enable-write-console-messages-to-stdout” gboolean
+
  “enable-write-console-messages-to-stdout” gboolean

Enable or disable writing console messages to stdout. These are messages sent to the console with console.log and related methods.

Owner: WebKitSettings

@@ -5094,7 +5094,7 @@

The “enable-xss-auditor” property

-
  “enable-xss-auditor”       gboolean
+
  “enable-xss-auditor”       gboolean

Whether to enable the XSS auditor. This feature filters some kinds of reflective XSS attacks on vulnerable web sites.

Owner: WebKitSettings

@@ -5113,9 +5113,9 @@

The “javascript-can-access-clipboard” property

-
  “javascript-can-access-clipboard” gboolean
-

Whether JavaScript can access the clipboard. The default value is FALSE. If -set to TRUE, document.execCommand() allows cut, copy and paste commands.

+
  “javascript-can-access-clipboard” gboolean
+

Whether JavaScript can access the clipboard. The default value is FALSE. If +set to TRUE, document.execCommand() allows cut, copy and paste commands.

Owner: WebKitSettings

Flags: Read / Write / Construct

Default value: FALSE

@@ -5123,7 +5123,7 @@

The “javascript-can-open-windows-automatically” property

-
  “javascript-can-open-windows-automatically” gboolean
+
  “javascript-can-open-windows-automatically” gboolean

Whether JavaScript can open popup windows automatically without user intervention.

Owner: WebKitSettings

@@ -5133,7 +5133,7 @@

The “load-icons-ignoring-image-load-setting” property

-
  “load-icons-ignoring-image-load-setting” gboolean
+
  “load-icons-ignoring-image-load-setting” gboolean

Determines whether a site can load favicons irrespective of the value of “auto-load-images”.

Owner: WebKitSettings

@@ -5154,10 +5154,10 @@

The “media-playback-allows-inline” property

-
  “media-playback-allows-inline” gboolean
+
  “media-playback-allows-inline” gboolean

Whether media playback is full-screen only or inline playback is allowed. -This is TRUE by default, so media playback can be inline. Setting it to -FALSE allows specifying that media playback should be always fullscreen.

+This is TRUE by default, so media playback can be inline. Setting it to +FALSE allows specifying that media playback should be always fullscreen.

Owner: WebKitSettings

Flags: Read / Write / Construct

Default value: TRUE

@@ -5165,7 +5165,7 @@

The “media-playback-requires-user-gesture” property

-
  “media-playback-requires-user-gesture” gboolean
+
  “media-playback-requires-user-gesture” gboolean

Whether a user gesture (such as clicking the play button) would be required to start media playback or load media. This is off by default, so media playback could start automatically. @@ -5178,7 +5178,7 @@


The “minimum-font-size” property

-
  “minimum-font-size”        guint
+
  “minimum-font-size”        guint

The minimum font size in pixels used to display text. This setting controls the absolute smallest size. Values other than 0 can potentially break page layouts.

@@ -5207,7 +5207,7 @@

The “print-backgrounds” property

-
  “print-backgrounds”        gboolean
+
  “print-backgrounds”        gboolean

Whether background images should be drawn during printing.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -5240,7 +5240,7 @@ parse the user-agent strings of only the most popular browsers. Therefore, it's typically better to not completely override the standard user-agent, but to use webkit_settings_set_user_agent_with_application_details() instead.

-

If this property is set to the empty string or NULL, it will revert to the standard +

If this property is set to the empty string or NULL, it will revert to the standard user-agent.

Owner: WebKitSettings

Flags: Read / Write / Construct

@@ -5249,7 +5249,7 @@

The “zoom-text-only” property

-
  “zoom-text-only”           gboolean
+
  “zoom-text-only”           gboolean

Whether “zoom-level” affects only the text of the page or all the contents. Other contents containing text like form controls will be also affected by zoom factor when diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURIRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURIRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURIRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURIRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitURIRequest: WPE Reference Manual - + @@ -50,7 +50,7 @@

- - - + @@ -549,7 +549,7 @@

Returns

-

TRUE if message handler was registered successfully, or FALSE otherwise.

+

TRUE if message handler was registered successfully, or FALSE otherwise.

Since: 2.22

@@ -559,8 +559,8 @@
void
 webkit_user_content_manager_unregister_script_message_handler_in_world
                                (WebKitUserContentManager *manager,
-                                const gchar *name,
-                                const gchar *world_name);
+ const gchar *name, + const gchar *world_name);

Unregisters a previously registered message handler in script world with name world_name .

Note that this does *not* disconnect handlers for the @@ -589,7 +589,7 @@

- + @@ -737,7 +737,7 @@
void
 user_function (WebKitUserContentManager *manager,
                WebKitJavascriptResult   *js_result,
-               gpointer                  user_data)
+ gpointer user_data)

This signal is emitted when JavaScript in a web view calls

window.webkit.messageHandlers.<name>.postMessage(), after registering <name> using @@ -769,7 +769,7 @@
-gboolean +gboolean webkit_settings_get_auto_load_images () @@ -75,7 +75,7 @@
-gboolean +gboolean webkit_settings_get_enable_frame_flattening () @@ -91,7 +91,7 @@
-gboolean +gboolean webkit_settings_get_enable_html5_database () @@ -107,7 +107,7 @@
-gboolean +gboolean webkit_settings_get_enable_html5_local_storage () @@ -123,7 +123,7 @@
-gboolean +gboolean webkit_settings_get_enable_hyperlink_auditing () @@ -139,7 +139,7 @@
-gboolean +gboolean webkit_settings_get_enable_java () @@ -155,7 +155,7 @@
-gboolean +gboolean webkit_settings_get_enable_javascript () @@ -171,7 +171,7 @@
-gboolean +gboolean webkit_settings_get_enable_javascript_markup () @@ -187,7 +187,7 @@
-gboolean +gboolean webkit_settings_get_enable_offline_web_application_cache () @@ -203,7 +203,7 @@
-gboolean +gboolean webkit_settings_get_enable_plugins () @@ -219,7 +219,7 @@
-gboolean +gboolean webkit_settings_get_enable_xss_auditor () @@ -235,7 +235,7 @@
-gboolean +gboolean webkit_settings_get_javascript_can_open_windows_automatically () @@ -251,7 +251,7 @@
-gboolean +gboolean webkit_settings_get_load_icons_ignoring_image_load_setting () @@ -266,7 +266,7 @@
const gchar * +const gchar * webkit_settings_get_default_font_family () @@ -281,7 +281,7 @@
const gchar * +const gchar * webkit_settings_get_monospace_font_family () @@ -296,7 +296,7 @@
const gchar * +const gchar * webkit_settings_get_serif_font_family () @@ -311,7 +311,7 @@
const gchar * +const gchar * webkit_settings_get_sans_serif_font_family () @@ -326,7 +326,7 @@
const gchar * +const gchar * webkit_settings_get_cursive_font_family () @@ -341,7 +341,7 @@
const gchar * +const gchar * webkit_settings_get_fantasy_font_family () @@ -356,7 +356,7 @@
const gchar * +const gchar * webkit_settings_get_pictograph_font_family () @@ -372,7 +372,7 @@
-guint32 +guint32 webkit_settings_get_default_font_size () @@ -388,7 +388,7 @@
-guint32 +guint32 webkit_settings_get_default_monospace_font_size () @@ -404,7 +404,7 @@
-guint32 +guint32 webkit_settings_get_minimum_font_size () @@ -419,7 +419,7 @@
const gchar * +const gchar * webkit_settings_get_default_charset () @@ -435,7 +435,7 @@
-gboolean +gboolean webkit_settings_get_enable_developer_extras () @@ -451,7 +451,7 @@
-gboolean +gboolean webkit_settings_get_enable_resizable_text_areas () @@ -467,7 +467,7 @@
-gboolean +gboolean webkit_settings_get_enable_tabs_to_links () @@ -483,7 +483,7 @@
-gboolean +gboolean webkit_settings_get_enable_dns_prefetching () @@ -499,7 +499,7 @@
-gboolean +gboolean webkit_settings_get_enable_caret_browsing () @@ -515,7 +515,7 @@
-gboolean +gboolean webkit_settings_get_enable_fullscreen () @@ -531,7 +531,7 @@
-gboolean +gboolean webkit_settings_get_print_backgrounds () @@ -547,7 +547,7 @@
-gboolean +gboolean webkit_settings_get_enable_webaudio () @@ -563,7 +563,7 @@
-gboolean +gboolean webkit_settings_get_enable_webgl () @@ -587,7 +587,7 @@
-gboolean +gboolean webkit_settings_get_allow_modal_dialogs () @@ -595,7 +595,7 @@
-gboolean +gboolean webkit_settings_get_zoom_text_only () @@ -611,7 +611,7 @@
-gboolean +gboolean webkit_settings_get_javascript_can_access_clipboard () @@ -627,7 +627,7 @@
-gboolean +gboolean webkit_settings_get_media_playback_requires_user_gesture () @@ -643,7 +643,7 @@
-gboolean +gboolean webkit_settings_get_media_playback_allows_inline () @@ -659,7 +659,7 @@
-gboolean +gboolean webkit_settings_get_draw_compositing_indicators () @@ -675,7 +675,7 @@
-gboolean +gboolean webkit_settings_get_enable_site_specific_quirks () @@ -691,7 +691,7 @@
-gboolean +gboolean webkit_settings_get_enable_page_cache () @@ -706,7 +706,7 @@
const gchar * +const gchar * webkit_settings_get_user_agent () @@ -730,7 +730,7 @@
-gboolean +gboolean webkit_settings_get_enable_smooth_scrolling () @@ -746,7 +746,7 @@
-gboolean +gboolean webkit_settings_get_enable_accelerated_2d_canvas () @@ -762,7 +762,7 @@
-gboolean +gboolean webkit_settings_get_enable_write_console_messages_to_stdout () @@ -778,7 +778,7 @@
-gboolean +gboolean webkit_settings_get_enable_media_stream () @@ -794,7 +794,7 @@
-gboolean +gboolean webkit_settings_get_enable_mock_capture_devices () @@ -810,7 +810,7 @@
-gboolean +gboolean webkit_settings_get_enable_spatial_navigation () @@ -826,7 +826,7 @@
-gboolean +gboolean webkit_settings_get_enable_mediasource () @@ -842,7 +842,7 @@
-gboolean +gboolean webkit_settings_get_enable_encrypted_media () @@ -858,7 +858,7 @@
-gboolean +gboolean webkit_settings_get_enable_media_capabilities () @@ -874,7 +874,7 @@
-gboolean +gboolean webkit_settings_get_allow_file_access_from_file_urls () @@ -890,7 +890,7 @@
-gboolean +gboolean webkit_settings_get_allow_universal_access_from_file_urls () @@ -906,7 +906,7 @@
-gboolean +gboolean webkit_settings_get_allow_top_navigation_to_data_urls () @@ -922,7 +922,7 @@
-gboolean +gboolean webkit_settings_get_enable_media () @@ -937,7 +937,7 @@
const gchar * +const gchar * webkit_settings_get_media_content_types_requiring_hardware_support () @@ -964,27 +964,27 @@
gbooleangboolean allow-file-access-from-file-urls Read / Write / Construct
gbooleangboolean allow-modal-dialogs Read / Write / Construct
gbooleangboolean allow-top-navigation-to-data-urls Read / Write / Construct
gbooleangboolean allow-universal-access-from-file-urls Read / Write / Construct
gbooleangboolean auto-load-images Read / Write / Construct
Read / Write / Construct
guintguint default-font-size Read / Write / Construct
guintguint default-monospace-font-size Read / Write / Construct
gbooleangboolean draw-compositing-indicators Read / Write / Construct
gbooleangboolean enable-accelerated-2d-canvas Read / Write / Construct
gbooleangboolean enable-caret-browsing Read / Write / Construct
gbooleangboolean enable-developer-extras Read / Write / Construct
gbooleangboolean enable-dns-prefetching Read / Write / Construct
gbooleangboolean enable-encrypted-media Read / Write / Construct
gbooleangboolean enable-frame-flattening Read / Write / Construct
gbooleangboolean enable-fullscreen Read / Write / Construct
gbooleangboolean enable-html5-database Read / Write / Construct
gbooleangboolean enable-html5-local-storage Read / Write / Construct
gbooleangboolean enable-hyperlink-auditing Read / Write / Construct
gbooleangboolean enable-java Read / Write / Construct
gbooleangboolean enable-javascript Read / Write / Construct
gbooleangboolean enable-javascript-markup Read / Write / Construct
gbooleangboolean enable-media Read / Write / Construct
gbooleangboolean enable-media-capabilities Read / Write / Construct
gbooleangboolean enable-media-stream Read / Write / Construct
gbooleangboolean enable-mediasource Read / Write / Construct
gbooleangboolean enable-mock-capture-devices Read / Write / Construct
gbooleangboolean enable-offline-web-application-cache Read / Write / Construct
gbooleangboolean enable-page-cache Read / Write / Construct
gbooleangboolean enable-plugins Read / Write / Construct
gbooleangboolean enable-resizable-text-areas Read / Write / Construct
gbooleangboolean enable-site-specific-quirks Read / Write / Construct
gbooleangboolean enable-smooth-scrolling Read / Write / Construct
gbooleangboolean enable-spatial-navigation Read / Write / Construct
gbooleangboolean enable-tabs-to-links Read / Write / Construct
gbooleangboolean enable-webaudio Read / Write / Construct
gbooleangboolean enable-webgl Read / Write / Construct
gbooleangboolean enable-write-console-messages-to-stdout Read / Write / Construct
gbooleangboolean enable-xss-auditor Read / Write / Construct
Read / Write / Construct
gbooleangboolean javascript-can-access-clipboard Read / Write / Construct
gbooleangboolean javascript-can-open-windows-automatically Read / Write / Construct
gbooleangboolean load-icons-ignoring-image-load-setting Read / Write / Construct
Read / Write / Construct
gbooleangboolean media-playback-allows-inline Read / Write / Construct
gbooleangboolean media-playback-requires-user-gesture Read / Write / Construct
guintguint minimum-font-size Read / Write / Construct
Read / Write / Construct
gbooleangboolean print-backgrounds Read / Write / Construct
Read / Write / Construct
gbooleangboolean zoom-text-only Read / Write / Construct

...

value of first setting, followed by more settings, -NULL-terminated

 

user_agent

The new custom user agent string or NULL to use the default user agent.

The new custom user agent string or NULL to use the default user agent.

[allow-none]

application_name

The application name used for the user agent or NULL to use the default user agent.

The application name used for the user agent or NULL to use the default user agent.

[allow-none]

application_version

The application version for the user agent or NULL to user the default version.

The application version for the user agent or NULL to user the default version.

[allow-none]

content_types

list of media content types requiring hardware support split by semicolons (:) or NULL to use the default value.

list of media content types requiring hardware support split by semicolons (:) or NULL to use the default value.

[allow-none]
const gchar * +const gchar * webkit_uri_request_get_uri () @@ -65,7 +65,7 @@
const gchar * +const gchar * webkit_uri_request_get_http_method () @@ -73,7 +73,7 @@
-SoupMessageHeaders * +SoupMessageHeaders * webkit_uri_request_get_http_headers () @@ -113,7 +113,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitURIRequest
 
@@ -128,7 +128,7 @@

webkit_uri_request_new ()

WebKitURIRequest *
-webkit_uri_request_new (const gchar *uri);
+webkit_uri_request_new (const gchar *uri);

Creates a new WebKitURIRequest for the given URI.

Parameters

@@ -153,7 +153,7 @@

webkit_uri_request_get_uri ()

-
const gchar *
+
const gchar *
 webkit_uri_request_get_uri (WebKitURIRequest *request);

Parameters

@@ -180,7 +180,7 @@

webkit_uri_request_set_uri ()

void
 webkit_uri_request_set_uri (WebKitURIRequest *request,
-                            const gchar *uri);
+ const gchar *uri);

Set the URI of request

@@ -209,7 +209,7 @@

webkit_uri_request_get_http_method ()

-
const gchar *
+
const gchar *
 webkit_uri_request_get_http_method (WebKitURIRequest *request);

Get the HTTP method of the WebKitURIRequest.

@@ -229,7 +229,7 @@

Returns

-

the HTTP method of the WebKitURIRequest or NULL if request +

the HTTP method of the WebKitURIRequest or NULL if request is not an HTTP request.

@@ -238,9 +238,9 @@

webkit_uri_request_get_http_headers ()

-
SoupMessageHeaders *
+
SoupMessageHeaders *
 webkit_uri_request_get_http_headers (WebKitURIRequest *request);
-

Get the HTTP headers of a WebKitURIRequest as a SoupMessageHeaders.

+

Get the HTTP headers of a WebKitURIRequest as a SoupMessageHeaders.

Parameters

@@ -258,8 +258,8 @@

Returns

-

a SoupMessageHeaders with the HTTP headers of request -or NULL if request +

a SoupMessageHeaders with the HTTP headers of request +or NULL if request is not an HTTP request.

[transfer none]

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURIResponse.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURIResponse.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURIResponse.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURIResponse.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitURIResponse: WPE Reference Manual - + @@ -42,7 +42,7 @@ - - - - + +SoupMessageHeaders * @@ -116,7 +116,7 @@ - + @@ -150,7 +150,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitURIResponse
 
@@ -164,7 +164,7 @@

Functions

webkit_uri_response_get_uri ()

-
const gchar *
+
const gchar *
 webkit_uri_response_get_uri (WebKitURIResponse *response);

Parameters

@@ -189,11 +189,11 @@

webkit_uri_response_get_status_code ()

-
guint
+
guint
 webkit_uri_response_get_status_code (WebKitURIResponse *response);

Get the status code of the WebKitURIResponse as returned by the server. It will normally be a SoupKnownStatusCode, for -example SOUP_STATUS_OK, though the server can respond with any +example SOUP_STATUS_OK, though the server can respond with any unsigned integer.

Parameters

@@ -219,7 +219,7 @@

webkit_uri_response_get_content_length ()

-
guint64
+
guint64
 webkit_uri_response_get_content_length
                                (WebKitURIResponse *response);

Get the expected content length of the WebKitURIResponse. It can @@ -248,7 +248,7 @@


webkit_uri_response_get_mime_type ()

-
const gchar *
+
const gchar *
 webkit_uri_response_get_mime_type (WebKitURIResponse *response);

Parameters

@@ -273,12 +273,12 @@

webkit_uri_response_get_suggested_filename ()

-
const gchar *
+
const gchar *
 webkit_uri_response_get_suggested_filename
                                (WebKitURIResponse *response);

Get the suggested filename for response , as specified by -the 'Content-Disposition' HTTP header, or NULL if it's not +the 'Content-Disposition' HTTP header, or NULL if it's not present.

Parameters

@@ -297,7 +297,7 @@

Returns

-

the suggested filename or NULL if +

the suggested filename or NULL if the 'Content-Disposition' HTTP header is not present.

[transfer none]

@@ -305,9 +305,9 @@

webkit_uri_response_get_http_headers ()

-
SoupMessageHeaders *
+
SoupMessageHeaders *
 webkit_uri_response_get_http_headers (WebKitURIResponse *response);
-

Get the HTTP headers of a WebKitURIResponse as a SoupMessageHeaders.

+

Get the HTTP headers of a WebKitURIResponse as a SoupMessageHeaders.

Parameters

const gchar * +const gchar * webkit_uri_response_get_uri () @@ -50,7 +50,7 @@
-guint +guint webkit_uri_response_get_status_code () @@ -58,21 +58,21 @@
-guint64 +guint64 webkit_uri_response_get_content_length ()
const gchar * +const gchar * webkit_uri_response_get_mime_type ()
const gchar * +const gchar * webkit_uri_response_get_suggested_filename () @@ -80,7 +80,7 @@
-SoupMessageHeaders * +SoupMessageHeaders * webkit_uri_response_get_http_headers () @@ -99,13 +99,13 @@
guint64guint64 content-length Read
-SoupMessageHeaders * http-headers Read
Read
guintguint status-code Read
@@ -325,8 +325,8 @@

Returns

-

a SoupMessageHeaders with the HTTP headers of response -or NULL if response +

a SoupMessageHeaders with the HTTP headers of response +or NULL if response is not an HTTP response.

[transfer none]

@@ -344,7 +344,7 @@

Property Details

The “content-length” property

-
  “content-length”           guint64
+
  “content-length”           guint64

The expected content length of the response.

Owner: WebKitURIResponse

Flags: Read

@@ -353,8 +353,8 @@

The “http-headers” property

-
  “http-headers”             SoupMessageHeaders *
-

The HTTP headers of the response, or NULL if the response is not an HTTP response.

+
  “http-headers”             SoupMessageHeaders *
+

The HTTP headers of the response, or NULL if the response is not an HTTP response.

Owner: WebKitURIResponse

Flags: Read

Since: 2.6

@@ -371,7 +371,7 @@

The “status-code” property

-
  “status-code”              guint
+
  “status-code”              guint

The status code of the response as returned by the server.

Owner: WebKitURIResponse

Flags: Read

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURISchemeRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURISchemeRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitURISchemeRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitURISchemeRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitURISchemeRequest: WPE Reference Manual - + @@ -41,21 +41,21 @@
- - - - + @@ -267,7 +267,7 @@ - + @@ -280,8 +280,8 @@
void
 webkit_uri_scheme_request_finish_error
                                (WebKitURISchemeRequest *request,
-                                GError *error);
-

Finish a WebKitURISchemeRequest with a GError.

+ GError *error); +

Finish a WebKitURISchemeRequest with a GError.

Parameters

const gchar * +const gchar * webkit_uri_scheme_request_get_scheme ()
const gchar * +const gchar * webkit_uri_scheme_request_get_uri ()
const gchar * +const gchar * webkit_uri_scheme_request_get_path () @@ -103,7 +103,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitURISchemeRequest
 
@@ -122,7 +122,7 @@

Functions

webkit_uri_scheme_request_get_scheme ()

-
const gchar *
+
const gchar *
 webkit_uri_scheme_request_get_scheme (WebKitURISchemeRequest *request);

Get the URI scheme of request

@@ -150,7 +150,7 @@

webkit_uri_scheme_request_get_uri ()

-
const gchar *
+
const gchar *
 webkit_uri_scheme_request_get_uri (WebKitURISchemeRequest *request);

Get the URI of request

@@ -178,7 +178,7 @@

webkit_uri_scheme_request_get_path ()

-
const gchar *
+
const gchar *
 webkit_uri_scheme_request_get_path (WebKitURISchemeRequest *request);

Get the URI path of request

@@ -237,9 +237,9 @@

webkit_uri_scheme_request_finish ()

void
 webkit_uri_scheme_request_finish (WebKitURISchemeRequest *request,
-                                  GInputStream *stream,
-                                  gint64 stream_length,
-                                  const gchar *content_type);
+ GInputStream *stream, + gint64 stream_length, + const gchar *content_type);

Finish a WebKitURISchemeRequest by setting the contents of the request and its mime type.

Parameters

@@ -257,7 +257,7 @@

stream

a GInputStream to read the contents of the request

a GInputStream to read the contents of the request

 

content_type

the content type of the stream or NULL if not known.

the content type of the stream or NULL if not known.

[allow-none]
@@ -298,7 +298,7 @@ - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserContentFilterStore.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserContentFilterStore.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserContentFilterStore.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserContentFilterStore.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitUserContentFilterStore: WPE Reference Manual - + @@ -50,7 +50,7 @@ - - + - + - + @@ -318,8 +318,8 @@
WebKitUserContentFilter *
 webkit_user_content_filter_store_save_finish
                                (WebKitUserContentFilterStore *store,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finishes an asynchronous filter save previously started with webkit_user_content_filter_store_save().

@@ -338,12 +338,12 @@
- + - + @@ -351,7 +351,7 @@

Returns

-

a WebKitUserContentFilter, or NULL if saving failed.

+

a WebKitUserContentFilter, or NULL if saving failed.

[transfer full]

Since: 2.24

@@ -362,13 +362,13 @@
void
 webkit_user_content_filter_store_save_from_file
                                (WebKitUserContentFilterStore *store,
-                                const gchar *identifier,
-                                GFile *file,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *identifier, + GFile *file, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously save a content filter from the contents of a file, which must be -native to the platform, as checked by g_file_is_native(). See +native to the platform, as checked by g_file_is_native(). See webkit_user_content_filter_store_save() for more details.

When the operation is finished, callback will be invoked, which then can use @@ -394,17 +394,17 @@

- + - + - + @@ -423,8 +423,8 @@
WebKitUserContentFilter *
 webkit_user_content_filter_store_save_from_file_finish
                                (WebKitUserContentFilterStore *store,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finishes and asynchronous filter save previously started with webkit_user_content_filter_store_save_from_file().

@@ -443,12 +443,12 @@
- + - + @@ -456,7 +456,7 @@

Returns

-

a WebKitUserContentFilter, or NULL if saving failed.

+

a WebKitUserContentFilter, or NULL if saving failed.

[transfer full]

Since: 2.24

@@ -466,10 +466,10 @@

webkit_user_content_filter_store_load ()

void
 webkit_user_content_filter_store_load (WebKitUserContentFilterStore *store,
-                                       const gchar *identifier,
-                                       GCancellable *cancellable,
-                                       GAsyncReadyCallback callback,
-                                       gpointer user_data);
+ const gchar *identifier, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously load a content filter given its identifier . The filter must have been previously stored using webkit_user_content_filter_store_save().

@@ -497,12 +497,12 @@ - + - + @@ -521,8 +521,8 @@
WebKitUserContentFilter *
 webkit_user_content_filter_store_load_finish
                                (WebKitUserContentFilterStore *store,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finishes an asynchronous filter load previously started with webkit_user_content_filter_store_load().

@@ -541,12 +541,12 @@
- + - + @@ -554,7 +554,7 @@

Returns

-

a WebKitUserContentFilter, or NULL if the load failed.

+

a WebKitUserContentFilter, or NULL if the load failed.

[transfer full]

Since: 2.24

@@ -565,10 +565,10 @@
void
 webkit_user_content_filter_store_remove
                                (WebKitUserContentFilterStore *store,
-                                const gchar *identifier,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *identifier, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously remove a content filter given its identifier .

When the operation is finished, callback @@ -596,12 +596,12 @@

- + - + @@ -617,11 +617,11 @@

webkit_user_content_filter_store_remove_finish ()

-
gboolean
+
gboolean
 webkit_user_content_filter_store_remove_finish
                                (WebKitUserContentFilterStore *store,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finishes an asynchronous filter removal previously started with webkit_user_content_filter_store_remove().

@@ -640,12 +640,12 @@
- + - + @@ -663,9 +663,9 @@
void
 webkit_user_content_filter_store_fetch_identifiers
                                (WebKitUserContentFilterStore *store,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously retrieve a list of the identifiers for all the stored filters.

When the operation is finished, callback will be invoked, which then can use @@ -687,12 +687,12 @@

- + - + @@ -708,10 +708,10 @@

webkit_user_content_filter_store_fetch_identifiers_finish ()

-
gchar **
+
gchar **
 webkit_user_content_filter_store_fetch_identifiers_finish
                                (WebKitUserContentFilterStore *store,
-                                GAsyncResult *result);
+ GAsyncResult *result);

Finishes an asynchronous fetch of the list of identifiers for the stored filters previously started with webkit_user_content_filter_store_fetch_identifiers().

@@ -730,7 +730,7 @@
- + @@ -738,7 +738,7 @@

Returns

-

a NULL-terminated list of filter identifiers.

+

a NULL-terminated list of filter identifiers.

[transfer full][array zero-terminated=1][element-type utf8]

Since: 2.24

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserContentManager.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserContentManager.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserContentManager.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserContentManager.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitUserContentManager: WPE Reference Manual - + @@ -99,7 +99,7 @@ - +

error

a GError that will be passed to the WebKitWebView

a GError that will be passed to the WebKitWebView

 
const gchar * +const gchar * webkit_user_content_filter_store_get_path () @@ -114,7 +114,7 @@
-gboolean +gboolean webkit_user_content_filter_store_remove_finish () @@ -130,7 +130,7 @@
-gchar ** +gchar ** webkit_user_content_filter_store_fetch_identifiers_finish () @@ -170,7 +170,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitUserContentFilterStore
 
@@ -193,7 +193,7 @@

webkit_user_content_filter_store_new ()

WebKitUserContentFilterStore *
-webkit_user_content_filter_store_new (const gchar *storage_path);
+webkit_user_content_filter_store_new (const gchar *storage_path);

Create a new WebKitUserContentFilterStore to manipulate filters stored at storage_path . The path must point to a local filesystem, and will be created if needed.

@@ -222,7 +222,7 @@

webkit_user_content_filter_store_get_path ()

-
const gchar *
+
const gchar *
 webkit_user_content_filter_store_get_path
                                (WebKitUserContentFilterStore *store);
@@ -252,11 +252,11 @@

webkit_user_content_filter_store_save ()

void
 webkit_user_content_filter_store_save (WebKitUserContentFilterStore *store,
-                                       const gchar *identifier,
-                                       GBytes *source,
-                                       GCancellable *cancellable,
-                                       GAsyncReadyCallback callback,
-                                       gpointer user_data);
+ const gchar *identifier, + GBytes *source, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously save a content filter from a source rule set in the WebKit content extesions JSON format.

The identifier @@ -289,17 +289,17 @@

source

GBytes containing the rule set in JSON format

GBytes containing the rule set in JSON format

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when saving is completed.

a GAsyncReadyCallback to call when saving is completed.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

file

a GFile containing the rule set in JSON format

a GFile containing the rule set in JSON format

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when saving is completed.

a GAsyncReadyCallback to call when saving is completed.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when the load is completed.

a GAsyncReadyCallback to call when the load is completed.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when the removal is completed.

a GAsyncReadyCallback to call when the removal is completed.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when the removal is completed.

a GAsyncReadyCallback to call when the removal is completed.

[scope async]

result

a GAsyncResult

a GAsyncResult

 
-gboolean +gboolean webkit_user_content_manager_register_script_message_handler () @@ -115,7 +115,7 @@
-gboolean +gboolean webkit_user_content_manager_register_script_message_handler_in_world () @@ -175,7 +175,7 @@
void script-message-receivedHas DetailsHas Details
@@ -194,7 +194,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitUserContentManager
 
@@ -409,10 +409,10 @@

webkit_user_content_manager_register_script_message_handler ()

-
gboolean
+
gboolean
 webkit_user_content_manager_register_script_message_handler
                                (WebKitUserContentManager *manager,
-                                const gchar *name);
+ const gchar *name);

Registers a new user script message handler. After it is registered, scripts can use window.webkit.messageHandlers.&lt;name&gt;.postMessage(value) to send messages. Those messages are received by connecting handlers @@ -466,7 +466,7 @@

Returns

-

TRUE if message handler was registered successfully, or FALSE otherwise.

+

TRUE if message handler was registered successfully, or FALSE otherwise.

Since: 2.8

@@ -476,7 +476,7 @@
void
 webkit_user_content_manager_unregister_script_message_handler
                                (WebKitUserContentManager *manager,
-                                const gchar *name);
+ const gchar *name);

Unregisters a previously registered message handler.

Note that this does *not* disconnect handlers for the “script-message-received” signal; @@ -510,11 +510,11 @@


webkit_user_content_manager_register_script_message_handler_in_world ()

-
gboolean
+
gboolean
 webkit_user_content_manager_register_script_message_handler_in_world
                                (WebKitUserContentManager *manager,
-                                const gchar *name,
-                                const gchar *world_name);
+ const gchar *name, + const gchar *world_name);

Registers a new user script message handler in script world with name world_name . See webkit_user_content_manager_register_script_message_handler() for full description.

@@ -541,7 +541,7 @@

world_name

the name of a WebKitScriptWorld

the name of a WebKitScriptWorld

 

world_name

the name of a WebKitScriptWorld

the name of a WebKitScriptWorld

 
-

Flags: Has Details

+

Flags: Has Details

Since: 2.8

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserMediaPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserMediaPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserMediaPermissionRequest.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserMediaPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitUserMediaPermissionRequest: WPE Reference Manual - + @@ -44,7 +44,7 @@ -gboolean +gboolean webkit_user_media_permission_is_for_audio_device () @@ -52,7 +52,7 @@ -gboolean +gboolean webkit_user_media_permission_is_for_video_device () @@ -71,12 +71,12 @@ -gboolean +gboolean is-for-audio-device Read -gboolean +gboolean is-for-video-device Read @@ -98,7 +98,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitUserMediaPermissionRequest
 
@@ -120,7 +120,7 @@

Functions

webkit_user_media_permission_is_for_audio_device ()

-
gboolean
+
gboolean
 webkit_user_media_permission_is_for_audio_device
                                (WebKitUserMediaPermissionRequest *request);
@@ -140,14 +140,14 @@

Returns

-

TRUE if access to an audio device was requested.

+

TRUE if access to an audio device was requested.

Since: 2.8


webkit_user_media_permission_is_for_video_device ()

-
gboolean
+
gboolean
 webkit_user_media_permission_is_for_video_device
                                (WebKitUserMediaPermissionRequest *request);
@@ -167,7 +167,7 @@

Returns

-

TRUE if access to a video device was requested.

+

TRUE if access to a video device was requested.

Since: 2.8

@@ -183,7 +183,7 @@

Property Details

The “is-for-audio-device” property

-
  “is-for-audio-device”      gboolean
+
  “is-for-audio-device”      gboolean

Whether the media device to which the permission was requested has a microphone or not.

Owner: WebKitUserMediaPermissionRequest

Flags: Read

@@ -192,7 +192,7 @@

The “is-for-video-device” property

-
  “is-for-video-device”      gboolean
+
  “is-for-video-device”      gboolean

Whether the media device to which the permission was requested has a video capture capability or not.

Owner: WebKitUserMediaPermissionRequest

Flags: Read

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserMessage.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserMessage.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitUserMessage.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitUserMessage.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitUserMessage: WPE Reference Manual - + @@ -66,7 +66,7 @@ -GVariant * +GVariant * webkit_user_message_get_parameters () @@ -74,7 +74,7 @@ -GUnixFDList * +GUnixFDList * webkit_user_message_get_fd_list () @@ -90,7 +90,7 @@ -GQuark +GQuark webkit_user_message_error_quark () @@ -110,7 +110,7 @@ -GUnixFDList * +GUnixFDList * fd-list Read / Write / Construct Only @@ -122,7 +122,7 @@ -GVariant * +GVariant * parameters Read / Write / Construct Only @@ -154,8 +154,8 @@

Object Hierarchy

-
    GObject
-    ╰── GInitiallyUnowned
+
    GObject
+    ╰── GInitiallyUnowned
         ╰── WebKitUserMessage
 
@@ -163,9 +163,9 @@

Description

A WebKitUserMessage is a message that can be used for the communication between the UI process and web extensions. A WebKitUserMessage always has a name, and it can also include parameters and -UNIX file descriptors. Messages can be sent from a WebKitWebContext to all WebKitWebExtensions, -from a WebKitWebExtension to its corresponding WebKitWebContext, and from a WebKitWebView to its -corresponding WebKitWebPage (and vice versa). One to one messages can be replied to directly with +UNIX file descriptors. Messages can be sent from a WebKitWebContext to all WebKitWebExtensions, +from a WebKitWebExtension to its corresponding WebKitWebContext, and from a WebKitWebView to its +corresponding WebKitWebPage (and vice versa). One to one messages can be replied to directly with webkit_user_message_send_reply().

@@ -174,7 +174,7 @@

webkit_user_message_new ()

WebKitUserMessage *
 webkit_user_message_new (const char *name,
-                         GVariant *parameters);
+ GVariant *parameters);

Create a new WebKitUserMessage with name .

@@ -193,7 +193,7 @@

parameters

-

the message parameters as a GVariant, or NULL.

+

the message parameters as a GVariant, or NULL.

[nullable] @@ -210,8 +210,8 @@

webkit_user_message_new_with_fd_list ()

WebKitUserMessage *
 webkit_user_message_new_with_fd_list (const char *name,
-                                      GVariant *parameters,
-                                      GUnixFDList *fd_list);
+ GVariant *parameters, + GUnixFDList *fd_list);

Create a new WebKitUserMessage including also a list of UNIX file descriptors to be sent.

Parameters

@@ -229,7 +229,7 @@

parameters

-

the message parameters as a GVariant.

+

the message parameters as a GVariant.

[nullable] @@ -277,7 +277,7 @@

webkit_user_message_get_parameters ()

-
GVariant *
+
GVariant *
 webkit_user_message_get_parameters (WebKitUserMessage *message);

Get the message parameters

@@ -306,7 +306,7 @@

webkit_user_message_get_fd_list ()

-
GUnixFDList *
+
GUnixFDList *
 webkit_user_message_get_fd_list (WebKitUserMessage *message);

Get the message list of file descritpor

@@ -370,7 +370,7 @@

webkit_user_message_error_quark ()

-
GQuark
+
GQuark
 webkit_user_message_error_quark (void);
@@ -414,7 +414,7 @@

Property Details

The “fd-list” property

-
  “fd-list”                  GUnixFDList *
+
  “fd-list”                  GUnixFDList *

The UNIX file descriptors of the user message.

Owner: WebKitUserMessage

Flags: Read / Write / Construct Only

@@ -433,8 +433,8 @@

The “parameters” property

-
  “parameters”               GVariant *
-

The parameters of the user message as a GVariant, or NULL +

  “parameters”               GVariant *
+

The parameters of the user message as a GVariant, or NULL if the message doesn't include parameters. Note that only complete types are allowed.

Owner: WebKitUserMessage

@@ -446,7 +446,7 @@
@@ -473,7 +473,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitWebContext
 
@@ -576,7 +576,7 @@

webkit_web_context_is_ephemeral ()

-
gboolean
+
gboolean
 webkit_web_context_is_ephemeral (WebKitWebContext *context);

Get whether a WebKitWebContext is ephemeral.

@@ -596,15 +596,15 @@

Returns

-

TRUE if context -is ephemeral or FALSE otherwise.

+

TRUE if context +is ephemeral or FALSE otherwise.

Since: 2.16


webkit_web_context_is_automation_allowed ()

-
gboolean
+
gboolean
 webkit_web_context_is_automation_allowed
                                (WebKitWebContext *context);

Get whether automation is allowed in context @@ -627,7 +627,7 @@

Returns

-

TRUE if automation is allowed or FALSE otherwise.

+

TRUE if automation is allowed or FALSE otherwise.

Since: 2.18

@@ -637,12 +637,12 @@
void
 webkit_web_context_set_automation_allowed
                                (WebKitWebContext *context,
-                                gboolean allowed);
+ gboolean allowed);

Set whether automation is allowed in context . When automation is enabled the browser could be controlled by another process by requesting an automation session. When a new automation session is requested the signal “automation-started” is emitted. -Automation is disabled by default, so you need to explicitly call this method passing TRUE +Automation is disabled by default, so you need to explicitly call this method passing TRUE to enable it.

Note that only one WebKitWebContext can have automation enabled, so this will do nothing if there's another WebKitWebContext with automation already enabled.

@@ -776,7 +776,7 @@

webkit_web_context_get_web_process_count_limit ()

-
guint
+
guint
 webkit_web_context_get_web_process_count_limit
                                (WebKitWebContext *context);

webkit_web_context_get_web_process_count_limit has been deprecated since version 2.26 and should not be used in newly-written code.

@@ -810,7 +810,7 @@
void
 webkit_web_context_set_web_process_count_limit
                                (WebKitWebContext *context,
-                                guint limit);
+ guint limit);

webkit_web_context_set_web_process_count_limit has been deprecated since version 2.26 and should not be used in newly-written code.

Sets the maximum number of web processes that can be created at the same time for the context . @@ -878,7 +878,7 @@

Set the network proxy settings to be used by connections started in context . By default WEBKIT_NETWORK_PROXY_MODE_DEFAULT is used, which means that the -system settings will be used (g_proxy_resolver_get_default()). +system settings will be used (g_proxy_resolver_get_default()). If you want to override the system default settings, you can either use WEBKIT_NETWORK_PROXY_MODE_NO_PROXY to make sure no proxies are used at all, or WEBKIT_NETWORK_PROXY_MODE_CUSTOM to provide your own proxy settings. @@ -886,7 +886,7 @@ is WEBKIT_NETWORK_PROXY_MODE_CUSTOM proxy_settings must be a valid WebKitNetworkProxySettings; otherwise, proxy_settings - must be NULL.

+ must be NULL.

Parameters

@@ -908,7 +908,7 @@ - + @@ -921,7 +921,7 @@

webkit_web_context_download_uri ()

WebKitDownload *
 webkit_web_context_download_uri (WebKitWebContext *context,
-                                 const gchar *uri);
+ const gchar *uri);

Requests downloading of the specified URI string. The download operation will not be associated to any WebKitWebView, if you are interested in starting a download from a particular WebKitWebView use @@ -1053,12 +1053,12 @@

void
 webkit_web_context_set_favicon_database_directory
                                (WebKitWebContext *context,
-                                const gchar *path);
+ const gchar *path);

Set the directory path to be used to store the favicons database for context - on disk. Passing NULL as path + on disk. Passing NULL as path means using the -default directory for the platform (see g_get_user_cache_dir()).

+default directory for the platform (see g_get_user_cache_dir()).

Calling this method also means enabling the favicons database for its use from the applications, so that's why it's expected to be called only once. Further calls for the same instance of @@ -1080,7 +1080,7 @@

+directory or NULL to use the defaults.

@@ -1090,12 +1090,12 @@

webkit_web_context_get_favicon_database_directory ()

-
const gchar *
+
const gchar *
 webkit_web_context_get_favicon_database_directory
                                (WebKitWebContext *context);

Get the directory path being used to store the favicons database for context -, or NULL if +, or NULL if webkit_web_context_set_favicon_database_directory() hasn't been called yet.

This function will always return the same path after having called @@ -1120,7 +1120,7 @@

Returns

the path of the directory of the favicons database associated with context -, or NULL.

+, or NULL.

[transfer none]

@@ -1160,7 +1160,7 @@
void
 webkit_web_context_set_additional_plugins_directory
                                (WebKitWebContext *context,
-                                const gchar *directory);
+ const gchar *directory);

webkit_web_context_set_additional_plugins_directory has been deprecated since version 2.32 and should not be used in newly-written code.

Set an additional directory where WebKit will look for plugins.

@@ -1191,9 +1191,9 @@

webkit_web_context_get_plugins ()

void
 webkit_web_context_get_plugins (WebKitWebContext *context,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

webkit_web_context_get_plugins has been deprecated since version 2.32 and should not be used in newly-written code.

Asynchronously get the list of installed plugins.

When the operation is finished, callback @@ -1215,12 +1215,12 @@

- + - + @@ -1235,10 +1235,10 @@

webkit_web_context_get_plugins_finish ()

-
GList *
+
GList *
 webkit_web_context_get_plugins_finish (WebKitWebContext *context,
-                                       GAsyncResult *result,
-                                       GError **error);
+ GAsyncResult *result, + GError **error);

webkit_web_context_get_plugins_finish has been deprecated since version 2.32 and should not be used in newly-written code.

Finish an asynchronous operation started with webkit_web_context_get_plugins.

@@ -1257,12 +1257,12 @@
- + - + @@ -1270,15 +1270,15 @@

Returns

-

a GList of WebKitPlugin. You must free the GList with -g_list_free() and unref the WebKitPlugins with g_object_unref() when you're done with them.

+

a GList of WebKitPlugin. You must free the GList with +g_list_free() and unref the WebKitPlugins with g_object_unref() when you're done with them.

[element-type WebKitPlugin][transfer full]


webkit_web_context_get_sandbox_enabled ()

-
gboolean
+
gboolean
 webkit_web_context_get_sandbox_enabled
                                (WebKitWebContext *context);

Get whether sandboxing is currently enabled.

@@ -1299,7 +1299,7 @@

Returns

-

TRUE if sandboxing is enabled, or FALSE otherwise.

+

TRUE if sandboxing is enabled, or FALSE otherwise.

Since: 2.26

@@ -1309,7 +1309,7 @@
void
 webkit_web_context_set_sandbox_enabled
                                (WebKitWebContext *context,
-                                gboolean enabled);
+ gboolean enabled);

Set whether WebKit subprocesses will be sandboxed, limiting access to the system.

This method **must be called before any web process has been created**, as early as possible in your application. Calling it later is a fatal error.

@@ -1330,7 +1330,7 @@ - + @@ -1345,7 +1345,7 @@ webkit_web_context_add_path_to_sandbox (WebKitWebContext *context, const char *path, - gboolean read_only); + gboolean read_only);

Adds a path to be mounted in the sandbox. path must exist before any web process has been created otherwise it will be silently ignored. It is a fatal error to @@ -1374,7 +1374,7 @@

- + @@ -1385,7 +1385,7 @@

webkit_web_context_get_spell_checking_enabled ()

-
gboolean
+
gboolean
 webkit_web_context_get_spell_checking_enabled
                                (WebKitWebContext *context);

Get whether spell checking feature is currently enabled.

@@ -1406,7 +1406,7 @@

Returns

-

TRUE If spell checking is enabled, or FALSE otherwise.

+

TRUE If spell checking is enabled, or FALSE otherwise.


@@ -1415,7 +1415,7 @@
void
 webkit_web_context_set_spell_checking_enabled
                                (WebKitWebContext *context,
-                                gboolean enabled);
+ gboolean enabled);

Enable or disable the spell checking feature.

Parameters

@@ -1443,12 +1443,12 @@

webkit_web_context_get_spell_checking_languages ()

-
const gchar * const *
+
const gchar * const *
 webkit_web_context_get_spell_checking_languages
                                (WebKitWebContext *context);

Get the the list of spell checking languages associated with context -, or NULL if no languages have been previously set.

+, or NULL if no languages have been previously set.

See webkit_web_context_set_spell_checking_languages() for more details on the format of the languages in the list.

@@ -1468,8 +1468,8 @@

Returns

-

A NULL-terminated -array of languages if available, or NULL otherwise.

+

A NULL-terminated +array of languages if available, or NULL otherwise.

[array zero-terminated=1][element-type utf8][transfer none]

@@ -1479,7 +1479,7 @@
void
 webkit_web_context_set_spell_checking_languages
                                (WebKitWebContext *context,
-                                const gchar * const *languages);
+ const gchar * const *languages);

Set the list of spell checking languages to be used for spell checking.

The locale string typically is in the form lang_COUNTRY, where lang @@ -1505,7 +1505,7 @@

- + @@ -1518,7 +1518,7 @@
void
 webkit_web_context_set_preferred_languages
                                (WebKitWebContext *context,
-                                const gchar * const *languages);
+ const gchar * const *languages);

Set the list of preferred languages, sorted from most desirable to least desirable. The list will be used to build the "Accept-Language" header that will be included in the network requests started by @@ -1539,7 +1539,7 @@

- + @@ -1621,7 +1621,7 @@
void
 webkit_web_context_set_web_extensions_directory
                                (WebKitWebContext *context,
-                                const gchar *directory);
+ const gchar *directory);

Set the directory where WebKit will look for Web Extensions. This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to @@ -1656,10 +1656,10 @@

void
 webkit_web_context_set_web_extensions_initialization_user_data
                                (WebKitWebContext *context,
-                                GVariant *user_data);
+ GVariant *user_data);

Set user data to be passed to Web Extensions on initialization. The data will be passed to the -WebKitWebExtensionInitializeWithUserDataFunction. +WebKitWebExtensionInitializeWithUserDataFunction. This method must be called before loading anything in this context, otherwise it will not have any effect. You can connect to “initialize-web-extensions” to call this method @@ -1680,7 +1680,7 @@

- + @@ -1693,7 +1693,7 @@

webkit_web_context_prefetch_dns ()

void
 webkit_web_context_prefetch_dns (WebKitWebContext *context,
-                                 const gchar *hostname);
+ const gchar *hostname);

Resolve the domain name of the given hostname in advance, so that if a URI of hostname @@ -1727,8 +1727,8 @@

void
 webkit_web_context_allow_tls_certificate_for_host
                                (WebKitWebContext *context,
-                                GTlsCertificate *certificate,
-                                const gchar *host);
+ GTlsCertificate *certificate, + const gchar *host);

Ignore further TLS errors on the host for the certificate present in info .

@@ -1748,7 +1748,7 @@ - + @@ -1839,13 +1839,13 @@
void
 webkit_web_context_initialize_notification_permissions
                                (WebKitWebContext *context,
-                                GList *allowed_origins,
-                                GList *disallowed_origins);
+ GList *allowed_origins, + GList *disallowed_origins);

Sets initial desktop notification permissions for the context . allowed_origins and disallowed_origins - must each be GList of + must each be GList of WebKitSecurityOrigin objects representing origins that will, respectively, either always or never have permission to show desktop notifications. No WebKitNotificationPermissionRequest will ever be @@ -1876,12 +1876,12 @@

- + - + @@ -1897,7 +1897,7 @@ (WebKitWebContext *context, WebKitUserMessage *message);

Send message - to all WebKitWebExtensions associated to context + to all WebKitWebExtensions associated to context . If message is floating, it's consumed.

@@ -1930,7 +1930,7 @@

WebKitURISchemeRequestCallback ()

void
 (*WebKitURISchemeRequestCallback) (WebKitURISchemeRequest *request,
-                                   gpointer user_data);
+ gpointer user_data);

Type definition for a function that will be called back when an URI request is made for a user registered URI scheme.

@@ -1962,17 +1962,17 @@
void
 webkit_web_context_register_uri_scheme
                                (WebKitWebContext *context,
-                                const gchar *scheme,
+                                const gchar *scheme,
                                 WebKitURISchemeRequestCallback callback,
-                                gpointer user_data,
-                                GDestroyNotify user_data_destroy_func);
+ gpointer user_data, + GDestroyNotify user_data_destroy_func);

Register scheme in context , so that when an URI request with scheme is made in the WebKitWebContext, the WebKitURISchemeRequestCallback registered will be called with a WebKitURISchemeRequest. -It is possible to handle URI scheme requests asynchronously, by calling g_object_ref() on the +It is possible to handle URI scheme requests asynchronously, by calling g_object_ref() on the WebKitURISchemeRequest and calling webkit_uri_scheme_request_finish() later when the data of the request is available or webkit_uri_scheme_request_finish_error() in case of error.

@@ -2194,7 +2194,7 @@
void
 user_function (WebKitWebContext        *context,
                WebKitAutomationSession *session,
-               gpointer                 user_data)
+ gpointer user_data)

This signal is emitted when a new automation request is made. Note that it will never be emitted if automation is not enabled in context , @@ -2226,7 +2226,7 @@

proxy_settings

a WebKitNetworkProxySettings, or NULL.

a WebKitNetworkProxySettings, or NULL.

[allow-none]

path

an absolute path to the icon database -directory or NULL to use the defaults.

[allow-none]

cancellable

a GCancellable or NULL to ignore.

a GCancellable or NULL to ignore.

[allow-none]

callback

a GAsyncReadyCallback to call when the request is satisfied.

a GAsyncReadyCallback to call when the request is satisfied.

[scope async]

result

a GAsyncResult

a GAsyncResult

 

error

return location for error or NULL to ignore

return location for error or NULL to ignore

 

enabled

if TRUE enable sandboxing

if TRUE enable sandboxing

 

read_only

if TRUE the path will be read-only

if TRUE the path will be read-only

 

languages

a NULL-terminated list of spell checking languages.

a NULL-terminated list of spell checking languages.

[array zero-terminated=1][transfer none]

languages

a NULL-terminated list of language identifiers.

a NULL-terminated list of language identifiers.

[allow-none][array zero-terminated=1][element-type utf8][transfer none]

user_data

a GVariant

a GVariant

 

certificate

a GTlsCertificate

a GTlsCertificate

 

allowed_origins

a GList of security origins.

a GList of security origins.

[element-type WebKitSecurityOrigin]

disallowed_origins

a GList of security origins.

a GList of security origins.

[element-type WebKitSecurityOrigin]
-

Flags: Run Last

+

Flags: Run Last

Since: 2.18


@@ -2235,7 +2235,7 @@
void
 user_function (WebKitWebContext *context,
                WebKitDownload   *download,
-               gpointer          user_data)
+ gpointer user_data)

This signal is emitted when a new download request is made.

Parameters

@@ -2264,14 +2264,14 @@
-

Flags: Run Last

+

Flags: Run Last


The “initialize-notification-permissions” signal

void
 user_function (WebKitWebContext *context,
-               gpointer          user_data)
+ gpointer user_data)

This signal is emitted when a WebKitWebContext needs to set initial notification permissions for a web process. It is emitted when a new web process is about to be launched, and signals the @@ -2302,7 +2302,7 @@

-

Flags: Run Last

+

Flags: Run Last

Since: 2.16


@@ -2310,7 +2310,7 @@

The “initialize-web-extensions” signal

void
 user_function (WebKitWebContext *context,
-               gpointer          user_data)
+ gpointer user_data)

This signal is emitted when a new web process is about to be launched. It signals the most appropriate moment to use webkit_web_context_set_web_extensions_initialization_user_data() @@ -2337,22 +2337,22 @@

-

Flags: Run Last

+

Flags: Run Last

Since: 2.4


The “user-message-received” signal

-
gboolean
+
gboolean
 user_function (WebKitWebContext  *context,
                WebKitUserMessage *message,
-               gpointer           user_data)
+ gpointer user_data)

This signal is emitted when a WebKitUserMessage is received from a -WebKitWebExtension. You can reply to the message using +WebKitWebExtension. You can reply to the message using webkit_user_message_send_reply().

-

You can handle the user message asynchronously by calling g_object_ref() on +

You can handle the user message asynchronously by calling g_object_ref() on message - and returning TRUE.

+ and returning TRUE.

Parameters

@@ -2382,9 +2382,9 @@

Returns

-

TRUE if the message was handled, or FALSE otherwise.

+

TRUE if the message was handled, or FALSE otherwise.

-

Flags: Run Last

+

Flags: Run Last

Since: 2.28

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebResource.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebResource.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebResource.html 2021-07-23 12:20:52.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebResource.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebResource: WPE Reference Manual - + @@ -43,7 +43,7 @@ - - + - + - + - + - +
const gchar * +const gchar * webkit_web_resource_get_uri () @@ -67,7 +67,7 @@
-guchar * +guchar * webkit_web_resource_get_data_finish () @@ -112,27 +112,27 @@
void failedRun LastRun Last
void failed-with-tls-errorsRun LastRun Last
void finishedRun LastRun Last
void received-dataRun LastRun Last
void sent-requestRun LastRun Last
@@ -152,7 +152,7 @@

Object Hierarchy

-
    GObject
+
    GObject
     ╰── WebKitWebResource
 
@@ -171,7 +171,7 @@

Functions

webkit_web_resource_get_uri ()

-
const gchar *
+
const gchar *
 webkit_web_resource_get_uri (WebKitWebResource *resource);

Returns the current active URI of resource . The active URI might change during @@ -225,7 +225,7 @@

WebKitURIResponse *
 webkit_web_resource_get_response (WebKitWebResource *resource);

Retrieves the WebKitURIResponse of the resource load operation. -This method returns NULL if called before the response +This method returns NULL if called before the response is received from the server. You can connect to notify::response signal to be notified when the response is received.

@@ -245,7 +245,7 @@

Returns

-

the WebKitURIResponse, or NULL if +

the WebKitURIResponse, or NULL if the response hasn't been received yet.

[transfer none]

@@ -255,9 +255,9 @@

webkit_web_resource_get_data ()

void
 webkit_web_resource_get_data (WebKitWebResource *resource,
-                              GCancellable *cancellable,
-                              GAsyncReadyCallback callback,
-                              gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously get the raw data for resource .

When the operation is finished, callback @@ -279,12 +279,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -299,11 +299,11 @@

webkit_web_resource_get_data_finish ()

-
guchar *
+
guchar *
 webkit_web_resource_get_data_finish (WebKitWebResource *resource,
-                                     GAsyncResult *result,
-                                     gsize *length,
-                                     GError **error);
+ GAsyncResult *result, + gsize *length, + GError **error);

Finish an asynchronous operation started with webkit_web_resource_get_data().

Parameters

@@ -321,7 +321,7 @@

result

-

a GAsyncResult

+

a GAsyncResult

  @@ -331,7 +331,7 @@

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -341,8 +341,8 @@

Returns

a string with the data of resource -, or NULL in case of error. if length -is not NULL, the size of the data will be assigned to it.

+, or NULL in case of error. if length +is not NULL, the size of the data will be assigned to it.

[transfer full][array length=length][element-type guint8]

@@ -380,8 +380,8 @@

The “failed” signal

void
 user_function (WebKitWebResource *resource,
-               GError            *error,
-               gpointer           user_data)
+ GError *error, + gpointer user_data)

This signal is emitted when an error occurs during the resource load operation.

@@ -400,7 +400,7 @@

error

-

the GError that was triggered

+

the GError that was triggered

  @@ -411,16 +411,16 @@
-

Flags: Run Last

+

Flags: Run Last


The “failed-with-tls-errors” signal

void
 user_function (WebKitWebResource   *resource,
-               GTlsCertificate     *certificate,
-               GTlsCertificateFlags errors,
-               gpointer             user_data)
+ GTlsCertificate *certificate, + GTlsCertificateFlags errors, + gpointer user_data)

This signal is emitted when a TLS error occurs during the resource load operation.

Parameters

@@ -438,12 +438,12 @@

certificate

-

a GTlsCertificate

+

a GTlsCertificate

 

errors

-

a GTlsCertificateFlags with the verification status of certificate +

a GTlsCertificateFlags with the verification status of certificate

  @@ -455,7 +455,7 @@
-

Flags: Run Last

+

Flags: Run Last

Since: 2.8


@@ -463,7 +463,7 @@

The “finished” signal

void
 user_function (WebKitWebResource *resource,
-               gpointer           user_data)
+ gpointer user_data)

This signal is emitted when the resource load finishes successfully or due to an error. In case of errors “failed” signal is emitted before this one.

@@ -489,15 +489,15 @@ -

Flags: Run Last

+

Flags: Run Last


The “received-data” signal

void
 user_function (WebKitWebResource *resource,
-               guint64            data_length,
-               gpointer           user_data)
+ guint64 data_length, + gpointer user_data)

This signal is emitted after response is received, every time new data has been received. It's useful to know the progress of the resource load operation.

@@ -528,7 +528,7 @@
-

Flags: Run Last

+

Flags: Run Last


@@ -537,7 +537,7 @@ user_function (WebKitWebResource *resource, WebKitURIRequest *request, WebKitURIResponse *redirected_response, - gpointer user_data) + gpointer user_data)

This signal is emitted when request has been sent to the server. In case of a server redirection this signal is @@ -568,7 +568,7 @@

redirected_response

-

a WebKitURIResponse, or NULL

+

a WebKitURIResponse, or NULL

  @@ -579,7 +579,7 @@
-

Flags: Run Last

+

Flags: Run Last

diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebView.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebView.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebView.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebView.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ The main frame document title of this #WebKitWebView. If the title has not been received yet, it will be %NULL.: WPE Reference Manual - + @@ -102,7 +102,7 @@ -gboolean +gboolean webkit_web_view_is_ephemeral () @@ -110,7 +110,7 @@ -gboolean +gboolean webkit_web_view_is_controlled_by_automation () @@ -206,7 +206,7 @@ -gboolean +gboolean webkit_web_view_can_go_back () @@ -222,7 +222,7 @@ -gboolean +gboolean webkit_web_view_can_go_forward () @@ -237,7 +237,7 @@ -const gchar * +const gchar * webkit_web_view_get_title () @@ -245,7 +245,7 @@ -guint64 +guint64 webkit_web_view_get_page_id () @@ -277,7 +277,7 @@ -gboolean +gboolean webkit_web_view_is_loading () @@ -285,7 +285,7 @@ -gboolean +gboolean webkit_web_view_is_playing_audio () @@ -301,7 +301,7 @@ -gboolean +gboolean webkit_web_view_get_is_muted () @@ -309,14 +309,14 @@ -gdouble +gdouble webkit_web_view_get_estimated_load_progress () -const gchar * +const gchar * webkit_web_view_get_custom_charset () @@ -347,7 +347,7 @@ -const gchar * +const gchar * webkit_web_view_get_uri () @@ -387,7 +387,7 @@ -gdouble +gdouble webkit_web_view_get_zoom_level () @@ -403,7 +403,7 @@ -gboolean +gboolean webkit_web_view_can_execute_editing_command_finish () @@ -483,7 +483,7 @@ -gboolean +gboolean webkit_web_view_can_show_mime_type () @@ -499,7 +499,7 @@ -GInputStream * +GInputStream * webkit_web_view_save_finish () @@ -515,7 +515,7 @@ -gboolean +gboolean webkit_web_view_save_to_file_finish () @@ -531,7 +531,7 @@ -gboolean +gboolean webkit_web_view_get_tls_info () @@ -547,7 +547,7 @@ -gboolean +gboolean webkit_web_view_is_editable () @@ -587,7 +587,7 @@ -guint +guint webkit_web_view_add_frame_displayed_callback () @@ -675,7 +675,7 @@ -JSCValue * +JSCValue * webkit_javascript_result_get_js_value () @@ -706,7 +706,7 @@ -const gchar * +const gchar * webkit_script_dialog_get_message () @@ -721,7 +721,7 @@ -const gchar * +const gchar * webkit_script_dialog_prompt_get_default_text () @@ -769,7 +769,7 @@ -GBytes * +GBytes * webkit_web_view_session_state_serialize () @@ -799,7 +799,7 @@ Read / Write / Construct Only -gboolean +gboolean editable Read / Write @@ -809,32 +809,32 @@ Read -gboolean +gboolean is-controlled-by-automation Read / Write / Construct Only -gboolean +gboolean is-ephemeral Read / Write / Construct Only -gboolean +gboolean is-loading Read -gboolean +gboolean is-muted Read / Write -gboolean +gboolean is-playing-audio Read -guint64 +guint64 page-id Read @@ -898,125 +898,125 @@ -gboolean +gboolean authenticate -Run Last +Run Last void close -Run Last +Run Last -gboolean +gboolean context-menu -Run Last +Run Last void context-menu-dismissed -Run Last +Run Last WebKitWebView* create -Run Last +Run Last -gboolean +gboolean decide-policy -Run Last +Run Last -gboolean +gboolean enter-fullscreen -Run Last +Run Last void insecure-content-detected -Run Last +Run Last -gboolean +gboolean leave-fullscreen -Run Last +Run Last void load-changed -Run Last +Run Last -gboolean +gboolean load-failed -Run Last +Run Last -gboolean +gboolean load-failed-with-tls-errors -Run Last +Run Last void mouse-target-changed -Run Last +Run Last -gboolean +gboolean permission-request -Run Last +Run Last void ready-to-show -Run Last +Run Last void resource-load-started -Run Last +Run Last void run-as-modal -Run Last +Run Last -gboolean +gboolean run-file-chooser -Run Last +Run Last -gboolean +gboolean script-dialog -Run Last +Run Last -gboolean +gboolean show-notification -Run Last +Run Last -gboolean +gboolean show-option-menu -Run Last +Run Last void submit-form -Run Last +Run Last -gboolean +gboolean user-message-received -Run Last +Run Last void web-process-terminated -Run Last +Run Last @@ -1114,11 +1114,11 @@

Object Hierarchy

-
    GBoxed
+
    GBoxed
     ├── WebKitJavascriptResult
     ├── WebKitScriptDialog
     ╰── WebKitWebViewSessionState
-    GObject
+    GObject
     ╰── WebKitWebView
 
@@ -1138,7 +1138,7 @@

WebKitFrameDisplayedCallback ()

void
 (*WebKitFrameDisplayedCallback) (WebKitWebView *web_view,
-                                 gpointer user_data);
+ gpointer user_data);

Callback to be called when a frame is displayed in a webKitWebView.

Parameters

@@ -1232,10 +1232,10 @@

webkit_web_view_is_ephemeral ()

-
gboolean
+
gboolean
 webkit_web_view_is_ephemeral (WebKitWebView *web_view);

Get whether a WebKitWebView is ephemeral. To create an ephemeral WebKitWebView you need to -use g_object_new() and pass is-ephemeral property with TRUE value. See +use g_object_new() and pass is-ephemeral property with TRUE value. See “is-ephemeral” for more details. If web_view was created with a ephemeral “related-view” or an @@ -1257,15 +1257,15 @@

Returns

-

TRUE if web_view -is ephemeral or FALSE otherwise.

+

TRUE if web_view +is ephemeral or FALSE otherwise.

Since: 2.16


webkit_web_view_is_controlled_by_automation ()

-
gboolean
+
gboolean
 webkit_web_view_is_controlled_by_automation
                                (WebKitWebView *web_view);

Get whether a WebKitWebView was created with “is-controlled-by-automation” @@ -1288,8 +1288,8 @@

Returns

-

TRUE if web_view -is controlled by automation, or FALSE otherwise.

+

TRUE if web_view +is controlled by automation, or FALSE otherwise.

Since: 2.18

@@ -1445,7 +1445,7 @@

webkit_web_view_load_uri ()

void
 webkit_web_view_load_uri (WebKitWebView *web_view,
-                          const gchar *uri);
+ const gchar *uri);

Requests loading of the specified URI string. You can monitor the load operation by connecting to “load-changed” signal.

@@ -1477,13 +1477,13 @@

webkit_web_view_load_html ()

void
 webkit_web_view_load_html (WebKitWebView *web_view,
-                           const gchar *content,
-                           const gchar *base_uri);
+ const gchar *content, + const gchar *base_uri);

Load the given content string with the specified base_uri . If base_uri - is not NULL, relative URLs in the content + is not NULL, relative URLs in the content will be resolved against base_uri and absolute local paths must be children of the base_uri @@ -1495,7 +1495,7 @@ that are local paths in a different directory than base_uri you can build a data URI for them. When base_uri - is NULL, + is NULL, it defaults to "about:blank". The mime type of the document will be "text/html". You can monitor the load operation by connecting to “load-changed” signal.

@@ -1519,7 +1519,7 @@

base_uri

-

The base URI for relative locations or NULL.

+

The base URI for relative locations or NULL.

[allow-none] @@ -1531,9 +1531,9 @@

webkit_web_view_load_alternate_html ()

void
 webkit_web_view_load_alternate_html (WebKitWebView *web_view,
-                                     const gchar *content,
-                                     const gchar *content_uri,
-                                     const gchar *base_uri);
+ const gchar *content, + const gchar *content_uri, + const gchar *base_uri);

Load the given content string for the URI content_uri . @@ -1568,7 +1568,7 @@

base_uri

-

the base URI for relative locations or NULL.

+

the base URI for relative locations or NULL.

[allow-none] @@ -1580,7 +1580,7 @@

webkit_web_view_load_plain_text ()

void
 webkit_web_view_load_plain_text (WebKitWebView *web_view,
-                                 const gchar *plain_text);
+ const gchar *plain_text);

Load the specified plain_text string into web_view . The mime type of @@ -1614,21 +1614,21 @@

webkit_web_view_load_bytes ()

void
 webkit_web_view_load_bytes (WebKitWebView *web_view,
-                            GBytes *bytes,
-                            const gchar *mime_type,
-                            const gchar *encoding,
-                            const gchar *base_uri);
+ GBytes *bytes, + const gchar *mime_type, + const gchar *encoding, + const gchar *base_uri);

Load the specified bytes into web_view using the given mime_type and encoding . When mime_type - is NULL, it defaults to "text/html". + is NULL, it defaults to "text/html". When encoding - is NULL, it defaults to "UTF-8". + is NULL, it defaults to "UTF-8". When base_uri - is NULL, it defaults to "about:blank". + is NULL, it defaults to "about:blank". You can monitor the load operation by connecting to “load-changed” signal.

Parameters

@@ -1652,18 +1652,18 @@

mime_type

the MIME type of bytes -, or NULL.

+, or NULL.

[allow-none]

encoding

the character encoding of bytes -, or NULL.

+, or NULL.

[allow-none]

base_uri

-

the base URI for relative locations or NULL.

+

the base URI for relative locations or NULL.

[allow-none] @@ -1706,7 +1706,7 @@

webkit_web_view_can_go_back ()

-
gboolean
+
gboolean
 webkit_web_view_can_go_back (WebKitWebView *web_view);

Determines whether web_view has a previous history item.

@@ -1727,7 +1727,7 @@

Returns

-

TRUE if able to move back or FALSE otherwise.

+

TRUE if able to move back or FALSE otherwise.


@@ -1757,7 +1757,7 @@

webkit_web_view_can_go_forward ()

-
gboolean
+
gboolean
 webkit_web_view_can_go_forward (WebKitWebView *web_view);

Determines whether web_view has a next history item.

@@ -1778,7 +1778,7 @@

Returns

-

TRUE if able to move forward or FALSE otherwise.

+

TRUE if able to move forward or FALSE otherwise.


@@ -1808,7 +1808,7 @@

webkit_web_view_get_title ()

-
const gchar *
+
const gchar *
 webkit_web_view_get_title (WebKitWebView *web_view);

Gets the value of the “title” property. You can connect to notify::title signal of web_view @@ -1838,9 +1838,9 @@


webkit_web_view_get_page_id ()

-
guint64
+
guint64
 webkit_web_view_get_page_id (WebKitWebView *web_view);
-

Get the identifier of the WebKitWebPage corresponding to +

Get the identifier of the WebKitWebPage corresponding to the WebKitWebView

Parameters

@@ -1941,7 +1941,7 @@

webkit_web_view_is_loading ()

-
gboolean
+
gboolean
 webkit_web_view_is_loading (WebKitWebView *web_view);

Gets the value of the “is-loading” property. You can monitor when a WebKitWebView is loading a page by connecting to @@ -1967,14 +1967,14 @@

Returns

-

TRUE if web_view -is loading a page or FALSE otherwise.

+

TRUE if web_view +is loading a page or FALSE otherwise.


webkit_web_view_is_playing_audio ()

-
gboolean
+
gboolean
 webkit_web_view_is_playing_audio (WebKitWebView *web_view);

Gets the value of the “is-playing-audio” property. You can monitor when a page in a WebKitWebView is playing audio by @@ -1999,8 +1999,8 @@

Returns

-

TRUE if a page in web_view -is playing audio or FALSE otherwise.

+

TRUE if a page in web_view +is playing audio or FALSE otherwise.

Since: 2.8

@@ -2009,7 +2009,7 @@

webkit_web_view_set_is_muted ()

void
 webkit_web_view_set_is_muted (WebKitWebView *web_view,
-                              gboolean muted);
+ gboolean muted);

Sets the mute state of web_view .

@@ -2039,7 +2039,7 @@

webkit_web_view_get_is_muted ()

-
gboolean
+
gboolean
 webkit_web_view_get_is_muted (WebKitWebView *web_view);

Gets the mute state of web_view .

@@ -2060,15 +2060,15 @@

Returns

-

TRUE if web_view -audio is muted or FALSE is audio is not muted.

+

TRUE if web_view +audio is muted or FALSE is audio is not muted.

Since: 2.30


webkit_web_view_get_estimated_load_progress ()

-
gdouble
+
gdouble
 webkit_web_view_get_estimated_load_progress
                                (WebKitWebView *web_view);

Gets the value of the “estimated-load-progress” property. @@ -2099,7 +2099,7 @@


webkit_web_view_get_custom_charset ()

-
const gchar *
+
const gchar *
 webkit_web_view_get_custom_charset (WebKitWebView *web_view);

Returns the current custom character encoding name of web_view .

@@ -2120,7 +2120,7 @@

Returns

-

the current custom character encoding name or NULL if no +

the current custom character encoding name or NULL if no custom character encoding has been set.

@@ -2129,12 +2129,12 @@

webkit_web_view_set_custom_charset ()

void
 webkit_web_view_set_custom_charset (WebKitWebView *web_view,
-                                    const gchar *charset);
+ const gchar *charset);

Sets the current custom character encoding override of web_view . The custom character encoding will override any text encoding detected via HTTP headers or META tags. Calling this method will stop any current load operation and reload the -current page. Setting the custom character encoding to NULL removes the character +current page. Setting the custom character encoding to NULL removes the character encoding override.

Parameters

@@ -2152,7 +2152,7 @@

charset

-

a character encoding name or NULL.

+

a character encoding name or NULL.

[allow-none] @@ -2224,14 +2224,14 @@

webkit_web_view_get_uri ()

-
const gchar *
+
const gchar *
 webkit_web_view_get_uri (WebKitWebView *web_view);

Returns the current active URI of web_view . The active URI might change during a load operation:

  1. - When nothing has been loaded yet on web_view the active URI is NULL. + When nothing has been loaded yet on web_view the active URI is NULL.

  2. @@ -2298,7 +2298,7 @@

    Returns

    the current active URI of web_view -or NULL +or NULL if nothing has been loaded yet.

@@ -2420,7 +2420,7 @@

webkit_web_view_set_zoom_level ()

void
 webkit_web_view_set_zoom_level (WebKitWebView *web_view,
-                                gdouble zoom_level);
+ gdouble zoom_level);

Set the zoom level of web_view , i.e. the factor by which the view contents are scaled with respect to their original size.

@@ -2450,7 +2450,7 @@

webkit_web_view_get_zoom_level ()

-
gdouble
+
gdouble
 webkit_web_view_get_zoom_level (WebKitWebView *web_view);

Get the zoom level of web_view , i.e. the factor by which the @@ -2482,10 +2482,10 @@

void
 webkit_web_view_can_execute_editing_command
                                (WebKitWebView *web_view,
-                                const gchar *command,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *command, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously check if it is possible to execute the given editing command.

When the operation is finished, callback will be called. You can then call @@ -2511,12 +2511,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -2531,11 +2531,11 @@

webkit_web_view_can_execute_editing_command_finish ()

-
gboolean
+
gboolean
 webkit_web_view_can_execute_editing_command_finish
                                (WebKitWebView *web_view,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_can_execute_editing_command().

Parameters

@@ -2553,12 +2553,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -2566,7 +2566,7 @@

Returns

-

TRUE if the editing command can be executed or FALSE otherwise

+

TRUE if the editing command can be executed or FALSE otherwise


@@ -2575,7 +2575,7 @@
void
 webkit_web_view_execute_editing_command
                                (WebKitWebView *web_view,
-                                const gchar *command);
+ const gchar *command);

Request to execute the given command for web_view . You can use @@ -2681,10 +2681,10 @@

webkit_web_view_run_javascript ()

void
 webkit_web_view_run_javascript (WebKitWebView *web_view,
-                                const gchar *script,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *script, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously run script in the context of the current page in web_view . If @@ -2713,12 +2713,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the script finished.

+

a GAsyncReadyCallback to call when the script finished.

[scope async] @@ -2735,8 +2735,8 @@

webkit_web_view_run_javascript_finish ()

WebKitJavascriptResult *
 webkit_web_view_run_javascript_finish (WebKitWebView *web_view,
-                                       GAsyncResult *result,
-                                       GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_run_javascript().

This is an example of using webkit_web_view_run_javascript() with a script returning a string:

@@ -2853,12 +2853,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -2867,7 +2867,7 @@

Returns

a WebKitJavascriptResult with the result of the last executed statement in script -or NULL in case of error.

+or NULL in case of error.

[transfer full]

@@ -2877,11 +2877,11 @@
void
 webkit_web_view_run_javascript_in_world
                                (WebKitWebView *web_view,
-                                const gchar *script,
-                                const gchar *world_name,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *script, + const gchar *world_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously run script in the script world with name world_name of the current page context in web_view @@ -2911,17 +2911,17 @@

world_name

-

the name of a WebKitScriptWorld

+

the name of a WebKitScriptWorld

 

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the script finished.

+

a GAsyncReadyCallback to call when the script finished.

[scope async] @@ -2940,8 +2940,8 @@
WebKitJavascriptResult *
 webkit_web_view_run_javascript_in_world_finish
                                (WebKitWebView *web_view,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_run_javascript_in_world().

Parameters

@@ -2959,12 +2959,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -2973,7 +2973,7 @@

Returns

a WebKitJavascriptResult with the result of the last executed statement in script -or NULL in case of error.

+or NULL in case of error.

[transfer full]

Since: 2.22

@@ -2984,10 +2984,10 @@
void
 webkit_web_view_run_javascript_from_gresource
                                (WebKitWebView *web_view,
-                                const gchar *resource,
-                                GCancellable *cancellable,
-                                GAsyncReadyCallback callback,
-                                gpointer user_data);
+ const gchar *resource, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously run the script from resource in the context of the current page in web_view @@ -3017,12 +3017,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the script finished.

+

a GAsyncReadyCallback to call when the script finished.

[scope async] @@ -3040,8 +3040,8 @@
WebKitJavascriptResult *
 webkit_web_view_run_javascript_from_gresource_finish
                                (WebKitWebView *web_view,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_run_javascript_from_gresource().

Check webkit_web_view_run_javascript_finish() for a usage example.

@@ -3060,12 +3060,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -3074,16 +3074,16 @@

Returns

a WebKitJavascriptResult with the result of the last executed statement in script -or NULL in case of error.

+or NULL in case of error.

[transfer full]


webkit_web_view_can_show_mime_type ()

-
gboolean
+
gboolean
 webkit_web_view_can_show_mime_type (WebKitWebView *web_view,
-                                    const gchar *mime_type);
+ const gchar *mime_type);

Whether or not a MIME type can be displayed in web_view .

@@ -3110,8 +3110,8 @@

Returns

-

TRUE if the MIME type mime_type -can be displayed or FALSE otherwise

+

TRUE if the MIME type mime_type +can be displayed or FALSE otherwise


@@ -3120,9 +3120,9 @@
void
 webkit_web_view_save (WebKitWebView *web_view,
                       WebKitSaveMode save_mode,
-                      GCancellable *cancellable,
-                      GAsyncReadyCallback callback,
-                      gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously save the current web page associated to the WebKitWebView into a self-contained format using the mode specified in save_mode @@ -3152,12 +3152,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -3172,10 +3172,10 @@

webkit_web_view_save_finish ()

-
GInputStream *
+
GInputStream *
 webkit_web_view_save_finish (WebKitWebView *web_view,
-                             GAsyncResult *result,
-                             GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_save().

Parameters

@@ -3193,12 +3193,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -3206,8 +3206,8 @@

Returns

-

a GInputStream with the result of saving -the current web page or NULL in case of error.

+

a GInputStream with the result of saving +the current web page or NULL in case of error.

[transfer full]

@@ -3216,11 +3216,11 @@

webkit_web_view_save_to_file ()

void
 webkit_web_view_save_to_file (WebKitWebView *web_view,
-                              GFile *file,
+                              GFile *file,
                               WebKitSaveMode save_mode,
-                              GCancellable *cancellable,
-                              GAsyncReadyCallback callback,
-                              gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Asynchronously save the current web page associated to the WebKitWebView into a self-contained format using the mode specified in save_mode @@ -3246,7 +3246,7 @@

file

-

the GFile where the current web page should be saved to.

+

the GFile where the current web page should be saved to.

  @@ -3256,12 +3256,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[allow-none]

callback

-

a GAsyncReadyCallback to call when the request is satisfied.

+

a GAsyncReadyCallback to call when the request is satisfied.

[scope async] @@ -3276,10 +3276,10 @@

webkit_web_view_save_to_file_finish ()

-
gboolean
+
gboolean
 webkit_web_view_save_to_file_finish (WebKitWebView *web_view,
-                                     GAsyncResult *result,
-                                     GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_save_to_file().

Parameters

@@ -3297,12 +3297,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignore

+

return location for error or NULL to ignore

  @@ -3310,7 +3310,7 @@

Returns

-

TRUE if the web page was successfully saved to a file or FALSE otherwise.

+

TRUE if the web page was successfully saved to a file or FALSE otherwise.


@@ -3353,15 +3353,15 @@

webkit_web_view_get_tls_info ()

-
gboolean
+
gboolean
 webkit_web_view_get_tls_info (WebKitWebView *web_view,
-                              GTlsCertificate **certificate,
-                              GTlsCertificateFlags *errors);
-

Retrieves the GTlsCertificate associated with the main resource of web_view + GTlsCertificate **certificate, + GTlsCertificateFlags *errors);

+

Retrieves the GTlsCertificate associated with the main resource of web_view , -and the GTlsCertificateFlags showing what problems, if any, have been found +and the GTlsCertificateFlags showing what problems, if any, have been found with that certificate. -If the connection is not HTTPS, this function returns FALSE. +If the connection is not HTTPS, this function returns FALSE. This function should be called after a response has been received from the server, so you can connect to “load-changed” and call this function when it's emitted with WEBKIT_LOAD_COMMITTED event.

@@ -3389,12 +3389,12 @@

certificate

-

return location for a GTlsCertificate.

+

return location for a GTlsCertificate.

[out][transfer none]

errors

-

return location for a GTlsCertificateFlags the verification status of certificate +

return location for a GTlsCertificateFlags the verification status of certificate .

[out] @@ -3403,9 +3403,9 @@

Returns

-

TRUE if the web_view +

TRUE if the web_view connection uses HTTPS and a response has been received -from the server, or FALSE otherwise.

+from the server, or FALSE otherwise.


@@ -3413,13 +3413,13 @@

webkit_web_view_set_editable ()

void
 webkit_web_view_set_editable (WebKitWebView *web_view,
-                              gboolean editable);
+ gboolean editable);

Sets whether the user is allowed to edit the HTML document.

If editable - is TRUE, web_view + is TRUE, web_view allows the user to edit the HTML document. If editable - is FALSE, an element in web_view + is FALSE, an element in web_view 's document can only be edited if the CONTENTEDITABLE attribute has been set on the element or one of its parent elements. By default a WebKitWebView is not editable.

@@ -3442,7 +3442,7 @@

editable

-

a gboolean indicating the editable state

+

a gboolean indicating the editable state

  @@ -3453,7 +3453,7 @@

webkit_web_view_is_editable ()

-
gboolean
+
gboolean
 webkit_web_view_is_editable (WebKitWebView *web_view);

@@ -3572,19 +3572,19 @@

Returns

the main WebKitWebResource of the view -or NULL if nothing has been loaded.

+or NULL if nothing has been loaded.

[transfer none]


webkit_web_view_add_frame_displayed_callback ()

-
guint
+
guint
 webkit_web_view_add_frame_displayed_callback
                                (WebKitWebView *web_view,
                                 WebKitFrameDisplayedCallback callback,
-                                gpointer user_data,
-                                GDestroyNotify destroy_notify);
+ gpointer user_data, + GDestroyNotify destroy_notify);

Add a callback to be called when the backend notifies that a frame has been displayed in web_view .

@@ -3634,7 +3634,7 @@
void
 webkit_web_view_remove_frame_displayed_callback
                                (WebKitWebView *web_view,
-                                guint id);
+ guint id);

Removes a WebKitFrameDisplayedCallback previously added to web_view with webkit_web_view_add_frame_displayed_callback().

@@ -3682,14 +3682,14 @@
void
 webkit_web_view_send_message_to_page (WebKitWebView *web_view,
                                       WebKitUserMessage *message,
-                                      GCancellable *cancellable,
-                                      GAsyncReadyCallback callback,
-                                      gpointer user_data);
+ GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

Send message - to the WebKitWebPage corresponding to web_view + to the WebKitWebPage corresponding to web_view . If message is floating, it's consumed.

-

If you don't expect any reply, or you simply want to ignore it, you can pass NULL as callback +

If you don't expect any reply, or you simply want to ignore it, you can pass NULL as callback . When the operation is finished, callback will be called. You can then call @@ -3715,12 +3715,12 @@

cancellable

-

a GCancellable or NULL to ignore.

+

a GCancellable or NULL to ignore.

[nullable]

callback

-

(nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

+

(nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

[scope async] @@ -3739,8 +3739,8 @@
WebKitUserMessage *
 webkit_web_view_send_message_to_page_finish
                                (WebKitWebView *web_view,
-                                GAsyncResult *result,
-                                GError **error);
+ GAsyncResult *result, + GError **error);

Finish an asynchronous operation started with webkit_web_view_send_message_to_page().

Parameters

@@ -3758,12 +3758,12 @@

result

-

a GAsyncResult

+

a GAsyncResult

 

error

-

return location for error or NULL to ignor

+

return location for error or NULL to ignor

  @@ -3771,7 +3771,7 @@

Returns

-

a WebKitUserMessage with the reply or NULL in case of error.

+

a WebKitUserMessage with the reply or NULL in case of error.

[transfer full]

Since: 2.28

@@ -3784,7 +3784,7 @@ (WebKitWebView *web_view, WebKitInputMethodContext *context);

Set the WebKitInputMethodContext to be used by web_view -, or NULL to not use any input method. +, or NULL to not use any input method. Note that the same WebKitInputMethodContext can't be set on more than one WebKitWebView at the same time.

Parameters

@@ -3802,7 +3802,7 @@

context

-

the WebKitInputMethodContext to set, or NULL.

+

the WebKitInputMethodContext to set, or NULL.

[nullable] @@ -3817,7 +3817,7 @@ webkit_web_view_get_input_method_context (WebKitWebView *web_view);

Get the WebKitInputMethodContext currently in use by web_view -, or NULL if no input method is being used.

+, or NULL if no input method is being used.

Parameters

@@ -3835,7 +3835,7 @@

Returns

-

a WebKitInputMethodContext, or NULL.

+

a WebKitInputMethodContext, or NULL.

[nullable][transfer none]

Since: 2.28

@@ -3930,9 +3930,9 @@

webkit_javascript_result_get_js_value ()

-
JSCValue *
+
JSCValue *
 webkit_javascript_result_get_js_value (WebKitJavascriptResult *js_result);
-

Get the JSCValue of js_result +

Get the JSCValue of js_result .

Parameters

@@ -3951,7 +3951,7 @@

Returns

-

the JSCValue of the WebKitJavascriptResult.

+

the JSCValue of the WebKitJavascriptResult.

[transfer none]

Since: 2.22

@@ -4042,7 +4042,7 @@

webkit_script_dialog_get_message ()

-
const gchar *
+
const gchar *
 webkit_script_dialog_get_message (WebKitScriptDialog *dialog);

Get the message of a WebKitScriptDialog.

@@ -4072,11 +4072,11 @@
void
 webkit_script_dialog_confirm_set_confirmed
                                (WebKitScriptDialog *dialog,
-                                gboolean confirmed);
+ gboolean confirmed);

This method is used for WEBKIT_SCRIPT_DIALOG_CONFIRM and WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM dialogs when “script-dialog” signal is emitted to set whether the user confirmed the dialog or not. The default implementation of “script-dialog” -signal sets TRUE when the OK or Stay buttons are clicked and FALSE otherwise. +signal sets TRUE when the OK or Stay buttons are clicked and FALSE otherwise. It's an error to use this method with a WebKitScriptDialog that is not of type WEBKIT_SCRIPT_DIALOG_CONFIRM or WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM

@@ -4105,7 +4105,7 @@

webkit_script_dialog_prompt_get_default_text ()

-
const gchar *
+
const gchar *
 webkit_script_dialog_prompt_get_default_text
                                (WebKitScriptDialog *dialog);

Get the default text of a WebKitScriptDialog of type WEBKIT_SCRIPT_DIALOG_PROMPT. @@ -4137,11 +4137,11 @@

webkit_script_dialog_prompt_set_text ()

void
 webkit_script_dialog_prompt_set_text (WebKitScriptDialog *dialog,
-                                      const gchar *text);
+ const gchar *text);

This method is used for WEBKIT_SCRIPT_DIALOG_PROMPT dialogs when “script-dialog” signal is emitted to set the text entered by the user. The default implementation of “script-dialog” -signal sets the text of the entry form when OK button is clicked, otherwise NULL is set. +signal sets the text of the entry form when OK button is clicked, otherwise NULL is set. It's an error to use this method with a WebKitScriptDialog that is not of type WEBKIT_SCRIPT_DIALOG_PROMPT.

@@ -4198,7 +4198,7 @@

webkit_web_view_session_state_new ()

WebKitWebViewSessionState *
-webkit_web_view_session_state_new (GBytes *data);
+webkit_web_view_session_state_new (GBytes *data);

Creates a new WebKitWebViewSessionState from serialized data.

Parameters

@@ -4210,14 +4210,14 @@
- +

data

a GBytes

a GBytes

 

Returns

-

a new WebKitWebViewSessionState, or NULL if data +

a new WebKitWebViewSessionState, or NULL if data doesn't contain a valid serialized WebKitWebViewSessionState.

[transfer full]

@@ -4282,7 +4282,7 @@

webkit_web_view_session_state_serialize ()

-
GBytes *
+
GBytes *
 webkit_web_view_session_state_serialize
                                (WebKitWebViewSessionState *state);

Serializes a WebKitWebViewSessionState.

@@ -4303,7 +4303,7 @@

Returns

-

a GBytes containing the state +

a GBytes containing the state serialized.

[transfer full]

@@ -4754,7 +4754,7 @@

The “editable” property

-
  “editable”                 gboolean
+
  “editable”                 gboolean

Whether the pages loaded inside WebKitWebView are editable. For more information see webkit_web_view_set_editable().

Owner: WebKitWebView

@@ -4781,7 +4781,7 @@

The “is-controlled-by-automation” property

-
  “is-controlled-by-automation” gboolean
+
  “is-controlled-by-automation” gboolean

Whether the WebKitWebView is controlled by automation. This should only be used when creating a new WebKitWebView as a response to “create-web-view” signal request.

@@ -4793,11 +4793,11 @@

The “is-ephemeral” property

-
  “is-ephemeral”             gboolean
+
  “is-ephemeral”             gboolean

Whether the WebKitWebView is ephemeral. An ephemeral web view never writes website data to the client storage, no matter what WebKitWebsiteDataManager its context is using. This is normally used to implement private browsing mode. -This is a G_PARAM_CONSTRUCT_ONLY property, so you have to create an ephemeral +This is a G_PARAM_CONSTRUCT_ONLY property, so you have to create an ephemeral WebKitWebView and it can't be changed. The ephemeral WebKitWebsiteDataManager created for the WebKitWebView will inherit the network settings from the WebKitWebContext's WebKitWebsiteDataManager. To use different settings @@ -4814,12 +4814,12 @@


The “is-loading” property

-
  “is-loading”               gboolean
+
  “is-loading”               gboolean

Whether the WebKitWebView is currently loading a page. This property becomes -TRUE as soon as a new load operation is requested and before the +TRUE as soon as a new load operation is requested and before the “load-changed” signal is emitted with WEBKIT_LOAD_STARTED and at that point the active URI is the requested one. -When the load operation finishes the property is set to FALSE before +When the load operation finishes the property is set to FALSE before “load-changed” is emitted with WEBKIT_LOAD_FINISHED.

Owner: WebKitWebView

Flags: Read

@@ -4828,9 +4828,9 @@

The “is-muted” property

-
  “is-muted”                 gboolean
-

Whether the WebKitWebView audio is muted. When TRUE, audio is silenced. -It may still be playing, i.e. “is-playing-audio” may be TRUE.

+
  “is-muted”                 gboolean
+

Whether the WebKitWebView audio is muted. When TRUE, audio is silenced. +It may still be playing, i.e. “is-playing-audio” may be TRUE.

Owner: WebKitWebView

Flags: Read / Write

Default value: FALSE

@@ -4839,11 +4839,11 @@

The “is-playing-audio” property

-
  “is-playing-audio”         gboolean
+
  “is-playing-audio”         gboolean

Whether the WebKitWebView is currently playing audio from a page. -This property becomes TRUE as soon as web content starts playing any +This property becomes TRUE as soon as web content starts playing any kind of audio. When a page is no longer playing any kind of sound, -the property is set back to FALSE.

+the property is set back to FALSE.

Owner: WebKitWebView

Flags: Read

Default value: FALSE

@@ -4852,8 +4852,8 @@

The “page-id” property

-
  “page-id”                  guint64
-

The identifier of the WebKitWebPage corresponding to the WebKitWebView.

+
  “page-id”                  guint64
+

The identifier of the WebKitWebPage corresponding to the WebKitWebView.

Owner: WebKitWebView

Flags: Read

Default value: 0

@@ -4884,7 +4884,7 @@

The “title” property

  “title”                    char *

The main frame document title of this WebKitWebView. If -the title has not been received yet, it will be NULL.

+the title has not been received yet, it will be NULL.

Owner: WebKitWebView

Flags: Read

Default value: NULL

@@ -4941,10 +4941,10 @@

Signal Details

The “authenticate” signal

-
gboolean
+
gboolean
 user_function (WebKitWebView               *web_view,
                WebKitAuthenticationRequest *request,
-               gpointer                     user_data)
+ gpointer user_data)

This signal is emitted when the user is challenged with HTTP authentication. To let the application access or supply the credentials as well as to allow the client application @@ -4953,8 +4953,8 @@ WebKitAuthenticationRequest in the request argument. To handle this signal asynchronously you should keep a ref -of the request and return TRUE. To disable HTTP authentication -entirely, connect to this signal and simply return TRUE.

+of the request and return TRUE. To disable HTTP authentication +entirely, connect to this signal and simply return TRUE.

The default signal handler will run a default authentication dialog asynchronously for the user to interact with.

@@ -4986,10 +4986,10 @@

Returns

-

TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

+

TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

-

Flags: Run Last

+

Flags: Run Last

Since: 2.2


@@ -4997,7 +4997,7 @@

The “close” signal

void
 user_function (WebKitWebView *web_view,
-               gpointer       user_data)
+ gpointer user_data)

Emitted when closing a WebKitWebView is requested. This occurs when a call is made from JavaScript's window.close function or after trying to close the web_view @@ -5026,17 +5026,17 @@

-

Flags: Run Last

+

Flags: Run Last


The “context-menu” signal

-
gboolean
+
gboolean
 user_function (WebKitWebView       *web_view,
                WebKitContextMenu   *context_menu,
-               gpointer             event,
+               gpointer             event,
                WebKitHitTestResult *hit_test_result,
-               gpointer             user_data)
+ gpointer user_data)

Emitted when a context menu is about to be displayed to give the application a chance to customize the proposed menu, prevent the menu from being displayed, or build its own context menu.

@@ -5046,18 +5046,18 @@ webkit_context_menu_append() or webkit_context_menu_insert() to add new WebKitContextMenuItems to context_menu, webkit_context_menu_move_item() to reorder existing items, or webkit_context_menu_remove() to remove an - existing item. The signal handler should return FALSE, and the menu represented + existing item. The signal handler should return FALSE, and the menu represented by context_menu will be shown.

  • To prevent the menu from being displayed you can just connect to this signal - and return TRUE so that the proposed menu will not be shown. + and return TRUE so that the proposed menu will not be shown.

  • To build your own menu, you can remove all items from the proposed menu with - webkit_context_menu_remove_all(), add your own items and return FALSE so + webkit_context_menu_remove_all(), add your own items and return FALSE so that the menu will be shown. You can also ignore the proposed WebKitContextMenu, - build your own GtkMenu and return TRUE to prevent the proposed menu from being shown. + build your own GtkMenu and return TRUE to prevent the proposed menu from being shown.

  • If you just want the default menu to be shown always, simply don't connect to this @@ -5080,9 +5080,9 @@ signal was used to show the context menu.

  • -

    If the signal handler returns FALSE the context menu represented by context_menu +

    If the signal handler returns FALSE the context menu represented by context_menu -will be shown, if it return TRUE the context menu will not be shown.

    +will be shown, if it return TRUE the context menu will not be shown.

    The proposed WebKitContextMenu passed in context_menu argument is only valid during the signal emission.

    @@ -5125,17 +5125,17 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “context-menu-dismissed” signal

    void
     user_function (WebKitWebView *web_view,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted after “context-menu” signal, if the context menu is shown, to notify that the context menu is dismissed.

    @@ -5160,7 +5160,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last


    @@ -5168,7 +5168,7 @@
    WebKitWebView*
     user_function (WebKitWebView          *web_view,
                    WebKitNavigationAction *navigation_action,
    -               gpointer                user_data)
    + gpointer user_data)

    Emitted when the creation of a new WebKitWebView is requested. If this signal is handled the signal handler should return the newly created WebKitWebView.

    @@ -5209,19 +5209,19 @@

    Returns

    a newly allocated WebKitWebView widget -or NULL to propagate the event further.

    +or NULL to propagate the event further.

    [transfer full]

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “decide-policy” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView           *web_view,
                    WebKitPolicyDecision    *decision,
                    WebKitPolicyDecisionType decision_type,
    -               gpointer                 user_data)
    + gpointer user_data)

    This signal is emitted when WebKit is requesting the client to decide a policy decision, such as whether to navigate to a page, open a new window or whether or not to download a resource. The WebKitNavigationPolicyDecision passed in the @@ -5289,9 +5289,9 @@

    -

    It is possible to make policy decision asynchronously, by simply calling g_object_ref() +

    It is possible to make policy decision asynchronously, by simply calling g_object_ref() on the decision - argument and returning TRUE to block the default signal handler. + argument and returning TRUE to block the default signal handler. If the last reference is removed on a WebKitPolicyDecision and no decision has been made explicitly, webkit_policy_decision_use() will be the default policy decision. The default signal handler will simply call webkit_policy_decision_use(). Only the first @@ -5331,17 +5331,17 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “enter-fullscreen” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView *web_view,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted when JavaScript code calls element.webkitRequestFullScreen. If the signal is not handled the WebKitWebView will proceed to full screen @@ -5374,10 +5374,10 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to continue emission of the event.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to continue emission of the event.

    -

    Flags: Run Last

    +

    Flags: Run Last


    @@ -5385,7 +5385,7 @@
    void
     user_function (WebKitWebView             *web_view,
                    WebKitInsecureContentEvent event,
    -               gpointer                   user_data)
    + gpointer user_data)

    This signal is emitted when insecure content has been detected in a page loaded through a secure connection. This typically means that a external resource from an unstrusted source has @@ -5421,14 +5421,14 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “leave-fullscreen” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView *web_view,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted when the WebKitWebView is about to restore its top level window out of its full screen state. This signal can be used by client code to restore widgets hidden during the @@ -5457,10 +5457,10 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to continue emission of the event.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to continue emission of the event.

    -

    Flags: Run Last

    +

    Flags: Run Last


    @@ -5468,7 +5468,7 @@
    void
     user_function (WebKitWebView  *web_view,
                    WebKitLoadEvent load_event,
    -               gpointer        user_data)
    + gpointer user_data)

    Emitted when a load operation in web_view changes. The signal is always emitted with WEBKIT_LOAD_STARTED when a @@ -5572,17 +5572,17 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “load-failed” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView  *web_view,
                    WebKitLoadEvent load_event,
                    char           *failing_uri,
    -               GError         *error,
    -               gpointer        user_data)
    + GError *error, + gpointer user_data)

    Emitted when an error occurs during a load operation. If the error happened when starting to load data for a page load_event @@ -5620,7 +5620,7 @@

    error

    -

    the GError that was triggered

    +

    the GError that was triggered

      @@ -5633,29 +5633,29 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “load-failed-with-tls-errors” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView       *web_view,
                    char                *failing_uri,
    -               GTlsCertificate     *certificate,
    -               GTlsCertificateFlags errors,
    -               gpointer             user_data)
    + GTlsCertificate *certificate, + GTlsCertificateFlags errors, + gpointer user_data)

    Emitted when a TLS error occurs during a load operation. To allow an exception for this certificate and the host of failing_uri use webkit_web_context_allow_tls_certificate_for_host().

    -

    To handle this signal asynchronously you should call g_object_ref() on certificate +

    To handle this signal asynchronously you should call g_object_ref() on certificate -and return TRUE.

    -

    If FALSE is returned, “load-failed” will be emitted. The load +and return TRUE.

    +

    If FALSE is returned, “load-failed” will be emitted. The load will finish regardless of the returned value.

    Parameters

    @@ -5678,12 +5678,12 @@

    certificate

    -

    a GTlsCertificate

    +

    a GTlsCertificate

     

    errors

    -

    a GTlsCertificateFlags with the verification status of certificate +

    a GTlsCertificateFlags with the verification status of certificate

      @@ -5697,10 +5697,10 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.6


    @@ -5709,8 +5709,8 @@
    void
     user_function (WebKitWebView       *web_view,
                    WebKitHitTestResult *hit_test_result,
    -               guint                modifiers,
    -               gpointer             user_data)
    + guint modifiers, + gpointer user_data)

    This signal is emitted when the mouse cursor moves over an element such as a link, image or a media element. To determine what type of element the mouse cursor is over, a Hit Test is performed @@ -5754,15 +5754,15 @@ -

    Flags: Run Last

    +

    Flags: Run Last


    The “permission-request” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView           *web_view,
                    WebKitPermissionRequest *request,
    -               gpointer                 user_data)
    + gpointer user_data)

    This signal is emitted when WebKit is requesting the client to decide about a permission request, such as allowing the browser to switch to fullscreen mode, sharing its location or similar @@ -5827,9 +5827,9 @@

    It is possible to handle permission requests asynchronously, by -simply calling g_object_ref() on the request +simply calling g_object_ref() on the request argument and -returning TRUE to block the default signal handler. If the +returning TRUE to block the default signal handler. If the last reference is removed on a WebKitPermissionRequest and the request has not been handled, webkit_permission_request_deny() will be the default action.

    @@ -5867,17 +5867,17 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “ready-to-show” signal

    void
     user_function (WebKitWebView *web_view,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted after “create” on the newly created WebKitWebView when it should be displayed to the user. When this signal is emitted all the information about how the window should look, including @@ -5907,7 +5907,7 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    @@ -5916,7 +5916,7 @@ user_function (WebKitWebView *web_view, WebKitWebResource *resource, WebKitURIRequest *request, - gpointer user_data) + gpointer user_data)

    Emitted when a new resource is going to be loaded. The request parameter contains the WebKitURIRequest that will be sent to the server. @@ -5955,14 +5955,14 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “run-as-modal” signal

    void
     user_function (WebKitWebView *web_view,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted after “ready-to-show” on the newly created WebKitWebView when JavaScript code calls window.showModalDialog. The purpose of @@ -5992,15 +5992,15 @@

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “run-file-chooser” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView            *web_view,
                    WebKitFileChooserRequest *request,
    -               gpointer                  user_data)
    + gpointer user_data)

    This signal is emitted when the user interacts with a <input type='file' /> HTML element, requesting from WebKit to show a dialog to select one or more files to be uploaded. To let the @@ -6041,18 +6041,18 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “script-dialog” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView      *web_view,
                    WebKitScriptDialog *dialog,
    -               gpointer            user_data)
    + gpointer user_data)

    Emitted when JavaScript code calls window.alert, window.confirm or window.prompt, or when onbeforeunload event is fired. @@ -6110,18 +6110,18 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “show-notification” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView      *web_view,
                    WebKitNotification *notification,
    -               gpointer            user_data)
    + gpointer user_data)

    This signal is emitted when a notification should be presented to the user. The notification is kept alive until either: 1) the web page cancels it @@ -6157,19 +6157,19 @@

    Returns

    -

    TRUE to stop other handlers from being invoked. FALSE otherwise.

    +

    TRUE to stop other handlers from being invoked. FALSE otherwise.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.8


    The “show-option-menu” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView    *web_view,
    -               WebKitOptionMenu *menu,
    +               WebKitOptionMenu *menu,
                    WebKitRectangle  *rectangle,
    -               gpointer          user_data)
    + gpointer user_data)

    This signal is emitted when a select element in web_view needs to display a dropdown menu. This signal can be used to show a custom menu, using menu @@ -6196,7 +6196,7 @@

    menu

    -

    the WebKitOptionMenu

    +

    the WebKitOptionMenu

      @@ -6214,10 +6214,10 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.28


    @@ -6226,7 +6226,7 @@
    void
     user_function (WebKitWebView               *web_view,
                    WebKitFormSubmissionRequest *request,
    -               gpointer                     user_data)
    + gpointer user_data)

    This signal is emitted when a form is about to be submitted. The request argument passed contains information about the text fields of the form. This @@ -6234,7 +6234,7 @@ pre-fill the form. The form will not be submitted until webkit_form_submission_request_submit() is called.

    It is possible to handle the form submission request asynchronously, by -simply calling g_object_ref() on the request +simply calling g_object_ref() on the request argument and calling webkit_form_submission_request_submit() when done to continue with the form submission. If the last reference is removed on a WebKitFormSubmissionRequest and the @@ -6266,24 +6266,24 @@ -

    Flags: Run Last

    +

    Flags: Run Last


    The “user-message-received” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebView     *web_view,
                    WebKitUserMessage *message,
    -               gpointer           user_data)
    + gpointer user_data)

    This signal is emitted when a WebKitUserMessage is received from the -WebKitWebPage corresponding to web_view +WebKitWebPage corresponding to web_view . You can reply to the message using webkit_user_message_send_reply().

    -

    You can handle the user message asynchronously by calling g_object_ref() on +

    You can handle the user message asynchronously by calling g_object_ref() on message - and returning TRUE. If the last reference of message + and returning TRUE. If the last reference of message is removed -and the message has not been replied to, the operation in the WebKitWebPage will +and the message has not been replied to, the operation in the WebKitWebPage will finish with error WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE.

    Parameters

    @@ -6314,9 +6314,9 @@

    Returns

    -

    TRUE if the message was handled, or FALSE otherwise.

    +

    TRUE if the message was handled, or FALSE otherwise.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.28


    @@ -6325,7 +6325,7 @@
    void
     user_function (WebKitWebView                    *web_view,
                    WebKitWebProcessTerminationReason reason,
    -               gpointer                          user_data)
    + gpointer user_data)

    This signal is emitted when the web process terminates abnormally due to reason .

    @@ -6356,7 +6356,7 @@ -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.20

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebViewBackend.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebViewBackend.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebViewBackend.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebViewBackend.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebViewBackend: WPE Reference Manual - + @@ -79,7 +79,7 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ╰── WebKitWebViewBackend
     
    @@ -125,14 +125,14 @@

    webkit_web_view_backend_new ()

    WebKitWebViewBackend *
     webkit_web_view_backend_new (struct wpe_view_backend *backend,
    -                             GDestroyNotify notify,
    -                             gpointer user_data);
    + GDestroyNotify notify, + gpointer user_data);

    Create a new WebKitWebViewBackend for the given WPE backend -. You can pass a GDestroyNotify +. You can pass a GDestroyNotify that will be called when the object is destroyed passing user_data as the argument. If notify -is NULL, wpe_view_backend_destroy() will be used with backend +is NULL, wpe_view_backend_destroy() will be used with backend as argument. The returned WebKitWebViewBackend should never be freed by the user; it must be passed to a WebKitWebView constructor that will take the ownership.

    @@ -152,7 +152,7 @@

    notify

    -

    a GDestroyNotify, or NULL.

    +

    a GDestroyNotify, or NULL.

    [nullable] diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteData.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteData.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteData.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteData.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebsiteData: WPE Reference Manual - + @@ -73,7 +73,7 @@ -guint64 +guint64 webkit_website_data_get_size () @@ -103,7 +103,7 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ╰── WebKitWebsiteData
     
    @@ -240,7 +240,7 @@

    webkit_website_data_get_size ()

    -
    guint64
    +
    guint64
     webkit_website_data_get_size (WebKitWebsiteData *website_data,
                                   WebKitWebsiteDataTypes types);

    Gets the size of the data of types types diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteDataAccessPermissionRequest.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteDataAccessPermissionRequest.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteDataAccessPermissionRequest.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteDataAccessPermissionRequest.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebsiteDataAccessPermissionRequest: WPE Reference Manual - + @@ -73,7 +73,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitWebsiteDataAccessPermissionRequest
     
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteDataManager.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteDataManager.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWebsiteDataManager.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWebsiteDataManager.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebsiteDataManager: WPE Reference Manual - + @@ -59,84 +59,84 @@ -gboolean +gboolean webkit_website_data_manager_is_ephemeral () -const gchar * +const gchar * webkit_website_data_manager_get_base_data_directory () -const gchar * +const gchar * webkit_website_data_manager_get_base_cache_directory () -const gchar * +const gchar * webkit_website_data_manager_get_local_storage_directory () -const gchar * +const gchar * webkit_website_data_manager_get_disk_cache_directory () -const gchar * +const gchar * webkit_website_data_manager_get_offline_application_cache_directory () -const gchar * +const gchar * webkit_website_data_manager_get_indexeddb_directory () -const gchar * +const gchar * webkit_website_data_manager_get_websql_directory () -const gchar * +const gchar * webkit_website_data_manager_get_hsts_cache_directory () -const gchar * +const gchar * webkit_website_data_manager_get_itp_directory () -const gchar * +const gchar * webkit_website_data_manager_get_service_worker_registrations_directory () -const gchar * +const gchar * webkit_website_data_manager_get_dom_cache_directory () @@ -160,7 +160,7 @@ -gboolean +gboolean webkit_website_data_manager_get_itp_enabled () @@ -176,7 +176,7 @@ -gboolean +gboolean webkit_website_data_manager_get_persistent_credential_storage_enabled () @@ -216,7 +216,7 @@ -GList * +GList * webkit_website_data_manager_fetch_finish () @@ -232,7 +232,7 @@ -gboolean +gboolean webkit_website_data_manager_remove_finish () @@ -248,7 +248,7 @@ -gboolean +gboolean webkit_website_data_manager_clear_finish () @@ -279,7 +279,7 @@ -gboolean +gboolean webkit_itp_first_party_get_website_data_access_allowed () @@ -287,7 +287,7 @@ -GDateTime * +GDateTime * webkit_itp_first_party_get_last_update_time () @@ -318,7 +318,7 @@ -GList * +GList * webkit_itp_third_party_get_first_parties () @@ -334,7 +334,7 @@ -GList * +GList * webkit_website_data_manager_get_itp_summary_finish () @@ -389,7 +389,7 @@ Read / Write / Construct Only -gboolean +gboolean is-ephemeral Read / Write / Construct Only @@ -455,10 +455,10 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ├── WebKitITPFirstParty
         ╰── WebKitITPThirdParty
    -    GObject
    +    GObject
         ╰── WebKitWebsiteDataManager
     
    @@ -497,7 +497,7 @@

    webkit_website_data_manager_new ()

    WebKitWebsiteDataManager *
    -webkit_website_data_manager_new (const gchar *first_option_name,
    +webkit_website_data_manager_new (const gchar *first_option_name,
                                      ...);

    Creates a new WebKitWebsiteDataManager with the given options. It must be passed as construction parameter of a WebKitWebContext.

    @@ -517,7 +517,7 @@

    ...

    -

    value of first option, followed by more options, NULL-terminated

    +

    value of first option, followed by more options, NULL-terminated

      @@ -547,7 +547,7 @@

    webkit_website_data_manager_is_ephemeral ()

    -
    gboolean
    +
    gboolean
     webkit_website_data_manager_is_ephemeral
                                    (WebKitWebsiteDataManager *manager);

    Get whether a WebKitWebsiteDataManager is ephemeral. See “is-ephemeral” for more details.

    @@ -568,15 +568,15 @@

    Returns

    -

    TRUE if manager -is ephemeral or FALSE otherwise.

    +

    TRUE if manager +is ephemeral or FALSE otherwise.

    Since: 2.16


    webkit_website_data_manager_get_base_data_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_base_data_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “base-data-directory” property.

    @@ -597,7 +597,7 @@

    Returns

    -

    the base directory for Website data, or NULL if +

    the base directory for Website data, or NULL if “base-data-directory” was not provided or manager is ephemeral.

    [allow-none]

    @@ -607,7 +607,7 @@

    webkit_website_data_manager_get_base_cache_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_base_cache_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “base-cache-directory” property.

    @@ -628,7 +628,7 @@

    Returns

    -

    the base directory for Website cache, or NULL if +

    the base directory for Website cache, or NULL if “base-cache-directory” was not provided or manager is ephemeral.

    [allow-none]

    @@ -638,7 +638,7 @@

    webkit_website_data_manager_get_local_storage_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_local_storage_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “local-storage-directory” property.

    @@ -659,7 +659,7 @@

    Returns

    -

    the directory where local storage data is stored or NULL if manager +

    the directory where local storage data is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -668,7 +668,7 @@

    webkit_website_data_manager_get_disk_cache_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_disk_cache_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “disk-cache-directory” property.

    @@ -689,7 +689,7 @@

    Returns

    -

    the directory where HTTP disk cache is stored or NULL if manager +

    the directory where HTTP disk cache is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -698,7 +698,7 @@

    webkit_website_data_manager_get_offline_application_cache_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_offline_application_cache_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “offline-application-cache-directory” property.

    @@ -719,7 +719,7 @@

    Returns

    -

    the directory where offline web application cache is stored or NULL if manager +

    the directory where offline web application cache is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -728,7 +728,7 @@

    webkit_website_data_manager_get_indexeddb_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_indexeddb_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “indexeddb-directory” property.

    @@ -749,7 +749,7 @@

    Returns

    -

    the directory where IndexedDB databases are stored or NULL if manager +

    the directory where IndexedDB databases are stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -758,7 +758,7 @@

    webkit_website_data_manager_get_websql_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_websql_directory
                                    (WebKitWebsiteDataManager *manager);
    @@ -783,7 +783,7 @@

    Returns

    -

    the directory where WebSQL databases are stored or NULL if manager +

    the directory where WebSQL databases are stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -792,7 +792,7 @@

    webkit_website_data_manager_get_hsts_cache_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_hsts_cache_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “hsts-cache-directory” property.

    @@ -813,7 +813,7 @@

    Returns

    -

    the directory where the HSTS cache is stored or NULL if manager +

    the directory where the HSTS cache is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -822,7 +822,7 @@

    webkit_website_data_manager_get_itp_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_itp_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “itp-directory” property.

    @@ -843,7 +843,7 @@

    Returns

    -

    the directory where Intelligent Tracking Prevention data is stored or NULL if manager +

    the directory where Intelligent Tracking Prevention data is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -852,7 +852,7 @@

    webkit_website_data_manager_get_service_worker_registrations_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_service_worker_registrations_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “service-worker-registrations-directory” property.

    @@ -873,7 +873,7 @@

    Returns

    -

    the directory where service worker registrations are stored or NULL if manager +

    the directory where service worker registrations are stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -882,7 +882,7 @@

    webkit_website_data_manager_get_dom_cache_directory ()

    -
    const gchar *
    +
    const gchar *
     webkit_website_data_manager_get_dom_cache_directory
                                    (WebKitWebsiteDataManager *manager);

    Get the “dom-cache-directory” property.

    @@ -903,7 +903,7 @@

    Returns

    -

    the directory where DOM cache is stored or NULL if manager +

    the directory where DOM cache is stored or NULL if manager is ephemeral.

    [allow-none]

    @@ -945,7 +945,7 @@
    void
     webkit_website_data_manager_set_itp_enabled
                                    (WebKitWebsiteDataManager *manager,
    -                                gboolean enabled);
    + gboolean enabled);

    Enable or disable Intelligent Tracking Prevention (ITP). When ITP is enabled resource load statistics are collected and used to decide whether to allow or block third-party cookies and prevent user tracking. Note that while ITP is enabled the accept policy WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY is ignored and @@ -977,7 +977,7 @@


    webkit_website_data_manager_get_itp_enabled ()

    -
    gboolean
    +
    gboolean
     webkit_website_data_manager_get_itp_enabled
                                    (WebKitWebsiteDataManager *manager);

    Get whether Intelligent Tracking Prevention (ITP) is enabled or not.

    @@ -998,7 +998,7 @@

    Returns

    -

    TRUE if ITP is enabled, or FALSE otherwise.

    +

    TRUE if ITP is enabled, or FALSE otherwise.

    Since: 2.30

    @@ -1008,7 +1008,7 @@
    void
     webkit_website_data_manager_set_persistent_credential_storage_enabled
                                    (WebKitWebsiteDataManager *manager,
    -                                gboolean enabled);
    + gboolean enabled);

    Enable or disable persistent credential storage. When enabled, which is the default for non-ephemeral sessions, the network process will try to read and write HTTP authentiacation credentials from persistent storage.

    @@ -1039,7 +1039,7 @@

    webkit_website_data_manager_get_persistent_credential_storage_enabled ()

    -
    gboolean
    +
    gboolean
     webkit_website_data_manager_get_persistent_credential_storage_enabled
                                    (WebKitWebsiteDataManager *manager);

    Get whether persistent credential storage is enabled or not. @@ -1061,7 +1061,7 @@

    Returns

    -

    TRUE if persistent credential storage is enabled, or FALSE otherwise.

    +

    TRUE if persistent credential storage is enabled, or FALSE otherwise.

    Since: 2.30

    @@ -1139,7 +1139,7 @@

    Set the network proxy settings to be used by connections started in manager session. By default WEBKIT_NETWORK_PROXY_MODE_DEFAULT is used, which means that the -system settings will be used (g_proxy_resolver_get_default()). +system settings will be used (g_proxy_resolver_get_default()). If you want to override the system default settings, you can either use WEBKIT_NETWORK_PROXY_MODE_NO_PROXY to make sure no proxies are used at all, or WEBKIT_NETWORK_PROXY_MODE_CUSTOM to provide your own proxy settings. @@ -1147,7 +1147,7 @@ is WEBKIT_NETWORK_PROXY_MODE_CUSTOM proxy_settings must be a valid WebKitNetworkProxySettings; otherwise, proxy_settings - must be NULL.

    + must be NULL.

    Parameters

    @@ -1169,7 +1169,7 @@ - + @@ -1183,9 +1183,9 @@
    void
     webkit_website_data_manager_fetch (WebKitWebsiteDataManager *manager,
                                        WebKitWebsiteDataTypes types,
    -                                   GCancellable *cancellable,
    -                                   GAsyncReadyCallback callback,
    -                                   gpointer user_data);
    + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Asynchronously get the list of WebKitWebsiteData for the given types .

    When the operation is finished, callback @@ -1212,12 +1212,12 @@

    - + - + @@ -1233,11 +1233,11 @@

    webkit_website_data_manager_fetch_finish ()

    -
    GList *
    +
    GList *
     webkit_website_data_manager_fetch_finish
                                    (WebKitWebsiteDataManager *manager,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_website_data_manager_fetch().

    Parameters

    @@ -1255,12 +1255,12 @@
    - + - + @@ -1268,8 +1268,8 @@

    Returns

    -

    a GList of WebKitWebsiteData. You must free the GList with -g_list_free() and unref the WebKitWebsiteDatas with webkit_website_data_unref() when you're done with them.

    +

    a GList of WebKitWebsiteData. You must free the GList with +g_list_free() and unref the WebKitWebsiteDatas with webkit_website_data_unref() when you're done with them.

    [element-type WebKitWebsiteData][transfer full]

    Since: 2.16

    @@ -1280,10 +1280,10 @@
    void
     webkit_website_data_manager_remove (WebKitWebsiteDataManager *manager,
                                         WebKitWebsiteDataTypes types,
    -                                    GList *website_data,
    -                                    GCancellable *cancellable,
    -                                    GAsyncReadyCallback callback,
    -                                    gpointer user_data);
    + GList *website_data, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Asynchronously removes the website data of the for the given types for websites in the given website_data list. @@ -1312,17 +1312,17 @@

    - + - + - + @@ -1338,11 +1338,11 @@

    webkit_website_data_manager_remove_finish ()

    -
    gboolean
    +
    gboolean
     webkit_website_data_manager_remove_finish
                                    (WebKitWebsiteDataManager *manager,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_website_data_manager_remove().

    Parameters

    @@ -1360,12 +1360,12 @@
    - + - + @@ -1373,7 +1373,7 @@

    Returns

    -

    TRUE if website data resources were successfully removed, or FALSE otherwise.

    +

    TRUE if website data resources were successfully removed, or FALSE otherwise.

    Since: 2.16

    @@ -1383,10 +1383,10 @@
    void
     webkit_website_data_manager_clear (WebKitWebsiteDataManager *manager,
                                        WebKitWebsiteDataTypes types,
    -                                   GTimeSpan timespan,
    -                                   GCancellable *cancellable,
    -                                   GAsyncReadyCallback callback,
    -                                   gpointer user_data);
    + GTimeSpan timespan, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Asynchronously clear the website data of the given types modified in the past timespan . @@ -1420,17 +1420,17 @@

    - + - + - + @@ -1446,11 +1446,11 @@

    webkit_website_data_manager_clear_finish ()

    -
    gboolean
    +
    gboolean
     webkit_website_data_manager_clear_finish
                                    (WebKitWebsiteDataManager *manager,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_website_data_manager_clear()

    Parameters

    @@ -1468,12 +1468,12 @@
    - + - + @@ -1481,7 +1481,7 @@

    Returns

    -

    TRUE if website data was successfully cleared, or FALSE otherwise.

    +

    TRUE if website data was successfully cleared, or FALSE otherwise.

    Since: 2.16

    @@ -1572,7 +1572,7 @@

    webkit_itp_first_party_get_website_data_access_allowed ()

    -
    gboolean
    +
    gboolean
     webkit_itp_first_party_get_website_data_access_allowed
                                    (WebKitITPFirstParty *itp_first_party);

    Get whether itp_first_party @@ -1597,14 +1597,14 @@

    Returns

    -

    TRUE if website data access has been granted, or FALSE otherwise

    +

    TRUE if website data access has been granted, or FALSE otherwise

    Since: 2.30


    webkit_itp_first_party_get_last_update_time ()

    -
    GDateTime *
    +
    GDateTime *
     webkit_itp_first_party_get_last_update_time
                                    (WebKitITPFirstParty *itp_first_party);

    Get the last time a WebKitITPThirdParty has been seen under itp_first_party @@ -1629,7 +1629,7 @@

    Returns

    -

    the last update time as a GDateTime.

    +

    the last update time as a GDateTime.

    [transfer none]

    Since: 2.30

    @@ -1721,7 +1721,7 @@

    webkit_itp_third_party_get_first_parties ()

    -
    GList *
    +
    GList *
     webkit_itp_third_party_get_first_parties
                                    (WebKitITPThirdParty *itp_third_party);

    Get the list of WebKitITPFirstParty under which itp_third_party @@ -1743,7 +1743,7 @@

    Returns

    -

    a GList of WebKitITPFirstParty.

    +

    a GList of WebKitITPFirstParty.

    [transfer none][element-type WebKitITPFirstParty]

    Since: 2.30

    @@ -1754,9 +1754,9 @@
    void
     webkit_website_data_manager_get_itp_summary
                                    (WebKitWebsiteDataManager *manager,
    -                                GCancellable *cancellable,
    -                                GAsyncReadyCallback callback,
    -                                gpointer user_data);
    + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Asynchronously get the list of WebKitITPThirdParty seen for manager . Every WebKitITPThirdParty contains the list of WebKitITPFirstParty under which it has been seen.

    @@ -1779,12 +1779,12 @@ - + - + @@ -1800,11 +1800,11 @@

    webkit_website_data_manager_get_itp_summary_finish ()

    -
    GList *
    +
    GList *
     webkit_website_data_manager_get_itp_summary_finish
                                    (WebKitWebsiteDataManager *manager,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_website_data_manager_get_itp_summary().

    Parameters

    @@ -1822,12 +1822,12 @@
    - + - + @@ -1835,8 +1835,8 @@

    Returns

    -

    a GList of WebKitITPThirdParty. -You must free the GList with g_list_free() and unref the WebKitITPThirdPartys with +

    a GList of WebKitITPThirdParty. +You must free the GList with g_list_free() and unref the WebKitITPThirdPartys with webkit_itp_third_party_unref() when you're done with them.

    [transfer full][element-type WebKitITPThirdParty]

    @@ -1960,7 +1960,7 @@

    The “is-ephemeral” property

    -
      “is-ephemeral”             gboolean
    +
      “is-ephemeral”             gboolean

    Whether the WebKitWebsiteDataManager is ephemeral. An ephemeral WebKitWebsiteDataManager handles all websites data as non-persistent, and nothing will be written to the client storage. Note that if you create an ephemeral WebKitWebsiteDataManager all other construction diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWindowProperties.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWindowProperties.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/WebKitWindowProperties.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/WebKitWindowProperties.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWindowProperties: WPE Reference Manual - + @@ -43,7 +43,7 @@

    - + - + - + - + - + - + - + @@ -162,7 +162,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitWindowProperties
     
    @@ -274,7 +274,7 @@

    Functions

    webkit_window_properties_get_toolbar_visible ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_toolbar_visible
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should have the toolbar visible or not.

    @@ -295,13 +295,13 @@

    Returns

    -

    TRUE if toolbar should be visible or FALSE otherwise.

    +

    TRUE if toolbar should be visible or FALSE otherwise.


    webkit_window_properties_get_statusbar_visible ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_statusbar_visible
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should have the statusbar visible or not.

    @@ -322,13 +322,13 @@

    Returns

    -

    TRUE if statusbar should be visible or FALSE otherwise.

    +

    TRUE if statusbar should be visible or FALSE otherwise.


    webkit_window_properties_get_scrollbars_visible ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_scrollbars_visible
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should have the scrollbars visible or not.

    @@ -349,13 +349,13 @@

    Returns

    -

    TRUE if scrollbars should be visible or FALSE otherwise.

    +

    TRUE if scrollbars should be visible or FALSE otherwise.


    webkit_window_properties_get_menubar_visible ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_menubar_visible
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should have the menubar visible or not.

    @@ -376,13 +376,13 @@

    Returns

    -

    TRUE if menubar should be visible or FALSE otherwise.

    +

    TRUE if menubar should be visible or FALSE otherwise.


    webkit_window_properties_get_locationbar_visible ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_locationbar_visible
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should have the locationbar visible or not.

    @@ -403,13 +403,13 @@

    Returns

    -

    TRUE if locationbar should be visible or FALSE otherwise.

    +

    TRUE if locationbar should be visible or FALSE otherwise.


    webkit_window_properties_get_resizable ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_resizable
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should be resizable by the user or not.

    @@ -430,13 +430,13 @@

    Returns

    -

    TRUE if the window should be resizable or FALSE otherwise.

    +

    TRUE if the window should be resizable or FALSE otherwise.


    webkit_window_properties_get_fullscreen ()

    -
    gboolean
    +
    gboolean
     webkit_window_properties_get_fullscreen
                                    (WebKitWindowProperties *window_properties);

    Get whether the window should be shown in fullscreen state or not.

    @@ -457,7 +457,7 @@

    Returns

    -

    TRUE if the window should be fullscreen or FALSE otherwise.

    +

    TRUE if the window should be fullscreen or FALSE otherwise.

    @@ -472,7 +472,7 @@

    Property Details

    The “fullscreen” property

    -
      “fullscreen”               gboolean
    +
      “fullscreen”               gboolean

    Whether window will be displayed fullscreen.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -481,7 +481,7 @@

    The “locationbar-visible” property

    -
      “locationbar-visible”      gboolean
    +
      “locationbar-visible”      gboolean

    Whether the locationbar should be visible for the window.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -490,7 +490,7 @@

    The “menubar-visible” property

    -
      “menubar-visible”          gboolean
    +
      “menubar-visible”          gboolean

    Whether the menubar should be visible for the window.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -499,7 +499,7 @@

    The “resizable” property

    -
      “resizable”                gboolean
    +
      “resizable”                gboolean

    Whether the window can be resized.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -508,7 +508,7 @@

    The “scrollbars-visible” property

    -
      “scrollbars-visible”       gboolean
    +
      “scrollbars-visible”       gboolean

    Whether the scrollbars should be visible for the window.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -517,7 +517,7 @@

    The “statusbar-visible” property

    -
      “statusbar-visible”        gboolean
    +
      “statusbar-visible”        gboolean

    Whether the statusbar should be visible for the window.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    @@ -526,7 +526,7 @@

    The “toolbar-visible” property

    -
      “toolbar-visible”          gboolean
    +
      “toolbar-visible”          gboolean

    Whether the toolbar should be visible for the window.

    Owner: WebKitWindowProperties

    Flags: Read / Write / Construct Only

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/annotation-glossary.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/annotation-glossary.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/annotation-glossary.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/annotation-glossary.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ Annotation Glossary: WPE Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/ch01.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/ch01.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/ch01.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/ch01.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ Class Overview: WPE Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/ch02.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/ch02.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/ch02.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/ch02.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ Utilities: WPE Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/index-all.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/index-all.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/index-all.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/index-all.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ Index: WPE Reference Manual - + @@ -26,1913 +26,1913 @@

    A

    -
    WebKitApplicationInfo, WebKitApplicationInfo +
    WebKitApplicationInfo, WebKitApplicationInfo
    -
    webkit_application_info_get_name, webkit_application_info_get_name () +
    webkit_application_info_get_name, webkit_application_info_get_name ()
    -
    webkit_application_info_get_version, webkit_application_info_get_version () +
    webkit_application_info_get_version, webkit_application_info_get_version ()
    -
    webkit_application_info_new, webkit_application_info_new () +
    webkit_application_info_new, webkit_application_info_new ()
    -
    webkit_application_info_ref, webkit_application_info_ref () +
    webkit_application_info_ref, webkit_application_info_ref ()
    -
    webkit_application_info_set_name, webkit_application_info_set_name () +
    webkit_application_info_set_name, webkit_application_info_set_name ()
    -
    webkit_application_info_set_version, webkit_application_info_set_version () +
    webkit_application_info_set_version, webkit_application_info_set_version ()
    -
    webkit_application_info_unref, webkit_application_info_unref () +
    webkit_application_info_unref, webkit_application_info_unref ()
    -
    WebKitAuthenticationRequest, struct WebKitAuthenticationRequest +
    WebKitAuthenticationRequest, struct WebKitAuthenticationRequest
    -
    WebKitAuthenticationRequest::authenticated, The “authenticated” signal +
    WebKitAuthenticationRequest::authenticated, The “authenticated” signal
    -
    WebKitAuthenticationRequest::cancelled, The “cancelled” signal +
    WebKitAuthenticationRequest::cancelled, The “cancelled” signal
    -
    WebKitAuthenticationScheme, enum WebKitAuthenticationScheme +
    WebKitAuthenticationScheme, enum WebKitAuthenticationScheme
    -
    webkit_authentication_request_authenticate, webkit_authentication_request_authenticate () +
    webkit_authentication_request_authenticate, webkit_authentication_request_authenticate ()
    -
    webkit_authentication_request_cancel, webkit_authentication_request_cancel () +
    webkit_authentication_request_cancel, webkit_authentication_request_cancel ()
    -
    webkit_authentication_request_can_save_credentials, webkit_authentication_request_can_save_credentials () +
    webkit_authentication_request_can_save_credentials, webkit_authentication_request_can_save_credentials ()
    -
    webkit_authentication_request_get_host, webkit_authentication_request_get_host () +
    webkit_authentication_request_get_host, webkit_authentication_request_get_host ()
    -
    webkit_authentication_request_get_port, webkit_authentication_request_get_port () +
    webkit_authentication_request_get_port, webkit_authentication_request_get_port ()
    -
    webkit_authentication_request_get_proposed_credential, webkit_authentication_request_get_proposed_credential () +
    webkit_authentication_request_get_proposed_credential, webkit_authentication_request_get_proposed_credential ()
    -
    webkit_authentication_request_get_realm, webkit_authentication_request_get_realm () +
    webkit_authentication_request_get_realm, webkit_authentication_request_get_realm ()
    -
    webkit_authentication_request_get_scheme, webkit_authentication_request_get_scheme () +
    webkit_authentication_request_get_scheme, webkit_authentication_request_get_scheme ()
    -
    webkit_authentication_request_get_security_origin, webkit_authentication_request_get_security_origin () +
    webkit_authentication_request_get_security_origin, webkit_authentication_request_get_security_origin ()
    -
    webkit_authentication_request_is_for_proxy, webkit_authentication_request_is_for_proxy () +
    webkit_authentication_request_is_for_proxy, webkit_authentication_request_is_for_proxy ()
    -
    webkit_authentication_request_is_retry, webkit_authentication_request_is_retry () +
    webkit_authentication_request_is_retry, webkit_authentication_request_is_retry ()
    -
    webkit_authentication_request_set_can_save_credentials, webkit_authentication_request_set_can_save_credentials () +
    webkit_authentication_request_set_can_save_credentials, webkit_authentication_request_set_can_save_credentials ()
    -
    webkit_authentication_request_set_proposed_credential, webkit_authentication_request_set_proposed_credential () +
    webkit_authentication_request_set_proposed_credential, webkit_authentication_request_set_proposed_credential ()
    -
    WebKitAutomationBrowsingContextPresentation, enum WebKitAutomationBrowsingContextPresentation +
    WebKitAutomationBrowsingContextPresentation, enum WebKitAutomationBrowsingContextPresentation
    -
    WebKitAutomationSession, struct WebKitAutomationSession +
    WebKitAutomationSession, struct WebKitAutomationSession
    -
    WebKitAutomationSession::create-web-view, The “create-web-view” signal +
    WebKitAutomationSession::create-web-view, The “create-web-view” signal
    -
    WebKitAutomationSession:id, The “id” property +
    WebKitAutomationSession:id, The “id” property
    -
    webkit_automation_session_get_application_info, webkit_automation_session_get_application_info () +
    webkit_automation_session_get_application_info, webkit_automation_session_get_application_info ()
    -
    webkit_automation_session_get_id, webkit_automation_session_get_id () +
    webkit_automation_session_get_id, webkit_automation_session_get_id ()
    -
    webkit_automation_session_set_application_info, webkit_automation_session_set_application_info () +
    webkit_automation_session_set_application_info, webkit_automation_session_set_application_info ()
    -
    WebKitAutoplayPolicy, enum WebKitAutoplayPolicy +
    WebKitAutoplayPolicy, enum WebKitAutoplayPolicy

    B

    -
    WebKitBackForwardList, struct WebKitBackForwardList +
    WebKitBackForwardList, struct WebKitBackForwardList
    -
    WebKitBackForwardList::changed, The “changed” signal +
    WebKitBackForwardList::changed, The “changed” signal
    -
    WebKitBackForwardListItem, struct WebKitBackForwardListItem +
    WebKitBackForwardListItem, struct WebKitBackForwardListItem
    -
    webkit_back_forward_list_get_back_item, webkit_back_forward_list_get_back_item () +
    webkit_back_forward_list_get_back_item, webkit_back_forward_list_get_back_item ()
    -
    webkit_back_forward_list_get_back_list, webkit_back_forward_list_get_back_list () +
    webkit_back_forward_list_get_back_list, webkit_back_forward_list_get_back_list ()
    -
    webkit_back_forward_list_get_back_list_with_limit, webkit_back_forward_list_get_back_list_with_limit () +
    webkit_back_forward_list_get_back_list_with_limit, webkit_back_forward_list_get_back_list_with_limit ()
    -
    webkit_back_forward_list_get_current_item, webkit_back_forward_list_get_current_item () +
    webkit_back_forward_list_get_current_item, webkit_back_forward_list_get_current_item ()
    -
    webkit_back_forward_list_get_forward_item, webkit_back_forward_list_get_forward_item () +
    webkit_back_forward_list_get_forward_item, webkit_back_forward_list_get_forward_item ()
    -
    webkit_back_forward_list_get_forward_list, webkit_back_forward_list_get_forward_list () +
    webkit_back_forward_list_get_forward_list, webkit_back_forward_list_get_forward_list ()
    -
    webkit_back_forward_list_get_forward_list_with_limit, webkit_back_forward_list_get_forward_list_with_limit () +
    webkit_back_forward_list_get_forward_list_with_limit, webkit_back_forward_list_get_forward_list_with_limit ()
    -
    webkit_back_forward_list_get_length, webkit_back_forward_list_get_length () +
    webkit_back_forward_list_get_length, webkit_back_forward_list_get_length ()
    -
    webkit_back_forward_list_get_nth_item, webkit_back_forward_list_get_nth_item () +
    webkit_back_forward_list_get_nth_item, webkit_back_forward_list_get_nth_item ()
    -
    webkit_back_forward_list_item_get_original_uri, webkit_back_forward_list_item_get_original_uri () +
    webkit_back_forward_list_item_get_original_uri, webkit_back_forward_list_item_get_original_uri ()
    -
    webkit_back_forward_list_item_get_title, webkit_back_forward_list_item_get_title () +
    webkit_back_forward_list_item_get_title, webkit_back_forward_list_item_get_title ()
    -
    webkit_back_forward_list_item_get_uri, webkit_back_forward_list_item_get_uri () +
    webkit_back_forward_list_item_get_uri, webkit_back_forward_list_item_get_uri ()

    C

    -
    WebKitCacheModel, enum WebKitCacheModel +
    WebKitCacheModel, enum WebKitCacheModel
    -
    WebKitColor, WebKitColor +
    WebKitColor, WebKitColor
    -
    webkit_color_parse, webkit_color_parse () +
    webkit_color_parse, webkit_color_parse ()
    -
    WebKitContextMenu, struct WebKitContextMenu +
    WebKitContextMenu, struct WebKitContextMenu
    -
    WebKitContextMenuAction, enum WebKitContextMenuAction +
    WebKitContextMenuAction, enum WebKitContextMenuAction
    -
    WebKitContextMenuItem, WebKitContextMenuItem +
    WebKitContextMenuItem, WebKitContextMenuItem
    -
    webkit_context_menu_append, webkit_context_menu_append () +
    webkit_context_menu_append, webkit_context_menu_append ()
    -
    webkit_context_menu_first, webkit_context_menu_first () +
    webkit_context_menu_first, webkit_context_menu_first ()
    -
    webkit_context_menu_get_items, webkit_context_menu_get_items () +
    webkit_context_menu_get_items, webkit_context_menu_get_items ()
    -
    webkit_context_menu_get_item_at_position, webkit_context_menu_get_item_at_position () +
    webkit_context_menu_get_item_at_position, webkit_context_menu_get_item_at_position ()
    -
    webkit_context_menu_get_n_items, webkit_context_menu_get_n_items () +
    webkit_context_menu_get_n_items, webkit_context_menu_get_n_items ()
    -
    webkit_context_menu_get_user_data, webkit_context_menu_get_user_data () +
    webkit_context_menu_get_user_data, webkit_context_menu_get_user_data ()
    -
    webkit_context_menu_insert, webkit_context_menu_insert () +
    webkit_context_menu_insert, webkit_context_menu_insert ()
    -
    webkit_context_menu_item_get_gaction, webkit_context_menu_item_get_gaction () +
    webkit_context_menu_item_get_gaction, webkit_context_menu_item_get_gaction ()
    -
    webkit_context_menu_item_get_stock_action, webkit_context_menu_item_get_stock_action () +
    webkit_context_menu_item_get_stock_action, webkit_context_menu_item_get_stock_action ()
    -
    webkit_context_menu_item_get_submenu, webkit_context_menu_item_get_submenu () +
    webkit_context_menu_item_get_submenu, webkit_context_menu_item_get_submenu ()
    -
    webkit_context_menu_item_is_separator, webkit_context_menu_item_is_separator () +
    webkit_context_menu_item_is_separator, webkit_context_menu_item_is_separator ()
    -
    webkit_context_menu_item_new_from_gaction, webkit_context_menu_item_new_from_gaction () +
    webkit_context_menu_item_new_from_gaction, webkit_context_menu_item_new_from_gaction ()
    -
    webkit_context_menu_item_new_from_stock_action, webkit_context_menu_item_new_from_stock_action () +
    webkit_context_menu_item_new_from_stock_action, webkit_context_menu_item_new_from_stock_action ()
    -
    webkit_context_menu_item_new_from_stock_action_with_label, webkit_context_menu_item_new_from_stock_action_with_label () +
    webkit_context_menu_item_new_from_stock_action_with_label, webkit_context_menu_item_new_from_stock_action_with_label ()
    -
    webkit_context_menu_item_new_separator, webkit_context_menu_item_new_separator () +
    webkit_context_menu_item_new_separator, webkit_context_menu_item_new_separator ()
    -
    webkit_context_menu_item_new_with_submenu, webkit_context_menu_item_new_with_submenu () +
    webkit_context_menu_item_new_with_submenu, webkit_context_menu_item_new_with_submenu ()
    -
    webkit_context_menu_item_set_submenu, webkit_context_menu_item_set_submenu () +
    webkit_context_menu_item_set_submenu, webkit_context_menu_item_set_submenu ()
    -
    webkit_context_menu_last, webkit_context_menu_last () +
    webkit_context_menu_last, webkit_context_menu_last ()
    -
    webkit_context_menu_move_item, webkit_context_menu_move_item () +
    webkit_context_menu_move_item, webkit_context_menu_move_item ()
    -
    webkit_context_menu_new, webkit_context_menu_new () +
    webkit_context_menu_new, webkit_context_menu_new ()
    -
    webkit_context_menu_new_with_items, webkit_context_menu_new_with_items () +
    webkit_context_menu_new_with_items, webkit_context_menu_new_with_items ()
    -
    webkit_context_menu_prepend, webkit_context_menu_prepend () +
    webkit_context_menu_prepend, webkit_context_menu_prepend ()
    -
    webkit_context_menu_remove, webkit_context_menu_remove () +
    webkit_context_menu_remove, webkit_context_menu_remove ()
    -
    webkit_context_menu_remove_all, webkit_context_menu_remove_all () +
    webkit_context_menu_remove_all, webkit_context_menu_remove_all ()
    -
    webkit_context_menu_set_user_data, webkit_context_menu_set_user_data () +
    webkit_context_menu_set_user_data, webkit_context_menu_set_user_data ()
    -
    WebKitCookieAcceptPolicy, enum WebKitCookieAcceptPolicy +
    WebKitCookieAcceptPolicy, enum WebKitCookieAcceptPolicy
    -
    WebKitCookieManager, struct WebKitCookieManager +
    WebKitCookieManager, struct WebKitCookieManager
    -
    WebKitCookieManager::changed, The “changed” signal +
    WebKitCookieManager::changed, The “changed” signal
    -
    WebKitCookiePersistentStorage, enum WebKitCookiePersistentStorage +
    WebKitCookiePersistentStorage, enum WebKitCookiePersistentStorage
    -
    webkit_cookie_manager_add_cookie, webkit_cookie_manager_add_cookie () +
    webkit_cookie_manager_add_cookie, webkit_cookie_manager_add_cookie ()
    -
    webkit_cookie_manager_add_cookie_finish, webkit_cookie_manager_add_cookie_finish () +
    webkit_cookie_manager_add_cookie_finish, webkit_cookie_manager_add_cookie_finish ()
    -
    webkit_cookie_manager_delete_cookie, webkit_cookie_manager_delete_cookie () +
    webkit_cookie_manager_delete_cookie, webkit_cookie_manager_delete_cookie ()
    -
    webkit_cookie_manager_delete_cookie_finish, webkit_cookie_manager_delete_cookie_finish () +
    webkit_cookie_manager_delete_cookie_finish, webkit_cookie_manager_delete_cookie_finish ()
    -
    webkit_cookie_manager_get_accept_policy, webkit_cookie_manager_get_accept_policy () +
    webkit_cookie_manager_get_accept_policy, webkit_cookie_manager_get_accept_policy ()
    -
    webkit_cookie_manager_get_accept_policy_finish, webkit_cookie_manager_get_accept_policy_finish () +
    webkit_cookie_manager_get_accept_policy_finish, webkit_cookie_manager_get_accept_policy_finish ()
    -
    webkit_cookie_manager_get_cookies, webkit_cookie_manager_get_cookies () +
    webkit_cookie_manager_get_cookies, webkit_cookie_manager_get_cookies ()
    -
    webkit_cookie_manager_get_cookies_finish, webkit_cookie_manager_get_cookies_finish () +
    webkit_cookie_manager_get_cookies_finish, webkit_cookie_manager_get_cookies_finish ()
    -
    webkit_cookie_manager_set_accept_policy, webkit_cookie_manager_set_accept_policy () +
    webkit_cookie_manager_set_accept_policy, webkit_cookie_manager_set_accept_policy ()
    -
    webkit_cookie_manager_set_persistent_storage, webkit_cookie_manager_set_persistent_storage () +
    webkit_cookie_manager_set_persistent_storage, webkit_cookie_manager_set_persistent_storage ()
    -
    WebKitCredential, WebKitCredential +
    WebKitCredential, WebKitCredential
    -
    WebKitCredentialPersistence, enum WebKitCredentialPersistence +
    WebKitCredentialPersistence, enum WebKitCredentialPersistence
    -
    webkit_credential_copy, webkit_credential_copy () +
    webkit_credential_copy, webkit_credential_copy ()
    -
    webkit_credential_free, webkit_credential_free () +
    webkit_credential_free, webkit_credential_free ()
    -
    webkit_credential_get_password, webkit_credential_get_password () +
    webkit_credential_get_password, webkit_credential_get_password ()
    -
    webkit_credential_get_persistence, webkit_credential_get_persistence () +
    webkit_credential_get_persistence, webkit_credential_get_persistence ()
    -
    webkit_credential_get_username, webkit_credential_get_username () +
    webkit_credential_get_username, webkit_credential_get_username ()
    -
    webkit_credential_has_password, webkit_credential_has_password () +
    webkit_credential_has_password, webkit_credential_has_password ()
    -
    webkit_credential_new, webkit_credential_new () +
    webkit_credential_new, webkit_credential_new ()

    D

    -
    WebKitDownload, struct WebKitDownload +
    WebKitDownload, struct WebKitDownload
    -
    WebKitDownload::created-destination, The “created-destination” signal +
    WebKitDownload::created-destination, The “created-destination” signal
    -
    WebKitDownload::decide-destination, The “decide-destination” signal +
    WebKitDownload::decide-destination, The “decide-destination” signal
    -
    WebKitDownload::failed, The “failed” signal +
    WebKitDownload::failed, The “failed” signal
    -
    WebKitDownload::finished, The “finished” signal +
    WebKitDownload::finished, The “finished” signal
    -
    WebKitDownload::received-data, The “received-data” signal +
    WebKitDownload::received-data, The “received-data” signal
    -
    WebKitDownload:allow-overwrite, The “allow-overwrite” property +
    WebKitDownload:allow-overwrite, The “allow-overwrite” property
    -
    WebKitDownload:destination, The “destination” property +
    WebKitDownload:destination, The “destination” property
    -
    WebKitDownload:estimated-progress, The “estimated-progress” property +
    WebKitDownload:estimated-progress, The “estimated-progress” property
    -
    WebKitDownload:response, The “response” property +
    WebKitDownload:response, The “response” property
    -
    WebKitDownloadError, enum WebKitDownloadError +
    WebKitDownloadError, enum WebKitDownloadError
    -
    webkit_download_cancel, webkit_download_cancel () +
    webkit_download_cancel, webkit_download_cancel ()
    -
    WEBKIT_DOWNLOAD_ERROR, WEBKIT_DOWNLOAD_ERROR +
    WEBKIT_DOWNLOAD_ERROR, WEBKIT_DOWNLOAD_ERROR
    -
    webkit_download_error_quark, webkit_download_error_quark () +
    webkit_download_error_quark, webkit_download_error_quark ()
    -
    webkit_download_get_allow_overwrite, webkit_download_get_allow_overwrite () +
    webkit_download_get_allow_overwrite, webkit_download_get_allow_overwrite ()
    -
    webkit_download_get_destination, webkit_download_get_destination () +
    webkit_download_get_destination, webkit_download_get_destination ()
    -
    webkit_download_get_elapsed_time, webkit_download_get_elapsed_time () +
    webkit_download_get_elapsed_time, webkit_download_get_elapsed_time ()
    -
    webkit_download_get_estimated_progress, webkit_download_get_estimated_progress () +
    webkit_download_get_estimated_progress, webkit_download_get_estimated_progress ()
    -
    webkit_download_get_received_data_length, webkit_download_get_received_data_length () +
    webkit_download_get_received_data_length, webkit_download_get_received_data_length ()
    -
    webkit_download_get_request, webkit_download_get_request () +
    webkit_download_get_request, webkit_download_get_request ()
    -
    webkit_download_get_response, webkit_download_get_response () +
    webkit_download_get_response, webkit_download_get_response ()
    -
    webkit_download_get_web_view, webkit_download_get_web_view () +
    webkit_download_get_web_view, webkit_download_get_web_view ()
    -
    webkit_download_set_allow_overwrite, webkit_download_set_allow_overwrite () +
    webkit_download_set_allow_overwrite, webkit_download_set_allow_overwrite ()
    -
    webkit_download_set_destination, webkit_download_set_destination () +
    webkit_download_set_destination, webkit_download_set_destination ()

    E

    -
    WEBKIT_EDITING_COMMAND_COPY, WEBKIT_EDITING_COMMAND_COPY +
    WEBKIT_EDITING_COMMAND_COPY, WEBKIT_EDITING_COMMAND_COPY
    -
    WEBKIT_EDITING_COMMAND_CREATE_LINK, WEBKIT_EDITING_COMMAND_CREATE_LINK +
    WEBKIT_EDITING_COMMAND_CREATE_LINK, WEBKIT_EDITING_COMMAND_CREATE_LINK
    -
    WEBKIT_EDITING_COMMAND_CUT, WEBKIT_EDITING_COMMAND_CUT +
    WEBKIT_EDITING_COMMAND_CUT, WEBKIT_EDITING_COMMAND_CUT
    -
    WEBKIT_EDITING_COMMAND_INSERT_IMAGE, WEBKIT_EDITING_COMMAND_INSERT_IMAGE +
    WEBKIT_EDITING_COMMAND_INSERT_IMAGE, WEBKIT_EDITING_COMMAND_INSERT_IMAGE
    -
    WEBKIT_EDITING_COMMAND_PASTE, WEBKIT_EDITING_COMMAND_PASTE +
    WEBKIT_EDITING_COMMAND_PASTE, WEBKIT_EDITING_COMMAND_PASTE
    -
    WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT, WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT +
    WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT, WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT
    -
    WEBKIT_EDITING_COMMAND_REDO, WEBKIT_EDITING_COMMAND_REDO +
    WEBKIT_EDITING_COMMAND_REDO, WEBKIT_EDITING_COMMAND_REDO
    -
    WEBKIT_EDITING_COMMAND_SELECT_ALL, WEBKIT_EDITING_COMMAND_SELECT_ALL +
    WEBKIT_EDITING_COMMAND_SELECT_ALL, WEBKIT_EDITING_COMMAND_SELECT_ALL
    -
    WEBKIT_EDITING_COMMAND_UNDO, WEBKIT_EDITING_COMMAND_UNDO +
    WEBKIT_EDITING_COMMAND_UNDO, WEBKIT_EDITING_COMMAND_UNDO
    -
    WebKitEditorState, struct WebKitEditorState +
    WebKitEditorState, struct WebKitEditorState
    -
    WebKitEditorState:typing-attributes, The “typing-attributes” property +
    WebKitEditorState:typing-attributes, The “typing-attributes” property
    -
    WebKitEditorTypingAttributes, enum WebKitEditorTypingAttributes +
    WebKitEditorTypingAttributes, enum WebKitEditorTypingAttributes
    -
    webkit_editor_state_get_typing_attributes, webkit_editor_state_get_typing_attributes () +
    webkit_editor_state_get_typing_attributes, webkit_editor_state_get_typing_attributes ()
    -
    webkit_editor_state_is_copy_available, webkit_editor_state_is_copy_available () +
    webkit_editor_state_is_copy_available, webkit_editor_state_is_copy_available ()
    -
    webkit_editor_state_is_cut_available, webkit_editor_state_is_cut_available () +
    webkit_editor_state_is_cut_available, webkit_editor_state_is_cut_available ()
    -
    webkit_editor_state_is_paste_available, webkit_editor_state_is_paste_available () +
    webkit_editor_state_is_paste_available, webkit_editor_state_is_paste_available ()
    -
    webkit_editor_state_is_redo_available, webkit_editor_state_is_redo_available () +
    webkit_editor_state_is_redo_available, webkit_editor_state_is_redo_available ()
    -
    webkit_editor_state_is_undo_available, webkit_editor_state_is_undo_available () +
    webkit_editor_state_is_undo_available, webkit_editor_state_is_undo_available ()

    F

    -
    WebKitFaviconDatabase, struct WebKitFaviconDatabase +
    WebKitFaviconDatabase, struct WebKitFaviconDatabase
    -
    WebKitFaviconDatabase::favicon-changed, The “favicon-changed” signal +
    WebKitFaviconDatabase::favicon-changed, The “favicon-changed” signal
    -
    WebKitFaviconDatabaseError, enum WebKitFaviconDatabaseError +
    WebKitFaviconDatabaseError, enum WebKitFaviconDatabaseError
    -
    webkit_favicon_database_clear, webkit_favicon_database_clear () +
    webkit_favicon_database_clear, webkit_favicon_database_clear ()
    -
    WEBKIT_FAVICON_DATABASE_ERROR, WEBKIT_FAVICON_DATABASE_ERROR +
    WEBKIT_FAVICON_DATABASE_ERROR, WEBKIT_FAVICON_DATABASE_ERROR
    -
    webkit_favicon_database_get_favicon_uri, webkit_favicon_database_get_favicon_uri () +
    webkit_favicon_database_get_favicon_uri, webkit_favicon_database_get_favicon_uri ()
    -
    WebKitFileChooserRequest, struct WebKitFileChooserRequest +
    WebKitFileChooserRequest, struct WebKitFileChooserRequest
    -
    WebKitFileChooserRequest:mime-types, The “mime-types” property +
    WebKitFileChooserRequest:mime-types, The “mime-types” property
    -
    WebKitFileChooserRequest:select-multiple, The “select-multiple” property +
    WebKitFileChooserRequest:select-multiple, The “select-multiple” property
    -
    WebKitFileChooserRequest:selected-files, The “selected-files” property +
    WebKitFileChooserRequest:selected-files, The “selected-files” property
    -
    webkit_file_chooser_request_cancel, webkit_file_chooser_request_cancel () +
    webkit_file_chooser_request_cancel, webkit_file_chooser_request_cancel ()
    -
    webkit_file_chooser_request_get_mime_types, webkit_file_chooser_request_get_mime_types () +
    webkit_file_chooser_request_get_mime_types, webkit_file_chooser_request_get_mime_types ()
    -
    webkit_file_chooser_request_get_selected_files, webkit_file_chooser_request_get_selected_files () +
    webkit_file_chooser_request_get_selected_files, webkit_file_chooser_request_get_selected_files ()
    -
    webkit_file_chooser_request_get_select_multiple, webkit_file_chooser_request_get_select_multiple () +
    webkit_file_chooser_request_get_select_multiple, webkit_file_chooser_request_get_select_multiple ()
    -
    webkit_file_chooser_request_select_files, webkit_file_chooser_request_select_files () +
    webkit_file_chooser_request_select_files, webkit_file_chooser_request_select_files ()
    -
    WebKitFindController, struct WebKitFindController +
    WebKitFindController, struct WebKitFindController
    -
    WebKitFindController::counted-matches, The “counted-matches” signal +
    WebKitFindController::counted-matches, The “counted-matches” signal
    -
    WebKitFindController::failed-to-find-text, The “failed-to-find-text” signal +
    WebKitFindController::failed-to-find-text, The “failed-to-find-text” signal
    -
    WebKitFindController::found-text, The “found-text” signal +
    WebKitFindController::found-text, The “found-text” signal
    -
    WebKitFindController:max-match-count, The “max-match-count” property +
    WebKitFindController:max-match-count, The “max-match-count” property
    -
    WebKitFindController:options, The “options” property +
    WebKitFindController:options, The “options” property
    -
    WebKitFindController:text, The “text” property +
    WebKitFindController:text, The “text” property
    -
    WebKitFindController:web-view, The “web-view” property +
    WebKitFindController:web-view, The “web-view” property
    -
    WebKitFindOptions, enum WebKitFindOptions +
    WebKitFindOptions, enum WebKitFindOptions
    -
    webkit_find_controller_count_matches, webkit_find_controller_count_matches () +
    webkit_find_controller_count_matches, webkit_find_controller_count_matches ()
    -
    webkit_find_controller_get_max_match_count, webkit_find_controller_get_max_match_count () +
    webkit_find_controller_get_max_match_count, webkit_find_controller_get_max_match_count ()
    -
    webkit_find_controller_get_options, webkit_find_controller_get_options () +
    webkit_find_controller_get_options, webkit_find_controller_get_options ()
    -
    webkit_find_controller_get_search_text, webkit_find_controller_get_search_text () +
    webkit_find_controller_get_search_text, webkit_find_controller_get_search_text ()
    -
    webkit_find_controller_get_web_view, webkit_find_controller_get_web_view () +
    webkit_find_controller_get_web_view, webkit_find_controller_get_web_view ()
    -
    webkit_find_controller_search, webkit_find_controller_search () +
    webkit_find_controller_search, webkit_find_controller_search ()
    -
    webkit_find_controller_search_finish, webkit_find_controller_search_finish () +
    webkit_find_controller_search_finish, webkit_find_controller_search_finish ()
    -
    webkit_find_controller_search_next, webkit_find_controller_search_next () +
    webkit_find_controller_search_next, webkit_find_controller_search_next ()
    -
    webkit_find_controller_search_previous, webkit_find_controller_search_previous () +
    webkit_find_controller_search_previous, webkit_find_controller_search_previous ()
    -
    WebKitFormSubmissionRequest, struct WebKitFormSubmissionRequest +
    WebKitFormSubmissionRequest, struct WebKitFormSubmissionRequest
    -
    webkit_form_submission_request_list_text_fields, webkit_form_submission_request_list_text_fields () +
    webkit_form_submission_request_list_text_fields, webkit_form_submission_request_list_text_fields ()
    -
    webkit_form_submission_request_submit, webkit_form_submission_request_submit () +
    webkit_form_submission_request_submit, webkit_form_submission_request_submit ()
    -
    WebKitFrameDisplayedCallback, WebKitFrameDisplayedCallback () +
    WebKitFrameDisplayedCallback, WebKitFrameDisplayedCallback ()

    G

    -
    WebKitGeolocationManager, struct WebKitGeolocationManager +
    WebKitGeolocationManager, struct WebKitGeolocationManager
    -
    WebKitGeolocationManager::start, The “start” signal +
    WebKitGeolocationManager::start, The “start” signal
    -
    WebKitGeolocationManager::stop, The “stop” signal +
    WebKitGeolocationManager::stop, The “stop” signal
    -
    WebKitGeolocationManager:enable-high-accuracy, The “enable-high-accuracy” property +
    WebKitGeolocationManager:enable-high-accuracy, The “enable-high-accuracy” property
    -
    WebKitGeolocationPermissionRequest, struct WebKitGeolocationPermissionRequest +
    WebKitGeolocationPermissionRequest, struct WebKitGeolocationPermissionRequest
    -
    WebKitGeolocationPosition, WebKitGeolocationPosition +
    WebKitGeolocationPosition, WebKitGeolocationPosition
    -
    webkit_geolocation_manager_failed, webkit_geolocation_manager_failed () +
    webkit_geolocation_manager_failed, webkit_geolocation_manager_failed ()
    -
    webkit_geolocation_manager_get_enable_high_accuracy, webkit_geolocation_manager_get_enable_high_accuracy () +
    webkit_geolocation_manager_get_enable_high_accuracy, webkit_geolocation_manager_get_enable_high_accuracy ()
    -
    webkit_geolocation_manager_update_position, webkit_geolocation_manager_update_position () +
    webkit_geolocation_manager_update_position, webkit_geolocation_manager_update_position ()
    -
    webkit_geolocation_position_copy, webkit_geolocation_position_copy () +
    webkit_geolocation_position_copy, webkit_geolocation_position_copy ()
    -
    webkit_geolocation_position_free, webkit_geolocation_position_free () +
    webkit_geolocation_position_free, webkit_geolocation_position_free ()
    -
    webkit_geolocation_position_new, webkit_geolocation_position_new () +
    webkit_geolocation_position_new, webkit_geolocation_position_new ()
    -
    webkit_geolocation_position_set_altitude, webkit_geolocation_position_set_altitude () +
    webkit_geolocation_position_set_altitude, webkit_geolocation_position_set_altitude ()
    -
    webkit_geolocation_position_set_altitude_accuracy, webkit_geolocation_position_set_altitude_accuracy () +
    webkit_geolocation_position_set_altitude_accuracy, webkit_geolocation_position_set_altitude_accuracy ()
    -
    webkit_geolocation_position_set_heading, webkit_geolocation_position_set_heading () +
    webkit_geolocation_position_set_heading, webkit_geolocation_position_set_heading ()
    -
    webkit_geolocation_position_set_speed, webkit_geolocation_position_set_speed () +
    webkit_geolocation_position_set_speed, webkit_geolocation_position_set_speed ()
    -
    webkit_geolocation_position_set_timestamp, webkit_geolocation_position_set_timestamp () +
    webkit_geolocation_position_set_timestamp, webkit_geolocation_position_set_timestamp ()

    H

    -
    WebKitHitTestResult, struct WebKitHitTestResult +
    WebKitHitTestResult, struct WebKitHitTestResult
    -
    WebKitHitTestResult:context, The “context” property +
    WebKitHitTestResult:context, The “context” property
    -
    WebKitHitTestResult:image-uri, The “image-uri” property +
    WebKitHitTestResult:image-uri, The “image-uri” property
    -
    WebKitHitTestResult:link-label, The “link-label” property +
    WebKitHitTestResult:link-label, The “link-label” property
    -
    WebKitHitTestResult:link-title, The “link-title” property +
    WebKitHitTestResult:link-title, The “link-title” property
    -
    WebKitHitTestResult:link-uri, The “link-uri” property +
    WebKitHitTestResult:link-uri, The “link-uri” property
    -
    WebKitHitTestResult:media-uri, The “media-uri” property +
    WebKitHitTestResult:media-uri, The “media-uri” property
    -
    WebKitHitTestResultContext, enum WebKitHitTestResultContext +
    WebKitHitTestResultContext, enum WebKitHitTestResultContext
    -
    webkit_hit_test_result_context_is_editable, webkit_hit_test_result_context_is_editable () +
    webkit_hit_test_result_context_is_editable, webkit_hit_test_result_context_is_editable ()
    -
    webkit_hit_test_result_context_is_image, webkit_hit_test_result_context_is_image () +
    webkit_hit_test_result_context_is_image, webkit_hit_test_result_context_is_image ()
    -
    webkit_hit_test_result_context_is_link, webkit_hit_test_result_context_is_link () +
    webkit_hit_test_result_context_is_link, webkit_hit_test_result_context_is_link ()
    -
    webkit_hit_test_result_context_is_media, webkit_hit_test_result_context_is_media () +
    webkit_hit_test_result_context_is_media, webkit_hit_test_result_context_is_media ()
    -
    webkit_hit_test_result_context_is_scrollbar, webkit_hit_test_result_context_is_scrollbar () +
    webkit_hit_test_result_context_is_scrollbar, webkit_hit_test_result_context_is_scrollbar ()
    -
    webkit_hit_test_result_context_is_selection, webkit_hit_test_result_context_is_selection () +
    webkit_hit_test_result_context_is_selection, webkit_hit_test_result_context_is_selection ()
    -
    webkit_hit_test_result_get_context, webkit_hit_test_result_get_context () +
    webkit_hit_test_result_get_context, webkit_hit_test_result_get_context ()
    -
    webkit_hit_test_result_get_image_uri, webkit_hit_test_result_get_image_uri () +
    webkit_hit_test_result_get_image_uri, webkit_hit_test_result_get_image_uri ()
    -
    webkit_hit_test_result_get_link_label, webkit_hit_test_result_get_link_label () +
    webkit_hit_test_result_get_link_label, webkit_hit_test_result_get_link_label ()
    -
    webkit_hit_test_result_get_link_title, webkit_hit_test_result_get_link_title () +
    webkit_hit_test_result_get_link_title, webkit_hit_test_result_get_link_title ()
    -
    webkit_hit_test_result_get_link_uri, webkit_hit_test_result_get_link_uri () +
    webkit_hit_test_result_get_link_uri, webkit_hit_test_result_get_link_uri ()
    -
    webkit_hit_test_result_get_media_uri, webkit_hit_test_result_get_media_uri () +
    webkit_hit_test_result_get_media_uri, webkit_hit_test_result_get_media_uri ()

    I

    -
    WebKitInputHints, enum WebKitInputHints +
    WebKitInputHints, enum WebKitInputHints
    -
    WebKitInputMethodContext, struct WebKitInputMethodContext +
    WebKitInputMethodContext, struct WebKitInputMethodContext
    -
    WebKitInputMethodContext::committed, The “committed” signal +
    WebKitInputMethodContext::committed, The “committed” signal
    -
    WebKitInputMethodContext::delete-surrounding, The “delete-surrounding” signal +
    WebKitInputMethodContext::delete-surrounding, The “delete-surrounding” signal
    -
    WebKitInputMethodContext::preedit-changed, The “preedit-changed” signal +
    WebKitInputMethodContext::preedit-changed, The “preedit-changed” signal
    -
    WebKitInputMethodContext::preedit-finished, The “preedit-finished” signal +
    WebKitInputMethodContext::preedit-finished, The “preedit-finished” signal
    -
    WebKitInputMethodContext::preedit-started, The “preedit-started” signal +
    WebKitInputMethodContext::preedit-started, The “preedit-started” signal
    -
    WebKitInputMethodContext:input-hints, The “input-hints” property +
    WebKitInputMethodContext:input-hints, The “input-hints” property
    -
    WebKitInputMethodContext:input-purpose, The “input-purpose” property +
    WebKitInputMethodContext:input-purpose, The “input-purpose” property
    -
    WebKitInputMethodUnderline, WebKitInputMethodUnderline +
    WebKitInputMethodUnderline, WebKitInputMethodUnderline
    -
    WebKitInputPurpose, enum WebKitInputPurpose +
    WebKitInputPurpose, enum WebKitInputPurpose
    -
    webkit_input_method_context_filter_key_event, webkit_input_method_context_filter_key_event () +
    webkit_input_method_context_filter_key_event, webkit_input_method_context_filter_key_event ()
    -
    webkit_input_method_context_get_input_hints, webkit_input_method_context_get_input_hints () +
    webkit_input_method_context_get_input_hints, webkit_input_method_context_get_input_hints ()
    -
    webkit_input_method_context_get_input_purpose, webkit_input_method_context_get_input_purpose () +
    webkit_input_method_context_get_input_purpose, webkit_input_method_context_get_input_purpose ()
    -
    webkit_input_method_context_get_preedit, webkit_input_method_context_get_preedit () +
    webkit_input_method_context_get_preedit, webkit_input_method_context_get_preedit ()
    -
    webkit_input_method_context_notify_cursor_area, webkit_input_method_context_notify_cursor_area () +
    webkit_input_method_context_notify_cursor_area, webkit_input_method_context_notify_cursor_area ()
    -
    webkit_input_method_context_notify_focus_in, webkit_input_method_context_notify_focus_in () +
    webkit_input_method_context_notify_focus_in, webkit_input_method_context_notify_focus_in ()
    -
    webkit_input_method_context_notify_focus_out, webkit_input_method_context_notify_focus_out () +
    webkit_input_method_context_notify_focus_out, webkit_input_method_context_notify_focus_out ()
    -
    webkit_input_method_context_notify_surrounding, webkit_input_method_context_notify_surrounding () +
    webkit_input_method_context_notify_surrounding, webkit_input_method_context_notify_surrounding ()
    -
    webkit_input_method_context_reset, webkit_input_method_context_reset () +
    webkit_input_method_context_reset, webkit_input_method_context_reset ()
    -
    webkit_input_method_context_set_enable_preedit, webkit_input_method_context_set_enable_preedit () +
    webkit_input_method_context_set_enable_preedit, webkit_input_method_context_set_enable_preedit ()
    -
    webkit_input_method_context_set_input_hints, webkit_input_method_context_set_input_hints () +
    webkit_input_method_context_set_input_hints, webkit_input_method_context_set_input_hints ()
    -
    webkit_input_method_context_set_input_purpose, webkit_input_method_context_set_input_purpose () +
    webkit_input_method_context_set_input_purpose, webkit_input_method_context_set_input_purpose ()
    -
    webkit_input_method_underline_copy, webkit_input_method_underline_copy () +
    webkit_input_method_underline_copy, webkit_input_method_underline_copy ()
    -
    webkit_input_method_underline_free, webkit_input_method_underline_free () +
    webkit_input_method_underline_free, webkit_input_method_underline_free ()
    -
    webkit_input_method_underline_new, webkit_input_method_underline_new () +
    webkit_input_method_underline_new, webkit_input_method_underline_new ()
    -
    webkit_input_method_underline_set_color, webkit_input_method_underline_set_color () +
    webkit_input_method_underline_set_color, webkit_input_method_underline_set_color ()
    -
    WebKitInsecureContentEvent, enum WebKitInsecureContentEvent +
    WebKitInsecureContentEvent, enum WebKitInsecureContentEvent
    -
    WebKitInstallMissingMediaPluginsPermissionRequest, struct WebKitInstallMissingMediaPluginsPermissionRequest +
    WebKitInstallMissingMediaPluginsPermissionRequest, struct WebKitInstallMissingMediaPluginsPermissionRequest
    -
    webkit_install_missing_media_plugins_permission_request_get_description, webkit_install_missing_media_plugins_permission_request_get_description () +
    webkit_install_missing_media_plugins_permission_request_get_description, webkit_install_missing_media_plugins_permission_request_get_description ()
    -
    WebKitITPFirstParty, WebKitITPFirstParty +
    WebKitITPFirstParty, WebKitITPFirstParty
    -
    WebKitITPThirdParty, WebKitITPThirdParty +
    WebKitITPThirdParty, WebKitITPThirdParty
    -
    webkit_itp_first_party_get_domain, webkit_itp_first_party_get_domain () +
    webkit_itp_first_party_get_domain, webkit_itp_first_party_get_domain ()
    -
    webkit_itp_first_party_get_last_update_time, webkit_itp_first_party_get_last_update_time () +
    webkit_itp_first_party_get_last_update_time, webkit_itp_first_party_get_last_update_time ()
    -
    webkit_itp_first_party_get_website_data_access_allowed, webkit_itp_first_party_get_website_data_access_allowed () +
    webkit_itp_first_party_get_website_data_access_allowed, webkit_itp_first_party_get_website_data_access_allowed ()
    -
    webkit_itp_first_party_ref, webkit_itp_first_party_ref () +
    webkit_itp_first_party_ref, webkit_itp_first_party_ref ()
    -
    webkit_itp_first_party_unref, webkit_itp_first_party_unref () +
    webkit_itp_first_party_unref, webkit_itp_first_party_unref ()
    -
    webkit_itp_third_party_get_domain, webkit_itp_third_party_get_domain () +
    webkit_itp_third_party_get_domain, webkit_itp_third_party_get_domain ()
    -
    webkit_itp_third_party_get_first_parties, webkit_itp_third_party_get_first_parties () +
    webkit_itp_third_party_get_first_parties, webkit_itp_third_party_get_first_parties ()
    -
    webkit_itp_third_party_ref, webkit_itp_third_party_ref () +
    webkit_itp_third_party_ref, webkit_itp_third_party_ref ()
    -
    webkit_itp_third_party_unref, webkit_itp_third_party_unref () +
    webkit_itp_third_party_unref, webkit_itp_third_party_unref ()

    J

    -
    WebKitJavascriptError, enum WebKitJavascriptError +
    WebKitJavascriptError, enum WebKitJavascriptError
    -
    WebKitJavascriptResult, WebKitJavascriptResult +
    WebKitJavascriptResult, WebKitJavascriptResult
    -
    WEBKIT_JAVASCRIPT_ERROR, WEBKIT_JAVASCRIPT_ERROR +
    WEBKIT_JAVASCRIPT_ERROR, WEBKIT_JAVASCRIPT_ERROR
    -
    webkit_javascript_error_quark, webkit_javascript_error_quark () +
    webkit_javascript_error_quark, webkit_javascript_error_quark ()
    -
    webkit_javascript_result_get_js_value, webkit_javascript_result_get_js_value () +
    webkit_javascript_result_get_js_value, webkit_javascript_result_get_js_value ()
    -
    webkit_javascript_result_ref, webkit_javascript_result_ref () +
    webkit_javascript_result_ref, webkit_javascript_result_ref ()
    -
    webkit_javascript_result_unref, webkit_javascript_result_unref () +
    webkit_javascript_result_unref, webkit_javascript_result_unref ()

    L

    -
    WebKitLoadEvent, enum WebKitLoadEvent +
    WebKitLoadEvent, enum WebKitLoadEvent

    M

    -
    WebKitMediaKeySystemPermissionRequest, struct WebKitMediaKeySystemPermissionRequest +
    WebKitMediaKeySystemPermissionRequest, struct WebKitMediaKeySystemPermissionRequest
    -
    webkit_media_key_system_permission_get_name, webkit_media_key_system_permission_get_name () +
    webkit_media_key_system_permission_get_name, webkit_media_key_system_permission_get_name ()
    -
    WebKitMimeInfo, WebKitMimeInfo +
    WebKitMimeInfo, WebKitMimeInfo
    -
    webkit_mime_info_get_description, webkit_mime_info_get_description () +
    webkit_mime_info_get_description, webkit_mime_info_get_description ()
    -
    webkit_mime_info_get_extensions, webkit_mime_info_get_extensions () +
    webkit_mime_info_get_extensions, webkit_mime_info_get_extensions ()
    -
    webkit_mime_info_get_mime_type, webkit_mime_info_get_mime_type () +
    webkit_mime_info_get_mime_type, webkit_mime_info_get_mime_type ()
    -
    webkit_mime_info_ref, webkit_mime_info_ref () +
    webkit_mime_info_ref, webkit_mime_info_ref ()
    -
    webkit_mime_info_unref, webkit_mime_info_unref () +
    webkit_mime_info_unref, webkit_mime_info_unref ()

    N

    -
    WebKitNavigationAction, WebKitNavigationAction +
    WebKitNavigationAction, WebKitNavigationAction
    -
    WebKitNavigationPolicyDecision, struct WebKitNavigationPolicyDecision +
    WebKitNavigationPolicyDecision, struct WebKitNavigationPolicyDecision
    -
    WebKitNavigationPolicyDecision:frame-name, The “frame-name” property +
    WebKitNavigationPolicyDecision:frame-name, The “frame-name” property
    -
    WebKitNavigationPolicyDecision:navigation-action, The “navigation-action” property +
    WebKitNavigationPolicyDecision:navigation-action, The “navigation-action” property
    -
    WebKitNavigationType, enum WebKitNavigationType +
    WebKitNavigationType, enum WebKitNavigationType
    -
    webkit_navigation_action_copy, webkit_navigation_action_copy () +
    webkit_navigation_action_copy, webkit_navigation_action_copy ()
    -
    webkit_navigation_action_free, webkit_navigation_action_free () +
    webkit_navigation_action_free, webkit_navigation_action_free ()
    -
    webkit_navigation_action_get_modifiers, webkit_navigation_action_get_modifiers () +
    webkit_navigation_action_get_modifiers, webkit_navigation_action_get_modifiers ()
    -
    webkit_navigation_action_get_mouse_button, webkit_navigation_action_get_mouse_button () +
    webkit_navigation_action_get_mouse_button, webkit_navigation_action_get_mouse_button ()
    -
    webkit_navigation_action_get_navigation_type, webkit_navigation_action_get_navigation_type () +
    webkit_navigation_action_get_navigation_type, webkit_navigation_action_get_navigation_type ()
    -
    webkit_navigation_action_get_request, webkit_navigation_action_get_request () +
    webkit_navigation_action_get_request, webkit_navigation_action_get_request ()
    -
    webkit_navigation_action_is_redirect, webkit_navigation_action_is_redirect () +
    webkit_navigation_action_is_redirect, webkit_navigation_action_is_redirect ()
    -
    webkit_navigation_action_is_user_gesture, webkit_navigation_action_is_user_gesture () +
    webkit_navigation_action_is_user_gesture, webkit_navigation_action_is_user_gesture ()
    -
    webkit_navigation_policy_decision_get_frame_name, webkit_navigation_policy_decision_get_frame_name () +
    webkit_navigation_policy_decision_get_frame_name, webkit_navigation_policy_decision_get_frame_name ()
    -
    webkit_navigation_policy_decision_get_navigation_action, webkit_navigation_policy_decision_get_navigation_action () +
    webkit_navigation_policy_decision_get_navigation_action, webkit_navigation_policy_decision_get_navigation_action ()
    -
    WebKitNetworkError, enum WebKitNetworkError +
    WebKitNetworkError, enum WebKitNetworkError
    -
    WebKitNetworkProxyMode, enum WebKitNetworkProxyMode +
    WebKitNetworkProxyMode, enum WebKitNetworkProxyMode
    -
    WebKitNetworkProxySettings, WebKitNetworkProxySettings +
    WebKitNetworkProxySettings, WebKitNetworkProxySettings
    -
    WEBKIT_NETWORK_ERROR, WEBKIT_NETWORK_ERROR +
    WEBKIT_NETWORK_ERROR, WEBKIT_NETWORK_ERROR
    -
    webkit_network_error_quark, webkit_network_error_quark () +
    webkit_network_error_quark, webkit_network_error_quark ()
    -
    webkit_network_proxy_settings_add_proxy_for_scheme, webkit_network_proxy_settings_add_proxy_for_scheme () +
    webkit_network_proxy_settings_add_proxy_for_scheme, webkit_network_proxy_settings_add_proxy_for_scheme ()
    -
    webkit_network_proxy_settings_copy, webkit_network_proxy_settings_copy () +
    webkit_network_proxy_settings_copy, webkit_network_proxy_settings_copy ()
    -
    webkit_network_proxy_settings_free, webkit_network_proxy_settings_free () +
    webkit_network_proxy_settings_free, webkit_network_proxy_settings_free ()
    -
    webkit_network_proxy_settings_new, webkit_network_proxy_settings_new () +
    webkit_network_proxy_settings_new, webkit_network_proxy_settings_new ()
    -
    WebKitNotification, struct WebKitNotification +
    WebKitNotification, struct WebKitNotification
    -
    WebKitNotification::clicked, The “clicked” signal +
    WebKitNotification::clicked, The “clicked” signal
    -
    WebKitNotification::closed, The “closed” signal +
    WebKitNotification::closed, The “closed” signal
    -
    WebKitNotification:body, The “body” property +
    WebKitNotification:body, The “body” property
    -
    WebKitNotification:id, The “id” property +
    WebKitNotification:id, The “id” property
    -
    WebKitNotification:tag, The “tag” property +
    WebKitNotification:tag, The “tag” property
    -
    WebKitNotification:title, The “title” property +
    WebKitNotification:title, The “title” property
    -
    WebKitNotificationPermissionRequest, struct WebKitNotificationPermissionRequest +
    WebKitNotificationPermissionRequest, struct WebKitNotificationPermissionRequest
    -
    webkit_notification_clicked, webkit_notification_clicked () +
    webkit_notification_clicked, webkit_notification_clicked ()
    -
    webkit_notification_close, webkit_notification_close () +
    webkit_notification_close, webkit_notification_close ()
    -
    webkit_notification_get_body, webkit_notification_get_body () +
    webkit_notification_get_body, webkit_notification_get_body ()
    -
    webkit_notification_get_id, webkit_notification_get_id () +
    webkit_notification_get_id, webkit_notification_get_id ()
    -
    webkit_notification_get_tag, webkit_notification_get_tag () +
    webkit_notification_get_tag, webkit_notification_get_tag ()
    -
    webkit_notification_get_title, webkit_notification_get_title () +
    webkit_notification_get_title, webkit_notification_get_title ()

    P

    -
    WebKitPermissionRequest, WebKitPermissionRequest +
    WebKitPermissionRequest, WebKitPermissionRequest
    -
    webkit_permission_request_allow, webkit_permission_request_allow () +
    webkit_permission_request_allow, webkit_permission_request_allow ()
    -
    webkit_permission_request_deny, webkit_permission_request_deny () +
    webkit_permission_request_deny, webkit_permission_request_deny ()
    -
    WebKitPlugin, struct WebKitPlugin +
    WebKitPlugin, struct WebKitPlugin
    -
    WebKitPluginError, enum WebKitPluginError +
    WebKitPluginError, enum WebKitPluginError
    -
    WEBKIT_PLUGIN_ERROR, WEBKIT_PLUGIN_ERROR +
    WEBKIT_PLUGIN_ERROR, WEBKIT_PLUGIN_ERROR
    -
    webkit_plugin_error_quark, webkit_plugin_error_quark () +
    webkit_plugin_error_quark, webkit_plugin_error_quark ()
    -
    webkit_plugin_get_description, webkit_plugin_get_description () +
    webkit_plugin_get_description, webkit_plugin_get_description ()
    -
    webkit_plugin_get_mime_info_list, webkit_plugin_get_mime_info_list () +
    webkit_plugin_get_mime_info_list, webkit_plugin_get_mime_info_list ()
    -
    webkit_plugin_get_name, webkit_plugin_get_name () +
    webkit_plugin_get_name, webkit_plugin_get_name ()
    -
    webkit_plugin_get_path, webkit_plugin_get_path () +
    webkit_plugin_get_path, webkit_plugin_get_path ()
    -
    WebKitPolicyDecision, struct WebKitPolicyDecision +
    WebKitPolicyDecision, struct WebKitPolicyDecision
    -
    WebKitPolicyDecisionType, enum WebKitPolicyDecisionType +
    WebKitPolicyDecisionType, enum WebKitPolicyDecisionType
    -
    WebKitPolicyError, enum WebKitPolicyError +
    WebKitPolicyError, enum WebKitPolicyError
    -
    webkit_policy_decision_download, webkit_policy_decision_download () +
    webkit_policy_decision_download, webkit_policy_decision_download ()
    -
    webkit_policy_decision_ignore, webkit_policy_decision_ignore () +
    webkit_policy_decision_ignore, webkit_policy_decision_ignore ()
    -
    webkit_policy_decision_use, webkit_policy_decision_use () +
    webkit_policy_decision_use, webkit_policy_decision_use ()
    -
    webkit_policy_decision_use_with_policies, webkit_policy_decision_use_with_policies () +
    webkit_policy_decision_use_with_policies, webkit_policy_decision_use_with_policies ()
    -
    WEBKIT_POLICY_ERROR, WEBKIT_POLICY_ERROR +
    WEBKIT_POLICY_ERROR, WEBKIT_POLICY_ERROR
    -
    webkit_policy_error_quark, webkit_policy_error_quark () +
    webkit_policy_error_quark, webkit_policy_error_quark ()
    -
    WebKitProcessModel, enum WebKitProcessModel +
    WebKitProcessModel, enum WebKitProcessModel

    R

    -
    WebKitRectangle, WebKitRectangle +
    WebKitRectangle, WebKitRectangle
    -
    WebKitResponsePolicyDecision, struct WebKitResponsePolicyDecision +
    WebKitResponsePolicyDecision, struct WebKitResponsePolicyDecision
    -
    WebKitResponsePolicyDecision:request, The “request” property +
    WebKitResponsePolicyDecision:request, The “request” property
    -
    WebKitResponsePolicyDecision:response, The “response” property +
    WebKitResponsePolicyDecision:response, The “response” property
    -
    webkit_response_policy_decision_get_request, webkit_response_policy_decision_get_request () +
    webkit_response_policy_decision_get_request, webkit_response_policy_decision_get_request ()
    -
    webkit_response_policy_decision_get_response, webkit_response_policy_decision_get_response () +
    webkit_response_policy_decision_get_response, webkit_response_policy_decision_get_response ()
    -
    webkit_response_policy_decision_is_mime_type_supported, webkit_response_policy_decision_is_mime_type_supported () +
    webkit_response_policy_decision_is_mime_type_supported, webkit_response_policy_decision_is_mime_type_supported ()

    S

    -
    WebKitSaveMode, enum WebKitSaveMode +
    WebKitSaveMode, enum WebKitSaveMode
    -
    WebKitScriptDialog, WebKitScriptDialog +
    WebKitScriptDialog, WebKitScriptDialog
    -
    WebKitScriptDialogType, enum WebKitScriptDialogType +
    WebKitScriptDialogType, enum WebKitScriptDialogType
    -
    webkit_script_dialog_close, webkit_script_dialog_close () +
    webkit_script_dialog_close, webkit_script_dialog_close ()
    -
    webkit_script_dialog_confirm_set_confirmed, webkit_script_dialog_confirm_set_confirmed () +
    webkit_script_dialog_confirm_set_confirmed, webkit_script_dialog_confirm_set_confirmed ()
    -
    webkit_script_dialog_get_dialog_type, webkit_script_dialog_get_dialog_type () +
    webkit_script_dialog_get_dialog_type, webkit_script_dialog_get_dialog_type ()
    -
    webkit_script_dialog_get_message, webkit_script_dialog_get_message () +
    webkit_script_dialog_get_message, webkit_script_dialog_get_message ()
    -
    webkit_script_dialog_prompt_get_default_text, webkit_script_dialog_prompt_get_default_text () +
    webkit_script_dialog_prompt_get_default_text, webkit_script_dialog_prompt_get_default_text ()
    -
    webkit_script_dialog_prompt_set_text, webkit_script_dialog_prompt_set_text () +
    webkit_script_dialog_prompt_set_text, webkit_script_dialog_prompt_set_text ()
    -
    webkit_script_dialog_ref, webkit_script_dialog_ref () +
    webkit_script_dialog_ref, webkit_script_dialog_ref ()
    -
    webkit_script_dialog_unref, webkit_script_dialog_unref () +
    webkit_script_dialog_unref, webkit_script_dialog_unref ()
    -
    WebKitSecurityManager, struct WebKitSecurityManager +
    WebKitSecurityManager, struct WebKitSecurityManager
    -
    WebKitSecurityOrigin, WebKitSecurityOrigin +
    WebKitSecurityOrigin, WebKitSecurityOrigin
    -
    webkit_security_manager_register_uri_scheme_as_cors_enabled, webkit_security_manager_register_uri_scheme_as_cors_enabled () +
    webkit_security_manager_register_uri_scheme_as_cors_enabled, webkit_security_manager_register_uri_scheme_as_cors_enabled ()
    -
    webkit_security_manager_register_uri_scheme_as_display_isolated, webkit_security_manager_register_uri_scheme_as_display_isolated () +
    webkit_security_manager_register_uri_scheme_as_display_isolated, webkit_security_manager_register_uri_scheme_as_display_isolated ()
    -
    webkit_security_manager_register_uri_scheme_as_empty_document, webkit_security_manager_register_uri_scheme_as_empty_document () +
    webkit_security_manager_register_uri_scheme_as_empty_document, webkit_security_manager_register_uri_scheme_as_empty_document ()
    -
    webkit_security_manager_register_uri_scheme_as_local, webkit_security_manager_register_uri_scheme_as_local () +
    webkit_security_manager_register_uri_scheme_as_local, webkit_security_manager_register_uri_scheme_as_local ()
    -
    webkit_security_manager_register_uri_scheme_as_no_access, webkit_security_manager_register_uri_scheme_as_no_access () +
    webkit_security_manager_register_uri_scheme_as_no_access, webkit_security_manager_register_uri_scheme_as_no_access ()
    -
    webkit_security_manager_register_uri_scheme_as_secure, webkit_security_manager_register_uri_scheme_as_secure () +
    webkit_security_manager_register_uri_scheme_as_secure, webkit_security_manager_register_uri_scheme_as_secure ()
    -
    webkit_security_manager_uri_scheme_is_cors_enabled, webkit_security_manager_uri_scheme_is_cors_enabled () +
    webkit_security_manager_uri_scheme_is_cors_enabled, webkit_security_manager_uri_scheme_is_cors_enabled ()
    -
    webkit_security_manager_uri_scheme_is_display_isolated, webkit_security_manager_uri_scheme_is_display_isolated () +
    webkit_security_manager_uri_scheme_is_display_isolated, webkit_security_manager_uri_scheme_is_display_isolated ()
    -
    webkit_security_manager_uri_scheme_is_empty_document, webkit_security_manager_uri_scheme_is_empty_document () +
    webkit_security_manager_uri_scheme_is_empty_document, webkit_security_manager_uri_scheme_is_empty_document ()
    -
    webkit_security_manager_uri_scheme_is_local, webkit_security_manager_uri_scheme_is_local () +
    webkit_security_manager_uri_scheme_is_local, webkit_security_manager_uri_scheme_is_local ()
    -
    webkit_security_manager_uri_scheme_is_no_access, webkit_security_manager_uri_scheme_is_no_access () +
    webkit_security_manager_uri_scheme_is_no_access, webkit_security_manager_uri_scheme_is_no_access ()
    -
    webkit_security_manager_uri_scheme_is_secure, webkit_security_manager_uri_scheme_is_secure () +
    webkit_security_manager_uri_scheme_is_secure, webkit_security_manager_uri_scheme_is_secure ()
    -
    webkit_security_origin_get_host, webkit_security_origin_get_host () +
    webkit_security_origin_get_host, webkit_security_origin_get_host ()
    -
    webkit_security_origin_get_port, webkit_security_origin_get_port () +
    webkit_security_origin_get_port, webkit_security_origin_get_port ()
    -
    webkit_security_origin_get_protocol, webkit_security_origin_get_protocol () +
    webkit_security_origin_get_protocol, webkit_security_origin_get_protocol ()
    -
    webkit_security_origin_is_opaque, webkit_security_origin_is_opaque (), webkit_security_origin_is_opaque () +
    webkit_security_origin_is_opaque, webkit_security_origin_is_opaque (), webkit_security_origin_is_opaque ()
    -
    webkit_security_origin_new, webkit_security_origin_new () +
    webkit_security_origin_new, webkit_security_origin_new ()
    -
    webkit_security_origin_new_for_uri, webkit_security_origin_new_for_uri () +
    webkit_security_origin_new_for_uri, webkit_security_origin_new_for_uri ()
    -
    webkit_security_origin_ref, webkit_security_origin_ref () +
    webkit_security_origin_ref, webkit_security_origin_ref ()
    -
    webkit_security_origin_to_string, webkit_security_origin_to_string () +
    webkit_security_origin_to_string, webkit_security_origin_to_string ()
    -
    webkit_security_origin_unref, webkit_security_origin_unref () +
    webkit_security_origin_unref, webkit_security_origin_unref ()
    -
    WebKitSettings, struct WebKitSettings +
    WebKitSettings, struct WebKitSettings
    -
    WebKitSettings:allow-file-access-from-file-urls, The “allow-file-access-from-file-urls” property +
    WebKitSettings:allow-file-access-from-file-urls, The “allow-file-access-from-file-urls” property
    -
    WebKitSettings:allow-modal-dialogs, The “allow-modal-dialogs” property +
    WebKitSettings:allow-modal-dialogs, The “allow-modal-dialogs” property
    -
    WebKitSettings:allow-top-navigation-to-data-urls, The “allow-top-navigation-to-data-urls” property +
    WebKitSettings:allow-top-navigation-to-data-urls, The “allow-top-navigation-to-data-urls” property
    -
    WebKitSettings:allow-universal-access-from-file-urls, The “allow-universal-access-from-file-urls” property +
    WebKitSettings:allow-universal-access-from-file-urls, The “allow-universal-access-from-file-urls” property
    -
    WebKitSettings:auto-load-images, The “auto-load-images” property +
    WebKitSettings:auto-load-images, The “auto-load-images” property
    -
    WebKitSettings:cursive-font-family, The “cursive-font-family” property +
    WebKitSettings:cursive-font-family, The “cursive-font-family” property
    -
    WebKitSettings:default-charset, The “default-charset” property +
    WebKitSettings:default-charset, The “default-charset” property
    -
    WebKitSettings:default-font-family, The “default-font-family” property +
    WebKitSettings:default-font-family, The “default-font-family” property
    -
    WebKitSettings:default-font-size, The “default-font-size” property +
    WebKitSettings:default-font-size, The “default-font-size” property
    -
    WebKitSettings:default-monospace-font-size, The “default-monospace-font-size” property +
    WebKitSettings:default-monospace-font-size, The “default-monospace-font-size” property
    -
    WebKitSettings:draw-compositing-indicators, The “draw-compositing-indicators” property +
    WebKitSettings:draw-compositing-indicators, The “draw-compositing-indicators” property
    -
    WebKitSettings:enable-accelerated-2d-canvas, The “enable-accelerated-2d-canvas” property, The “enable-accelerated-2d-canvas” property +
    WebKitSettings:enable-accelerated-2d-canvas, The “enable-accelerated-2d-canvas” property, The “enable-accelerated-2d-canvas” property
    -
    WebKitSettings:enable-caret-browsing, The “enable-caret-browsing” property +
    WebKitSettings:enable-caret-browsing, The “enable-caret-browsing” property
    -
    WebKitSettings:enable-developer-extras, The “enable-developer-extras” property +
    WebKitSettings:enable-developer-extras, The “enable-developer-extras” property
    -
    WebKitSettings:enable-dns-prefetching, The “enable-dns-prefetching” property +
    WebKitSettings:enable-dns-prefetching, The “enable-dns-prefetching” property
    -
    WebKitSettings:enable-encrypted-media, The “enable-encrypted-media” property +
    WebKitSettings:enable-encrypted-media, The “enable-encrypted-media” property
    -
    WebKitSettings:enable-frame-flattening, The “enable-frame-flattening” property +
    WebKitSettings:enable-frame-flattening, The “enable-frame-flattening” property
    -
    WebKitSettings:enable-fullscreen, The “enable-fullscreen” property +
    WebKitSettings:enable-fullscreen, The “enable-fullscreen” property
    -
    WebKitSettings:enable-html5-database, The “enable-html5-database” property +
    WebKitSettings:enable-html5-database, The “enable-html5-database” property
    -
    WebKitSettings:enable-html5-local-storage, The “enable-html5-local-storage” property +
    WebKitSettings:enable-html5-local-storage, The “enable-html5-local-storage” property
    -
    WebKitSettings:enable-hyperlink-auditing, The “enable-hyperlink-auditing” property +
    WebKitSettings:enable-hyperlink-auditing, The “enable-hyperlink-auditing” property
    -
    WebKitSettings:enable-java, The “enable-java” property +
    WebKitSettings:enable-java, The “enable-java” property
    -
    WebKitSettings:enable-javascript, The “enable-javascript” property +
    WebKitSettings:enable-javascript, The “enable-javascript” property
    -
    WebKitSettings:enable-javascript-markup, The “enable-javascript-markup” property +
    WebKitSettings:enable-javascript-markup, The “enable-javascript-markup” property
    -
    WebKitSettings:enable-media, The “enable-media” property +
    WebKitSettings:enable-media, The “enable-media” property
    -
    WebKitSettings:enable-media-capabilities, The “enable-media-capabilities” property +
    WebKitSettings:enable-media-capabilities, The “enable-media-capabilities” property
    -
    WebKitSettings:enable-media-stream, The “enable-media-stream” property +
    WebKitSettings:enable-media-stream, The “enable-media-stream” property
    -
    WebKitSettings:enable-mediasource, The “enable-mediasource” property +
    WebKitSettings:enable-mediasource, The “enable-mediasource” property
    -
    WebKitSettings:enable-mock-capture-devices, The “enable-mock-capture-devices” property +
    WebKitSettings:enable-mock-capture-devices, The “enable-mock-capture-devices” property
    -
    WebKitSettings:enable-offline-web-application-cache, The “enable-offline-web-application-cache” property +
    WebKitSettings:enable-offline-web-application-cache, The “enable-offline-web-application-cache” property
    -
    WebKitSettings:enable-page-cache, The “enable-page-cache” property +
    WebKitSettings:enable-page-cache, The “enable-page-cache” property
    -
    WebKitSettings:enable-plugins, The “enable-plugins” property +
    WebKitSettings:enable-plugins, The “enable-plugins” property
    -
    WebKitSettings:enable-resizable-text-areas, The “enable-resizable-text-areas” property +
    WebKitSettings:enable-resizable-text-areas, The “enable-resizable-text-areas” property
    -
    WebKitSettings:enable-site-specific-quirks, The “enable-site-specific-quirks” property +
    WebKitSettings:enable-site-specific-quirks, The “enable-site-specific-quirks” property
    -
    WebKitSettings:enable-smooth-scrolling, The “enable-smooth-scrolling” property +
    WebKitSettings:enable-smooth-scrolling, The “enable-smooth-scrolling” property
    -
    WebKitSettings:enable-spatial-navigation, The “enable-spatial-navigation” property +
    WebKitSettings:enable-spatial-navigation, The “enable-spatial-navigation” property
    -
    WebKitSettings:enable-tabs-to-links, The “enable-tabs-to-links” property +
    WebKitSettings:enable-tabs-to-links, The “enable-tabs-to-links” property
    -
    WebKitSettings:enable-webaudio, The “enable-webaudio” property +
    WebKitSettings:enable-webaudio, The “enable-webaudio” property
    -
    WebKitSettings:enable-webgl, The “enable-webgl” property +
    WebKitSettings:enable-webgl, The “enable-webgl” property
    -
    WebKitSettings:enable-write-console-messages-to-stdout, The “enable-write-console-messages-to-stdout” property +
    WebKitSettings:enable-write-console-messages-to-stdout, The “enable-write-console-messages-to-stdout” property
    -
    WebKitSettings:enable-xss-auditor, The “enable-xss-auditor” property +
    WebKitSettings:enable-xss-auditor, The “enable-xss-auditor” property
    -
    WebKitSettings:fantasy-font-family, The “fantasy-font-family” property +
    WebKitSettings:fantasy-font-family, The “fantasy-font-family” property
    -
    WebKitSettings:javascript-can-access-clipboard, The “javascript-can-access-clipboard” property +
    WebKitSettings:javascript-can-access-clipboard, The “javascript-can-access-clipboard” property
    -
    WebKitSettings:javascript-can-open-windows-automatically, The “javascript-can-open-windows-automatically” property +
    WebKitSettings:javascript-can-open-windows-automatically, The “javascript-can-open-windows-automatically” property
    -
    WebKitSettings:load-icons-ignoring-image-load-setting, The “load-icons-ignoring-image-load-setting” property +
    WebKitSettings:load-icons-ignoring-image-load-setting, The “load-icons-ignoring-image-load-setting” property
    -
    WebKitSettings:media-content-types-requiring-hardware-support, The “media-content-types-requiring-hardware-support” property +
    WebKitSettings:media-content-types-requiring-hardware-support, The “media-content-types-requiring-hardware-support” property
    -
    WebKitSettings:media-playback-allows-inline, The “media-playback-allows-inline” property +
    WebKitSettings:media-playback-allows-inline, The “media-playback-allows-inline” property
    -
    WebKitSettings:media-playback-requires-user-gesture, The “media-playback-requires-user-gesture” property +
    WebKitSettings:media-playback-requires-user-gesture, The “media-playback-requires-user-gesture” property
    -
    WebKitSettings:minimum-font-size, The “minimum-font-size” property +
    WebKitSettings:minimum-font-size, The “minimum-font-size” property
    -
    WebKitSettings:monospace-font-family, The “monospace-font-family” property +
    WebKitSettings:monospace-font-family, The “monospace-font-family” property
    -
    WebKitSettings:pictograph-font-family, The “pictograph-font-family” property +
    WebKitSettings:pictograph-font-family, The “pictograph-font-family” property
    -
    WebKitSettings:print-backgrounds, The “print-backgrounds” property +
    WebKitSettings:print-backgrounds, The “print-backgrounds” property
    -
    WebKitSettings:sans-serif-font-family, The “sans-serif-font-family” property +
    WebKitSettings:sans-serif-font-family, The “sans-serif-font-family” property
    -
    WebKitSettings:serif-font-family, The “serif-font-family” property +
    WebKitSettings:serif-font-family, The “serif-font-family” property
    -
    WebKitSettings:user-agent, The “user-agent” property +
    WebKitSettings:user-agent, The “user-agent” property
    -
    WebKitSettings:zoom-text-only, The “zoom-text-only” property +
    WebKitSettings:zoom-text-only, The “zoom-text-only” property
    -
    webkit_settings_get_allow_file_access_from_file_urls, webkit_settings_get_allow_file_access_from_file_urls () +
    webkit_settings_get_allow_file_access_from_file_urls, webkit_settings_get_allow_file_access_from_file_urls ()
    -
    webkit_settings_get_allow_modal_dialogs, webkit_settings_get_allow_modal_dialogs () +
    webkit_settings_get_allow_modal_dialogs, webkit_settings_get_allow_modal_dialogs ()
    -
    webkit_settings_get_allow_top_navigation_to_data_urls, webkit_settings_get_allow_top_navigation_to_data_urls () +
    webkit_settings_get_allow_top_navigation_to_data_urls, webkit_settings_get_allow_top_navigation_to_data_urls ()
    -
    webkit_settings_get_allow_universal_access_from_file_urls, webkit_settings_get_allow_universal_access_from_file_urls () +
    webkit_settings_get_allow_universal_access_from_file_urls, webkit_settings_get_allow_universal_access_from_file_urls ()
    -
    webkit_settings_get_auto_load_images, webkit_settings_get_auto_load_images () +
    webkit_settings_get_auto_load_images, webkit_settings_get_auto_load_images ()
    -
    webkit_settings_get_cursive_font_family, webkit_settings_get_cursive_font_family () +
    webkit_settings_get_cursive_font_family, webkit_settings_get_cursive_font_family ()
    -
    webkit_settings_get_default_charset, webkit_settings_get_default_charset () +
    webkit_settings_get_default_charset, webkit_settings_get_default_charset ()
    -
    webkit_settings_get_default_font_family, webkit_settings_get_default_font_family () +
    webkit_settings_get_default_font_family, webkit_settings_get_default_font_family ()
    -
    webkit_settings_get_default_font_size, webkit_settings_get_default_font_size () +
    webkit_settings_get_default_font_size, webkit_settings_get_default_font_size ()
    -
    webkit_settings_get_default_monospace_font_size, webkit_settings_get_default_monospace_font_size () +
    webkit_settings_get_default_monospace_font_size, webkit_settings_get_default_monospace_font_size ()
    -
    webkit_settings_get_draw_compositing_indicators, webkit_settings_get_draw_compositing_indicators () +
    webkit_settings_get_draw_compositing_indicators, webkit_settings_get_draw_compositing_indicators ()
    -
    webkit_settings_get_enable_accelerated_2d_canvas, webkit_settings_get_enable_accelerated_2d_canvas (), webkit_settings_get_enable_accelerated_2d_canvas () +
    webkit_settings_get_enable_accelerated_2d_canvas, webkit_settings_get_enable_accelerated_2d_canvas (), webkit_settings_get_enable_accelerated_2d_canvas ()
    -
    webkit_settings_get_enable_caret_browsing, webkit_settings_get_enable_caret_browsing () +
    webkit_settings_get_enable_caret_browsing, webkit_settings_get_enable_caret_browsing ()
    -
    webkit_settings_get_enable_developer_extras, webkit_settings_get_enable_developer_extras () +
    webkit_settings_get_enable_developer_extras, webkit_settings_get_enable_developer_extras ()
    -
    webkit_settings_get_enable_dns_prefetching, webkit_settings_get_enable_dns_prefetching () +
    webkit_settings_get_enable_dns_prefetching, webkit_settings_get_enable_dns_prefetching ()
    -
    webkit_settings_get_enable_encrypted_media, webkit_settings_get_enable_encrypted_media () +
    webkit_settings_get_enable_encrypted_media, webkit_settings_get_enable_encrypted_media ()
    -
    webkit_settings_get_enable_frame_flattening, webkit_settings_get_enable_frame_flattening () +
    webkit_settings_get_enable_frame_flattening, webkit_settings_get_enable_frame_flattening ()
    -
    webkit_settings_get_enable_fullscreen, webkit_settings_get_enable_fullscreen () +
    webkit_settings_get_enable_fullscreen, webkit_settings_get_enable_fullscreen ()
    -
    webkit_settings_get_enable_html5_database, webkit_settings_get_enable_html5_database () +
    webkit_settings_get_enable_html5_database, webkit_settings_get_enable_html5_database ()
    -
    webkit_settings_get_enable_html5_local_storage, webkit_settings_get_enable_html5_local_storage () +
    webkit_settings_get_enable_html5_local_storage, webkit_settings_get_enable_html5_local_storage ()
    -
    webkit_settings_get_enable_hyperlink_auditing, webkit_settings_get_enable_hyperlink_auditing () +
    webkit_settings_get_enable_hyperlink_auditing, webkit_settings_get_enable_hyperlink_auditing ()
    -
    webkit_settings_get_enable_java, webkit_settings_get_enable_java () +
    webkit_settings_get_enable_java, webkit_settings_get_enable_java ()
    -
    webkit_settings_get_enable_javascript, webkit_settings_get_enable_javascript () +
    webkit_settings_get_enable_javascript, webkit_settings_get_enable_javascript ()
    -
    webkit_settings_get_enable_javascript_markup, webkit_settings_get_enable_javascript_markup () +
    webkit_settings_get_enable_javascript_markup, webkit_settings_get_enable_javascript_markup ()
    -
    webkit_settings_get_enable_media, webkit_settings_get_enable_media () +
    webkit_settings_get_enable_media, webkit_settings_get_enable_media ()
    -
    webkit_settings_get_enable_mediasource, webkit_settings_get_enable_mediasource () +
    webkit_settings_get_enable_mediasource, webkit_settings_get_enable_mediasource ()
    -
    webkit_settings_get_enable_media_capabilities, webkit_settings_get_enable_media_capabilities () +
    webkit_settings_get_enable_media_capabilities, webkit_settings_get_enable_media_capabilities ()
    -
    webkit_settings_get_enable_media_stream, webkit_settings_get_enable_media_stream () +
    webkit_settings_get_enable_media_stream, webkit_settings_get_enable_media_stream ()
    -
    webkit_settings_get_enable_mock_capture_devices, webkit_settings_get_enable_mock_capture_devices () +
    webkit_settings_get_enable_mock_capture_devices, webkit_settings_get_enable_mock_capture_devices ()
    -
    webkit_settings_get_enable_offline_web_application_cache, webkit_settings_get_enable_offline_web_application_cache () +
    webkit_settings_get_enable_offline_web_application_cache, webkit_settings_get_enable_offline_web_application_cache ()
    -
    webkit_settings_get_enable_page_cache, webkit_settings_get_enable_page_cache () +
    webkit_settings_get_enable_page_cache, webkit_settings_get_enable_page_cache ()
    -
    webkit_settings_get_enable_plugins, webkit_settings_get_enable_plugins () +
    webkit_settings_get_enable_plugins, webkit_settings_get_enable_plugins ()
    -
    webkit_settings_get_enable_resizable_text_areas, webkit_settings_get_enable_resizable_text_areas () +
    webkit_settings_get_enable_resizable_text_areas, webkit_settings_get_enable_resizable_text_areas ()
    -
    webkit_settings_get_enable_site_specific_quirks, webkit_settings_get_enable_site_specific_quirks () +
    webkit_settings_get_enable_site_specific_quirks, webkit_settings_get_enable_site_specific_quirks ()
    -
    webkit_settings_get_enable_smooth_scrolling, webkit_settings_get_enable_smooth_scrolling () +
    webkit_settings_get_enable_smooth_scrolling, webkit_settings_get_enable_smooth_scrolling ()
    -
    webkit_settings_get_enable_spatial_navigation, webkit_settings_get_enable_spatial_navigation () +
    webkit_settings_get_enable_spatial_navigation, webkit_settings_get_enable_spatial_navigation ()
    -
    webkit_settings_get_enable_tabs_to_links, webkit_settings_get_enable_tabs_to_links () +
    webkit_settings_get_enable_tabs_to_links, webkit_settings_get_enable_tabs_to_links ()
    -
    webkit_settings_get_enable_webaudio, webkit_settings_get_enable_webaudio () +
    webkit_settings_get_enable_webaudio, webkit_settings_get_enable_webaudio ()
    -
    webkit_settings_get_enable_webgl, webkit_settings_get_enable_webgl () +
    webkit_settings_get_enable_webgl, webkit_settings_get_enable_webgl ()
    -
    webkit_settings_get_enable_write_console_messages_to_stdout, webkit_settings_get_enable_write_console_messages_to_stdout () +
    webkit_settings_get_enable_write_console_messages_to_stdout, webkit_settings_get_enable_write_console_messages_to_stdout ()
    -
    webkit_settings_get_enable_xss_auditor, webkit_settings_get_enable_xss_auditor () +
    webkit_settings_get_enable_xss_auditor, webkit_settings_get_enable_xss_auditor ()
    -
    webkit_settings_get_fantasy_font_family, webkit_settings_get_fantasy_font_family () +
    webkit_settings_get_fantasy_font_family, webkit_settings_get_fantasy_font_family ()
    -
    webkit_settings_get_javascript_can_access_clipboard, webkit_settings_get_javascript_can_access_clipboard () +
    webkit_settings_get_javascript_can_access_clipboard, webkit_settings_get_javascript_can_access_clipboard ()
    -
    webkit_settings_get_javascript_can_open_windows_automatically, webkit_settings_get_javascript_can_open_windows_automatically () +
    webkit_settings_get_javascript_can_open_windows_automatically, webkit_settings_get_javascript_can_open_windows_automatically ()
    -
    webkit_settings_get_load_icons_ignoring_image_load_setting, webkit_settings_get_load_icons_ignoring_image_load_setting () +
    webkit_settings_get_load_icons_ignoring_image_load_setting, webkit_settings_get_load_icons_ignoring_image_load_setting ()
    -
    webkit_settings_get_media_content_types_requiring_hardware_support, webkit_settings_get_media_content_types_requiring_hardware_support () +
    webkit_settings_get_media_content_types_requiring_hardware_support, webkit_settings_get_media_content_types_requiring_hardware_support ()
    -
    webkit_settings_get_media_playback_allows_inline, webkit_settings_get_media_playback_allows_inline () +
    webkit_settings_get_media_playback_allows_inline, webkit_settings_get_media_playback_allows_inline ()
    -
    webkit_settings_get_media_playback_requires_user_gesture, webkit_settings_get_media_playback_requires_user_gesture () +
    webkit_settings_get_media_playback_requires_user_gesture, webkit_settings_get_media_playback_requires_user_gesture ()
    -
    webkit_settings_get_minimum_font_size, webkit_settings_get_minimum_font_size () +
    webkit_settings_get_minimum_font_size, webkit_settings_get_minimum_font_size ()
    -
    webkit_settings_get_monospace_font_family, webkit_settings_get_monospace_font_family () +
    webkit_settings_get_monospace_font_family, webkit_settings_get_monospace_font_family ()
    -
    webkit_settings_get_pictograph_font_family, webkit_settings_get_pictograph_font_family () +
    webkit_settings_get_pictograph_font_family, webkit_settings_get_pictograph_font_family ()
    -
    webkit_settings_get_print_backgrounds, webkit_settings_get_print_backgrounds () +
    webkit_settings_get_print_backgrounds, webkit_settings_get_print_backgrounds ()
    -
    webkit_settings_get_sans_serif_font_family, webkit_settings_get_sans_serif_font_family () +
    webkit_settings_get_sans_serif_font_family, webkit_settings_get_sans_serif_font_family ()
    -
    webkit_settings_get_serif_font_family, webkit_settings_get_serif_font_family () +
    webkit_settings_get_serif_font_family, webkit_settings_get_serif_font_family ()
    -
    webkit_settings_get_user_agent, webkit_settings_get_user_agent () +
    webkit_settings_get_user_agent, webkit_settings_get_user_agent ()
    -
    webkit_settings_get_zoom_text_only, webkit_settings_get_zoom_text_only () +
    webkit_settings_get_zoom_text_only, webkit_settings_get_zoom_text_only ()
    -
    webkit_settings_new, webkit_settings_new () +
    webkit_settings_new, webkit_settings_new ()
    -
    webkit_settings_new_with_settings, webkit_settings_new_with_settings () +
    webkit_settings_new_with_settings, webkit_settings_new_with_settings ()
    -
    webkit_settings_set_allow_file_access_from_file_urls, webkit_settings_set_allow_file_access_from_file_urls () +
    webkit_settings_set_allow_file_access_from_file_urls, webkit_settings_set_allow_file_access_from_file_urls ()
    -
    webkit_settings_set_allow_modal_dialogs, webkit_settings_set_allow_modal_dialogs () +
    webkit_settings_set_allow_modal_dialogs, webkit_settings_set_allow_modal_dialogs ()
    -
    webkit_settings_set_allow_top_navigation_to_data_urls, webkit_settings_set_allow_top_navigation_to_data_urls () +
    webkit_settings_set_allow_top_navigation_to_data_urls, webkit_settings_set_allow_top_navigation_to_data_urls ()
    -
    webkit_settings_set_allow_universal_access_from_file_urls, webkit_settings_set_allow_universal_access_from_file_urls () +
    webkit_settings_set_allow_universal_access_from_file_urls, webkit_settings_set_allow_universal_access_from_file_urls ()
    -
    webkit_settings_set_auto_load_images, webkit_settings_set_auto_load_images () +
    webkit_settings_set_auto_load_images, webkit_settings_set_auto_load_images ()
    -
    webkit_settings_set_cursive_font_family, webkit_settings_set_cursive_font_family () +
    webkit_settings_set_cursive_font_family, webkit_settings_set_cursive_font_family ()
    -
    webkit_settings_set_default_charset, webkit_settings_set_default_charset () +
    webkit_settings_set_default_charset, webkit_settings_set_default_charset ()
    -
    webkit_settings_set_default_font_family, webkit_settings_set_default_font_family () +
    webkit_settings_set_default_font_family, webkit_settings_set_default_font_family ()
    -
    webkit_settings_set_default_font_size, webkit_settings_set_default_font_size () +
    webkit_settings_set_default_font_size, webkit_settings_set_default_font_size ()
    -
    webkit_settings_set_default_monospace_font_size, webkit_settings_set_default_monospace_font_size () +
    webkit_settings_set_default_monospace_font_size, webkit_settings_set_default_monospace_font_size ()
    -
    webkit_settings_set_draw_compositing_indicators, webkit_settings_set_draw_compositing_indicators () +
    webkit_settings_set_draw_compositing_indicators, webkit_settings_set_draw_compositing_indicators ()
    -
    webkit_settings_set_enable_accelerated_2d_canvas, webkit_settings_set_enable_accelerated_2d_canvas (), webkit_settings_set_enable_accelerated_2d_canvas () +
    webkit_settings_set_enable_accelerated_2d_canvas, webkit_settings_set_enable_accelerated_2d_canvas (), webkit_settings_set_enable_accelerated_2d_canvas ()
    -
    webkit_settings_set_enable_caret_browsing, webkit_settings_set_enable_caret_browsing () +
    webkit_settings_set_enable_caret_browsing, webkit_settings_set_enable_caret_browsing ()
    -
    webkit_settings_set_enable_developer_extras, webkit_settings_set_enable_developer_extras () +
    webkit_settings_set_enable_developer_extras, webkit_settings_set_enable_developer_extras ()
    -
    webkit_settings_set_enable_dns_prefetching, webkit_settings_set_enable_dns_prefetching () +
    webkit_settings_set_enable_dns_prefetching, webkit_settings_set_enable_dns_prefetching ()
    -
    webkit_settings_set_enable_encrypted_media, webkit_settings_set_enable_encrypted_media () +
    webkit_settings_set_enable_encrypted_media, webkit_settings_set_enable_encrypted_media ()
    -
    webkit_settings_set_enable_frame_flattening, webkit_settings_set_enable_frame_flattening () +
    webkit_settings_set_enable_frame_flattening, webkit_settings_set_enable_frame_flattening ()
    -
    webkit_settings_set_enable_fullscreen, webkit_settings_set_enable_fullscreen () +
    webkit_settings_set_enable_fullscreen, webkit_settings_set_enable_fullscreen ()
    -
    webkit_settings_set_enable_html5_database, webkit_settings_set_enable_html5_database () +
    webkit_settings_set_enable_html5_database, webkit_settings_set_enable_html5_database ()
    -
    webkit_settings_set_enable_html5_local_storage, webkit_settings_set_enable_html5_local_storage () +
    webkit_settings_set_enable_html5_local_storage, webkit_settings_set_enable_html5_local_storage ()
    -
    webkit_settings_set_enable_hyperlink_auditing, webkit_settings_set_enable_hyperlink_auditing () +
    webkit_settings_set_enable_hyperlink_auditing, webkit_settings_set_enable_hyperlink_auditing ()
    -
    webkit_settings_set_enable_java, webkit_settings_set_enable_java () +
    webkit_settings_set_enable_java, webkit_settings_set_enable_java ()
    -
    webkit_settings_set_enable_javascript, webkit_settings_set_enable_javascript () +
    webkit_settings_set_enable_javascript, webkit_settings_set_enable_javascript ()
    -
    webkit_settings_set_enable_javascript_markup, webkit_settings_set_enable_javascript_markup () +
    webkit_settings_set_enable_javascript_markup, webkit_settings_set_enable_javascript_markup ()
    -
    webkit_settings_set_enable_media, webkit_settings_set_enable_media () +
    webkit_settings_set_enable_media, webkit_settings_set_enable_media ()
    -
    webkit_settings_set_enable_mediasource, webkit_settings_set_enable_mediasource () +
    webkit_settings_set_enable_mediasource, webkit_settings_set_enable_mediasource ()
    -
    webkit_settings_set_enable_media_capabilities, webkit_settings_set_enable_media_capabilities () +
    webkit_settings_set_enable_media_capabilities, webkit_settings_set_enable_media_capabilities ()
    -
    webkit_settings_set_enable_media_stream, webkit_settings_set_enable_media_stream () +
    webkit_settings_set_enable_media_stream, webkit_settings_set_enable_media_stream ()
    -
    webkit_settings_set_enable_mock_capture_devices, webkit_settings_set_enable_mock_capture_devices () +
    webkit_settings_set_enable_mock_capture_devices, webkit_settings_set_enable_mock_capture_devices ()
    -
    webkit_settings_set_enable_offline_web_application_cache, webkit_settings_set_enable_offline_web_application_cache () +
    webkit_settings_set_enable_offline_web_application_cache, webkit_settings_set_enable_offline_web_application_cache ()
    -
    webkit_settings_set_enable_page_cache, webkit_settings_set_enable_page_cache () +
    webkit_settings_set_enable_page_cache, webkit_settings_set_enable_page_cache ()
    -
    webkit_settings_set_enable_plugins, webkit_settings_set_enable_plugins () +
    webkit_settings_set_enable_plugins, webkit_settings_set_enable_plugins ()
    -
    webkit_settings_set_enable_resizable_text_areas, webkit_settings_set_enable_resizable_text_areas () +
    webkit_settings_set_enable_resizable_text_areas, webkit_settings_set_enable_resizable_text_areas ()
    -
    webkit_settings_set_enable_site_specific_quirks, webkit_settings_set_enable_site_specific_quirks () +
    webkit_settings_set_enable_site_specific_quirks, webkit_settings_set_enable_site_specific_quirks ()
    -
    webkit_settings_set_enable_smooth_scrolling, webkit_settings_set_enable_smooth_scrolling () +
    webkit_settings_set_enable_smooth_scrolling, webkit_settings_set_enable_smooth_scrolling ()
    -
    webkit_settings_set_enable_spatial_navigation, webkit_settings_set_enable_spatial_navigation () +
    webkit_settings_set_enable_spatial_navigation, webkit_settings_set_enable_spatial_navigation ()
    -
    webkit_settings_set_enable_tabs_to_links, webkit_settings_set_enable_tabs_to_links () +
    webkit_settings_set_enable_tabs_to_links, webkit_settings_set_enable_tabs_to_links ()
    -
    webkit_settings_set_enable_webaudio, webkit_settings_set_enable_webaudio () +
    webkit_settings_set_enable_webaudio, webkit_settings_set_enable_webaudio ()
    -
    webkit_settings_set_enable_webgl, webkit_settings_set_enable_webgl () +
    webkit_settings_set_enable_webgl, webkit_settings_set_enable_webgl ()
    -
    webkit_settings_set_enable_write_console_messages_to_stdout, webkit_settings_set_enable_write_console_messages_to_stdout () +
    webkit_settings_set_enable_write_console_messages_to_stdout, webkit_settings_set_enable_write_console_messages_to_stdout ()
    -
    webkit_settings_set_enable_xss_auditor, webkit_settings_set_enable_xss_auditor () +
    webkit_settings_set_enable_xss_auditor, webkit_settings_set_enable_xss_auditor ()
    -
    webkit_settings_set_fantasy_font_family, webkit_settings_set_fantasy_font_family () +
    webkit_settings_set_fantasy_font_family, webkit_settings_set_fantasy_font_family ()
    -
    webkit_settings_set_javascript_can_access_clipboard, webkit_settings_set_javascript_can_access_clipboard () +
    webkit_settings_set_javascript_can_access_clipboard, webkit_settings_set_javascript_can_access_clipboard ()
    -
    webkit_settings_set_javascript_can_open_windows_automatically, webkit_settings_set_javascript_can_open_windows_automatically () +
    webkit_settings_set_javascript_can_open_windows_automatically, webkit_settings_set_javascript_can_open_windows_automatically ()
    -
    webkit_settings_set_load_icons_ignoring_image_load_setting, webkit_settings_set_load_icons_ignoring_image_load_setting () +
    webkit_settings_set_load_icons_ignoring_image_load_setting, webkit_settings_set_load_icons_ignoring_image_load_setting ()
    -
    webkit_settings_set_media_content_types_requiring_hardware_support, webkit_settings_set_media_content_types_requiring_hardware_support () +
    webkit_settings_set_media_content_types_requiring_hardware_support, webkit_settings_set_media_content_types_requiring_hardware_support ()
    -
    webkit_settings_set_media_playback_allows_inline, webkit_settings_set_media_playback_allows_inline () +
    webkit_settings_set_media_playback_allows_inline, webkit_settings_set_media_playback_allows_inline ()
    -
    webkit_settings_set_media_playback_requires_user_gesture, webkit_settings_set_media_playback_requires_user_gesture () +
    webkit_settings_set_media_playback_requires_user_gesture, webkit_settings_set_media_playback_requires_user_gesture ()
    -
    webkit_settings_set_minimum_font_size, webkit_settings_set_minimum_font_size () +
    webkit_settings_set_minimum_font_size, webkit_settings_set_minimum_font_size ()
    -
    webkit_settings_set_monospace_font_family, webkit_settings_set_monospace_font_family () +
    webkit_settings_set_monospace_font_family, webkit_settings_set_monospace_font_family ()
    -
    webkit_settings_set_pictograph_font_family, webkit_settings_set_pictograph_font_family () +
    webkit_settings_set_pictograph_font_family, webkit_settings_set_pictograph_font_family ()
    -
    webkit_settings_set_print_backgrounds, webkit_settings_set_print_backgrounds () +
    webkit_settings_set_print_backgrounds, webkit_settings_set_print_backgrounds ()
    -
    webkit_settings_set_sans_serif_font_family, webkit_settings_set_sans_serif_font_family () +
    webkit_settings_set_sans_serif_font_family, webkit_settings_set_sans_serif_font_family ()
    -
    webkit_settings_set_serif_font_family, webkit_settings_set_serif_font_family () +
    webkit_settings_set_serif_font_family, webkit_settings_set_serif_font_family ()
    -
    webkit_settings_set_user_agent, webkit_settings_set_user_agent () +
    webkit_settings_set_user_agent, webkit_settings_set_user_agent ()
    -
    webkit_settings_set_user_agent_with_application_details, webkit_settings_set_user_agent_with_application_details () +
    webkit_settings_set_user_agent_with_application_details, webkit_settings_set_user_agent_with_application_details ()
    -
    webkit_settings_set_zoom_text_only, webkit_settings_set_zoom_text_only () +
    webkit_settings_set_zoom_text_only, webkit_settings_set_zoom_text_only ()
    -
    WebKitSnapshotError, enum WebKitSnapshotError +
    WebKitSnapshotError, enum WebKitSnapshotError
    -
    WEBKIT_SNAPSHOT_ERROR, WEBKIT_SNAPSHOT_ERROR +
    WEBKIT_SNAPSHOT_ERROR, WEBKIT_SNAPSHOT_ERROR
    -
    webkit_snapshot_error_quark, webkit_snapshot_error_quark () +
    webkit_snapshot_error_quark, webkit_snapshot_error_quark ()

    T

    -
    WebKitTLSErrorsPolicy, enum WebKitTLSErrorsPolicy +
    WebKitTLSErrorsPolicy, enum WebKitTLSErrorsPolicy
    -
    WEBKIT_TYPE_COLOR, WEBKIT_TYPE_COLOR +
    WEBKIT_TYPE_COLOR, WEBKIT_TYPE_COLOR
    -
    WEBKIT_TYPE_RECTANGLE, WEBKIT_TYPE_RECTANGLE +
    WEBKIT_TYPE_RECTANGLE, WEBKIT_TYPE_RECTANGLE
    -
    WEBKIT_TYPE_WEB_VIEW_BACKEND, WEBKIT_TYPE_WEB_VIEW_BACKEND +
    WEBKIT_TYPE_WEB_VIEW_BACKEND, WEBKIT_TYPE_WEB_VIEW_BACKEND

    U

    -
    WebKitURIRequest, struct WebKitURIRequest +
    WebKitURIRequest, struct WebKitURIRequest
    -
    WebKitURIRequest:uri, The “uri” property +
    WebKitURIRequest:uri, The “uri” property
    -
    WebKitURIResponse, struct WebKitURIResponse +
    WebKitURIResponse, struct WebKitURIResponse
    -
    WebKitURIResponse:content-length, The “content-length” property +
    WebKitURIResponse:content-length, The “content-length” property
    -
    WebKitURIResponse:http-headers, The “http-headers” property +
    WebKitURIResponse:http-headers, The “http-headers” property
    -
    WebKitURIResponse:mime-type, The “mime-type” property +
    WebKitURIResponse:mime-type, The “mime-type” property
    -
    WebKitURIResponse:status-code, The “status-code” property +
    WebKitURIResponse:status-code, The “status-code” property
    -
    WebKitURIResponse:suggested-filename, The “suggested-filename” property +
    WebKitURIResponse:suggested-filename, The “suggested-filename” property
    -
    WebKitURIResponse:uri, The “uri” property +
    WebKitURIResponse:uri, The “uri” property
    -
    WebKitURISchemeRequest, struct WebKitURISchemeRequest +
    WebKitURISchemeRequest, struct WebKitURISchemeRequest
    -
    WebKitURISchemeRequestCallback, WebKitURISchemeRequestCallback () +
    WebKitURISchemeRequestCallback, WebKitURISchemeRequestCallback ()
    -
    webkit_uri_for_display, webkit_uri_for_display () +
    webkit_uri_for_display, webkit_uri_for_display ()
    -
    webkit_uri_request_get_http_headers, webkit_uri_request_get_http_headers () +
    webkit_uri_request_get_http_headers, webkit_uri_request_get_http_headers ()
    -
    webkit_uri_request_get_http_method, webkit_uri_request_get_http_method () +
    webkit_uri_request_get_http_method, webkit_uri_request_get_http_method ()
    -
    webkit_uri_request_get_uri, webkit_uri_request_get_uri () +
    webkit_uri_request_get_uri, webkit_uri_request_get_uri ()
    -
    webkit_uri_request_new, webkit_uri_request_new () +
    webkit_uri_request_new, webkit_uri_request_new ()
    -
    webkit_uri_request_set_uri, webkit_uri_request_set_uri () +
    webkit_uri_request_set_uri, webkit_uri_request_set_uri ()
    -
    webkit_uri_response_get_content_length, webkit_uri_response_get_content_length () +
    webkit_uri_response_get_content_length, webkit_uri_response_get_content_length ()
    -
    webkit_uri_response_get_http_headers, webkit_uri_response_get_http_headers () +
    webkit_uri_response_get_http_headers, webkit_uri_response_get_http_headers ()
    -
    webkit_uri_response_get_mime_type, webkit_uri_response_get_mime_type () +
    webkit_uri_response_get_mime_type, webkit_uri_response_get_mime_type ()
    -
    webkit_uri_response_get_status_code, webkit_uri_response_get_status_code () +
    webkit_uri_response_get_status_code, webkit_uri_response_get_status_code ()
    -
    webkit_uri_response_get_suggested_filename, webkit_uri_response_get_suggested_filename () +
    webkit_uri_response_get_suggested_filename, webkit_uri_response_get_suggested_filename ()
    -
    webkit_uri_response_get_uri, webkit_uri_response_get_uri () +
    webkit_uri_response_get_uri, webkit_uri_response_get_uri ()
    -
    webkit_uri_scheme_request_finish, webkit_uri_scheme_request_finish () +
    webkit_uri_scheme_request_finish, webkit_uri_scheme_request_finish ()
    -
    webkit_uri_scheme_request_finish_error, webkit_uri_scheme_request_finish_error () +
    webkit_uri_scheme_request_finish_error, webkit_uri_scheme_request_finish_error ()
    -
    webkit_uri_scheme_request_get_path, webkit_uri_scheme_request_get_path () +
    webkit_uri_scheme_request_get_path, webkit_uri_scheme_request_get_path ()
    -
    webkit_uri_scheme_request_get_scheme, webkit_uri_scheme_request_get_scheme () +
    webkit_uri_scheme_request_get_scheme, webkit_uri_scheme_request_get_scheme ()
    -
    webkit_uri_scheme_request_get_uri, webkit_uri_scheme_request_get_uri () +
    webkit_uri_scheme_request_get_uri, webkit_uri_scheme_request_get_uri ()
    -
    webkit_uri_scheme_request_get_web_view, webkit_uri_scheme_request_get_web_view () +
    webkit_uri_scheme_request_get_web_view, webkit_uri_scheme_request_get_web_view ()
    -
    WebKitUserContentFilter, WebKitUserContentFilter +
    WebKitUserContentFilter, WebKitUserContentFilter
    -
    WebKitUserContentFilterError, enum WebKitUserContentFilterError +
    WebKitUserContentFilterError, enum WebKitUserContentFilterError
    -
    WebKitUserContentFilterStore, struct WebKitUserContentFilterStore +
    WebKitUserContentFilterStore, struct WebKitUserContentFilterStore
    -
    WebKitUserContentFilterStore:path, The “path” property +
    WebKitUserContentFilterStore:path, The “path” property
    -
    WebKitUserContentInjectedFrames, enum WebKitUserContentInjectedFrames +
    WebKitUserContentInjectedFrames, enum WebKitUserContentInjectedFrames
    -
    WebKitUserContentManager, struct WebKitUserContentManager +
    WebKitUserContentManager, struct WebKitUserContentManager
    -
    WebKitUserContentManager::script-message-received, The “script-message-received” signal +
    WebKitUserContentManager::script-message-received, The “script-message-received” signal
    -
    WebKitUserMediaPermissionRequest, struct WebKitUserMediaPermissionRequest +
    WebKitUserMediaPermissionRequest, struct WebKitUserMediaPermissionRequest
    -
    WebKitUserMediaPermissionRequest:is-for-audio-device, The “is-for-audio-device” property +
    WebKitUserMediaPermissionRequest:is-for-audio-device, The “is-for-audio-device” property
    -
    WebKitUserMediaPermissionRequest:is-for-video-device, The “is-for-video-device” property +
    WebKitUserMediaPermissionRequest:is-for-video-device, The “is-for-video-device” property
    -
    WebKitUserMessage, struct WebKitUserMessage +
    WebKitUserMessage, struct WebKitUserMessage
    -
    WebKitUserMessage:fd-list, The “fd-list” property +
    WebKitUserMessage:fd-list, The “fd-list” property
    -
    WebKitUserMessage:name, The “name” property +
    WebKitUserMessage:name, The “name” property
    -
    WebKitUserMessage:parameters, The “parameters” property +
    WebKitUserMessage:parameters, The “parameters” property
    -
    WebKitUserMessageError, enum WebKitUserMessageError +
    WebKitUserMessageError, enum WebKitUserMessageError
    -
    WebKitUserScript, WebKitUserScript +
    WebKitUserScript, WebKitUserScript
    -
    WebKitUserScriptInjectionTime, enum WebKitUserScriptInjectionTime +
    WebKitUserScriptInjectionTime, enum WebKitUserScriptInjectionTime
    -
    WebKitUserStyleLevel, enum WebKitUserStyleLevel +
    WebKitUserStyleLevel, enum WebKitUserStyleLevel
    -
    WebKitUserStyleSheet, WebKitUserStyleSheet +
    WebKitUserStyleSheet, WebKitUserStyleSheet
    -
    WEBKIT_USER_CONTENT_FILTER_ERROR, WEBKIT_USER_CONTENT_FILTER_ERROR +
    WEBKIT_USER_CONTENT_FILTER_ERROR, WEBKIT_USER_CONTENT_FILTER_ERROR
    -
    webkit_user_content_filter_error_quark, webkit_user_content_filter_error_quark () +
    webkit_user_content_filter_error_quark, webkit_user_content_filter_error_quark ()
    -
    webkit_user_content_filter_get_identifier, webkit_user_content_filter_get_identifier () +
    webkit_user_content_filter_get_identifier, webkit_user_content_filter_get_identifier ()
    -
    webkit_user_content_filter_ref, webkit_user_content_filter_ref () +
    webkit_user_content_filter_ref, webkit_user_content_filter_ref ()
    -
    webkit_user_content_filter_store_fetch_identifiers, webkit_user_content_filter_store_fetch_identifiers () +
    webkit_user_content_filter_store_fetch_identifiers, webkit_user_content_filter_store_fetch_identifiers ()
    -
    webkit_user_content_filter_store_fetch_identifiers_finish, webkit_user_content_filter_store_fetch_identifiers_finish () +
    webkit_user_content_filter_store_fetch_identifiers_finish, webkit_user_content_filter_store_fetch_identifiers_finish ()
    -
    webkit_user_content_filter_store_get_path, webkit_user_content_filter_store_get_path () +
    webkit_user_content_filter_store_get_path, webkit_user_content_filter_store_get_path ()
    -
    webkit_user_content_filter_store_load, webkit_user_content_filter_store_load () +
    webkit_user_content_filter_store_load, webkit_user_content_filter_store_load ()
    -
    webkit_user_content_filter_store_load_finish, webkit_user_content_filter_store_load_finish () +
    webkit_user_content_filter_store_load_finish, webkit_user_content_filter_store_load_finish ()
    -
    webkit_user_content_filter_store_new, webkit_user_content_filter_store_new () +
    webkit_user_content_filter_store_new, webkit_user_content_filter_store_new ()
    -
    webkit_user_content_filter_store_remove, webkit_user_content_filter_store_remove () +
    webkit_user_content_filter_store_remove, webkit_user_content_filter_store_remove ()
    -
    webkit_user_content_filter_store_remove_finish, webkit_user_content_filter_store_remove_finish () +
    webkit_user_content_filter_store_remove_finish, webkit_user_content_filter_store_remove_finish ()
    -
    webkit_user_content_filter_store_save, webkit_user_content_filter_store_save () +
    webkit_user_content_filter_store_save, webkit_user_content_filter_store_save ()
    -
    webkit_user_content_filter_store_save_finish, webkit_user_content_filter_store_save_finish () +
    webkit_user_content_filter_store_save_finish, webkit_user_content_filter_store_save_finish ()
    -
    webkit_user_content_filter_store_save_from_file, webkit_user_content_filter_store_save_from_file () +
    webkit_user_content_filter_store_save_from_file, webkit_user_content_filter_store_save_from_file ()
    -
    webkit_user_content_filter_store_save_from_file_finish, webkit_user_content_filter_store_save_from_file_finish () +
    webkit_user_content_filter_store_save_from_file_finish, webkit_user_content_filter_store_save_from_file_finish ()
    -
    webkit_user_content_filter_unref, webkit_user_content_filter_unref () +
    webkit_user_content_filter_unref, webkit_user_content_filter_unref ()
    -
    webkit_user_content_manager_add_filter, webkit_user_content_manager_add_filter () +
    webkit_user_content_manager_add_filter, webkit_user_content_manager_add_filter ()
    -
    webkit_user_content_manager_add_script, webkit_user_content_manager_add_script () +
    webkit_user_content_manager_add_script, webkit_user_content_manager_add_script ()
    -
    webkit_user_content_manager_add_style_sheet, webkit_user_content_manager_add_style_sheet () +
    webkit_user_content_manager_add_style_sheet, webkit_user_content_manager_add_style_sheet ()
    -
    webkit_user_content_manager_new, webkit_user_content_manager_new () +
    webkit_user_content_manager_new, webkit_user_content_manager_new ()
    -
    webkit_user_content_manager_register_script_message_handler, webkit_user_content_manager_register_script_message_handler () +
    webkit_user_content_manager_register_script_message_handler, webkit_user_content_manager_register_script_message_handler ()
    -
    webkit_user_content_manager_register_script_message_handler_in_world, webkit_user_content_manager_register_script_message_handler_in_world () +
    webkit_user_content_manager_register_script_message_handler_in_world, webkit_user_content_manager_register_script_message_handler_in_world ()
    -
    webkit_user_content_manager_remove_all_filters, webkit_user_content_manager_remove_all_filters () +
    webkit_user_content_manager_remove_all_filters, webkit_user_content_manager_remove_all_filters ()
    -
    webkit_user_content_manager_remove_all_scripts, webkit_user_content_manager_remove_all_scripts () +
    webkit_user_content_manager_remove_all_scripts, webkit_user_content_manager_remove_all_scripts ()
    -
    webkit_user_content_manager_remove_all_style_sheets, webkit_user_content_manager_remove_all_style_sheets () +
    webkit_user_content_manager_remove_all_style_sheets, webkit_user_content_manager_remove_all_style_sheets ()
    -
    webkit_user_content_manager_remove_filter, webkit_user_content_manager_remove_filter () +
    webkit_user_content_manager_remove_filter, webkit_user_content_manager_remove_filter ()
    -
    webkit_user_content_manager_remove_filter_by_id, webkit_user_content_manager_remove_filter_by_id () +
    webkit_user_content_manager_remove_filter_by_id, webkit_user_content_manager_remove_filter_by_id ()
    -
    webkit_user_content_manager_remove_script, webkit_user_content_manager_remove_script () +
    webkit_user_content_manager_remove_script, webkit_user_content_manager_remove_script ()
    -
    webkit_user_content_manager_remove_style_sheet, webkit_user_content_manager_remove_style_sheet () +
    webkit_user_content_manager_remove_style_sheet, webkit_user_content_manager_remove_style_sheet ()
    -
    webkit_user_content_manager_unregister_script_message_handler, webkit_user_content_manager_unregister_script_message_handler () +
    webkit_user_content_manager_unregister_script_message_handler, webkit_user_content_manager_unregister_script_message_handler ()
    -
    webkit_user_content_manager_unregister_script_message_handler_in_world, webkit_user_content_manager_unregister_script_message_handler_in_world () +
    webkit_user_content_manager_unregister_script_message_handler_in_world, webkit_user_content_manager_unregister_script_message_handler_in_world ()
    -
    webkit_user_media_permission_is_for_audio_device, webkit_user_media_permission_is_for_audio_device () +
    webkit_user_media_permission_is_for_audio_device, webkit_user_media_permission_is_for_audio_device ()
    -
    webkit_user_media_permission_is_for_video_device, webkit_user_media_permission_is_for_video_device () +
    webkit_user_media_permission_is_for_video_device, webkit_user_media_permission_is_for_video_device ()
    -
    WEBKIT_USER_MESSAGE_ERROR, WEBKIT_USER_MESSAGE_ERROR +
    WEBKIT_USER_MESSAGE_ERROR, WEBKIT_USER_MESSAGE_ERROR
    -
    webkit_user_message_error_quark, webkit_user_message_error_quark () +
    webkit_user_message_error_quark, webkit_user_message_error_quark ()
    -
    webkit_user_message_get_fd_list, webkit_user_message_get_fd_list () +
    webkit_user_message_get_fd_list, webkit_user_message_get_fd_list ()
    -
    webkit_user_message_get_name, webkit_user_message_get_name () +
    webkit_user_message_get_name, webkit_user_message_get_name ()
    -
    webkit_user_message_get_parameters, webkit_user_message_get_parameters () +
    webkit_user_message_get_parameters, webkit_user_message_get_parameters ()
    -
    webkit_user_message_new, webkit_user_message_new () +
    webkit_user_message_new, webkit_user_message_new ()
    -
    webkit_user_message_new_with_fd_list, webkit_user_message_new_with_fd_list () +
    webkit_user_message_new_with_fd_list, webkit_user_message_new_with_fd_list ()
    -
    webkit_user_message_send_reply, webkit_user_message_send_reply () +
    webkit_user_message_send_reply, webkit_user_message_send_reply ()
    -
    webkit_user_script_new, webkit_user_script_new () +
    webkit_user_script_new, webkit_user_script_new ()
    -
    webkit_user_script_new_for_world, webkit_user_script_new_for_world () +
    webkit_user_script_new_for_world, webkit_user_script_new_for_world ()
    -
    webkit_user_script_ref, webkit_user_script_ref () +
    webkit_user_script_ref, webkit_user_script_ref ()
    -
    webkit_user_script_unref, webkit_user_script_unref () +
    webkit_user_script_unref, webkit_user_script_unref ()
    -
    webkit_user_style_sheet_new, webkit_user_style_sheet_new () +
    webkit_user_style_sheet_new, webkit_user_style_sheet_new ()
    -
    webkit_user_style_sheet_new_for_world, webkit_user_style_sheet_new_for_world () +
    webkit_user_style_sheet_new_for_world, webkit_user_style_sheet_new_for_world ()
    -
    webkit_user_style_sheet_ref, webkit_user_style_sheet_ref () +
    webkit_user_style_sheet_ref, webkit_user_style_sheet_ref ()
    -
    webkit_user_style_sheet_unref, webkit_user_style_sheet_unref () +
    webkit_user_style_sheet_unref, webkit_user_style_sheet_unref ()

    W

    -
    WebKitWebContext, struct WebKitWebContext +
    WebKitWebContext, struct WebKitWebContext
    -
    WebKitWebContext::automation-started, The “automation-started” signal +
    WebKitWebContext::automation-started, The “automation-started” signal
    -
    WebKitWebContext::download-started, The “download-started” signal +
    WebKitWebContext::download-started, The “download-started” signal
    -
    WebKitWebContext::initialize-notification-permissions, The “initialize-notification-permissions” signal +
    WebKitWebContext::initialize-notification-permissions, The “initialize-notification-permissions” signal
    -
    WebKitWebContext::initialize-web-extensions, The “initialize-web-extensions” signal +
    WebKitWebContext::initialize-web-extensions, The “initialize-web-extensions” signal
    -
    WebKitWebContext::user-message-received, The “user-message-received” signal +
    WebKitWebContext::user-message-received, The “user-message-received” signal
    -
    WebKitWebContext:website-data-manager, The “website-data-manager” property +
    WebKitWebContext:website-data-manager, The “website-data-manager” property
    -
    WebKitWebProcessTerminationReason, enum WebKitWebProcessTerminationReason +
    WebKitWebProcessTerminationReason, enum WebKitWebProcessTerminationReason
    -
    WebKitWebResource, struct WebKitWebResource +
    WebKitWebResource, struct WebKitWebResource
    -
    WebKitWebResource::failed, The “failed” signal +
    WebKitWebResource::failed, The “failed” signal
    -
    WebKitWebResource::failed-with-tls-errors, The “failed-with-tls-errors” signal +
    WebKitWebResource::failed-with-tls-errors, The “failed-with-tls-errors” signal
    -
    WebKitWebResource::finished, The “finished” signal +
    WebKitWebResource::finished, The “finished” signal
    -
    WebKitWebResource::received-data, The “received-data” signal +
    WebKitWebResource::received-data, The “received-data” signal
    -
    WebKitWebResource::sent-request, The “sent-request” signal +
    WebKitWebResource::sent-request, The “sent-request” signal
    -
    WebKitWebResource:response, The “response” property +
    WebKitWebResource:response, The “response” property
    -
    WebKitWebResource:uri, The “uri” property +
    WebKitWebResource:uri, The “uri” property
    -
    WebKitWebsiteData, WebKitWebsiteData +
    WebKitWebsiteData, WebKitWebsiteData
    -
    WebKitWebsiteDataAccessPermissionRequest, struct WebKitWebsiteDataAccessPermissionRequest +
    WebKitWebsiteDataAccessPermissionRequest, struct WebKitWebsiteDataAccessPermissionRequest
    -
    WebKitWebsiteDataManager, struct WebKitWebsiteDataManager +
    WebKitWebsiteDataManager, struct WebKitWebsiteDataManager
    -
    WebKitWebsiteDataManager:base-cache-directory, The “base-cache-directory” property +
    WebKitWebsiteDataManager:base-cache-directory, The “base-cache-directory” property
    -
    WebKitWebsiteDataManager:base-data-directory, The “base-data-directory” property +
    WebKitWebsiteDataManager:base-data-directory, The “base-data-directory” property
    -
    WebKitWebsiteDataManager:disk-cache-directory, The “disk-cache-directory” property +
    WebKitWebsiteDataManager:disk-cache-directory, The “disk-cache-directory” property
    -
    WebKitWebsiteDataManager:dom-cache-directory, The “dom-cache-directory” property +
    WebKitWebsiteDataManager:dom-cache-directory, The “dom-cache-directory” property
    -
    WebKitWebsiteDataManager:hsts-cache-directory, The “hsts-cache-directory” property +
    WebKitWebsiteDataManager:hsts-cache-directory, The “hsts-cache-directory” property
    -
    WebKitWebsiteDataManager:indexeddb-directory, The “indexeddb-directory” property +
    WebKitWebsiteDataManager:indexeddb-directory, The “indexeddb-directory” property
    -
    WebKitWebsiteDataManager:is-ephemeral, The “is-ephemeral” property +
    WebKitWebsiteDataManager:is-ephemeral, The “is-ephemeral” property
    -
    WebKitWebsiteDataManager:itp-directory, The “itp-directory” property +
    WebKitWebsiteDataManager:itp-directory, The “itp-directory” property
    -
    WebKitWebsiteDataManager:local-storage-directory, The “local-storage-directory” property +
    WebKitWebsiteDataManager:local-storage-directory, The “local-storage-directory” property
    -
    WebKitWebsiteDataManager:offline-application-cache-directory, The “offline-application-cache-directory” property +
    WebKitWebsiteDataManager:offline-application-cache-directory, The “offline-application-cache-directory” property
    -
    WebKitWebsiteDataManager:service-worker-registrations-directory, The “service-worker-registrations-directory” property +
    WebKitWebsiteDataManager:service-worker-registrations-directory, The “service-worker-registrations-directory” property
    -
    WebKitWebsiteDataManager:websql-directory, The “websql-directory” property, The “websql-directory” property +
    WebKitWebsiteDataManager:websql-directory, The “websql-directory” property, The “websql-directory” property
    -
    WebKitWebsiteDataTypes, enum WebKitWebsiteDataTypes +
    WebKitWebsiteDataTypes, enum WebKitWebsiteDataTypes
    -
    webkit_website_data_access_permission_request_get_current_domain, webkit_website_data_access_permission_request_get_current_domain () +
    webkit_website_data_access_permission_request_get_current_domain, webkit_website_data_access_permission_request_get_current_domain ()
    -
    webkit_website_data_access_permission_request_get_requesting_domain, webkit_website_data_access_permission_request_get_requesting_domain () +
    webkit_website_data_access_permission_request_get_requesting_domain, webkit_website_data_access_permission_request_get_requesting_domain ()
    -
    webkit_website_data_get_name, webkit_website_data_get_name () +
    webkit_website_data_get_name, webkit_website_data_get_name ()
    -
    webkit_website_data_get_size, webkit_website_data_get_size () +
    webkit_website_data_get_size, webkit_website_data_get_size ()
    -
    webkit_website_data_get_types, webkit_website_data_get_types () +
    webkit_website_data_get_types, webkit_website_data_get_types ()
    -
    webkit_website_data_manager_clear, webkit_website_data_manager_clear () +
    webkit_website_data_manager_clear, webkit_website_data_manager_clear ()
    -
    webkit_website_data_manager_clear_finish, webkit_website_data_manager_clear_finish () +
    webkit_website_data_manager_clear_finish, webkit_website_data_manager_clear_finish ()
    -
    webkit_website_data_manager_fetch, webkit_website_data_manager_fetch () +
    webkit_website_data_manager_fetch, webkit_website_data_manager_fetch ()
    -
    webkit_website_data_manager_fetch_finish, webkit_website_data_manager_fetch_finish () +
    webkit_website_data_manager_fetch_finish, webkit_website_data_manager_fetch_finish ()
    -
    webkit_website_data_manager_get_base_cache_directory, webkit_website_data_manager_get_base_cache_directory () +
    webkit_website_data_manager_get_base_cache_directory, webkit_website_data_manager_get_base_cache_directory ()
    -
    webkit_website_data_manager_get_base_data_directory, webkit_website_data_manager_get_base_data_directory () +
    webkit_website_data_manager_get_base_data_directory, webkit_website_data_manager_get_base_data_directory ()
    -
    webkit_website_data_manager_get_cookie_manager, webkit_website_data_manager_get_cookie_manager () +
    webkit_website_data_manager_get_cookie_manager, webkit_website_data_manager_get_cookie_manager ()
    -
    webkit_website_data_manager_get_disk_cache_directory, webkit_website_data_manager_get_disk_cache_directory () +
    webkit_website_data_manager_get_disk_cache_directory, webkit_website_data_manager_get_disk_cache_directory ()
    -
    webkit_website_data_manager_get_dom_cache_directory, webkit_website_data_manager_get_dom_cache_directory () +
    webkit_website_data_manager_get_dom_cache_directory, webkit_website_data_manager_get_dom_cache_directory ()
    -
    webkit_website_data_manager_get_hsts_cache_directory, webkit_website_data_manager_get_hsts_cache_directory () +
    webkit_website_data_manager_get_hsts_cache_directory, webkit_website_data_manager_get_hsts_cache_directory ()
    -
    webkit_website_data_manager_get_indexeddb_directory, webkit_website_data_manager_get_indexeddb_directory () +
    webkit_website_data_manager_get_indexeddb_directory, webkit_website_data_manager_get_indexeddb_directory ()
    -
    webkit_website_data_manager_get_itp_directory, webkit_website_data_manager_get_itp_directory () +
    webkit_website_data_manager_get_itp_directory, webkit_website_data_manager_get_itp_directory ()
    -
    webkit_website_data_manager_get_itp_enabled, webkit_website_data_manager_get_itp_enabled () +
    webkit_website_data_manager_get_itp_enabled, webkit_website_data_manager_get_itp_enabled ()
    -
    webkit_website_data_manager_get_itp_summary, webkit_website_data_manager_get_itp_summary () +
    webkit_website_data_manager_get_itp_summary, webkit_website_data_manager_get_itp_summary ()
    -
    webkit_website_data_manager_get_itp_summary_finish, webkit_website_data_manager_get_itp_summary_finish () +
    webkit_website_data_manager_get_itp_summary_finish, webkit_website_data_manager_get_itp_summary_finish ()
    -
    webkit_website_data_manager_get_local_storage_directory, webkit_website_data_manager_get_local_storage_directory () +
    webkit_website_data_manager_get_local_storage_directory, webkit_website_data_manager_get_local_storage_directory ()
    -
    webkit_website_data_manager_get_offline_application_cache_directory, webkit_website_data_manager_get_offline_application_cache_directory () +
    webkit_website_data_manager_get_offline_application_cache_directory, webkit_website_data_manager_get_offline_application_cache_directory ()
    -
    webkit_website_data_manager_get_persistent_credential_storage_enabled, webkit_website_data_manager_get_persistent_credential_storage_enabled () +
    webkit_website_data_manager_get_persistent_credential_storage_enabled, webkit_website_data_manager_get_persistent_credential_storage_enabled ()
    -
    webkit_website_data_manager_get_service_worker_registrations_directory, webkit_website_data_manager_get_service_worker_registrations_directory () +
    webkit_website_data_manager_get_service_worker_registrations_directory, webkit_website_data_manager_get_service_worker_registrations_directory ()
    -
    webkit_website_data_manager_get_tls_errors_policy, webkit_website_data_manager_get_tls_errors_policy () +
    webkit_website_data_manager_get_tls_errors_policy, webkit_website_data_manager_get_tls_errors_policy ()
    -
    webkit_website_data_manager_get_websql_directory, webkit_website_data_manager_get_websql_directory (), webkit_website_data_manager_get_websql_directory () +
    webkit_website_data_manager_get_websql_directory, webkit_website_data_manager_get_websql_directory (), webkit_website_data_manager_get_websql_directory ()
    -
    webkit_website_data_manager_is_ephemeral, webkit_website_data_manager_is_ephemeral () +
    webkit_website_data_manager_is_ephemeral, webkit_website_data_manager_is_ephemeral ()
    -
    webkit_website_data_manager_new, webkit_website_data_manager_new () +
    webkit_website_data_manager_new, webkit_website_data_manager_new ()
    -
    webkit_website_data_manager_new_ephemeral, webkit_website_data_manager_new_ephemeral () +
    webkit_website_data_manager_new_ephemeral, webkit_website_data_manager_new_ephemeral ()
    -
    webkit_website_data_manager_remove, webkit_website_data_manager_remove () +
    webkit_website_data_manager_remove, webkit_website_data_manager_remove ()
    -
    webkit_website_data_manager_remove_finish, webkit_website_data_manager_remove_finish () +
    webkit_website_data_manager_remove_finish, webkit_website_data_manager_remove_finish ()
    -
    webkit_website_data_manager_set_itp_enabled, webkit_website_data_manager_set_itp_enabled () +
    webkit_website_data_manager_set_itp_enabled, webkit_website_data_manager_set_itp_enabled ()
    -
    webkit_website_data_manager_set_network_proxy_settings, webkit_website_data_manager_set_network_proxy_settings () +
    webkit_website_data_manager_set_network_proxy_settings, webkit_website_data_manager_set_network_proxy_settings ()
    -
    webkit_website_data_manager_set_persistent_credential_storage_enabled, webkit_website_data_manager_set_persistent_credential_storage_enabled () +
    webkit_website_data_manager_set_persistent_credential_storage_enabled, webkit_website_data_manager_set_persistent_credential_storage_enabled ()
    -
    webkit_website_data_manager_set_tls_errors_policy, webkit_website_data_manager_set_tls_errors_policy () +
    webkit_website_data_manager_set_tls_errors_policy, webkit_website_data_manager_set_tls_errors_policy ()
    -
    webkit_website_data_ref, webkit_website_data_ref () +
    webkit_website_data_ref, webkit_website_data_ref ()
    -
    webkit_website_data_unref, webkit_website_data_unref () +
    webkit_website_data_unref, webkit_website_data_unref ()
    -
    WebKitWebView, WebKitWebView +
    WebKitWebView, WebKitWebView
    -
    WebKitWebView::authenticate, The “authenticate” signal +
    WebKitWebView::authenticate, The “authenticate” signal
    -
    WebKitWebView::close, The “close” signal +
    WebKitWebView::close, The “close” signal
    -
    WebKitWebView::context-menu, The “context-menu” signal +
    WebKitWebView::context-menu, The “context-menu” signal
    -
    WebKitWebView::context-menu-dismissed, The “context-menu-dismissed” signal +
    WebKitWebView::context-menu-dismissed, The “context-menu-dismissed” signal
    -
    WebKitWebView::create, The “create” signal +
    WebKitWebView::create, The “create” signal
    -
    WebKitWebView::decide-policy, The “decide-policy” signal +
    WebKitWebView::decide-policy, The “decide-policy” signal
    -
    WebKitWebView::enter-fullscreen, The “enter-fullscreen” signal +
    WebKitWebView::enter-fullscreen, The “enter-fullscreen” signal
    -
    WebKitWebView::insecure-content-detected, The “insecure-content-detected” signal +
    WebKitWebView::insecure-content-detected, The “insecure-content-detected” signal
    -
    WebKitWebView::leave-fullscreen, The “leave-fullscreen” signal +
    WebKitWebView::leave-fullscreen, The “leave-fullscreen” signal
    -
    WebKitWebView::load-changed, The “load-changed” signal +
    WebKitWebView::load-changed, The “load-changed” signal
    -
    WebKitWebView::load-failed, The “load-failed” signal +
    WebKitWebView::load-failed, The “load-failed” signal
    -
    WebKitWebView::load-failed-with-tls-errors, The “load-failed-with-tls-errors” signal +
    WebKitWebView::load-failed-with-tls-errors, The “load-failed-with-tls-errors” signal
    -
    WebKitWebView::mouse-target-changed, The “mouse-target-changed” signal +
    WebKitWebView::mouse-target-changed, The “mouse-target-changed” signal
    -
    WebKitWebView::permission-request, The “permission-request” signal +
    WebKitWebView::permission-request, The “permission-request” signal
    -
    WebKitWebView::ready-to-show, The “ready-to-show” signal +
    WebKitWebView::ready-to-show, The “ready-to-show” signal
    -
    WebKitWebView::resource-load-started, The “resource-load-started” signal +
    WebKitWebView::resource-load-started, The “resource-load-started” signal
    -
    WebKitWebView::run-as-modal, The “run-as-modal” signal +
    WebKitWebView::run-as-modal, The “run-as-modal” signal
    -
    WebKitWebView::run-file-chooser, The “run-file-chooser” signal +
    WebKitWebView::run-file-chooser, The “run-file-chooser” signal
    -
    WebKitWebView::script-dialog, The “script-dialog” signal +
    WebKitWebView::script-dialog, The “script-dialog” signal
    -
    WebKitWebView::show-notification, The “show-notification” signal +
    WebKitWebView::show-notification, The “show-notification” signal
    -
    WebKitWebView::show-option-menu, The “show-option-menu” signal +
    WebKitWebView::show-option-menu, The “show-option-menu” signal
    -
    WebKitWebView::submit-form, The “submit-form” signal +
    WebKitWebView::submit-form, The “submit-form” signal
    -
    WebKitWebView::user-message-received, The “user-message-received” signal +
    WebKitWebView::user-message-received, The “user-message-received” signal
    -
    WebKitWebView::web-process-terminated, The “web-process-terminated” signal +
    WebKitWebView::web-process-terminated, The “web-process-terminated” signal
    -
    WebKitWebView:automation-presentation-type, The “automation-presentation-type” property +
    WebKitWebView:automation-presentation-type, The “automation-presentation-type” property
    -
    WebKitWebView:backend, The “backend” property +
    WebKitWebView:backend, The “backend” property
    -
    WebKitWebView:editable, The “editable” property +
    WebKitWebView:editable, The “editable” property
    -
    WebKitWebView:estimated-load-progress, The “estimated-load-progress” property +
    WebKitWebView:estimated-load-progress, The “estimated-load-progress” property
    -
    WebKitWebView:is-controlled-by-automation, The “is-controlled-by-automation” property +
    WebKitWebView:is-controlled-by-automation, The “is-controlled-by-automation” property
    -
    WebKitWebView:is-ephemeral, The “is-ephemeral” property +
    WebKitWebView:is-ephemeral, The “is-ephemeral” property
    -
    WebKitWebView:is-loading, The “is-loading” property +
    WebKitWebView:is-loading, The “is-loading” property
    -
    WebKitWebView:is-muted, The “is-muted” property +
    WebKitWebView:is-muted, The “is-muted” property
    -
    WebKitWebView:is-playing-audio, The “is-playing-audio” property +
    WebKitWebView:is-playing-audio, The “is-playing-audio” property
    -
    WebKitWebView:page-id, The “page-id” property +
    WebKitWebView:page-id, The “page-id” property
    -
    WebKitWebView:related-view, The “related-view” property +
    WebKitWebView:related-view, The “related-view” property
    -
    WebKitWebView:settings, The “settings” property +
    WebKitWebView:settings, The “settings” property
    -
    WebKitWebView:title, The “title” property +
    WebKitWebView:title, The “title” property
    -
    WebKitWebView:uri, The “uri” property +
    WebKitWebView:uri, The “uri” property
    -
    WebKitWebView:user-content-manager, The “user-content-manager” property +
    WebKitWebView:user-content-manager, The “user-content-manager” property
    -
    WebKitWebView:web-context, The “web-context” property +
    WebKitWebView:web-context, The “web-context” property
    -
    WebKitWebView:website-policies, The “website-policies” property +
    WebKitWebView:website-policies, The “website-policies” property
    -
    WebKitWebView:zoom-level, The “zoom-level” property +
    WebKitWebView:zoom-level, The “zoom-level” property
    -
    WebKitWebViewBackend, WebKitWebViewBackend +
    WebKitWebViewBackend, WebKitWebViewBackend
    -
    WebKitWebViewSessionState, WebKitWebViewSessionState +
    WebKitWebViewSessionState, WebKitWebViewSessionState
    -
    webkit_web_context_add_path_to_sandbox, webkit_web_context_add_path_to_sandbox () +
    webkit_web_context_add_path_to_sandbox, webkit_web_context_add_path_to_sandbox ()
    -
    webkit_web_context_allow_tls_certificate_for_host, webkit_web_context_allow_tls_certificate_for_host () +
    webkit_web_context_allow_tls_certificate_for_host, webkit_web_context_allow_tls_certificate_for_host ()
    -
    webkit_web_context_clear_cache, webkit_web_context_clear_cache () +
    webkit_web_context_clear_cache, webkit_web_context_clear_cache ()
    -
    webkit_web_context_download_uri, webkit_web_context_download_uri () +
    webkit_web_context_download_uri, webkit_web_context_download_uri ()
    -
    webkit_web_context_get_cache_model, webkit_web_context_get_cache_model () +
    webkit_web_context_get_cache_model, webkit_web_context_get_cache_model ()
    -
    webkit_web_context_get_cookie_manager, webkit_web_context_get_cookie_manager () +
    webkit_web_context_get_cookie_manager, webkit_web_context_get_cookie_manager ()
    -
    webkit_web_context_get_default, webkit_web_context_get_default () +
    webkit_web_context_get_default, webkit_web_context_get_default ()
    -
    webkit_web_context_get_favicon_database, webkit_web_context_get_favicon_database () +
    webkit_web_context_get_favicon_database, webkit_web_context_get_favicon_database ()
    -
    webkit_web_context_get_favicon_database_directory, webkit_web_context_get_favicon_database_directory () +
    webkit_web_context_get_favicon_database_directory, webkit_web_context_get_favicon_database_directory ()
    -
    webkit_web_context_get_geolocation_manager, webkit_web_context_get_geolocation_manager () +
    webkit_web_context_get_geolocation_manager, webkit_web_context_get_geolocation_manager ()
    -
    webkit_web_context_get_plugins, webkit_web_context_get_plugins () +
    webkit_web_context_get_plugins, webkit_web_context_get_plugins ()
    -
    webkit_web_context_get_plugins_finish, webkit_web_context_get_plugins_finish () +
    webkit_web_context_get_plugins_finish, webkit_web_context_get_plugins_finish ()
    -
    webkit_web_context_get_process_model, webkit_web_context_get_process_model () +
    webkit_web_context_get_process_model, webkit_web_context_get_process_model ()
    -
    webkit_web_context_get_sandbox_enabled, webkit_web_context_get_sandbox_enabled () +
    webkit_web_context_get_sandbox_enabled, webkit_web_context_get_sandbox_enabled ()
    -
    webkit_web_context_get_security_manager, webkit_web_context_get_security_manager () +
    webkit_web_context_get_security_manager, webkit_web_context_get_security_manager ()
    -
    webkit_web_context_get_spell_checking_enabled, webkit_web_context_get_spell_checking_enabled () +
    webkit_web_context_get_spell_checking_enabled, webkit_web_context_get_spell_checking_enabled ()
    -
    webkit_web_context_get_spell_checking_languages, webkit_web_context_get_spell_checking_languages () +
    webkit_web_context_get_spell_checking_languages, webkit_web_context_get_spell_checking_languages ()
    -
    webkit_web_context_get_tls_errors_policy, webkit_web_context_get_tls_errors_policy () +
    webkit_web_context_get_tls_errors_policy, webkit_web_context_get_tls_errors_policy ()
    -
    webkit_web_context_get_website_data_manager, webkit_web_context_get_website_data_manager () +
    webkit_web_context_get_website_data_manager, webkit_web_context_get_website_data_manager ()
    -
    webkit_web_context_get_web_process_count_limit, webkit_web_context_get_web_process_count_limit (), webkit_web_context_get_web_process_count_limit () +
    webkit_web_context_get_web_process_count_limit, webkit_web_context_get_web_process_count_limit (), webkit_web_context_get_web_process_count_limit ()
    -
    webkit_web_context_initialize_notification_permissions, webkit_web_context_initialize_notification_permissions () +
    webkit_web_context_initialize_notification_permissions, webkit_web_context_initialize_notification_permissions ()
    -
    webkit_web_context_is_automation_allowed, webkit_web_context_is_automation_allowed () +
    webkit_web_context_is_automation_allowed, webkit_web_context_is_automation_allowed ()
    -
    webkit_web_context_is_ephemeral, webkit_web_context_is_ephemeral () +
    webkit_web_context_is_ephemeral, webkit_web_context_is_ephemeral ()
    -
    webkit_web_context_new, webkit_web_context_new () +
    webkit_web_context_new, webkit_web_context_new ()
    -
    webkit_web_context_new_ephemeral, webkit_web_context_new_ephemeral () +
    webkit_web_context_new_ephemeral, webkit_web_context_new_ephemeral ()
    -
    webkit_web_context_new_with_website_data_manager, webkit_web_context_new_with_website_data_manager () +
    webkit_web_context_new_with_website_data_manager, webkit_web_context_new_with_website_data_manager ()
    -
    webkit_web_context_prefetch_dns, webkit_web_context_prefetch_dns () +
    webkit_web_context_prefetch_dns, webkit_web_context_prefetch_dns ()
    -
    webkit_web_context_register_uri_scheme, webkit_web_context_register_uri_scheme () +
    webkit_web_context_register_uri_scheme, webkit_web_context_register_uri_scheme ()
    -
    webkit_web_context_send_message_to_all_extensions, webkit_web_context_send_message_to_all_extensions () +
    webkit_web_context_send_message_to_all_extensions, webkit_web_context_send_message_to_all_extensions ()
    -
    webkit_web_context_set_additional_plugins_directory, webkit_web_context_set_additional_plugins_directory () +
    webkit_web_context_set_additional_plugins_directory, webkit_web_context_set_additional_plugins_directory ()
    -
    webkit_web_context_set_automation_allowed, webkit_web_context_set_automation_allowed () +
    webkit_web_context_set_automation_allowed, webkit_web_context_set_automation_allowed ()
    -
    webkit_web_context_set_cache_model, webkit_web_context_set_cache_model () +
    webkit_web_context_set_cache_model, webkit_web_context_set_cache_model ()
    -
    webkit_web_context_set_favicon_database_directory, webkit_web_context_set_favicon_database_directory () +
    webkit_web_context_set_favicon_database_directory, webkit_web_context_set_favicon_database_directory ()
    -
    webkit_web_context_set_network_proxy_settings, webkit_web_context_set_network_proxy_settings (), webkit_web_context_set_network_proxy_settings () +
    webkit_web_context_set_network_proxy_settings, webkit_web_context_set_network_proxy_settings (), webkit_web_context_set_network_proxy_settings ()
    -
    webkit_web_context_set_preferred_languages, webkit_web_context_set_preferred_languages () +
    webkit_web_context_set_preferred_languages, webkit_web_context_set_preferred_languages ()
    -
    webkit_web_context_set_process_model, webkit_web_context_set_process_model () +
    webkit_web_context_set_process_model, webkit_web_context_set_process_model ()
    -
    webkit_web_context_set_sandbox_enabled, webkit_web_context_set_sandbox_enabled () +
    webkit_web_context_set_sandbox_enabled, webkit_web_context_set_sandbox_enabled ()
    -
    webkit_web_context_set_spell_checking_enabled, webkit_web_context_set_spell_checking_enabled () +
    webkit_web_context_set_spell_checking_enabled, webkit_web_context_set_spell_checking_enabled ()
    -
    webkit_web_context_set_spell_checking_languages, webkit_web_context_set_spell_checking_languages () +
    webkit_web_context_set_spell_checking_languages, webkit_web_context_set_spell_checking_languages ()
    -
    webkit_web_context_set_tls_errors_policy, webkit_web_context_set_tls_errors_policy () +
    webkit_web_context_set_tls_errors_policy, webkit_web_context_set_tls_errors_policy ()
    -
    webkit_web_context_set_web_extensions_directory, webkit_web_context_set_web_extensions_directory () +
    webkit_web_context_set_web_extensions_directory, webkit_web_context_set_web_extensions_directory ()
    -
    webkit_web_context_set_web_extensions_initialization_user_data, webkit_web_context_set_web_extensions_initialization_user_data () +
    webkit_web_context_set_web_extensions_initialization_user_data, webkit_web_context_set_web_extensions_initialization_user_data ()
    -
    webkit_web_context_set_web_process_count_limit, webkit_web_context_set_web_process_count_limit (), webkit_web_context_set_web_process_count_limit () +
    webkit_web_context_set_web_process_count_limit, webkit_web_context_set_web_process_count_limit (), webkit_web_context_set_web_process_count_limit ()
    -
    webkit_web_resource_get_data, webkit_web_resource_get_data () +
    webkit_web_resource_get_data, webkit_web_resource_get_data ()
    -
    webkit_web_resource_get_data_finish, webkit_web_resource_get_data_finish () +
    webkit_web_resource_get_data_finish, webkit_web_resource_get_data_finish ()
    -
    webkit_web_resource_get_response, webkit_web_resource_get_response () +
    webkit_web_resource_get_response, webkit_web_resource_get_response ()
    -
    webkit_web_resource_get_uri, webkit_web_resource_get_uri () +
    webkit_web_resource_get_uri, webkit_web_resource_get_uri ()
    -
    webkit_web_view_add_frame_displayed_callback, webkit_web_view_add_frame_displayed_callback () +
    webkit_web_view_add_frame_displayed_callback, webkit_web_view_add_frame_displayed_callback ()
    -
    webkit_web_view_backend_get_wpe_backend, webkit_web_view_backend_get_wpe_backend () +
    webkit_web_view_backend_get_wpe_backend, webkit_web_view_backend_get_wpe_backend ()
    -
    webkit_web_view_backend_new, webkit_web_view_backend_new () +
    webkit_web_view_backend_new, webkit_web_view_backend_new ()
    -
    webkit_web_view_can_execute_editing_command, webkit_web_view_can_execute_editing_command () +
    webkit_web_view_can_execute_editing_command, webkit_web_view_can_execute_editing_command ()
    -
    webkit_web_view_can_execute_editing_command_finish, webkit_web_view_can_execute_editing_command_finish () +
    webkit_web_view_can_execute_editing_command_finish, webkit_web_view_can_execute_editing_command_finish ()
    -
    webkit_web_view_can_go_back, webkit_web_view_can_go_back () +
    webkit_web_view_can_go_back, webkit_web_view_can_go_back ()
    -
    webkit_web_view_can_go_forward, webkit_web_view_can_go_forward () +
    webkit_web_view_can_go_forward, webkit_web_view_can_go_forward ()
    -
    webkit_web_view_can_show_mime_type, webkit_web_view_can_show_mime_type () +
    webkit_web_view_can_show_mime_type, webkit_web_view_can_show_mime_type ()
    -
    webkit_web_view_download_uri, webkit_web_view_download_uri () +
    webkit_web_view_download_uri, webkit_web_view_download_uri ()
    -
    webkit_web_view_execute_editing_command, webkit_web_view_execute_editing_command () +
    webkit_web_view_execute_editing_command, webkit_web_view_execute_editing_command ()
    -
    webkit_web_view_execute_editing_command_with_argument, webkit_web_view_execute_editing_command_with_argument () +
    webkit_web_view_execute_editing_command_with_argument, webkit_web_view_execute_editing_command_with_argument ()
    -
    webkit_web_view_get_automation_presentation_type, webkit_web_view_get_automation_presentation_type () +
    webkit_web_view_get_automation_presentation_type, webkit_web_view_get_automation_presentation_type ()
    -
    webkit_web_view_get_backend, webkit_web_view_get_backend () +
    webkit_web_view_get_backend, webkit_web_view_get_backend ()
    -
    webkit_web_view_get_background_color, webkit_web_view_get_background_color () +
    webkit_web_view_get_background_color, webkit_web_view_get_background_color ()
    -
    webkit_web_view_get_back_forward_list, webkit_web_view_get_back_forward_list () +
    webkit_web_view_get_back_forward_list, webkit_web_view_get_back_forward_list ()
    -
    webkit_web_view_get_context, webkit_web_view_get_context () +
    webkit_web_view_get_context, webkit_web_view_get_context ()
    -
    webkit_web_view_get_custom_charset, webkit_web_view_get_custom_charset () +
    webkit_web_view_get_custom_charset, webkit_web_view_get_custom_charset ()
    -
    webkit_web_view_get_editor_state, webkit_web_view_get_editor_state () +
    webkit_web_view_get_editor_state, webkit_web_view_get_editor_state ()
    -
    webkit_web_view_get_estimated_load_progress, webkit_web_view_get_estimated_load_progress () +
    webkit_web_view_get_estimated_load_progress, webkit_web_view_get_estimated_load_progress ()
    -
    webkit_web_view_get_find_controller, webkit_web_view_get_find_controller () +
    webkit_web_view_get_find_controller, webkit_web_view_get_find_controller ()
    -
    webkit_web_view_get_input_method_context, webkit_web_view_get_input_method_context () +
    webkit_web_view_get_input_method_context, webkit_web_view_get_input_method_context ()
    -
    webkit_web_view_get_is_muted, webkit_web_view_get_is_muted () +
    webkit_web_view_get_is_muted, webkit_web_view_get_is_muted ()
    -
    webkit_web_view_get_main_resource, webkit_web_view_get_main_resource () +
    webkit_web_view_get_main_resource, webkit_web_view_get_main_resource ()
    -
    webkit_web_view_get_page_id, webkit_web_view_get_page_id () +
    webkit_web_view_get_page_id, webkit_web_view_get_page_id ()
    -
    webkit_web_view_get_session_state, webkit_web_view_get_session_state () +
    webkit_web_view_get_session_state, webkit_web_view_get_session_state ()
    -
    webkit_web_view_get_settings, webkit_web_view_get_settings () +
    webkit_web_view_get_settings, webkit_web_view_get_settings ()
    -
    webkit_web_view_get_title, webkit_web_view_get_title () +
    webkit_web_view_get_title, webkit_web_view_get_title ()
    -
    webkit_web_view_get_tls_info, webkit_web_view_get_tls_info () +
    webkit_web_view_get_tls_info, webkit_web_view_get_tls_info ()
    -
    webkit_web_view_get_uri, webkit_web_view_get_uri () +
    webkit_web_view_get_uri, webkit_web_view_get_uri ()
    -
    webkit_web_view_get_user_content_manager, webkit_web_view_get_user_content_manager () +
    webkit_web_view_get_user_content_manager, webkit_web_view_get_user_content_manager ()
    -
    webkit_web_view_get_website_data_manager, webkit_web_view_get_website_data_manager () +
    webkit_web_view_get_website_data_manager, webkit_web_view_get_website_data_manager ()
    -
    webkit_web_view_get_website_policies, webkit_web_view_get_website_policies () +
    webkit_web_view_get_website_policies, webkit_web_view_get_website_policies ()
    -
    webkit_web_view_get_window_properties, webkit_web_view_get_window_properties () +
    webkit_web_view_get_window_properties, webkit_web_view_get_window_properties ()
    -
    webkit_web_view_get_zoom_level, webkit_web_view_get_zoom_level () +
    webkit_web_view_get_zoom_level, webkit_web_view_get_zoom_level ()
    -
    webkit_web_view_go_back, webkit_web_view_go_back () +
    webkit_web_view_go_back, webkit_web_view_go_back ()
    -
    webkit_web_view_go_forward, webkit_web_view_go_forward () +
    webkit_web_view_go_forward, webkit_web_view_go_forward ()
    -
    webkit_web_view_go_to_back_forward_list_item, webkit_web_view_go_to_back_forward_list_item () +
    webkit_web_view_go_to_back_forward_list_item, webkit_web_view_go_to_back_forward_list_item ()
    -
    webkit_web_view_is_controlled_by_automation, webkit_web_view_is_controlled_by_automation () +
    webkit_web_view_is_controlled_by_automation, webkit_web_view_is_controlled_by_automation ()
    -
    webkit_web_view_is_editable, webkit_web_view_is_editable () +
    webkit_web_view_is_editable, webkit_web_view_is_editable ()
    -
    webkit_web_view_is_ephemeral, webkit_web_view_is_ephemeral () +
    webkit_web_view_is_ephemeral, webkit_web_view_is_ephemeral ()
    -
    webkit_web_view_is_loading, webkit_web_view_is_loading () +
    webkit_web_view_is_loading, webkit_web_view_is_loading ()
    -
    webkit_web_view_is_playing_audio, webkit_web_view_is_playing_audio () +
    webkit_web_view_is_playing_audio, webkit_web_view_is_playing_audio ()
    -
    webkit_web_view_load_alternate_html, webkit_web_view_load_alternate_html () +
    webkit_web_view_load_alternate_html, webkit_web_view_load_alternate_html ()
    -
    webkit_web_view_load_bytes, webkit_web_view_load_bytes () +
    webkit_web_view_load_bytes, webkit_web_view_load_bytes ()
    -
    webkit_web_view_load_html, webkit_web_view_load_html () +
    webkit_web_view_load_html, webkit_web_view_load_html ()
    -
    webkit_web_view_load_plain_text, webkit_web_view_load_plain_text () +
    webkit_web_view_load_plain_text, webkit_web_view_load_plain_text ()
    -
    webkit_web_view_load_request, webkit_web_view_load_request () +
    webkit_web_view_load_request, webkit_web_view_load_request ()
    -
    webkit_web_view_load_uri, webkit_web_view_load_uri () +
    webkit_web_view_load_uri, webkit_web_view_load_uri ()
    -
    webkit_web_view_new, webkit_web_view_new () +
    webkit_web_view_new, webkit_web_view_new ()
    -
    webkit_web_view_new_with_context, webkit_web_view_new_with_context () +
    webkit_web_view_new_with_context, webkit_web_view_new_with_context ()
    -
    webkit_web_view_new_with_related_view, webkit_web_view_new_with_related_view () +
    webkit_web_view_new_with_related_view, webkit_web_view_new_with_related_view ()
    -
    webkit_web_view_new_with_settings, webkit_web_view_new_with_settings () +
    webkit_web_view_new_with_settings, webkit_web_view_new_with_settings ()
    -
    webkit_web_view_new_with_user_content_manager, webkit_web_view_new_with_user_content_manager () +
    webkit_web_view_new_with_user_content_manager, webkit_web_view_new_with_user_content_manager ()
    -
    webkit_web_view_reload, webkit_web_view_reload () +
    webkit_web_view_reload, webkit_web_view_reload ()
    -
    webkit_web_view_reload_bypass_cache, webkit_web_view_reload_bypass_cache () +
    webkit_web_view_reload_bypass_cache, webkit_web_view_reload_bypass_cache ()
    -
    webkit_web_view_remove_frame_displayed_callback, webkit_web_view_remove_frame_displayed_callback () +
    webkit_web_view_remove_frame_displayed_callback, webkit_web_view_remove_frame_displayed_callback ()
    -
    webkit_web_view_restore_session_state, webkit_web_view_restore_session_state () +
    webkit_web_view_restore_session_state, webkit_web_view_restore_session_state ()
    -
    webkit_web_view_run_javascript, webkit_web_view_run_javascript () +
    webkit_web_view_run_javascript, webkit_web_view_run_javascript ()
    -
    webkit_web_view_run_javascript_finish, webkit_web_view_run_javascript_finish () +
    webkit_web_view_run_javascript_finish, webkit_web_view_run_javascript_finish ()
    -
    webkit_web_view_run_javascript_from_gresource, webkit_web_view_run_javascript_from_gresource () +
    webkit_web_view_run_javascript_from_gresource, webkit_web_view_run_javascript_from_gresource ()
    -
    webkit_web_view_run_javascript_from_gresource_finish, webkit_web_view_run_javascript_from_gresource_finish () +
    webkit_web_view_run_javascript_from_gresource_finish, webkit_web_view_run_javascript_from_gresource_finish ()
    -
    webkit_web_view_run_javascript_in_world, webkit_web_view_run_javascript_in_world () +
    webkit_web_view_run_javascript_in_world, webkit_web_view_run_javascript_in_world ()
    -
    webkit_web_view_run_javascript_in_world_finish, webkit_web_view_run_javascript_in_world_finish () +
    webkit_web_view_run_javascript_in_world_finish, webkit_web_view_run_javascript_in_world_finish ()
    -
    webkit_web_view_save, webkit_web_view_save () +
    webkit_web_view_save, webkit_web_view_save ()
    -
    webkit_web_view_save_finish, webkit_web_view_save_finish () +
    webkit_web_view_save_finish, webkit_web_view_save_finish ()
    -
    webkit_web_view_save_to_file, webkit_web_view_save_to_file () +
    webkit_web_view_save_to_file, webkit_web_view_save_to_file ()
    -
    webkit_web_view_save_to_file_finish, webkit_web_view_save_to_file_finish () +
    webkit_web_view_save_to_file_finish, webkit_web_view_save_to_file_finish ()
    -
    webkit_web_view_send_message_to_page, webkit_web_view_send_message_to_page () +
    webkit_web_view_send_message_to_page, webkit_web_view_send_message_to_page ()
    -
    webkit_web_view_send_message_to_page_finish, webkit_web_view_send_message_to_page_finish () +
    webkit_web_view_send_message_to_page_finish, webkit_web_view_send_message_to_page_finish ()
    -
    webkit_web_view_session_state_new, webkit_web_view_session_state_new () +
    webkit_web_view_session_state_new, webkit_web_view_session_state_new ()
    -
    webkit_web_view_session_state_ref, webkit_web_view_session_state_ref () +
    webkit_web_view_session_state_ref, webkit_web_view_session_state_ref ()
    -
    webkit_web_view_session_state_serialize, webkit_web_view_session_state_serialize () +
    webkit_web_view_session_state_serialize, webkit_web_view_session_state_serialize ()
    -
    webkit_web_view_session_state_unref, webkit_web_view_session_state_unref () +
    webkit_web_view_session_state_unref, webkit_web_view_session_state_unref ()
    -
    webkit_web_view_set_background_color, webkit_web_view_set_background_color () +
    webkit_web_view_set_background_color, webkit_web_view_set_background_color ()
    -
    webkit_web_view_set_custom_charset, webkit_web_view_set_custom_charset () +
    webkit_web_view_set_custom_charset, webkit_web_view_set_custom_charset ()
    -
    webkit_web_view_set_editable, webkit_web_view_set_editable () +
    webkit_web_view_set_editable, webkit_web_view_set_editable ()
    -
    webkit_web_view_set_input_method_context, webkit_web_view_set_input_method_context () +
    webkit_web_view_set_input_method_context, webkit_web_view_set_input_method_context ()
    -
    webkit_web_view_set_is_muted, webkit_web_view_set_is_muted () +
    webkit_web_view_set_is_muted, webkit_web_view_set_is_muted ()
    -
    webkit_web_view_set_settings, webkit_web_view_set_settings () +
    webkit_web_view_set_settings, webkit_web_view_set_settings ()
    -
    webkit_web_view_set_zoom_level, webkit_web_view_set_zoom_level () +
    webkit_web_view_set_zoom_level, webkit_web_view_set_zoom_level ()
    -
    webkit_web_view_stop_loading, webkit_web_view_stop_loading () +
    webkit_web_view_stop_loading, webkit_web_view_stop_loading ()
    -
    webkit_web_view_try_close, webkit_web_view_try_close () +
    webkit_web_view_try_close, webkit_web_view_try_close ()
    -
    WebKitWindowProperties, struct WebKitWindowProperties +
    WebKitWindowProperties, struct WebKitWindowProperties
    -
    WebKitWindowProperties:fullscreen, The “fullscreen” property +
    WebKitWindowProperties:fullscreen, The “fullscreen” property
    -
    WebKitWindowProperties:locationbar-visible, The “locationbar-visible” property +
    WebKitWindowProperties:locationbar-visible, The “locationbar-visible” property
    -
    WebKitWindowProperties:menubar-visible, The “menubar-visible” property +
    WebKitWindowProperties:menubar-visible, The “menubar-visible” property
    -
    WebKitWindowProperties:resizable, The “resizable” property +
    WebKitWindowProperties:resizable, The “resizable” property
    -
    WebKitWindowProperties:scrollbars-visible, The “scrollbars-visible” property +
    WebKitWindowProperties:scrollbars-visible, The “scrollbars-visible” property
    -
    WebKitWindowProperties:statusbar-visible, The “statusbar-visible” property +
    WebKitWindowProperties:statusbar-visible, The “statusbar-visible” property
    -
    WebKitWindowProperties:toolbar-visible, The “toolbar-visible” property +
    WebKitWindowProperties:toolbar-visible, The “toolbar-visible” property
    -
    webkit_window_properties_get_fullscreen, webkit_window_properties_get_fullscreen () +
    webkit_window_properties_get_fullscreen, webkit_window_properties_get_fullscreen ()
    -
    webkit_window_properties_get_locationbar_visible, webkit_window_properties_get_locationbar_visible () +
    webkit_window_properties_get_locationbar_visible, webkit_window_properties_get_locationbar_visible ()
    -
    webkit_window_properties_get_menubar_visible, webkit_window_properties_get_menubar_visible () +
    webkit_window_properties_get_menubar_visible, webkit_window_properties_get_menubar_visible ()
    -
    webkit_window_properties_get_resizable, webkit_window_properties_get_resizable () +
    webkit_window_properties_get_resizable, webkit_window_properties_get_resizable ()
    -
    webkit_window_properties_get_scrollbars_visible, webkit_window_properties_get_scrollbars_visible () +
    webkit_window_properties_get_scrollbars_visible, webkit_window_properties_get_scrollbars_visible ()
    -
    webkit_window_properties_get_statusbar_visible, webkit_window_properties_get_statusbar_visible () +
    webkit_window_properties_get_statusbar_visible, webkit_window_properties_get_statusbar_visible ()
    -
    webkit_window_properties_get_toolbar_visible, webkit_window_properties_get_toolbar_visible () +
    webkit_window_properties_get_toolbar_visible, webkit_window_properties_get_toolbar_visible ()
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/index.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/index.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/index.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/index.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WPE Reference Manual: WPE Reference Manual - + @@ -14,7 +14,7 @@

    proxy_settings

    a WebKitNetworkProxySettings, or NULL.

    a WebKitNetworkProxySettings, or NULL.

    [allow-none]

    cancellable

    a GCancellable or NULL to ignore.

    a GCancellable or NULL to ignore.

    [allow-none]

    callback

    a GAsyncReadyCallback to call when the request is satisfied.

    a GAsyncReadyCallback to call when the request is satisfied.

    [scope async]

    result

    a GAsyncResult

    a GAsyncResult

     

    error

    return location for error or NULL to ignore

    return location for error or NULL to ignore

     

    website_data

    a GList of WebKitWebsiteData.

    a GList of WebKitWebsiteData.

    [element-type WebKitWebsiteData]

    cancellable

    a GCancellable or NULL to ignore.

    a GCancellable or NULL to ignore.

    [allow-none]

    callback

    a GAsyncReadyCallback to call when the request is satisfied.

    a GAsyncReadyCallback to call when the request is satisfied.

    [scope async]

    result

    a GAsyncResult

    a GAsyncResult

     

    error

    return location for error or NULL to ignore

    return location for error or NULL to ignore

     

    timespan

    a GTimeSpan

    a GTimeSpan

     

    cancellable

    a GCancellable or NULL to ignore.

    a GCancellable or NULL to ignore.

    [allow-none]

    callback

    a GAsyncReadyCallback to call when the request is satisfied.

    a GAsyncReadyCallback to call when the request is satisfied.

    [scope async]

    result

    a GAsyncResult

    a GAsyncResult

     

    error

    return location for error or NULL to ignore

    return location for error or NULL to ignore

     

    cancellable

    a GCancellable or NULL to ignore.

    a GCancellable or NULL to ignore.

    [allow-none]

    callback

    a GAsyncReadyCallback to call when the request is satisfied.

    a GAsyncReadyCallback to call when the request is satisfied.

    [scope async]

    result

    a GAsyncResult

    a GAsyncResult

     

    error

    return location for error or NULL to ignore

    return location for error or NULL to ignore

     
    -gboolean +gboolean webkit_window_properties_get_toolbar_visible () @@ -51,7 +51,7 @@
    -gboolean +gboolean webkit_window_properties_get_statusbar_visible () @@ -59,7 +59,7 @@
    -gboolean +gboolean webkit_window_properties_get_scrollbars_visible () @@ -67,7 +67,7 @@
    -gboolean +gboolean webkit_window_properties_get_menubar_visible () @@ -75,7 +75,7 @@
    -gboolean +gboolean webkit_window_properties_get_locationbar_visible () @@ -83,7 +83,7 @@
    -gboolean +gboolean webkit_window_properties_get_resizable () @@ -91,7 +91,7 @@
    -gboolean +gboolean webkit_window_properties_get_fullscreen () @@ -110,37 +110,37 @@
    gbooleangboolean fullscreen Read / Write / Construct Only
    gbooleangboolean locationbar-visible Read / Write / Construct Only
    gbooleangboolean menubar-visible Read / Write / Construct Only
    gbooleangboolean resizable Read / Write / Construct Only
    gbooleangboolean scrollbars-visible Read / Write / Construct Only
    gbooleangboolean statusbar-visible Read / Write / Construct Only
    gbooleangboolean toolbar-visible Read / Write / Construct Only
    -

    for WPE WebKit 2.32.3

    +

    for WPE WebKit 2.32.4


    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-Geolocation-manager.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-Geolocation-manager.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-Geolocation-manager.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-Geolocation-manager.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ Geolocation manager: WPE Reference Manual - + @@ -60,7 +60,7 @@ -gboolean +gboolean webkit_geolocation_manager_get_enable_high_accuracy () @@ -142,7 +142,7 @@ -gboolean +gboolean enable-high-accuracy Read @@ -158,14 +158,14 @@ -gboolean +gboolean start -Run Last +Run Last void stop -Run Last +Run Last @@ -191,9 +191,9 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ╰── WebKitGeolocationPosition
    -    GObject
    +    GObject
         ╰── WebKitGeolocationManager
     
    @@ -202,7 +202,7 @@

    WebKitGeolocationManager provides API to get the geographical position of the user. Once a WebKitGeolocationPermissionRequest is allowed, when WebKit needs to know the user location “start” signal is emitted. If the signal is handled -and returns TRUE, the application is responsible for providing the position every time it's +and returns TRUE, the application is responsible for providing the position every time it's updated by calling webkit_geolocation_manager_update_position(). The signal “stop” will be emitted when location updates are no longer needed.

    @@ -276,7 +276,7 @@

    webkit_geolocation_manager_get_enable_high_accuracy ()

    -
    gboolean
    +
    gboolean
     webkit_geolocation_manager_get_enable_high_accuracy
                                    (WebKitGeolocationManager *manager);

    Get whether high accuracy is enabled.

    @@ -397,7 +397,7 @@
    void
     webkit_geolocation_position_set_timestamp
                                    (WebKitGeolocationPosition *position,
    -                                guint64 timestamp);
    + guint64 timestamp);

    Set the position timestamp. By default it's the time when the position was created.

    @@ -577,9 +577,9 @@

    Property Details

    The “enable-high-accuracy” property

    -
      “enable-high-accuracy”     gboolean
    +
      “enable-high-accuracy”     gboolean

    Whether high accuracy is enabled. This is a read-only property that will be -set to TRUE when a WebKitGeolocationManager needs to get accurate position updates. +set to TRUE when a WebKitGeolocationManager needs to get accurate position updates. You can connect to notify::enable-high-accuracy signal to monitor it.

    Owner: WebKitGeolocationManager

    Flags: Read

    @@ -591,9 +591,9 @@

    Signal Details

    The “start” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitGeolocationManager *manager,
    -               gpointer                  user_data)
    + gpointer user_data)

    The signal is emitted to notify that manager needs to start receiving position updates. After this signal is emitted the user should provide @@ -626,10 +626,10 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to propagate the event further.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to propagate the event further.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.26


    @@ -637,7 +637,7 @@

    The “stop” signal

    void
     user_function (WebKitGeolocationManager *manager,
    -               gpointer                  user_data)
    + gpointer user_data)

    The signal is emitted to notify that manager doesn't need to receive position updates anymore.

    @@ -663,7 +663,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.26

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-The-title-for-the-notification..html wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-The-title-for-the-notification..html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-The-title-for-the-notification..html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-The-title-for-the-notification..html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ The title for the notification.: WPE Reference Manual - + @@ -44,28 +44,28 @@ -guint64 +guint64 webkit_notification_get_id () -const gchar * +const gchar * webkit_notification_get_title () -const gchar * +const gchar * webkit_notification_get_body () -const gchar * +const gchar * webkit_notification_get_tag () @@ -106,7 +106,7 @@ Read -guint64 +guint64 id Read @@ -137,12 +137,12 @@ void clicked -Run Last +Run Last void closed -Run Last +Run Last @@ -162,7 +162,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitNotification
     
    @@ -173,7 +173,7 @@

    Functions

    webkit_notification_get_id ()

    -
    guint64
    +
    guint64
     webkit_notification_get_id (WebKitNotification *notification);

    Obtains the unique id for the notification.

    @@ -200,7 +200,7 @@

    webkit_notification_get_title ()

    -
    const gchar *
    +
    const gchar *
     webkit_notification_get_title (WebKitNotification *notification);

    Obtains the title for the notification.

    @@ -227,7 +227,7 @@

    webkit_notification_get_body ()

    -
    const gchar *
    +
    const gchar *
     webkit_notification_get_body (WebKitNotification *notification);

    Obtains the body for the notification.

    @@ -254,7 +254,7 @@

    webkit_notification_get_tag ()

    -
    const gchar *
    +
    const gchar *
     webkit_notification_get_tag (WebKitNotification *notification);

    Obtains the tag identifier for the notification.

    @@ -348,7 +348,7 @@

    The “id” property

    -
      “id”                       guint64
    +
      “id”                       guint64

    The unique id for the notification.

    Owner: WebKitNotification

    Flags: Read

    @@ -382,7 +382,7 @@

    The “clicked” signal

    void
     user_function (WebKitNotification *notification,
    -               gpointer            user_data)
    + gpointer user_data)

    Emitted when a notification has been clicked. See webkit_notification_clicked().

    Parameters

    @@ -406,7 +406,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.12


    @@ -414,7 +414,7 @@

    The “closed” signal

    void
     user_function (WebKitNotification *notification,
    -               gpointer            user_data)
    + gpointer user_data)

    Emitted when a notification has been withdrawn.

    The default handler will close the notification using libnotify, if built with support for it.

    @@ -440,7 +440,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.8

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitError.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitError.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitError.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitError.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitError: WPE Reference Manual - + @@ -41,7 +41,7 @@ -GQuark +GQuark webkit_network_error_quark () @@ -49,7 +49,7 @@ -GQuark +GQuark webkit_plugin_error_quark () @@ -57,7 +57,7 @@ -GQuark +GQuark webkit_policy_error_quark () @@ -65,7 +65,7 @@ -GQuark +GQuark webkit_download_error_quark () @@ -73,7 +73,7 @@ -GQuark +GQuark webkit_javascript_error_quark () @@ -81,7 +81,7 @@ -GQuark +GQuark webkit_snapshot_error_quark () @@ -89,7 +89,7 @@ -GQuark +GQuark webkit_user_content_filter_error_quark () @@ -173,43 +173,43 @@

    Functions

    webkit_network_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_network_error_quark (void);

    webkit_plugin_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_plugin_error_quark (void);

    webkit_policy_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_policy_error_quark (void);

    webkit_download_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_download_error_quark (void);

    webkit_javascript_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_javascript_error_quark (void);

    webkit_snapshot_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_snapshot_error_quark (void);

    webkit_user_content_filter_error_quark ()

    -
    GQuark
    +
    GQuark
     webkit_user_content_filter_error_quark
                                    (void);
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitURIUtilities.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitURIUtilities.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitURIUtilities.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitURIUtilities.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ WebKitURIUtilities: WPE Reference Manual - + @@ -40,7 +40,7 @@ -gchar * +gchar * webkit_uri_for_display () @@ -55,8 +55,8 @@

    Functions

    webkit_uri_for_display ()

    -
    gchar *
    -webkit_uri_for_display (const gchar *uri);
    +
    gchar *
    +webkit_uri_for_display (const gchar *uri);

    Use this function to format a URI for display. The URIs used internally by WebKit may contain percent-encoded characters or Punycode, which are not generally suitable to display to users. This function provides protection @@ -80,7 +80,7 @@

    Returns

    uri -suitable for display, or NULL in +suitable for display, or NULL in case of error.

    [nullable][transfer full]

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitUserContent.html wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitUserContent.html --- wpewebkit-2.32.3/Documentation/wpe-1.0/html/wpe-1.0-WebKitUserContent.html 2021-07-23 12:20:53.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-1.0/html/wpe-1.0-WebKitUserContent.html 2021-09-17 10:35:40.000000000 +0000 @@ -3,7 +3,7 @@ User content: WPE Reference Manual - + @@ -167,7 +167,7 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ├── WebKitUserContentFilter
         ├── WebKitUserScript
         ╰── WebKitUserStyleSheet
    @@ -238,16 +238,16 @@
     

    webkit_user_style_sheet_new ()

    WebKitUserStyleSheet *
    -webkit_user_style_sheet_new (const gchar *source,
    +webkit_user_style_sheet_new (const gchar *source,
                                  WebKitUserContentInjectedFrames injected_frames,
                                  WebKitUserStyleLevel level,
    -                             const gchar * const *allow_list,
    -                             const gchar * const *block_list);
    + const gchar * const *allow_list, + const gchar * const *block_list);

    Creates a new user style sheet. Style sheets can be applied to some URIs only by passing non-null values for allow_list or block_list . Passing a -NULL allow_list implies that all URIs are on the allow_list. The style +NULL allow_list implies that all URIs are on the allow_list. The style sheet is applied if an URI matches the allow_list and not the block_list. URI patterns must be of the form [protocol]://[host]/[path], where the *host* and *path* components can contain the wildcard character (*) to @@ -278,12 +278,12 @@

    allow_list

    -

    An allow_list of URI patterns or NULL.

    +

    An allow_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none]

    block_list

    -

    A block_list of URI patterns or NULL.

    +

    A block_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none] @@ -299,12 +299,12 @@

    webkit_user_style_sheet_new_for_world ()

    WebKitUserStyleSheet *
    -webkit_user_style_sheet_new_for_world (const gchar *source,
    +webkit_user_style_sheet_new_for_world (const gchar *source,
                                            WebKitUserContentInjectedFrames injected_frames,
                                            WebKitUserStyleLevel level,
    -                                       const gchar *world_name,
    -                                       const gchar * const *allow_list,
    -                                       const gchar * const *block_list);
    + const gchar *world_name, + const gchar * const *allow_list, + const gchar * const *block_list);

    Creates a new user style sheet for script world with name world_name . See webkit_user_style_sheet_new() for a full description.

    @@ -334,17 +334,17 @@

    world_name

    -

    the name of a WebKitScriptWorld

    +

    the name of a WebKitScriptWorld

     

    allow_list

    -

    An allow_list of URI patterns or NULL.

    +

    An allow_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none]

    block_list

    -

    A block_list of URI patterns or NULL.

    +

    A block_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none] @@ -416,16 +416,16 @@

    webkit_user_script_new ()

    WebKitUserScript *
    -webkit_user_script_new (const gchar *source,
    +webkit_user_script_new (const gchar *source,
                             WebKitUserContentInjectedFrames injected_frames,
                             WebKitUserScriptInjectionTime injection_time,
    -                        const gchar * const *allow_list,
    -                        const gchar * const *block_list);
    + const gchar * const *allow_list, + const gchar * const *block_list);

    Creates a new user script. Scripts can be applied to some URIs only by passing non-null values for allow_list or block_list . Passing a -NULL allow_list implies that all URIs are on the allow_list. The script +NULL allow_list implies that all URIs are on the allow_list. The script is applied if an URI matches the allow_list and not the block_list. URI patterns must be of the form [protocol]://[host]/[path], where the *host* and *path* components can contain the wildcard character (*) to @@ -456,12 +456,12 @@

    allow_list

    -

    An allow_list of URI patterns or NULL.

    +

    An allow_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none]

    block_list

    -

    A block_list of URI patterns or NULL.

    +

    A block_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none] @@ -477,12 +477,12 @@

    webkit_user_script_new_for_world ()

    WebKitUserScript *
    -webkit_user_script_new_for_world (const gchar *source,
    +webkit_user_script_new_for_world (const gchar *source,
                                       WebKitUserContentInjectedFrames injected_frames,
                                       WebKitUserScriptInjectionTime injection_time,
    -                                  const gchar *world_name,
    -                                  const gchar * const *allow_list,
    -                                  const gchar * const *block_list);
    + const gchar *world_name, + const gchar * const *allow_list, + const gchar * const *block_list);

    Creates a new user script for script world with name world_name . See webkit_user_script_new() for a full description.

    @@ -512,17 +512,17 @@

    world_name

    -

    the name of a WebKitScriptWorld

    +

    the name of a WebKitScriptWorld

     

    allow_list

    -

    An allow_list of URI patterns or NULL.

    +

    An allow_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none]

    block_list

    -

    A block_list of URI patterns or NULL.

    +

    A block_list of URI patterns or NULL.

    [array zero-terminated=1][allow-none] diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitConsoleMessage.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitConsoleMessage.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitConsoleMessage.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitConsoleMessage.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitConsoleMessage: WPE WebExtensions and DOM Reference Manual - + @@ -73,7 +73,7 @@ -const gchar * +const gchar * webkit_console_message_get_text () @@ -81,14 +81,14 @@ -guint +guint webkit_console_message_get_line () -const gchar * +const gchar * webkit_console_message_get_source_id () @@ -122,9 +122,9 @@

    Object Hierarchy

    -
        GBoxed
    +
        GBoxed
         ╰── WebKitConsoleMessage
    -    GEnum
    +    GEnum
         ├── WebKitConsoleMessageLevel
         ╰── WebKitConsoleMessageSource
     
    @@ -244,7 +244,7 @@

    webkit_console_message_get_text ()

    -
    const gchar *
    +
    const gchar *
     webkit_console_message_get_text (WebKitConsoleMessage *console_message);

    Gets the text message of a WebKitConsoleMessage

    @@ -272,7 +272,7 @@

    webkit_console_message_get_line ()

    -
    guint
    +
    guint
     webkit_console_message_get_line (WebKitConsoleMessage *console_message);

    Gets the line number of a WebKitConsoleMessage

    @@ -300,7 +300,7 @@

    webkit_console_message_get_source_id ()

    -
    const gchar *
    +
    const gchar *
     webkit_console_message_get_source_id (WebKitConsoleMessage *console_message);

    Gets the source identifier of a WebKitConsoleMessage

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMDocument.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMDocument.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMDocument.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMDocument.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitDOMDocument: WPE WebExtensions and DOM Reference Manual - + @@ -47,7 +47,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitDOMObject
             ╰── WebKitDOMNode
                 ╰── WebKitDOMDocument
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMElement.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMElement.html
    --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMElement.html	2021-07-23 12:20:25.000000000 +0000
    +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMElement.html	2021-09-17 10:35:14.000000000 +0000
    @@ -3,7 +3,7 @@
     
     
     WebKitDOMElement: WPE WebExtensions and DOM Reference Manual
    -
    +
     
     
     
    @@ -42,7 +42,7 @@
     
     
     
    -gboolean
    +gboolean
     
     
     webkit_dom_element_html_input_element_is_user_edited ()
    @@ -50,7 +50,7 @@
     
     
     
    -gboolean
    +gboolean
     
     
     webkit_dom_element_html_input_element_get_auto_filled ()
    @@ -90,7 +90,7 @@
     

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitDOMObject
             ╰── WebKitDOMNode
                 ╰── WebKitDOMElement
    @@ -103,7 +103,7 @@
     

    Functions

    webkit_dom_element_html_input_element_is_user_edited ()

    -
    gboolean
    +
    gboolean
     webkit_dom_element_html_input_element_is_user_edited
                                    (WebKitDOMElement *element);

    Get whether element @@ -133,7 +133,7 @@


    webkit_dom_element_html_input_element_get_auto_filled ()

    -
    gboolean
    +
    gboolean
     webkit_dom_element_html_input_element_get_auto_filled
                                    (WebKitDOMElement *element);
    @@ -143,7 +143,7 @@
    void
     webkit_dom_element_html_input_element_set_auto_filled
                                    (WebKitDOMElement *element,
    -                                gboolean auto_filled);
    + gboolean auto_filled);

    Set whether the element is an HTML input element that has been filled automatically. If element is not an HTML input element this function does nothing.

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMNode.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMNode.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMNode.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMNode.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitDOMNode: WPE WebExtensions and DOM Reference Manual - + @@ -64,7 +64,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitDOMObject
             ╰── WebKitDOMNode
                 ├── WebKitDOMDocument
    @@ -79,7 +79,7 @@
     

    webkit_dom_node_for_js_value ()

    WebKitDOMNode *
    -webkit_dom_node_for_js_value (JSCValue *value);
    +webkit_dom_node_for_js_value (JSCValue *value);

    Get the WebKitDOMNode for the DOM node referenced by value .

    @@ -92,14 +92,14 @@

    value

    -

    a JSCValue

    +

    a JSCValue

     

    Returns

    -

    a WebKitDOMNode, or NULL if value +

    a WebKitDOMNode, or NULL if value doesn't reference a DOM node.

    [transfer none]

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMObject.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMObject.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitDOMObject.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitDOMObject.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitDOMObject: WPE WebExtensions and DOM Reference Manual - + @@ -47,7 +47,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitDOMObject
             ╰── WebKitDOMNode
     
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitFrame.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitFrame.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitFrame.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitFrame.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitFrame: WPE WebExtensions and DOM Reference Manual - + @@ -42,7 +42,7 @@ -guint64 +guint64 webkit_frame_get_id () @@ -50,14 +50,14 @@ -gboolean +gboolean webkit_frame_is_main_frame () -const gchar * +const gchar * webkit_frame_get_uri () @@ -65,7 +65,7 @@ -JSCContext * +JSCContext * webkit_frame_get_js_context () @@ -73,7 +73,7 @@ -JSCContext * +JSCContext * webkit_frame_get_js_context_for_script_world () @@ -81,7 +81,7 @@ -JSCValue * +JSCValue * webkit_frame_get_js_value_for_dom_object () @@ -89,7 +89,7 @@ -JSCValue * +JSCValue * webkit_frame_get_js_value_for_dom_object_in_script_world () @@ -113,7 +113,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitFrame
     
    @@ -124,7 +124,7 @@

    Functions

    webkit_frame_get_id ()

    -
    guint64
    +
    guint64
     webkit_frame_get_id (WebKitFrame *frame);

    Gets the process-unique identifier of this WebKitFrame. No other frame in the same web process will have the same ID; however, frames @@ -154,7 +154,7 @@


    webkit_frame_is_main_frame ()

    -
    gboolean
    +
    gboolean
     webkit_frame_is_main_frame (WebKitFrame *frame);

    Gets whether frame is the main frame of a WebKitWebPage

    @@ -175,15 +175,15 @@

    Returns

    -

    TRUE if frame -is a main frame or FALSE otherwise

    +

    TRUE if frame +is a main frame or FALSE otherwise

    Since: 2.2


    webkit_frame_get_uri ()

    -
    const gchar *
    +
    const gchar *
     webkit_frame_get_uri (WebKitFrame *frame);

    Gets the current active URI of frame .

    @@ -205,7 +205,7 @@

    Returns

    the current active URI of frame -or NULL if nothing has been +or NULL if nothing has been loaded yet.

    Since: 2.2

    @@ -213,7 +213,7 @@

    webkit_frame_get_js_context ()

    -
    JSCContext *
    +
    JSCContext *
     webkit_frame_get_js_context (WebKitFrame *frame);

    Get the JavaScript execution context of frame . Use this function to bridge @@ -235,7 +235,7 @@

    Returns

    -

    the JSCContext for the JavaScript execution context of frame +

    the JSCContext for the JavaScript execution context of frame .

    [transfer full]

    @@ -244,7 +244,7 @@

    webkit_frame_get_js_context_for_script_world ()

    -
    JSCContext *
    +
    JSCContext *
     webkit_frame_get_js_context_for_script_world
                                    (WebKitFrame *frame,
                                     WebKitScriptWorld *world);
    @@ -274,7 +274,7 @@

    Returns

    -

    the JSCContext for the JavaScript execution context of frame +

    the JSCContext for the JavaScript execution context of frame for world .

    [transfer full]

    @@ -284,11 +284,11 @@

    webkit_frame_get_js_value_for_dom_object ()

    -
    JSCValue *
    +
    JSCValue *
     webkit_frame_get_js_value_for_dom_object
                                    (WebKitFrame *frame,
                                     WebKitDOMObject *dom_object);
    -

    Get a JSCValue referencing the given DOM object. The value is created in the JavaScript execution +

    Get a JSCValue referencing the given DOM object. The value is created in the JavaScript execution context of frame .

    @@ -315,7 +315,7 @@

    Returns

    -

    the JSCValue referencing dom_object +

    the JSCValue referencing dom_object .

    [transfer full]

    @@ -324,12 +324,12 @@

    webkit_frame_get_js_value_for_dom_object_in_script_world ()

    -
    JSCValue *
    +
    JSCValue *
     webkit_frame_get_js_value_for_dom_object_in_script_world
                                    (WebKitFrame *frame,
                                     WebKitDOMObject *dom_object,
                                     WebKitScriptWorld *world);
    -

    Get a JSCValue referencing the given DOM object. The value is created in the JavaScript execution +

    Get a JSCValue referencing the given DOM object. The value is created in the JavaScript execution context of frame for the given WebKitScriptWorld.

    @@ -361,7 +361,7 @@

    Returns

    -

    the JSCValue referencing dom_object +

    the JSCValue referencing dom_object .

    [transfer full]

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitScriptWorld.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitScriptWorld.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitScriptWorld.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitScriptWorld.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitScriptWorld: WPE WebExtensions and DOM Reference Manual - + @@ -86,7 +86,7 @@ void window-object-cleared -Run Last +Run Last
    @@ -105,7 +105,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitScriptWorld
     
    @@ -121,7 +121,7 @@

    Get the default WebKitScriptWorld. This is the normal script world where all scripts are executed by default. You can get the JavaScript execution context of a WebKitScriptWorld -for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    +for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    Returns

    the default WebKitScriptWorld.

    @@ -141,7 +141,7 @@ webkit_script_world_new_with_name() if you want to create it with a custom name. You can get the JavaScript execution context of a WebKitScriptWorld -for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    +for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    Returns

    a new isolated WebKitScriptWorld.

    @@ -158,7 +158,7 @@ isolated worlds have access to the DOM but not to other variable or functions created by the page. You can get the JavaScript execution context of a WebKitScriptWorld -for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    +for a given WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

    Parameters

    @@ -225,7 +225,7 @@ user_function (WebKitScriptWorld *world, WebKitWebPage *page, WebKitFrame *frame, - gpointer user_data) + gpointer user_data)

    Emitted when the JavaScript window object in a WebKitScriptWorld has been cleared. This is the preferred place to set custom properties on the window object using the JavaScriptCore API. You can get the window object of frame @@ -266,7 +266,7 @@

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.2

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebEditor.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebEditor.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebEditor.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebEditor.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebEditor: WPE WebExtensions and DOM Reference Manual - + @@ -61,7 +61,7 @@ void selection-changed -Run Last +Run Last
    @@ -80,7 +80,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitWebEditor
     
    @@ -134,7 +134,7 @@

    The “selection-changed” signal

    void
     user_function (WebKitWebEditor *editor,
    -               gpointer         user_data)
    + gpointer user_data)

    This signal is emitted for every selection change inside a WebKitWebPage as well as for every caret position change as the caret is a collapsed selection.

    @@ -160,7 +160,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.10

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebExtension.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebExtension.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebExtension.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebExtension.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebExtension: WPE WebExtensions and DOM Reference Manual - + @@ -75,7 +75,7 @@ -WebKitUserMessage * +WebKitUserMessage * webkit_web_extension_send_message_to_context_finish () @@ -96,12 +96,12 @@ void page-created -Run Last +Run Last void user-message-received -Run Last +Run Last
    @@ -121,7 +121,7 @@

    Object Hierarchy

    -
        GObject
    +
        GObject
         ╰── WebKitWebExtension
     
    @@ -133,7 +133,7 @@

    To create a WebKitWebExtension you should write a module with an initialization function that could be either webkit_web_extension_initialize() with prototype WebKitWebExtensionInitializeFunction or webkit_web_extension_initialize_with_user_data() with prototype WebKitWebExtensionInitializeWithUserDataFunction. -This function has to be public and it has to use the G_MODULE_EXPORT macro. It is called when the +This function has to be public and it has to use the G_MODULE_EXPORT macro. It is called when the web process is initialized.

    @@ -181,10 +181,10 @@

    The previous piece of code shows a trivial example of an extension that notifies when a WebKitWebPage is created.

    WebKit has to know where it can find the created WebKitWebExtension. To do so you -should use the webkit_web_context_set_web_extensions_directory() function. The signal -“initialize-web-extensions” is the recommended place to call it.

    +should use the webkit_web_context_set_web_extensions_directory() function. The signal +“initialize-web-extensions” is the recommended place to call it.

    To provide the initialization data used by the webkit_web_extension_initialize_with_user_data() -function, you have to call webkit_web_context_set_web_extensions_initialization_user_data() with +function, you have to call webkit_web_context_set_web_extensions_initialization_user_data() with the desired data as parameter. You can see an example of this in the following piece of code:

    @@ -279,11 +279,11 @@
    void
     (*WebKitWebExtensionInitializeWithUserDataFunction)
                                    (WebKitWebExtension *extension,
    -                                const GVariant *user_data);
    + const GVariant *user_data);

    Type definition for a function that will be called to initialize the web extensions when the web process starts, and which receives as additional argument the user data set with -webkit_web_context_set_web_extensions_initialization_user_data().

    +webkit_web_context_set_web_extensions_initialization_user_data().

    Parameters

    @@ -300,7 +300,7 @@ - + @@ -313,7 +313,7 @@

    webkit_web_extension_get_page ()

    WebKitWebPage *
     webkit_web_extension_get_page (WebKitWebExtension *extension,
    -                               guint64 page_id);
    + guint64 page_id);

    Get the web page of the given page_id .

    @@ -341,7 +341,7 @@

    Returns

    the WebKitWebPage for the given page_id -, or NULL if the +, or NULL if the identifier doesn't correspond to an existing web page.

    [transfer none]

    @@ -352,15 +352,15 @@
    void
     webkit_web_extension_send_message_to_context
                                    (WebKitWebExtension *extension,
    -                                WebKitUserMessage *message,
    -                                GCancellable *cancellable,
    -                                GAsyncReadyCallback callback,
    -                                gpointer user_data);
    + WebKitUserMessage *message, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Send message - to the WebKitWebContext corresponding to extension + to the WebKitWebContext corresponding to extension . If message is floating, it's consumed.

    -

    If you don't expect any reply, or you simply want to ignore it, you can pass NULL as calback +

    If you don't expect any reply, or you simply want to ignore it, you can pass NULL as calback . When the operation is finished, callback will be called. You can then call @@ -381,17 +381,17 @@

    - + - + - + @@ -407,11 +407,11 @@

    webkit_web_extension_send_message_to_context_finish ()

    -
    WebKitUserMessage *
    +
    WebKitUserMessage *
     webkit_web_extension_send_message_to_context_finish
                                    (WebKitWebExtension *extension,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_web_extension_send_message_to_context().

    Parameters

    @@ -429,12 +429,12 @@
    - + - + @@ -442,7 +442,7 @@

    Returns

    -

    a WebKitUserMessage with the reply or NULL in case of error.

    +

    a WebKitUserMessage with the reply or NULL in case of error.

    [transfer full]

    Since: 2.28

    @@ -462,7 +462,7 @@
    void
     user_function (WebKitWebExtension *extension,
                    WebKitWebPage      *web_page,
    -               gpointer            user_data)
    + gpointer user_data)

    This signal is emitted when a new WebKitWebPage is created in the Web Process.

    @@ -492,20 +492,20 @@

    user_data

    a GVariant

    a GVariant

     

    message

    a WebKitUserMessage

    a WebKitUserMessage

     

    cancellable

    a GCancellable or NULL to ignore.

    a GCancellable or NULL to ignore.

    [nullable]

    callback

    (nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

    (nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

    [scope async]

    result

    a GAsyncResult

    a GAsyncResult

     

    error

    return location for error or NULL to ignor

    return location for error or NULL to ignor

     
    -

    Flags: Run Last

    +

    Flags: Run Last


    The “user-message-received” signal

    void
     user_function (WebKitWebExtension *extension,
    -               WebKitUserMessage  *message,
    -               gpointer            user_data)
    -

    This signal is emitted when a WebKitUserMessage is received from the -WebKitWebContext corresponding to extension -. Messages sent by WebKitWebContext + WebKitUserMessage *message, + gpointer user_data) +

    This signal is emitted when a WebKitUserMessage is received from the +WebKitWebContext corresponding to extension +. Messages sent by WebKitWebContext are always broadcasted to all WebKitWebExtensions and they can't be -replied to. Calling webkit_user_message_send_reply() will do nothing.

    +replied to. Calling webkit_user_message_send_reply() will do nothing.

    Parameters

    @@ -522,7 +522,7 @@ - + @@ -533,7 +533,7 @@

    message

    the WebKitUserMessage received

    the WebKitUserMessage received

     
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.28

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebHitTestResult.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebHitTestResult.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/WebKitWebHitTestResult.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/WebKitWebHitTestResult.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitWebHitTestResult: WPE WebExtensions and DOM Reference Manual - + @@ -81,14 +81,14 @@

    Object Hierarchy

    -
        GObject
    -    ╰── WebKitHitTestResult
    +
        GObject
    +    ╰── WebKitHitTestResult
             ╰── WebKitWebHitTestResult
     

    Description

    -

    WebKitWebHitTestResult extends WebKitHitTestResult to provide information +

    WebKitWebHitTestResult extends WebKitHitTestResult to provide information about the WebKitDOMNode in the coordinates of the Hit Test.

    @@ -140,7 +140,7 @@

    See Also

    -

    WebKitHitTestResult, WebKitWebPage

    +

    WebKitHitTestResult, WebKitWebPage

    @@ -189,9 +189,9 @@

    Object Hierarchy

    -
        GEnum
    +
        GEnum
         ╰── WebKitFormSubmissionStep
    -    GObject
    +    GObject
         ╰── WebKitWebPage
     
    @@ -223,7 +223,7 @@

    Returns

    -

    the WebKitDOMDocument currently loaded, or NULL +

    the WebKitDOMDocument currently loaded, or NULL if no document is currently loaded.

    [transfer none]

    @@ -231,7 +231,7 @@

    webkit_web_page_get_id ()

    -
    guint64
    +
    guint64
     webkit_web_page_get_id (WebKitWebPage *web_page);

    Get the identifier of the WebKitWebPage

    @@ -258,7 +258,7 @@

    webkit_web_page_get_uri ()

    -
    const gchar *
    +
    const gchar *
     webkit_web_page_get_uri (WebKitWebPage *web_page);

    Returns the current active URI of web_page .

    @@ -283,7 +283,7 @@

    Returns

    the current active URI of web_view -or NULL if nothing has been +or NULL if nothing has been loaded yet.

    @@ -349,15 +349,15 @@

    webkit_web_page_send_message_to_view ()

    void
     webkit_web_page_send_message_to_view (WebKitWebPage *web_page,
    -                                      WebKitUserMessage *message,
    -                                      GCancellable *cancellable,
    -                                      GAsyncReadyCallback callback,
    -                                      gpointer user_data);
    + WebKitUserMessage *message, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data);

    Send message - to the WebKitWebView corresponding to web_page + to the WebKitWebView corresponding to web_page . If message is floating, it's consumed.

    -

    If you don't expect any reply, or you simply want to ignore it, you can pass NULL as callback +

    If you don't expect any reply, or you simply want to ignore it, you can pass NULL as callback . When the operation is finished, callback will be called. You can then call @@ -378,17 +378,17 @@

    message

    -

    a WebKitUserMessage

    +

    a WebKitUserMessage

     

    cancellable

    -

    a GCancellable or NULL to ignore.

    +

    a GCancellable or NULL to ignore.

    [nullable]

    callback

    -

    (nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

    +

    (nullable): A GAsyncReadyCallback to call when the request is satisfied or NULL.

    [scope async] @@ -404,11 +404,11 @@

    webkit_web_page_send_message_to_view_finish ()

    -
    WebKitUserMessage *
    +
    WebKitUserMessage *
     webkit_web_page_send_message_to_view_finish
                                    (WebKitWebPage *web_page,
    -                                GAsyncResult *result,
    -                                GError **error);
    + GAsyncResult *result, + GError **error);

    Finish an asynchronous operation started with webkit_web_page_send_message_to_view().

    Parameters

    @@ -426,12 +426,12 @@

    result

    -

    a GAsyncResult

    +

    a GAsyncResult

     

    error

    -

    return location for error or NULL to ignor

    +

    return location for error or NULL to ignor

      @@ -439,7 +439,7 @@

    Returns

    -

    a WebKitUserMessage with the reply or NULL in case of error.

    +

    a WebKitUserMessage with the reply or NULL in case of error.

    [transfer full]

    Since: 2.28

    @@ -504,7 +504,7 @@
    void
     user_function (WebKitWebPage        *web_page,
                    WebKitConsoleMessage *console_message,
    -               gpointer              user_data)
    + gpointer user_data)

    Emitted when a message is sent to the console. This can be a message produced by the use of JavaScript console API, a JavaScript exception, a security error or other errors, warnings, debug or log messages. @@ -537,17 +537,17 @@

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.12


    The “context-menu” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebPage          *web_page,
    -               WebKitContextMenu      *context_menu,
    +               WebKitContextMenu      *context_menu,
                    WebKitWebHitTestResult *hit_test_result,
    -               gpointer                user_data)
    + gpointer user_data)

    Emitted before a context menu is displayed in the UI Process to give the application a chance to customize the proposed menu, build its own context menu or pass user data to the UI Process. @@ -555,7 +555,7 @@ is not enough to build or customize the context menu, for example, to add menu entries depending on the WebKitDOMNode at the coordinates of the hit_test_result -. Otherwise, it's recommended to use “context-menu” +. Otherwise, it's recommended to use “context-menu” signal instead.

    Parameters

    @@ -573,7 +573,7 @@

    context_menu

    -

    the proposed WebKitContextMenu

    +

    the proposed WebKitContextMenu

      @@ -591,10 +591,10 @@

    Returns

    -

    TRUE if the proposed context_menu -has been modified, or FALSE otherwise.

    +

    TRUE if the proposed context_menu +has been modified, or FALSE otherwise.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.8


    @@ -602,7 +602,7 @@

    The “document-loaded” signal

    void
     user_function (WebKitWebPage *web_page,
    -               gpointer       user_data)
    + gpointer user_data)

    This signal is emitted when the DOM document of a WebKitWebPage has been loaded.

    You can wait for this signal to get the DOM document with @@ -629,15 +629,15 @@ -

    Flags: Run Last

    +

    Flags: Run Last


    The “form-controls-associated” signal

    void
     user_function (WebKitWebPage *web_page,
    -               GPtrArray     *elements,
    -               gpointer       user_data)
    + GPtrArray *elements, + gpointer user_data)

    Emitted after form elements (or form associated elements) are associated to a particular web page. This is useful to implement form auto filling for web pages where form fields are added dynamically. This signal might be emitted multiple times for the same web page.

    @@ -667,7 +667,7 @@

    elements

    -

    a GPtrArray of +

    a GPtrArray of WebKitDOMElement with the list of forms in the page.

    [element-type WebKitDOMElement][transfer none] @@ -679,7 +679,7 @@
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.16


    @@ -687,9 +687,9 @@

    The “form-controls-associated-for-frame” signal

    void
     user_function (WebKitWebPage *web_page,
    -               GPtrArray     *elements,
    +               GPtrArray     *elements,
                    WebKitFrame   *frame,
    -               gpointer       user_data)
    + gpointer user_data)

    Emitted after form elements (or form associated elements) are associated to a particular web page. This is useful to implement form auto filling for web pages where form fields are added dynamically. This signal might be emitted multiple times for the same web page.

    @@ -715,7 +715,7 @@

    elements

    -

    a GPtrArray of +

    a GPtrArray of WebKitDOMElement with the list of forms in the page.

    [element-type WebKitDOMElement][transfer none] @@ -732,22 +732,22 @@ -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.26


    The “send-request” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebPage     *web_page,
    -               WebKitURIRequest  *request,
    -               WebKitURIResponse *redirected_response,
    -               gpointer           user_data)
    + WebKitURIRequest *request, + WebKitURIResponse *redirected_response, + gpointer user_data)

    This signal is emitted when request is about to be sent to -the server. This signal can be used to modify the WebKitURIRequest +the server. This signal can be used to modify the WebKitURIRequest that will be sent to the server. You can also cancel the resource load -operation by connecting to this signal and returning TRUE.

    +operation by connecting to this signal and returning TRUE.

    In case of a server redirection this signal is emitted again with the request argument containing the new @@ -755,8 +755,8 @@ redirected_response parameter containing the response received by the server for the initial request.

    -

    Modifications to the WebKitURIRequest and its associated -SoupMessageHeaders will be taken into account when the request +

    Modifications to the WebKitURIRequest and its associated +SoupMessageHeaders will be taken into account when the request is sent over the network.

    Parameters

    @@ -774,12 +774,12 @@

    request

    -

    a WebKitURIRequest

    +

    a WebKitURIRequest

     

    redirected_response

    -

    a WebKitURIResponse, or NULL

    +

    a WebKitURIResponse, or NULL

      @@ -792,28 +792,28 @@

    Returns

    -

    TRUE to stop other handlers from being invoked for the event. -FALSE to continue emission of the event.

    +

    TRUE to stop other handlers from being invoked for the event. +FALSE to continue emission of the event.

    -

    Flags: Run Last

    +

    Flags: Run Last


    The “user-message-received” signal

    -
    gboolean
    +
    gboolean
     user_function (WebKitWebPage     *web_page,
    -               WebKitUserMessage *message,
    -               gpointer           user_data)
    -

    This signal is emitted when a WebKitUserMessage is received from the -WebKitWebView corresponding to web_page + WebKitUserMessage *message, + gpointer user_data)

    +

    This signal is emitted when a WebKitUserMessage is received from the +WebKitWebView corresponding to web_page . You can reply to the message -using webkit_user_message_send_reply().

    -

    You can handle the user message asynchronously by calling g_object_ref() on +using webkit_user_message_send_reply().

    +

    You can handle the user message asynchronously by calling g_object_ref() on message - and returning TRUE. If the last reference of message + and returning TRUE. If the last reference of message is removed -and the message has been replied, the operation in the WebKitWebView will -finish with error WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE.

    +and the message has been replied, the operation in the WebKitWebView will +finish with error WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE.

    Parameters

    @@ -830,7 +830,7 @@ - + @@ -843,9 +843,9 @@

    Returns

    -

    TRUE if the message was handled, or FALSE otherwise.

    +

    TRUE if the message was handled, or FALSE otherwise.

    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.28


    @@ -857,9 +857,9 @@ WebKitFormSubmissionStep step, WebKitFrame *source_frame, WebKitFrame *target_frame, - GPtrArray *text_field_names, - GPtrArray *text_field_values, - gpointer user_data) + GPtrArray *text_field_names, + GPtrArray *text_field_values, + gpointer user_data)

    This signal is emitted to indicate various points during form submission. step indicates the current stage of form submission.

    @@ -944,7 +944,7 @@

    message

    the WebKitUserMessage received

    the WebKitUserMessage received

     
    -

    Flags: Run Last

    +

    Flags: Run Last

    Since: 2.20

    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/annotation-glossary.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/annotation-glossary.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/annotation-glossary.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/annotation-glossary.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ Annotation Glossary: WPE WebExtensions and DOM Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/ch01.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/ch01.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/ch01.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/ch01.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ Web Extensions: WPE WebExtensions and DOM Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/ch02.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/ch02.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/ch02.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/ch02.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WebKitDOM: WPE WebExtensions and DOM Reference Manual - + diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/index-all.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/index-all.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/index-all.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/index-all.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ Index: WPE WebExtensions and DOM Reference Manual - + @@ -25,135 +25,135 @@

    W

    -
    WebKitConsoleMessage, WebKitConsoleMessage +
    WebKitConsoleMessage, WebKitConsoleMessage
    -
    WebKitConsoleMessageLevel, enum WebKitConsoleMessageLevel +
    WebKitConsoleMessageLevel, enum WebKitConsoleMessageLevel
    -
    WebKitConsoleMessageSource, enum WebKitConsoleMessageSource +
    WebKitConsoleMessageSource, enum WebKitConsoleMessageSource
    -
    WebKitDOMDocument, struct WebKitDOMDocument +
    WebKitDOMDocument, struct WebKitDOMDocument
    -
    WebKitDOMElement, struct WebKitDOMElement +
    WebKitDOMElement, struct WebKitDOMElement
    -
    WebKitDOMNode, struct WebKitDOMNode +
    WebKitDOMNode, struct WebKitDOMNode
    -
    WebKitDOMObject, struct WebKitDOMObject +
    WebKitDOMObject, struct WebKitDOMObject
    -
    WebKitFormSubmissionStep, enum WebKitFormSubmissionStep +
    WebKitFormSubmissionStep, enum WebKitFormSubmissionStep
    -
    WebKitFrame, struct WebKitFrame +
    WebKitFrame, struct WebKitFrame
    -
    WebKitScriptWorld, struct WebKitScriptWorld +
    WebKitScriptWorld, struct WebKitScriptWorld
    -
    WebKitScriptWorld::window-object-cleared, The “window-object-cleared” signal +
    WebKitScriptWorld::window-object-cleared, The “window-object-cleared” signal
    -
    WebKitWebEditor, WebKitWebEditor +
    WebKitWebEditor, WebKitWebEditor
    -
    WebKitWebEditor::selection-changed, The “selection-changed” signal +
    WebKitWebEditor::selection-changed, The “selection-changed” signal
    -
    WebKitWebExtension, struct WebKitWebExtension +
    WebKitWebExtension, struct WebKitWebExtension
    -
    WebKitWebExtension::page-created, The “page-created” signal +
    WebKitWebExtension::page-created, The “page-created” signal
    -
    WebKitWebExtension::user-message-received, The “user-message-received” signal +
    WebKitWebExtension::user-message-received, The “user-message-received” signal
    -
    WebKitWebExtensionInitializeFunction, WebKitWebExtensionInitializeFunction () +
    WebKitWebExtensionInitializeFunction, WebKitWebExtensionInitializeFunction ()
    -
    WebKitWebExtensionInitializeWithUserDataFunction, WebKitWebExtensionInitializeWithUserDataFunction () +
    WebKitWebExtensionInitializeWithUserDataFunction, WebKitWebExtensionInitializeWithUserDataFunction ()
    -
    WebKitWebHitTestResult, struct WebKitWebHitTestResult +
    WebKitWebHitTestResult, struct WebKitWebHitTestResult
    -
    WebKitWebHitTestResult:node, The “node” property +
    WebKitWebHitTestResult:node, The “node” property
    -
    WebKitWebPage, WebKitWebPage +
    WebKitWebPage, WebKitWebPage
    -
    WebKitWebPage::console-message-sent, The “console-message-sent” signal +
    WebKitWebPage::console-message-sent, The “console-message-sent” signal
    -
    WebKitWebPage::context-menu, The “context-menu” signal +
    WebKitWebPage::context-menu, The “context-menu” signal
    -
    WebKitWebPage::document-loaded, The “document-loaded” signal +
    WebKitWebPage::document-loaded, The “document-loaded” signal
    -
    WebKitWebPage::form-controls-associated, The “form-controls-associated” signal, The “form-controls-associated” signal +
    WebKitWebPage::form-controls-associated, The “form-controls-associated” signal, The “form-controls-associated” signal
    -
    WebKitWebPage::form-controls-associated-for-frame, The “form-controls-associated-for-frame” signal +
    WebKitWebPage::form-controls-associated-for-frame, The “form-controls-associated-for-frame” signal
    -
    WebKitWebPage::send-request, The “send-request” signal +
    WebKitWebPage::send-request, The “send-request” signal
    -
    WebKitWebPage::user-message-received, The “user-message-received” signal +
    WebKitWebPage::user-message-received, The “user-message-received” signal
    -
    WebKitWebPage::will-submit-form, The “will-submit-form” signal +
    WebKitWebPage::will-submit-form, The “will-submit-form” signal
    -
    WebKitWebPage:uri, The “uri” property +
    WebKitWebPage:uri, The “uri” property
    -
    webkit_console_message_copy, webkit_console_message_copy () +
    webkit_console_message_copy, webkit_console_message_copy ()
    -
    webkit_console_message_free, webkit_console_message_free () +
    webkit_console_message_free, webkit_console_message_free ()
    -
    webkit_console_message_get_level, webkit_console_message_get_level () +
    webkit_console_message_get_level, webkit_console_message_get_level ()
    -
    webkit_console_message_get_line, webkit_console_message_get_line () +
    webkit_console_message_get_line, webkit_console_message_get_line ()
    -
    webkit_console_message_get_source, webkit_console_message_get_source () +
    webkit_console_message_get_source, webkit_console_message_get_source ()
    -
    webkit_console_message_get_source_id, webkit_console_message_get_source_id () +
    webkit_console_message_get_source_id, webkit_console_message_get_source_id ()
    -
    webkit_console_message_get_text, webkit_console_message_get_text () +
    webkit_console_message_get_text, webkit_console_message_get_text ()
    -
    webkit_dom_element_html_input_element_get_auto_filled, webkit_dom_element_html_input_element_get_auto_filled () +
    webkit_dom_element_html_input_element_get_auto_filled, webkit_dom_element_html_input_element_get_auto_filled ()
    -
    webkit_dom_element_html_input_element_is_user_edited, webkit_dom_element_html_input_element_is_user_edited () +
    webkit_dom_element_html_input_element_is_user_edited, webkit_dom_element_html_input_element_is_user_edited ()
    -
    webkit_dom_element_html_input_element_set_auto_filled, webkit_dom_element_html_input_element_set_auto_filled () +
    webkit_dom_element_html_input_element_set_auto_filled, webkit_dom_element_html_input_element_set_auto_filled ()
    -
    webkit_dom_element_html_input_element_set_editing_value, webkit_dom_element_html_input_element_set_editing_value () +
    webkit_dom_element_html_input_element_set_editing_value, webkit_dom_element_html_input_element_set_editing_value ()
    -
    webkit_dom_node_for_js_value, webkit_dom_node_for_js_value () +
    webkit_dom_node_for_js_value, webkit_dom_node_for_js_value ()
    -
    webkit_frame_get_id, webkit_frame_get_id () +
    webkit_frame_get_id, webkit_frame_get_id ()
    -
    webkit_frame_get_js_context, webkit_frame_get_js_context () +
    webkit_frame_get_js_context, webkit_frame_get_js_context ()
    -
    webkit_frame_get_js_context_for_script_world, webkit_frame_get_js_context_for_script_world () +
    webkit_frame_get_js_context_for_script_world, webkit_frame_get_js_context_for_script_world ()
    -
    webkit_frame_get_js_value_for_dom_object, webkit_frame_get_js_value_for_dom_object () +
    webkit_frame_get_js_value_for_dom_object, webkit_frame_get_js_value_for_dom_object ()
    -
    webkit_frame_get_js_value_for_dom_object_in_script_world, webkit_frame_get_js_value_for_dom_object_in_script_world () +
    webkit_frame_get_js_value_for_dom_object_in_script_world, webkit_frame_get_js_value_for_dom_object_in_script_world ()
    -
    webkit_frame_get_uri, webkit_frame_get_uri () +
    webkit_frame_get_uri, webkit_frame_get_uri ()
    -
    webkit_frame_is_main_frame, webkit_frame_is_main_frame () +
    webkit_frame_is_main_frame, webkit_frame_is_main_frame ()
    -
    webkit_script_world_get_default, webkit_script_world_get_default () +
    webkit_script_world_get_default, webkit_script_world_get_default ()
    -
    webkit_script_world_get_name, webkit_script_world_get_name () +
    webkit_script_world_get_name, webkit_script_world_get_name ()
    -
    webkit_script_world_new, webkit_script_world_new () +
    webkit_script_world_new, webkit_script_world_new ()
    -
    webkit_script_world_new_with_name, webkit_script_world_new_with_name () +
    webkit_script_world_new_with_name, webkit_script_world_new_with_name ()
    -
    webkit_web_editor_get_page, webkit_web_editor_get_page () +
    webkit_web_editor_get_page, webkit_web_editor_get_page ()
    -
    webkit_web_extension_get_page, webkit_web_extension_get_page () +
    webkit_web_extension_get_page, webkit_web_extension_get_page ()
    -
    webkit_web_extension_send_message_to_context, webkit_web_extension_send_message_to_context () +
    webkit_web_extension_send_message_to_context, webkit_web_extension_send_message_to_context ()
    -
    webkit_web_extension_send_message_to_context_finish, webkit_web_extension_send_message_to_context_finish () +
    webkit_web_extension_send_message_to_context_finish, webkit_web_extension_send_message_to_context_finish ()
    -
    webkit_web_hit_test_result_get_node, webkit_web_hit_test_result_get_node () +
    webkit_web_hit_test_result_get_node, webkit_web_hit_test_result_get_node ()
    -
    webkit_web_page_get_dom_document, webkit_web_page_get_dom_document () +
    webkit_web_page_get_dom_document, webkit_web_page_get_dom_document ()
    -
    webkit_web_page_get_editor, webkit_web_page_get_editor () +
    webkit_web_page_get_editor, webkit_web_page_get_editor ()
    -
    webkit_web_page_get_id, webkit_web_page_get_id () +
    webkit_web_page_get_id, webkit_web_page_get_id ()
    -
    webkit_web_page_get_main_frame, webkit_web_page_get_main_frame () +
    webkit_web_page_get_main_frame, webkit_web_page_get_main_frame ()
    -
    webkit_web_page_get_uri, webkit_web_page_get_uri () +
    webkit_web_page_get_uri, webkit_web_page_get_uri ()
    -
    webkit_web_page_send_message_to_view, webkit_web_page_send_message_to_view () +
    webkit_web_page_send_message_to_view, webkit_web_page_send_message_to_view ()
    -
    webkit_web_page_send_message_to_view_finish, webkit_web_page_send_message_to_view_finish () +
    webkit_web_page_send_message_to_view_finish, webkit_web_page_send_message_to_view_finish ()
    diff -Nru wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/index.html wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/index.html --- wpewebkit-2.32.3/Documentation/wpe-webextensions-1.0/html/index.html 2021-07-23 12:20:25.000000000 +0000 +++ wpewebkit-2.32.4/Documentation/wpe-webextensions-1.0/html/index.html 2021-09-17 10:35:14.000000000 +0000 @@ -3,7 +3,7 @@ WPE WebExtensions and DOM Reference Manual: WPE WebExtensions and DOM Reference Manual - + @@ -14,7 +14,7 @@
    -

    for WPE WebKit 2.32.3

    +

    for WPE WebKit 2.32.4


    diff -Nru wpewebkit-2.32.3/NEWS wpewebkit-2.32.4/NEWS --- wpewebkit-2.32.3/NEWS 2021-07-23 12:02:30.000000000 +0000 +++ wpewebkit-2.32.4/NEWS 2021-09-17 10:18:26.000000000 +0000 @@ -1,4 +1,13 @@ ================= +WPE WebKit 2.32.4 +================= + +What's new in WPE WebKit 2.32.4? + + - Do not append .asc extension to downloaded text/plain files. + - Fix several crashes and rendering issues. + +================= WPE WebKit 2.32.3 ================= diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/assembler/ARM64Assembler.h wpewebkit-2.32.4/Source/JavaScriptCore/assembler/ARM64Assembler.h --- wpewebkit-2.32.3/Source/JavaScriptCore/assembler/ARM64Assembler.h 2021-05-17 13:22:33.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/assembler/ARM64Assembler.h 2021-08-09 20:14:34.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2020 Apple Inc. All rights reserved. + * Copyright (C) 2012-2021 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -1112,6 +1112,20 @@ } template + ALWAYS_INLINE static bool isValidLDPImm(int immediate) + { + unsigned immedShiftAmount = memPairOffsetShift(false, MEMPAIROPSIZE_INT(datasize)); + return isValidSignedImm7(immediate, immedShiftAmount); + } + + template + ALWAYS_INLINE static bool isValidLDPFPImm(int immediate) + { + unsigned immedShiftAmount = memPairOffsetShift(true, MEMPAIROPSIZE_FP(datasize)); + return isValidSignedImm7(immediate, immedShiftAmount); + } + + template ALWAYS_INLINE void ldp(RegisterID rt, RegisterID rt2, RegisterID rn, PairPostIndex simm) { CHECK_DATASIZE(); @@ -1126,17 +1140,45 @@ } template - ALWAYS_INLINE void ldp(RegisterID rt, RegisterID rt2, RegisterID rn, unsigned pimm = 0) + ALWAYS_INLINE void ldp(RegisterID rt, RegisterID rt2, RegisterID rn, int simm = 0) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_INT(datasize), false, MemOp_LOAD, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void ldnp(RegisterID rt, RegisterID rt2, RegisterID rn, int simm = 0) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_INT(datasize), false, MemOp_LOAD, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void ldp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, PairPostIndex simm) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairPostIndex(MEMPAIROPSIZE_FP(datasize), true, MemOp_LOAD, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void ldp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, PairPreIndex simm) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairPreIndex(MEMPAIROPSIZE_FP(datasize), true, MemOp_LOAD, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void ldp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, int simm = 0) { CHECK_DATASIZE(); - insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_INT(datasize), false, MemOp_LOAD, pimm, rn, rt, rt2)); + insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_FP(datasize), true, MemOp_LOAD, simm, rn, rt, rt2)); } template - ALWAYS_INLINE void ldnp(RegisterID rt, RegisterID rt2, RegisterID rn, unsigned pimm = 0) + ALWAYS_INLINE void ldnp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, int simm = 0) { CHECK_DATASIZE(); - insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_INT(datasize), false, MemOp_LOAD, pimm, rn, rt, rt2)); + insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_FP(datasize), true, MemOp_LOAD, simm, rn, rt, rt2)); } template @@ -1741,6 +1783,18 @@ } template + ALWAYS_INLINE static bool isValidSTPImm(int immediate) + { + return isValidLDPImm(immediate); + } + + template + ALWAYS_INLINE static bool isValidSTPFPImm(int immediate) + { + return isValidLDPFPImm(immediate); + } + + template ALWAYS_INLINE void stp(RegisterID rt, RegisterID rt2, RegisterID rn, PairPostIndex simm) { CHECK_DATASIZE(); @@ -1755,17 +1809,45 @@ } template - ALWAYS_INLINE void stp(RegisterID rt, RegisterID rt2, RegisterID rn, unsigned pimm = 0) + ALWAYS_INLINE void stp(RegisterID rt, RegisterID rt2, RegisterID rn, int simm = 0) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_INT(datasize), false, MemOp_STORE, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void stnp(RegisterID rt, RegisterID rt2, RegisterID rn, int simm = 0) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_INT(datasize), false, MemOp_STORE, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void stp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, PairPostIndex simm) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairPostIndex(MEMPAIROPSIZE_FP(datasize), true, MemOp_STORE, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void stp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, PairPreIndex simm) + { + CHECK_DATASIZE(); + insn(loadStoreRegisterPairPreIndex(MEMPAIROPSIZE_FP(datasize), true, MemOp_STORE, simm, rn, rt, rt2)); + } + + template + ALWAYS_INLINE void stp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, int simm = 0) { CHECK_DATASIZE(); - insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_INT(datasize), false, MemOp_STORE, pimm, rn, rt, rt2)); + insn(loadStoreRegisterPairOffset(MEMPAIROPSIZE_FP(datasize), true, MemOp_STORE, simm, rn, rt, rt2)); } template - ALWAYS_INLINE void stnp(RegisterID rt, RegisterID rt2, RegisterID rn, unsigned pimm = 0) + ALWAYS_INLINE void stnp(FPRegisterID rt, FPRegisterID rt2, RegisterID rn, int simm = 0) { CHECK_DATASIZE(); - insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_INT(datasize), false, MemOp_STORE, pimm, rn, rt, rt2)); + insn(loadStoreRegisterPairNonTemporal(MEMPAIROPSIZE_FP(datasize), true, MemOp_STORE, simm, rn, rt, rt2)); } template @@ -3541,6 +3623,7 @@ ASSERT(opc == (opc & 1)); // Only load or store, load signed 64 is handled via size. ASSERT(V || (size != MemPairOp_LoadSigned_32) || (opc == MemOp_LOAD)); // There isn't an integer store signed. unsigned immedShiftAmount = memPairOffsetShift(V, size); + RELEASE_ASSERT(isValidSignedImm7(immediate, immedShiftAmount)); int imm7 = immediate >> immedShiftAmount; ASSERT((imm7 << immedShiftAmount) == immediate && isInt<7>(imm7)); return (0x28800000 | size << 30 | V << 26 | opc << 22 | (imm7 & 0x7f) << 15 | rt2 << 10 | xOrSp(rn) << 5 | rt); @@ -3572,6 +3655,7 @@ ASSERT(opc == (opc & 1)); // Only load or store, load signed 64 is handled via size. ASSERT(V || (size != MemPairOp_LoadSigned_32) || (opc == MemOp_LOAD)); // There isn't an integer store signed. unsigned immedShiftAmount = memPairOffsetShift(V, size); + RELEASE_ASSERT(isValidSignedImm7(immediate, immedShiftAmount)); int imm7 = immediate >> immedShiftAmount; ASSERT((imm7 << immedShiftAmount) == immediate && isInt<7>(imm7)); return (0x29800000 | size << 30 | V << 26 | opc << 22 | (imm7 & 0x7f) << 15 | rt2 << 10 | xOrSp(rn) << 5 | rt); @@ -3589,6 +3673,7 @@ ASSERT(opc == (opc & 1)); // Only load or store, load signed 64 is handled via size. ASSERT(V || (size != MemPairOp_LoadSigned_32) || (opc == MemOp_LOAD)); // There isn't an integer store signed. unsigned immedShiftAmount = memPairOffsetShift(V, size); + RELEASE_ASSERT(isValidSignedImm7(immediate, immedShiftAmount)); int imm7 = immediate >> immedShiftAmount; ASSERT((imm7 << immedShiftAmount) == immediate && isInt<7>(imm7)); return (0x29000000 | size << 30 | V << 26 | opc << 22 | (imm7 & 0x7f) << 15 | rt2 << 10 | xOrSp(rn) << 5 | rt); @@ -3606,6 +3691,7 @@ ASSERT(opc == (opc & 1)); // Only load or store, load signed 64 is handled via size. ASSERT(V || (size != MemPairOp_LoadSigned_32) || (opc == MemOp_LOAD)); // There isn't an integer store signed. unsigned immedShiftAmount = memPairOffsetShift(V, size); + RELEASE_ASSERT(isValidSignedImm7(immediate, immedShiftAmount)); int imm7 = immediate >> immedShiftAmount; ASSERT((imm7 << immedShiftAmount) == immediate && isInt<7>(imm7)); return (0x28000000 | size << 30 | V << 26 | opc << 22 | (imm7 & 0x7f) << 15 | rt2 << 10 | xOrSp(rn) << 5 | rt); diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/assembler/AssemblerCommon.h wpewebkit-2.32.4/Source/JavaScriptCore/assembler/AssemblerCommon.h --- wpewebkit-2.32.3/Source/JavaScriptCore/assembler/AssemblerCommon.h 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/assembler/AssemblerCommon.h 2021-08-09 20:14:33.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2019 Apple Inc. All rights reserved. + * Copyright (C) 2012-2021 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -74,6 +74,15 @@ return isInt9(value); } +ALWAYS_INLINE bool isValidSignedImm7(int32_t value, int alignmentShiftAmount) +{ + constexpr int32_t disallowedHighBits = 32 - 7; + int32_t shiftedValue = value >> alignmentShiftAmount; + bool fitsIn7Bits = shiftedValue == ((shiftedValue << disallowedHighBits) >> disallowedHighBits); + bool hasCorrectAlignment = value == (shiftedValue << alignmentShiftAmount); + return fitsIn7Bits && hasCorrectAlignment; +} + class ARM64LogicalImmediate { public: static ARM64LogicalImmediate create32(uint32_t value) diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h wpewebkit-2.32.4/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h --- wpewebkit-2.32.3/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h 2021-08-09 20:14:34.000000000 +0000 @@ -1226,6 +1226,16 @@ m_assembler.ldnp<64>(dest1, dest2, src, offset.m_value); } + void loadPair64(RegisterID src, FPRegisterID dest1, FPRegisterID dest2) + { + loadPair64(src, TrustedImm32(0), dest1, dest2); + } + + void loadPair64(RegisterID src, TrustedImm32 offset, FPRegisterID dest1, FPRegisterID dest2) + { + m_assembler.ldp<64>(dest1, dest2, src, offset.m_value); + } + void abortWithReason(AbortReason reason) { // It is safe to use dataTempRegister directly since this is a crashing JIT Assert. @@ -1550,6 +1560,16 @@ m_assembler.stnp<64>(src1, src2, dest, offset.m_value); } + void storePair64(FPRegisterID src1, FPRegisterID src2, RegisterID dest) + { + storePair64(src1, src2, dest, TrustedImm32(0)); + } + + void storePair64(FPRegisterID src1, FPRegisterID src2, RegisterID dest, TrustedImm32 offset) + { + m_assembler.stp<64>(src1, src2, dest, offset.m_value); + } + void store32(RegisterID src, ImplicitAddress address) { if (tryStoreWithOffset<32>(src, address.base, address.offset)) diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/assembler/testmasm.cpp wpewebkit-2.32.4/Source/JavaScriptCore/assembler/testmasm.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/assembler/testmasm.cpp 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/assembler/testmasm.cpp 2021-08-09 20:16:40.000000000 +0000 @@ -1740,6 +1740,441 @@ #endif // CPU(X86_64) || CPU(ARM64) +#if CPU(ARM64) +void testLoadStorePair64Int64() +{ + constexpr uint64_t initialValue = 0x5555aaaabbbb8800ull; + constexpr uint64_t value1 = 42; + constexpr uint64_t value2 = 0xcafebabe12345678ull; + + uint64_t buffer[10]; + + auto initBuffer = [&] { + for (unsigned i = 0; i < 10; ++i) + buffer[i] = initialValue + i; + }; + + struct Pair { + uint64_t value1; + uint64_t value2; + }; + + Pair pair; + auto initPair = [&] { + pair = { 0, 0 }; + }; + + // Test loadPair64. + auto testLoadPair = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR0; + constexpr GPRReg pairGPR = GPRInfo::argumentGPR1; + jit.loadPair64(bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(CPURegister)), GPRInfo::regT2, GPRInfo::regT3); + + jit.store64(GPRInfo::regT2, CCallHelpers::Address(pairGPR, 0)); + jit.store64(GPRInfo::regT3, CCallHelpers::Address(pairGPR, sizeof(uint64_t))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto testLoadPair0 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, 0); + }); + + initBuffer(); + + initPair(); + invoke(testLoadPair0, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4); + CHECK_EQ(pair.value2, initialValue + 5); + + initPair(); + buffer[4] = value1; + buffer[5] = value2; + invoke(testLoadPair0, &buffer[4], &pair); + CHECK_EQ(pair.value1, value1); + CHECK_EQ(pair.value2, value2); + + auto testLoadPairMinus2 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, -2); + }); + + initPair(); + invoke(testLoadPairMinus2, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4 - 2); + CHECK_EQ(pair.value2, initialValue + 5 - 2); + + initPair(); + buffer[4 - 2] = value2; + buffer[5 - 2] = value1; + invoke(testLoadPairMinus2, &buffer[4], &pair); + CHECK_EQ(pair.value1, value2); + CHECK_EQ(pair.value2, value1); + + auto testLoadPairPlus3 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, 3); + }); + + initPair(); + invoke(testLoadPairPlus3, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4 + 3); + CHECK_EQ(pair.value2, initialValue + 5 + 3); + + initPair(); + buffer[4 + 3] = value1; + buffer[5 + 3] = value2; + invoke(testLoadPairPlus3, &buffer[4], &pair); + CHECK_EQ(pair.value1, value1); + CHECK_EQ(pair.value2, value2); + + // Test storePair64. + auto testStorePair = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR2; + jit.storePair64(GPRInfo::argumentGPR0, GPRInfo::argumentGPR1, bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(CPURegister))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto testStorePair0 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, 0); + }); + + initBuffer(); + invoke(testStorePair0, value1, value2, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], value1); + CHECK_EQ(buffer[5], value2); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairMinus2 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, -2); + }); + + initBuffer(); + invoke(testStorePairMinus2, value1, value2, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], value1); + CHECK_EQ(buffer[3], value2); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairPlus3 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, 3); + }); + + initBuffer(); + invoke(testStorePairPlus3, value1, value2, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], value1); + CHECK_EQ(buffer[8], value2); + CHECK_EQ(buffer[9], initialValue + 9); + + // Test storePair64 from 1 register. + auto testStorePairFromOneReg = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR1; + jit.storePair64(GPRInfo::argumentGPR0, GPRInfo::argumentGPR0, bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(CPURegister))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto testStorePairFromOneReg0 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, 0); + }); + + initBuffer(); + invoke(testStorePairFromOneReg0, value2, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], value2); + CHECK_EQ(buffer[5], value2); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairFromOneRegMinus2 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, -2); + }); + + initBuffer(); + invoke(testStorePairFromOneRegMinus2, value1, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], value1); + CHECK_EQ(buffer[3], value1); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairFromOneRegPlus3 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, 3); + }); + + initBuffer(); + invoke(testStorePairFromOneRegPlus3, value2, &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], value2); + CHECK_EQ(buffer[8], value2); + CHECK_EQ(buffer[9], initialValue + 9); +} + +void testLoadStorePair64Double() +{ + constexpr double initialValue = 10000.275; + constexpr double value1 = 42.89; + constexpr double value2 = -555.321; + + double buffer[10]; + + auto initBuffer = [&] { + for (unsigned i = 0; i < 10; ++i) + buffer[i] = initialValue + i; + }; + + struct Pair { + double value1; + double value2; + }; + + Pair pair; + auto initPair = [&] { + pair = { 0, 0 }; + }; + + // Test loadPair64. + auto testLoadPair = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR0; + constexpr GPRReg pairGPR = GPRInfo::argumentGPR1; + jit.loadPair64(bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(double)), FPRInfo::fpRegT0, FPRInfo::fpRegT1); + + jit.storeDouble(FPRInfo::fpRegT0, CCallHelpers::Address(pairGPR, 0)); + jit.storeDouble(FPRInfo::fpRegT1, CCallHelpers::Address(pairGPR, sizeof(uint64_t))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto testLoadPair0 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, 0); + }); + + initBuffer(); + + initPair(); + invoke(testLoadPair0, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4); + CHECK_EQ(pair.value2, initialValue + 5); + + initPair(); + buffer[4] = value1; + buffer[5] = value2; + invoke(testLoadPair0, &buffer[4], &pair); + CHECK_EQ(pair.value1, value1); + CHECK_EQ(pair.value2, value2); + + auto testLoadPairMinus2 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, -2); + }); + + initPair(); + invoke(testLoadPairMinus2, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4 - 2); + CHECK_EQ(pair.value2, initialValue + 5 - 2); + + initPair(); + buffer[4 - 2] = value2; + buffer[5 - 2] = value1; + invoke(testLoadPairMinus2, &buffer[4], &pair); + CHECK_EQ(pair.value1, value2); + CHECK_EQ(pair.value2, value1); + + auto testLoadPairPlus3 = compile([&] (CCallHelpers& jit) { + testLoadPair(jit, 3); + }); + + initPair(); + invoke(testLoadPairPlus3, &buffer[4], &pair); + CHECK_EQ(pair.value1, initialValue + 4 + 3); + CHECK_EQ(pair.value2, initialValue + 5 + 3); + + initPair(); + buffer[4 + 3] = value1; + buffer[5 + 3] = value2; + invoke(testLoadPairPlus3, &buffer[4], &pair); + CHECK_EQ(pair.value1, value1); + CHECK_EQ(pair.value2, value2); + + // Test storePair64. + auto testStorePair = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR2; + jit.move64ToDouble(GPRInfo::argumentGPR0, FPRInfo::fpRegT0); + jit.move64ToDouble(GPRInfo::argumentGPR1, FPRInfo::fpRegT1); + jit.storePair64(FPRInfo::fpRegT0, FPRInfo::fpRegT1, bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(double))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto asInt64 = [] (double value) { + return bitwise_cast(value); + }; + + auto testStorePair0 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, 0); + }); + + initBuffer(); + invoke(testStorePair0, asInt64(value1), asInt64(value2), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], value1); + CHECK_EQ(buffer[5], value2); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairMinus2 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, -2); + }); + + initBuffer(); + invoke(testStorePairMinus2, asInt64(value1), asInt64(value2), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], value1); + CHECK_EQ(buffer[3], value2); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairPlus3 = compile([&] (CCallHelpers& jit) { + testStorePair(jit, 3); + }); + + initBuffer(); + invoke(testStorePairPlus3, asInt64(value1), asInt64(value2), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], value1); + CHECK_EQ(buffer[8], value2); + CHECK_EQ(buffer[9], initialValue + 9); + + // Test storePair64 from 1 register. + auto testStorePairFromOneReg = [] (CCallHelpers& jit, int offset) { + emitFunctionPrologue(jit); + + constexpr GPRReg bufferGPR = GPRInfo::argumentGPR1; + jit.move64ToDouble(GPRInfo::argumentGPR0, FPRInfo::fpRegT0); + jit.storePair64(FPRInfo::fpRegT0, FPRInfo::fpRegT0, bufferGPR, CCallHelpers::TrustedImm32(offset * sizeof(double))); + + emitFunctionEpilogue(jit); + jit.ret(); + }; + + auto testStorePairFromOneReg0 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, 0); + }); + + initBuffer(); + invoke(testStorePairFromOneReg0, asInt64(value2), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], value2); + CHECK_EQ(buffer[5], value2); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairFromOneRegMinus2 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, -2); + }); + + initBuffer(); + invoke(testStorePairFromOneRegMinus2, asInt64(value1), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], value1); + CHECK_EQ(buffer[3], value1); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], initialValue + 7); + CHECK_EQ(buffer[8], initialValue + 8); + CHECK_EQ(buffer[9], initialValue + 9); + + auto testStorePairFromOneRegPlus3 = compile([&] (CCallHelpers& jit) { + testStorePairFromOneReg(jit, 3); + }); + + initBuffer(); + invoke(testStorePairFromOneRegPlus3, asInt64(value2), &buffer[4]); + CHECK_EQ(buffer[0], initialValue + 0); + CHECK_EQ(buffer[1], initialValue + 1); + CHECK_EQ(buffer[2], initialValue + 2); + CHECK_EQ(buffer[3], initialValue + 3); + CHECK_EQ(buffer[4], initialValue + 4); + CHECK_EQ(buffer[5], initialValue + 5); + CHECK_EQ(buffer[6], initialValue + 6); + CHECK_EQ(buffer[7], value2); + CHECK_EQ(buffer[8], value2); + CHECK_EQ(buffer[9], initialValue + 9); +} +#endif // CPU(ARM64) + #if ENABLE(MASM_PROBE) void testProbeReadsArgumentRegisters() { @@ -2654,6 +3089,8 @@ #endif #if CPU(ARM64) + RUN(testLoadStorePair64Int64()); + RUN(testLoadStorePair64Double()); RUN(testMul32SignExtend()); #endif diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp wpewebkit-2.32.4/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/dfg/DFGObjectAllocationSinkingPhase.cpp 2021-08-11 10:15:26.000000000 +0000 @@ -1579,23 +1579,26 @@ // Nodes without remaining unmaterialized fields will be // materialized first - amongst the remaining unmaterialized // nodes - StdList toMaterialize; - auto firstPos = toMaterialize.begin(); + Vector toMaterialize; + toMaterialize.resize(escapees.size()); + size_t firstIndex = 0; + size_t lastIndex = toMaterialize.size(); auto materializeFirst = [&] (Allocation&& allocation) { + RELEASE_ASSERT(firstIndex < lastIndex); materialize(allocation.identifier()); - // We need to insert *after* the current position - if (firstPos != toMaterialize.end()) - ++firstPos; - firstPos = toMaterialize.insert(firstPos, WTFMove(allocation)); + toMaterialize[firstIndex] = WTFMove(allocation); + ++firstIndex; }; // Nodes that no other unmaterialized node points to will be // materialized last - amongst the remaining unmaterialized // nodes - auto lastPos = toMaterialize.end(); auto materializeLast = [&] (Allocation&& allocation) { materialize(allocation.identifier()); - lastPos = toMaterialize.insert(lastPos, WTFMove(allocation)); + RELEASE_ASSERT(firstIndex < lastIndex); + RELEASE_ASSERT(lastIndex); + --lastIndex; + toMaterialize[lastIndex] = WTFMove(allocation); }; // These are the promoted locations that contains some of the @@ -1654,6 +1657,8 @@ escapees.remove(identifier); } + RELEASE_ASSERT(firstIndex == lastIndex); + materialized.clear(); NodeSet escaped; diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.cpp wpewebkit-2.32.4/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.cpp 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.cpp 2021-08-09 20:14:33.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012, 2016 Apple Inc. All rights reserved. + * Copyright (C) 2012-2021 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -72,6 +72,8 @@ OPCODE_GROUP_ENTRY(0x0a, A64DOpcodeLogicalShiftedRegister), OPCODE_GROUP_ENTRY(0x0b, A64DOpcodeAddSubtractExtendedRegister), OPCODE_GROUP_ENTRY(0x0b, A64DOpcodeAddSubtractShiftedRegister), + OPCODE_GROUP_ENTRY(0x0c, A64DOpcodeLoadStoreRegisterPair), + OPCODE_GROUP_ENTRY(0x0d, A64DOpcodeLoadStoreRegisterPair), OPCODE_GROUP_ENTRY(0x11, A64DOpcodeAddSubtractImmediate), OPCODE_GROUP_ENTRY(0x12, A64DOpcodeMoveWide), OPCODE_GROUP_ENTRY(0x12, A64DOpcodeLogicalImmediate), @@ -1363,9 +1365,9 @@ appendInstructionName(thisOpName); unsigned offsetShift; if (vBit()) { - appendFPRegisterName(rt(), size()); + appendFPRegisterName(rt(), size() + 2); appendSeparator(); - appendFPRegisterName(rt2(), size()); + appendFPRegisterName(rt2(), size() + 2); offsetShift = size() + 2; } else { if (!lBit()) diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h wpewebkit-2.32.4/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h --- wpewebkit-2.32.3/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/disassembler/ARM64/A64DOpcode.h 2021-08-09 20:14:33.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2019 Apple Inc. All rights reserved. + * Copyright (C) 2012-2021 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -787,7 +787,7 @@ class A64DOpcodeLoadStoreRegisterPair : public A64DOpcodeLoadStore { public: - static constexpr uint32_t mask = 0x3a000000; + static constexpr uint32_t mask = 0x38000000; static constexpr uint32_t pattern = 0x28000000; DEFINE_STATIC_FORMAT(A64DOpcodeLoadStoreRegisterPair, thisObj); diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp wpewebkit-2.32.4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2021-09-16 07:49:53.000000000 +0000 @@ -198,9 +198,9 @@ m_consoleAgent->addMessageToConsole(makeUnique(MessageSource::JS, MessageType::Log, MessageLevel::Error, errorMessage, WTFMove(callStack))); } -ConsoleClient* JSGlobalObjectInspectorController::consoleClient() const +WeakPtr JSGlobalObjectInspectorController::consoleClient() const { - return m_consoleClient.get(); + return makeWeakPtr(m_consoleClient.get()); } bool JSGlobalObjectInspectorController::developerExtrasEnabled() const diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h wpewebkit-2.32.4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h --- wpewebkit-2.32.3/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.h 2021-09-16 07:49:45.000000000 +0000 @@ -81,7 +81,7 @@ void reportAPIException(JSC::JSGlobalObject*, JSC::Exception*); - JSC::ConsoleClient* consoleClient() const; + WeakPtr consoleClient() const; bool developerExtrasEnabled() const final; bool canAccessInspectedScriptState(JSC::JSGlobalObject*) const final { return true; } diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/llint/LLIntSlowPaths.h wpewebkit-2.32.4/Source/JavaScriptCore/llint/LLIntSlowPaths.h --- wpewebkit-2.32.3/Source/JavaScriptCore/llint/LLIntSlowPaths.h 2021-05-17 13:22:35.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/llint/LLIntSlowPaths.h 2021-08-09 20:41:13.000000000 +0000 @@ -36,15 +36,15 @@ namespace LLInt { -extern "C" SlowPathReturnType llint_trace_operand(CallFrame*, const Instruction*, int fromWhere, int operand); -extern "C" SlowPathReturnType llint_trace_value(CallFrame*, const Instruction*, int fromWhere, VirtualRegister operand); -extern "C" void llint_write_barrier_slow(CallFrame*, JSCell*) WTF_INTERNAL; +extern "C" SlowPathReturnType llint_trace_operand(CallFrame*, const Instruction*, int fromWhere, int operand) REFERENCED_FROM_ASM; +extern "C" SlowPathReturnType llint_trace_value(CallFrame*, const Instruction*, int fromWhere, VirtualRegister operand) REFERENCED_FROM_ASM; +extern "C" void llint_write_barrier_slow(CallFrame*, JSCell*) REFERENCED_FROM_ASM WTF_INTERNAL; #define LLINT_SLOW_PATH_DECL(name) \ extern "C" SlowPathReturnType llint_##name(CallFrame* callFrame, const Instruction* pc) #define LLINT_SLOW_PATH_HIDDEN_DECL(name) \ - LLINT_SLOW_PATH_DECL(name) WTF_INTERNAL + LLINT_SLOW_PATH_DECL(name) REFERENCED_FROM_ASM WTF_INTERNAL LLINT_SLOW_PATH_HIDDEN_DECL(trace_prologue); LLINT_SLOW_PATH_HIDDEN_DECL(trace_prologue_function_for_call); @@ -144,13 +144,13 @@ LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_super_sampler_begin); LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_super_sampler_end); LLINT_SLOW_PATH_HIDDEN_DECL(slow_path_out_of_line_jump_target); -extern "C" SlowPathReturnType llint_throw_stack_overflow_error(VM*, ProtoCallFrame*) WTF_INTERNAL; -extern "C" SlowPathReturnType llint_slow_path_checkpoint_osr_exit(CallFrame* callFrame, EncodedJSValue unused) WTF_INTERNAL; -extern "C" SlowPathReturnType llint_slow_path_checkpoint_osr_exit_from_inlined_call(CallFrame* callFrame, EncodedJSValue callResult) WTF_INTERNAL; +extern "C" SlowPathReturnType llint_throw_stack_overflow_error(VM*, ProtoCallFrame*) REFERENCED_FROM_ASM WTF_INTERNAL; +extern "C" SlowPathReturnType llint_slow_path_checkpoint_osr_exit(CallFrame* callFrame, EncodedJSValue unused) REFERENCED_FROM_ASM WTF_INTERNAL; +extern "C" SlowPathReturnType llint_slow_path_checkpoint_osr_exit_from_inlined_call(CallFrame* callFrame, EncodedJSValue callResult) REFERENCED_FROM_ASM WTF_INTERNAL; #if ENABLE(C_LOOP) -extern "C" SlowPathReturnType llint_stack_check_at_vm_entry(VM*, Register*) WTF_INTERNAL; +extern "C" SlowPathReturnType llint_stack_check_at_vm_entry(VM*, Register*) REFERENCED_FROM_ASM WTF_INTERNAL; #endif -extern "C" SlowPathReturnType llint_check_vm_entry_permission(VM*, ProtoCallFrame*) WTF_INTERNAL; -extern "C" NO_RETURN_DUE_TO_CRASH void llint_crash() WTF_INTERNAL; +extern "C" SlowPathReturnType llint_check_vm_entry_permission(VM*, ProtoCallFrame*) REFERENCED_FROM_ASM WTF_INTERNAL; +extern "C" NO_RETURN_DUE_TO_CRASH void llint_crash() REFERENCED_FROM_ASM WTF_INTERNAL; } } // namespace JSC::LLInt diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/runtime/ConsoleClient.h wpewebkit-2.32.4/Source/JavaScriptCore/runtime/ConsoleClient.h --- wpewebkit-2.32.3/Source/JavaScriptCore/runtime/ConsoleClient.h 2021-05-17 13:22:36.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/runtime/ConsoleClient.h 2021-09-16 07:49:45.000000000 +0000 @@ -27,6 +27,7 @@ #include "ConsoleTypes.h" #include +#include namespace Inspector { class ScriptArguments; @@ -37,7 +38,7 @@ class CallFrame; class JSGlobalObject; -class ConsoleClient { +class ConsoleClient : public CanMakeWeakPtr { public: virtual ~ConsoleClient() { } diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/runtime/ConsoleObject.cpp wpewebkit-2.32.4/Source/JavaScriptCore/runtime/ConsoleObject.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/runtime/ConsoleObject.cpp 2021-05-17 13:22:36.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/runtime/ConsoleObject.cpp 2021-09-16 07:49:45.000000000 +0000 @@ -129,7 +129,7 @@ static EncodedJSValue consoleLogWithLevel(JSGlobalObject* globalObject, CallFrame* callFrame, MessageLevel level) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -164,7 +164,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncClear, (JSGlobalObject* globalObject, CallFrame*)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -174,7 +174,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncDir, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -184,7 +184,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncDirXML, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -194,7 +194,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTable, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -204,7 +204,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTrace, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -216,7 +216,7 @@ { VM& vm = globalObject->vm(); auto scope = DECLARE_THROW_SCOPE(vm); - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -233,7 +233,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncCount, (JSGlobalObject* globalObject, CallFrame* callFrame)) { auto scope = DECLARE_THROW_SCOPE(globalObject->vm()); - auto* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -247,7 +247,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncCountReset, (JSGlobalObject* globalObject, CallFrame* callFrame)) { auto scope = DECLARE_THROW_SCOPE(globalObject->vm()); - auto* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -262,7 +262,7 @@ { VM& vm = globalObject->vm(); auto scope = DECLARE_THROW_SCOPE(vm); - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -283,7 +283,7 @@ { VM& vm = globalObject->vm(); auto scope = DECLARE_THROW_SCOPE(vm); - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -304,7 +304,7 @@ { VM& vm = globalObject->vm(); auto scope = DECLARE_THROW_SCOPE(vm); - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -324,7 +324,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTime, (JSGlobalObject* globalObject, CallFrame* callFrame)) { auto scope = DECLARE_THROW_SCOPE(globalObject->vm()); - auto* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -338,7 +338,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTimeLog, (JSGlobalObject* globalObject, CallFrame* callFrame)) { auto scope = DECLARE_THROW_SCOPE(globalObject->vm()); - auto* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -352,7 +352,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTimeEnd, (JSGlobalObject* globalObject, CallFrame* callFrame)) { auto scope = DECLARE_THROW_SCOPE(globalObject->vm()); - auto* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -365,7 +365,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncTimeStamp, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -375,7 +375,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncGroup, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -385,7 +385,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncGroupCollapsed, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -395,7 +395,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncGroupEnd, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -405,7 +405,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncRecord, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -415,7 +415,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncRecordEnd, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); @@ -425,7 +425,7 @@ JSC_DEFINE_HOST_FUNCTION(consoleProtoFuncScreenshot, (JSGlobalObject* globalObject, CallFrame* callFrame)) { - ConsoleClient* client = globalObject->consoleClient(); + auto client = globalObject->consoleClient(); if (!client) return JSValue::encode(jsUndefined()); diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/runtime/JSGlobalObject.cpp wpewebkit-2.32.4/Source/JavaScriptCore/runtime/JSGlobalObject.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/runtime/JSGlobalObject.cpp 2021-05-17 13:22:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/runtime/JSGlobalObject.cpp 2021-09-16 07:49:53.000000000 +0000 @@ -54,6 +54,7 @@ #include "ClonedArguments.h" #include "CodeBlock.h" #include "CodeBlockSetInlines.h" +#include "ConsoleClient.h" #include "ConsoleObject.h" #include "DateConstructor.h" #include "DatePrototype.h" @@ -2329,6 +2330,11 @@ dataLogLn("Uncaught Exception at run loop: ", exception->value()); } +void JSGlobalObject::setConsoleClient(WeakPtr&& consoleClient) +{ + m_consoleClient = WTFMove(consoleClient); +} + void JSGlobalObject::setDebugger(Debugger* debugger) { m_debugger = debugger; diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/runtime/JSGlobalObject.h wpewebkit-2.32.4/Source/JavaScriptCore/runtime/JSGlobalObject.h --- wpewebkit-2.32.3/Source/JavaScriptCore/runtime/JSGlobalObject.h 2021-05-17 13:22:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/runtime/JSGlobalObject.h 2021-09-16 07:49:53.000000000 +0000 @@ -49,6 +49,7 @@ #include #include #include +#include struct OpaqueJSClass; struct OpaqueJSClassContextData; @@ -560,7 +561,7 @@ String m_evalDisabledErrorMessage; String m_webAssemblyDisabledErrorMessage; RuntimeFlags m_runtimeFlags; - ConsoleClient* m_consoleClient { nullptr }; + WeakPtr m_consoleClient; Optional m_stackTraceLimit; WeakGCMap m_customGetterFunctionMap; WeakGCMap m_customSetterFunctionMap; @@ -880,8 +881,8 @@ static ptrdiff_t globalLexicalBindingEpochOffset() { return OBJECT_OFFSETOF(JSGlobalObject, m_globalLexicalBindingEpoch); } unsigned* addressOfGlobalLexicalBindingEpoch() { return &m_globalLexicalBindingEpoch; } - void setConsoleClient(ConsoleClient* consoleClient) { m_consoleClient = consoleClient; } - ConsoleClient* consoleClient() const { return m_consoleClient; } + JS_EXPORT_PRIVATE void setConsoleClient(WeakPtr&&); + WeakPtr consoleClient() const { return m_consoleClient; } void setName(const String&); const String& name() const { return m_name; } diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/wasm/WasmMemory.cpp wpewebkit-2.32.4/Source/JavaScriptCore/wasm/WasmMemory.cpp --- wpewebkit-2.32.3/Source/JavaScriptCore/wasm/WasmMemory.cpp 2021-05-17 13:22:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/wasm/WasmMemory.cpp 2021-09-16 10:37:16.000000000 +0000 @@ -416,11 +416,11 @@ if (UNLIKELY(Options::crashIfWebAssemblyCantFastMemory())) webAssemblyCouldntGetFastMemory(); - if (!initialBytes) - return adoptRef(new Memory(initial, maximum, sharingMode, WTFMove(notifyMemoryPressure), WTFMove(syncTryToReclaimMemory), WTFMove(growSuccessCallback))); - switch (sharingMode) { case MemorySharingMode::Default: { + if (!initialBytes) + return adoptRef(new Memory(initial, maximum, sharingMode, WTFMove(notifyMemoryPressure), WTFMove(syncTryToReclaimMemory), WTFMove(growSuccessCallback))); + void* slowMemory = Gigacage::tryAllocateZeroedVirtualPages(Gigacage::Primitive, initialBytes); if (!slowMemory) { memoryManager().freePhysicalBytes(initialBytes); diff -Nru wpewebkit-2.32.3/Source/JavaScriptCore/wasm/WasmSlowPaths.h wpewebkit-2.32.4/Source/JavaScriptCore/wasm/WasmSlowPaths.h --- wpewebkit-2.32.3/Source/JavaScriptCore/wasm/WasmSlowPaths.h 2021-05-17 13:22:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/JavaScriptCore/wasm/WasmSlowPaths.h 2021-08-09 20:41:13.000000000 +0000 @@ -47,7 +47,7 @@ extern "C" SlowPathReturnType slow_path_wasm_##name(CallFrame* callFrame, const Instruction* pc, Wasm::Instance* instance) #define WASM_SLOW_PATH_HIDDEN_DECL(name) \ - WASM_SLOW_PATH_DECL(name) WTF_INTERNAL + WASM_SLOW_PATH_DECL(name) REFERENCED_FROM_ASM WTF_INTERNAL #if ENABLE(WEBASSEMBLY_B3JIT) WASM_SLOW_PATH_HIDDEN_DECL(prologue_osr); @@ -82,9 +82,9 @@ WASM_SLOW_PATH_HIDDEN_DECL(memory_atomic_wait64); WASM_SLOW_PATH_HIDDEN_DECL(memory_atomic_notify); -extern "C" SlowPathReturnType slow_path_wasm_throw_exception(CallFrame*, const Instruction*, Wasm::Instance* instance, Wasm::ExceptionType) WTF_INTERNAL; -extern "C" SlowPathReturnType slow_path_wasm_popcount(const Instruction* pc, uint32_t) WTF_INTERNAL; -extern "C" SlowPathReturnType slow_path_wasm_popcountll(const Instruction* pc, uint64_t) WTF_INTERNAL; +extern "C" SlowPathReturnType slow_path_wasm_throw_exception(CallFrame*, const Instruction*, Wasm::Instance* instance, Wasm::ExceptionType) REFERENCED_FROM_ASM WTF_INTERNAL; +extern "C" SlowPathReturnType slow_path_wasm_popcount(const Instruction* pc, uint32_t) REFERENCED_FROM_ASM WTF_INTERNAL; +extern "C" SlowPathReturnType slow_path_wasm_popcountll(const Instruction* pc, uint64_t) REFERENCED_FROM_ASM WTF_INTERNAL; } } // namespace JSC::LLInt diff -Nru wpewebkit-2.32.3/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ShaderVk.cpp wpewebkit-2.32.4/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ShaderVk.cpp --- wpewebkit-2.32.3/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ShaderVk.cpp 2021-05-17 13:22:38.000000000 +0000 +++ wpewebkit-2.32.4/Source/ThirdParty/ANGLE/src/libANGLE/renderer/vulkan/ShaderVk.cpp 2021-09-16 10:23:34.000000000 +0000 @@ -37,6 +37,10 @@ // Extra initialization in spirv shader may affect performance. compileOptions |= SH_INITIALIZE_UNINITIALIZED_LOCALS; + // WebGL shaders may contain OOB array accesses which in turn cause undefined behavior, + // which may result in security issues. See https://crbug.com/1189110. + compileOptions |= SH_CLAMP_INDIRECT_ARRAY_BOUNDS; + if (mState.getShaderType() != gl::ShaderType::Compute) { compileOptions |= SH_INIT_OUTPUT_VARIABLES; diff -Nru wpewebkit-2.32.3/Source/WTF/wtf/CrossThreadTask.h wpewebkit-2.32.4/Source/WTF/wtf/CrossThreadTask.h --- wpewebkit-2.32.3/Source/WTF/wtf/CrossThreadTask.h 2021-05-17 13:22:40.000000000 +0000 +++ wpewebkit-2.32.4/Source/WTF/wtf/CrossThreadTask.h 2021-09-16 07:34:59.000000000 +0000 @@ -85,7 +85,7 @@ callMemberFunctionForCrossThreadTaskImpl(object, function, std::forward(args), ArgsIndicies()); } -template, T>::value, int>::type = 0, typename... Parameters, typename... Arguments> +template::value, int>::type = 0, typename... Parameters, typename... Arguments> CrossThreadTask createCrossThreadTask(T& callee, void (T::*method)(Parameters...), const Arguments&... arguments) { return CrossThreadTask([callee = makeRefPtr(&callee), method, arguments = std::make_tuple(crossThreadCopy(arguments)...)]() mutable { @@ -93,7 +93,7 @@ }); } -template, T>::value, int>::type = 0, typename... Parameters, typename... Arguments> +template::value, int>::type = 0, typename... Parameters, typename... Arguments> CrossThreadTask createCrossThreadTask(T& callee, void (T::*method)(Parameters...), const Arguments&... arguments) { return CrossThreadTask([callee = &callee, method, arguments = std::make_tuple(crossThreadCopy(arguments)...)]() mutable { diff -Nru wpewebkit-2.32.3/Source/WTF/wtf/ObjectIdentifier.h wpewebkit-2.32.4/Source/WTF/wtf/ObjectIdentifier.h --- wpewebkit-2.32.3/Source/WTF/wtf/ObjectIdentifier.h 2021-05-17 13:22:40.000000000 +0000 +++ wpewebkit-2.32.4/Source/WTF/wtf/ObjectIdentifier.h 2021-09-16 09:43:05.000000000 +0000 @@ -63,6 +63,7 @@ ObjectIdentifier(HashTableDeletedValueType) : m_identifier(hashTableDeletedValue()) { } bool isHashTableDeletedValue() const { return m_identifier == hashTableDeletedValue(); } + bool isValid() const { return isValidIdentifier(m_identifier); } template void encode(Encoder& encoder) const { diff -Nru wpewebkit-2.32.3/Source/WTF/wtf/Ref.h wpewebkit-2.32.4/Source/WTF/wtf/Ref.h --- wpewebkit-2.32.3/Source/WTF/wtf/Ref.h 2021-05-17 13:22:40.000000000 +0000 +++ wpewebkit-2.32.4/Source/WTF/wtf/Ref.h 2021-09-16 10:09:49.000000000 +0000 @@ -57,8 +57,8 @@ if (__asan_address_is_poisoned(this)) __asan_unpoison_memory_region(this, sizeof(*this)); #endif - if (m_ptr) - PtrTraits::unwrap(m_ptr)->deref(); + if (auto* ptr = PtrTraits::exchange(m_ptr, nullptr)) + ptr->deref(); } Ref(T& object) diff -Nru wpewebkit-2.32.3/Source/WTF/wtf/URLHelpers.cpp wpewebkit-2.32.4/Source/WTF/wtf/URLHelpers.cpp --- wpewebkit-2.32.3/Source/WTF/wtf/URLHelpers.cpp 2021-05-17 13:22:40.000000000 +0000 +++ wpewebkit-2.32.4/Source/WTF/wtf/URLHelpers.cpp 2021-09-16 10:12:57.000000000 +0000 @@ -67,12 +67,37 @@ #endif // !PLATFORM(COCOA) -static bool isArmenianLookalikeCharacter(UChar32 codePoint) +template bool isLookalikeCharacterOfScriptType(UChar32); + +template<> bool isLookalikeCharacterOfScriptType(UChar32 codePoint) { - return codePoint == 0x0548 || codePoint == 0x054D || codePoint == 0x0578 || codePoint == 0x057D; + switch (codePoint) { + case 0x0548: /* ARMENIAN CAPITAL LETTER VO */ + case 0x054D: /* ARMENIAN CAPITAL LETTER SEH */ + case 0x0551: /* ARMENIAN CAPITAL LETTER CO */ + case 0x0555: /* ARMENIAN CAPITAL LETTER OH */ + case 0x0578: /* ARMENIAN SMALL LETTER VO */ + case 0x057D: /* ARMENIAN SMALL LETTER SEH */ + case 0x0581: /* ARMENIAN SMALL LETTER CO */ + case 0x0585: /* ARMENIAN SMALL LETTER OH */ + return true; + default: + return false; + } } -static bool isArmenianScriptCharacter(UChar32 codePoint) +template<> bool isLookalikeCharacterOfScriptType(UChar32 codePoint) +{ + switch (codePoint) { + case 0x0BE6: /* TAMIL DIGIT ZERO */ + return true; + default: + return false; + } +} + +template +bool isOfScriptType(UChar32 codePoint) { UErrorCode error = U_ZERO_ERROR; UScriptCode script = uscript_getScript(codePoint, &error); @@ -80,8 +105,7 @@ LOG_ERROR("got ICU error while trying to look at scripts: %d", error); return false; } - - return script == USCRIPT_ARMENIAN; + return script == ScriptType; } template inline bool isASCIIDigitOrValidHostCharacter(CharacterType charCode) @@ -106,7 +130,20 @@ } } -static bool isLookalikeCharacter(const Optional& previousCodePoint, UChar32 charCode) +template +bool isLookalikeSequence(const Optional& previousCodePoint, UChar32 codePoint) +{ + if (!previousCodePoint || *previousCodePoint == '/') + return false; + + auto isLookalikePair = [] (UChar first, UChar second) { + return isLookalikeCharacterOfScriptType(first) && !(isOfScriptType(second) || isASCIIDigitOrValidHostCharacter(second)); + }; + return isLookalikePair(codePoint, *previousCodePoint) + || isLookalikePair(*previousCodePoint, codePoint); +} + +static bool isLookalikeCharacter(const Optional& previousCodePoint, UChar32 codePoint) { // This function treats the following as unsafe, lookalike characters: // any non-printable character, any character considered as whitespace, @@ -119,10 +156,10 @@ // slashes into an ASCII solidus. But one of the two callers uses this // on characters that have not been processed by ICU, so they are needed here. - if (!u_isprint(charCode) || u_isUWhiteSpace(charCode) || u_hasBinaryProperty(charCode, UCHAR_DEFAULT_IGNORABLE_CODE_POINT)) + if (!u_isprint(codePoint) || u_isUWhiteSpace(codePoint) || u_hasBinaryProperty(codePoint, UCHAR_DEFAULT_IGNORABLE_CODE_POINT)) return true; - switch (charCode) { + switch (codePoint) { case 0x00BC: /* VULGAR FRACTION ONE QUARTER */ case 0x00BD: /* VULGAR FRACTION ONE HALF */ case 0x00BE: /* VULGAR FRACTION THREE QUARTERS */ @@ -250,19 +287,11 @@ return previousCodePoint == 0x0237 /* LATIN SMALL LETTER DOTLESS J */ || previousCodePoint == 0x0131 /* LATIN SMALL LETTER DOTLESS I */ || previousCodePoint == 0x05D5; /* HEBREW LETTER VAV */ - case 0x0548: /* ARMENIAN CAPITAL LETTER VO */ - case 0x054D: /* ARMENIAN CAPITAL LETTER SEH */ - case 0x0578: /* ARMENIAN SMALL LETTER VO */ - case 0x057D: /* ARMENIAN SMALL LETTER SEH */ - return previousCodePoint - && !isASCIIDigitOrValidHostCharacter(previousCodePoint.value()) - && !isArmenianScriptCharacter(previousCodePoint.value()); case '.': return false; default: - return previousCodePoint - && isArmenianLookalikeCharacter(previousCodePoint.value()) - && !(isArmenianScriptCharacter(charCode) || isASCIIDigitOrValidHostCharacter(charCode)); + return isLookalikeSequence(previousCodePoint, codePoint) + || isLookalikeSequence(previousCodePoint, codePoint); } } diff -Nru wpewebkit-2.32.3/Source/WTF/wtf/dtoa.h wpewebkit-2.32.4/Source/WTF/wtf/dtoa.h --- wpewebkit-2.32.3/Source/WTF/wtf/dtoa.h 2021-05-17 13:22:40.000000000 +0000 +++ wpewebkit-2.32.4/Source/WTF/wtf/dtoa.h 2021-09-16 10:11:21.000000000 +0000 @@ -27,7 +27,9 @@ namespace WTF { -using NumberToStringBuffer = std::array; +// Only toFixed() can use all the 124 positions. The format is: +// <-> + <21 digits> + decimal point + <100 digits> + null char = 124. +using NumberToStringBuffer = std::array; WTF_EXPORT_PRIVATE const char* numberToString(float, NumberToStringBuffer&); WTF_EXPORT_PRIVATE const char* numberToFixedPrecisionString(float, unsigned significantFigures, NumberToStringBuffer&, bool truncateTrailingZeros = false); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodyOwner.h wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodyOwner.h --- wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodyOwner.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodyOwner.h 2021-09-16 11:15:47.000000000 +0000 @@ -40,7 +40,7 @@ namespace WebCore { -class FetchBodyOwner : public RefCounted, public ActiveDOMObject { +class FetchBodyOwner : public RefCounted, public ActiveDOMObject, public CanMakeWeakPtr { public: FetchBodyOwner(ScriptExecutionContext&, Optional&&, Ref&&); ~FetchBodyOwner(); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodySource.cpp wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodySource.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodySource.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodySource.cpp 2021-09-16 11:15:46.000000000 +0000 @@ -32,7 +32,7 @@ namespace WebCore { FetchBodySource::FetchBodySource(FetchBodyOwner& bodyOwner) - : m_bodyOwner(&bodyOwner) + : m_bodyOwner(makeWeakPtr(bodyOwner)) { } @@ -68,7 +68,6 @@ void FetchBodySource::doCancel() { m_isCancelling = true; - ASSERT(m_bodyOwner || m_isClosed); if (!m_bodyOwner) return; @@ -79,6 +78,7 @@ void FetchBodySource::close() { #if ASSERT_ENABLED + ASSERT(!m_isClosed); m_isClosed = true; #endif diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodySource.h wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodySource.h --- wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchBodySource.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchBodySource.h 2021-09-16 11:15:46.000000000 +0000 @@ -57,7 +57,8 @@ void setActive() final; void setInactive() final; - FetchBodyOwner* m_bodyOwner; + WeakPtr m_bodyOwner; + bool m_isCancelling { false }; #if ASSERT_ENABLED bool m_isClosed { false }; diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchResponse.h wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchResponse.h --- wpewebkit-2.32.3/Source/WebCore/Modules/fetch/FetchResponse.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/fetch/FetchResponse.h 2021-09-16 11:15:47.000000000 +0000 @@ -47,7 +47,7 @@ struct ReadableStreamChunk; class ReadableStreamSource; -class FetchResponse final : public FetchBodyOwner, public CanMakeWeakPtr { +class FetchResponse final : public FetchBodyOwner { public: using Type = ResourceResponse::Type; diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/IDBRequest.cpp wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/IDBRequest.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/IDBRequest.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/IDBRequest.cpp 2021-09-16 07:34:59.000000000 +0000 @@ -311,7 +311,8 @@ else if (m_transaction && !m_transaction->didDispatchAbortOrCommit()) targets = { this, m_transaction.get(), &m_transaction->database() }; - m_hasPendingActivity = false; + if (event.isTrusted()) + m_hasPendingActivity = false; { TransactionActivator activator(m_transaction.get()); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp 2021-09-16 11:11:29.000000000 +0000 @@ -584,8 +584,8 @@ void MemoryIDBBackingStore::registerObjectStore(Ref&& objectStore) { - ASSERT(!m_objectStoresByIdentifier.contains(objectStore->info().identifier())); - ASSERT(!m_objectStoresByName.contains(objectStore->info().name())); + RELEASE_ASSERT(!m_objectStoresByIdentifier.contains(objectStore->info().identifier())); + RELEASE_ASSERT(!m_objectStoresByName.contains(objectStore->info().name())); auto identifier = objectStore->info().identifier(); m_objectStoresByName.set(objectStore->info().name(), &objectStore.get()); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h 2021-09-16 11:11:29.000000000 +0000 @@ -102,7 +102,7 @@ HashMap> m_transactions; HashMap> m_objectStoresByIdentifier; - HashMap m_objectStoresByName; + HashMap> m_objectStoresByName; }; } // namespace IDBServer diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.h wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.h --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.h 2021-09-16 11:13:06.000000000 +0000 @@ -46,7 +46,7 @@ class UniqueIDBDatabase; class UniqueIDBDatabaseTransaction; -class UniqueIDBDatabaseConnection : public RefCounted, public Identified { +class UniqueIDBDatabaseConnection : public RefCounted, public Identified, public CanMakeWeakPtr { public: static Ref create(UniqueIDBDatabase&, ServerOpenDBRequest&); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.cpp 2021-09-16 11:13:06.000000000 +0000 @@ -43,21 +43,27 @@ } UniqueIDBDatabaseTransaction::UniqueIDBDatabaseTransaction(UniqueIDBDatabaseConnection& connection, const IDBTransactionInfo& info) - : m_databaseConnection(&connection) + : m_databaseConnection(makeWeakPtr(&connection)) , m_transactionInfo(info) { - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); if (m_transactionInfo.mode() == IDBTransactionMode::Versionchange) m_originalDatabaseInfo = makeUnique(database->info()); - m_databaseConnection->server()->registerTransaction(*this); + databaseConnection().server()->registerTransaction(*this); } UniqueIDBDatabaseTransaction::~UniqueIDBDatabaseTransaction() { - m_databaseConnection->server()->unregisterTransaction(*this); + databaseConnection().server()->unregisterTransaction(*this); +} + +UniqueIDBDatabaseConnection& UniqueIDBDatabaseTransaction::databaseConnection() +{ + RELEASE_ASSERT(m_databaseConnection); + return *m_databaseConnection; } IDBDatabaseInfo* UniqueIDBDatabaseTransaction::originalDatabaseInfo() const @@ -70,13 +76,13 @@ { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::abort"); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->abortTransaction(*this, [this](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::abort (callback)"); - m_databaseConnection->didAbortTransaction(*this, error); + databaseConnection().didAbortTransaction(*this, error); }); } @@ -84,7 +90,7 @@ { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::abortWithoutCallback"); - m_databaseConnection->abortTransactionWithoutCallback(*this); + databaseConnection().abortTransactionWithoutCallback(*this); } bool UniqueIDBDatabaseTransaction::isVersionChange() const @@ -101,12 +107,12 @@ { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::commit"); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); database->commitTransaction(*this, [this](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::commit (callback)"); - m_databaseConnection->didCommitTransaction(*this, error); + databaseConnection().didCommitTransaction(*this, error); }); } @@ -117,16 +123,16 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->createObjectStore(*this, info, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::createObjectStore (callback)"); if (error.isNull()) - m_databaseConnection->didCreateObjectStore(IDBResultData::createObjectStoreSuccess(requestData.requestIdentifier())); + databaseConnection().didCreateObjectStore(IDBResultData::createObjectStoreSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didCreateObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didCreateObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -136,17 +142,17 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - - auto database = m_databaseConnection->database(); + + auto database = databaseConnection().database(); ASSERT(database); database->deleteObjectStore(*this, objectStoreName, [this, requestData](const IDBError& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::deleteObjectStore (callback)"); if (error.isNull()) - m_databaseConnection->didDeleteObjectStore(IDBResultData::deleteObjectStoreSuccess(requestData.requestIdentifier())); + databaseConnection().didDeleteObjectStore(IDBResultData::deleteObjectStoreSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didDeleteObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didDeleteObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -157,16 +163,16 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->renameObjectStore(*this, objectStoreIdentifier, newName, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::renameObjectStore (callback)"); if (error.isNull()) - m_databaseConnection->didRenameObjectStore(IDBResultData::renameObjectStoreSuccess(requestData.requestIdentifier())); + databaseConnection().didRenameObjectStore(IDBResultData::renameObjectStoreSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didRenameObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didRenameObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -176,16 +182,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->clearObjectStore(*this, objectStoreIdentifier, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::clearObjectStore (callback)"); if (error.isNull()) - m_databaseConnection->didClearObjectStore(IDBResultData::clearObjectStoreSuccess(requestData.requestIdentifier())); + databaseConnection().didClearObjectStore(IDBResultData::clearObjectStoreSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didClearObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didClearObjectStore(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -196,16 +202,16 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->createIndex(*this, info, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::createIndex (callback)"); if (error.isNull()) - m_databaseConnection->didCreateIndex(IDBResultData::createIndexSuccess(requestData.requestIdentifier())); + databaseConnection().didCreateIndex(IDBResultData::createIndexSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didCreateIndex(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didCreateIndex(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -216,16 +222,16 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->deleteIndex(*this, objectStoreIdentifier, indexName, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::createIndex (callback)"); if (error.isNull()) - m_databaseConnection->didDeleteIndex(IDBResultData::deleteIndexSuccess(requestData.requestIdentifier())); + databaseConnection().didDeleteIndex(IDBResultData::deleteIndexSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didDeleteIndex(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didDeleteIndex(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -235,17 +241,17 @@ ASSERT(isVersionChange()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - - auto database = m_databaseConnection->database(); + + auto database = databaseConnection().database(); ASSERT(database); database->renameIndex(*this, objectStoreIdentifier, indexIdentifier, newName, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::renameIndex (callback)"); if (error.isNull()) - m_databaseConnection->didRenameIndex(IDBResultData::renameIndexSuccess(requestData.requestIdentifier())); + databaseConnection().didRenameIndex(IDBResultData::renameIndexSuccess(requestData.requestIdentifier())); else - m_databaseConnection->didRenameIndex(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().didRenameIndex(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -257,16 +263,16 @@ ASSERT(!isReadOnly()); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->putOrAdd(requestData, keyData, value, overwriteMode, [this, requestData](auto& error, const IDBKeyData& key) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::putOrAdd (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didPutOrAdd(IDBResultData::putOrAddSuccess(requestData.requestIdentifier(), key)); + databaseConnection().connectionToClient().didPutOrAdd(IDBResultData::putOrAddSuccess(requestData.requestIdentifier(), key)); else - m_databaseConnection->connectionToClient().didPutOrAdd(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didPutOrAdd(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -276,16 +282,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->getRecord(requestData, getRecordData, [this, requestData](auto& error, const IDBGetResult& result) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::getRecord (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didGetRecord(IDBResultData::getRecordSuccess(requestData.requestIdentifier(), result)); + databaseConnection().connectionToClient().didGetRecord(IDBResultData::getRecordSuccess(requestData.requestIdentifier(), result)); else - m_databaseConnection->connectionToClient().didGetRecord(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didGetRecord(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -295,16 +301,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->getAllRecords(requestData, getAllRecordsData, [this, requestData](auto& error, const IDBGetAllResult& result) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::getAllRecords (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didGetAllRecords(IDBResultData::getAllRecordsSuccess(requestData.requestIdentifier(), result)); + databaseConnection().connectionToClient().didGetAllRecords(IDBResultData::getAllRecordsSuccess(requestData.requestIdentifier(), result)); else - m_databaseConnection->connectionToClient().didGetAllRecords(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didGetAllRecords(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -314,16 +320,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->getCount(requestData, keyRangeData, [this, requestData](auto& error, uint64_t count) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::getCount (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didGetCount(IDBResultData::getCountSuccess(requestData.requestIdentifier(), count)); + databaseConnection().connectionToClient().didGetCount(IDBResultData::getCountSuccess(requestData.requestIdentifier(), count)); else - m_databaseConnection->connectionToClient().didGetCount(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didGetCount(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -333,16 +339,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->deleteRecord(requestData, keyRangeData, [this, requestData](auto& error) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::deleteRecord (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didDeleteRecord(IDBResultData::deleteRecordSuccess(requestData.requestIdentifier())); + databaseConnection().connectionToClient().didDeleteRecord(IDBResultData::deleteRecordSuccess(requestData.requestIdentifier())); else - m_databaseConnection->connectionToClient().didDeleteRecord(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didDeleteRecord(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -352,16 +358,16 @@ ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - auto database = m_databaseConnection->database(); + auto database = databaseConnection().database(); ASSERT(database); database->openCursor(requestData, info, [this, requestData](auto& error, const IDBGetResult& result) { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::openCursor (callback)"); if (error.isNull()) - m_databaseConnection->connectionToClient().didOpenCursor(IDBResultData::openCursorSuccess(requestData.requestIdentifier(), result)); + databaseConnection().connectionToClient().didOpenCursor(IDBResultData::openCursorSuccess(requestData.requestIdentifier(), result)); else - m_databaseConnection->connectionToClient().didOpenCursor(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didOpenCursor(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -370,8 +376,8 @@ LOG(IndexedDB, "UniqueIDBDatabaseTransaction::iterateCursor"); ASSERT(m_transactionInfo.identifier() == requestData.transactionIdentifier()); - - auto database = m_databaseConnection->database(); + + auto database = databaseConnection().database(); ASSERT(database); database->iterateCursor(requestData, data, [this, requestData, option = data.option](auto& error, const IDBGetResult& result) { @@ -381,9 +387,9 @@ return; if (error.isNull()) - m_databaseConnection->connectionToClient().didIterateCursor(IDBResultData::iterateCursorSuccess(requestData.requestIdentifier(), result)); + databaseConnection().connectionToClient().didIterateCursor(IDBResultData::iterateCursorSuccess(requestData.requestIdentifier(), result)); else - m_databaseConnection->connectionToClient().didIterateCursor(IDBResultData::error(requestData.requestIdentifier(), error)); + databaseConnection().connectionToClient().didIterateCursor(IDBResultData::error(requestData.requestIdentifier(), error)); }); } @@ -392,7 +398,7 @@ if (!m_objectStoreIdentifiers.isEmpty()) return m_objectStoreIdentifiers; - auto& info = m_databaseConnection->database()->info(); + auto& info = databaseConnection().database()->info(); for (const auto& objectStoreName : info.objectStoreNames()) { auto objectStoreInfo = info.infoForExistingObjectStore(objectStoreName); ASSERT(objectStoreInfo); @@ -410,7 +416,7 @@ { LOG(IndexedDB, "UniqueIDBDatabaseTransaction::didActivateInBackingStore"); - m_databaseConnection->connectionToClient().didStartTransaction(m_transactionInfo.identifier(), error); + databaseConnection().connectionToClient().didStartTransaction(m_transactionInfo.identifier(), error); } } // namespace IDBServer diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.h wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.h --- wpewebkit-2.32.3/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseTransaction.h 2021-09-16 11:13:06.000000000 +0000 @@ -58,7 +58,7 @@ ~UniqueIDBDatabaseTransaction(); - UniqueIDBDatabaseConnection& databaseConnection() { return *m_databaseConnection; } + UniqueIDBDatabaseConnection& databaseConnection(); const IDBTransactionInfo& info() const { return m_transactionInfo; } bool isVersionChange() const; bool isReadOnly() const; @@ -94,7 +94,7 @@ private: UniqueIDBDatabaseTransaction(UniqueIDBDatabaseConnection&, const IDBTransactionInfo&); - UniqueIDBDatabaseConnection* m_databaseConnection; + WeakPtr m_databaseConnection; IDBTransactionInfo m_transactionInfo; std::unique_ptr m_originalDatabaseInfo; diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp wpewebkit-2.32.4/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp 2021-08-11 10:12:06.000000000 +0000 @@ -64,7 +64,7 @@ LibWebRTCMediaEndpoint::LibWebRTCMediaEndpoint(LibWebRTCPeerConnectionBackend& peerConnection, LibWebRTCProvider& client) : m_peerConnectionBackend(peerConnection) - , m_peerConnectionFactory(*client.factory()) + , m_peerConnectionFactory(client.factory()) , m_createSessionDescriptionObserver(*this) , m_setLocalSessionDescriptionObserver(*this) , m_setRemoteSessionDescriptionObserver(*this) @@ -236,13 +236,13 @@ switch (track.privateTrack().type()) { case RealtimeMediaSource::Type::Audio: { auto audioSource = RealtimeOutgoingAudioSource::create(track.privateTrack()); - rtcTrack = m_peerConnectionFactory.CreateAudioTrack(track.id().utf8().data(), audioSource.ptr()); + rtcTrack = m_peerConnectionFactory->CreateAudioTrack(track.id().utf8().data(), audioSource.ptr()); source = WTFMove(audioSource); break; } case RealtimeMediaSource::Type::Video: { auto videoSource = RealtimeOutgoingVideoSource::create(track.privateTrack()); - rtcTrack = m_peerConnectionFactory.CreateVideoTrack(track.id().utf8().data(), videoSource.ptr()); + rtcTrack = m_peerConnectionFactory->CreateVideoTrack(track.id().utf8().data(), videoSource.ptr()); source = WTFMove(videoSource); break; } @@ -456,13 +456,13 @@ break; case RealtimeMediaSource::Type::Audio: { auto audioSource = RealtimeOutgoingAudioSource::create(track.privateTrack()); - rtcTrack = m_peerConnectionFactory.CreateAudioTrack(track.id().utf8().data(), audioSource.ptr()); + rtcTrack = m_peerConnectionFactory->CreateAudioTrack(track.id().utf8().data(), audioSource.ptr()); source = WTFMove(audioSource); break; } case RealtimeMediaSource::Type::Video: { auto videoSource = RealtimeOutgoingVideoSource::create(track.privateTrack()); - rtcTrack = m_peerConnectionFactory.CreateVideoTrack(track.id().utf8().data(), videoSource.ptr()); + rtcTrack = m_peerConnectionFactory->CreateVideoTrack(track.id().utf8().data(), videoSource.ptr()); source = WTFMove(videoSource); break; } diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h wpewebkit-2.32.4/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h --- wpewebkit-2.32.3/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h 2021-08-11 10:12:06.000000000 +0000 @@ -180,7 +180,7 @@ #endif LibWebRTCPeerConnectionBackend& m_peerConnectionBackend; - webrtc::PeerConnectionFactoryInterface& m_peerConnectionFactory; + rtc::scoped_refptr m_peerConnectionFactory; rtc::scoped_refptr m_backend; friend CreateSessionDescriptionObserver; diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioNode.cpp wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioNode.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioNode.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioNode.cpp 2021-09-16 10:32:05.000000000 +0000 @@ -312,7 +312,7 @@ if (outputIndex >= numberOfOutputs()) return Exception { IndexSizeError, "output index is out of bounds"_s }; - if (outputIndex >= destinationNode.numberOfInputs()) + if (inputIndex >= destinationNode.numberOfInputs()) return Exception { IndexSizeError, "input index is out of bounds"_s }; auto* output = this->output(outputIndex); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp 2021-06-28 07:26:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp 2021-08-10 08:54:47.000000000 +0000 @@ -82,13 +82,13 @@ auto scope = DECLARE_THROW_SCOPE(vm); if (!jsConstructor->isConstructor(vm)) - return Exception { TypeError, "Class definitition passed to registerProcessor() is not a constructor"_s }; + return Exception { TypeError, "Class definition passed to registerProcessor() is not a constructor"_s }; auto prototype = jsConstructor->getPrototype(vm, globalObject); RETURN_IF_EXCEPTION(scope, Exception { ExistingExceptionError }); if (!prototype.isObject()) - return Exception { TypeError, "Class definitition passed to registerProcessor() has invalid prototype"_s }; + return Exception { TypeError, "Class definition passed to registerProcessor() has invalid prototype"_s }; auto parameterDescriptorsValue = jsConstructor->get(globalObject, JSC::Identifier::fromString(vm, "parameterDescriptors")); RETURN_IF_EXCEPTION(scope, Exception { ExistingExceptionError }); @@ -110,7 +110,11 @@ } } - m_processorConstructorMap.add(name, WTFMove(processorContructor)); + auto addResult = m_processorConstructorMap.add(name, WTFMove(processorContructor)); + + // We've already checked at the beginning of this function but then we ran some JS so we need to check again. + if (!addResult.isNewEntry) + return Exception { NotSupportedError, "A processor was already registered with this name"_s }; thread().messagingProxy().postTaskToAudioWorklet([name = name.isolatedCopy(), parameterDescriptors = crossThreadCopy(parameterDescriptors)](AudioWorklet& worklet) mutable { ASSERT(isMainThread()); diff -Nru wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp --- wpewebkit-2.32.3/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/Modules/webaudio/AudioWorkletProcessor.cpp 2021-08-11 10:23:33.000000000 +0000 @@ -65,15 +65,6 @@ return wrapper ? jsCast(static_cast(wrapper)) : nullptr; } -static void forEachChannelDataJSArray(JSGlobalObject& globalObject, JSArray& jsArray, const Function& apply) -{ - for (unsigned busIndex = 0, busCount = jsArray.length(); busIndex < busCount; ++busIndex) { - auto* channelsArray = jsCast(jsArray.getIndex(&globalObject, busIndex)); - for (unsigned channelIndex = 0, channelCount = channelsArray->length(); channelIndex < channelCount; ++channelIndex) - apply(busIndex, channelIndex, *jsCast(channelsArray->getIndex(&globalObject, channelIndex))); - } -} - static JSFloat32Array* constructJSFloat32Array(JSGlobalObject& globalObject, unsigned length, const float* data = nullptr) { auto* jsArray = JSFloat32Array::create(&globalObject, globalObject.typedArrayStructure(TypeFloat32), length); @@ -143,70 +134,65 @@ } } -static void copyDataFromBusesToJSArray(JSGlobalObject& globalObject, const Vector>& buses, JSArray& jsArray) -{ - forEachChannelDataJSArray(globalObject, jsArray, [&](unsigned busIndex, unsigned channelIndex, JSFloat32Array& channelData) { - auto* channel = buses[busIndex]->channel(channelIndex); - ASSERT(channelData.length() == channel->length()); - memcpy(channelData.typedVector(), channel->mutableData(), sizeof(float) * channel->length()); - }); -} - -static void copyDataFromParameterMapToJSObject(VM& vm, JSGlobalObject& globalObject, const HashMap>& paramValuesMap, JSObject& jsObject) -{ - for (auto& pair : paramValuesMap) { - auto* jsTypedArray = jsCast(jsObject.get(&globalObject, Identifier::fromString(vm, pair.key))); - ASSERT(pair.value->size() >= jsTypedArray->length()); - memcpy(jsTypedArray->typedVector(), pair.value->data(), sizeof(float) * jsTypedArray->length()); - } -} - -template -static bool busTopologyMatchesJSArray(JSGlobalObject& globalObject, const Vector& buses, JSArray* jsArray) +static bool copyDataFromBusesToJSArray(VM& vm, JSGlobalObject& globalObject, const Vector>& buses, JSArray* jsArray) { if (!jsArray) return false; - ASSERT_WITH_MESSAGE(jsArray->length() == buses.size(), "Number of inputs/outputs cannot change after construction"); - - for (unsigned i = 0; i < buses.size(); ++i) { - auto& bus = buses[i]; - auto* channelsArray = jsCast(jsArray->getIndex(&globalObject, i)); + for (size_t busIndex = 0; busIndex < buses.size(); ++busIndex) { + auto& bus = buses[busIndex]; + auto* jsChannelsArray = jsDynamicCast(vm, jsArray->getIndex(&globalObject, busIndex)); unsigned numberOfChannels = busChannelCount(bus.get()); - if (channelsArray->length() != numberOfChannels) + if (!jsChannelsArray || jsChannelsArray->length() != numberOfChannels) return false; - - for (unsigned j = 0; j < numberOfChannels; ++j) { - auto* channel = bus->channel(j); - auto* jsChannelData = jsCast(channelsArray->getIndex(&globalObject, j)); - if (jsChannelData->length() != channel->length()) + for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { + auto* channel = bus->channel(channelIndex); + auto* jsChannelArray = jsDynamicCast(vm, jsChannelsArray->getIndex(&globalObject, channelIndex)); + if (!jsChannelArray || jsChannelArray->length() != channel->length()) return false; + memcpy(jsChannelArray->typedVector(), channel->mutableData(), sizeof(float) * jsChannelArray->length()); } } - return true; } -static bool parameterMapTopologyMatchesJSObject(VM& vm, JSGlobalObject& globalObject, const HashMap>& paramValuesMap, JSObject* jsObject) +static bool copyDataFromParameterMapToJSObject(VM& vm, JSGlobalObject& globalObject, const HashMap>& paramValuesMap, JSObject* jsObject) { if (!jsObject) return false; for (auto& pair : paramValuesMap) { - auto* jsTypedArray = jsCast(jsObject->get(&globalObject, Identifier::fromString(vm, pair.key))); + auto* jsTypedArray = jsDynamicCast(vm, jsObject->get(&globalObject, Identifier::fromString(vm, pair.key))); + if (!jsTypedArray) + return false; unsigned expectedLength = pair.value->containsConstantValue() ? 1 : pair.value->size(); if (jsTypedArray->length() != expectedLength) return false; + memcpy(jsTypedArray->typedVector(), pair.value->data(), sizeof(float) * jsTypedArray->length()); } - return true; } -static void zeroJSArray(JSGlobalObject& globalObject, JSArray& jsArray) +static bool zeroJSArray(VM& vm, JSGlobalObject& globalObject, const Vector>& outputs, JSArray* jsArray) { - forEachChannelDataJSArray(globalObject, jsArray, [](unsigned, unsigned, JSFloat32Array& channelData) { - memset(channelData.typedVector(), 0, sizeof(float) * channelData.length()); - }); + if (!jsArray) + return false; + + for (size_t busIndex = 0; busIndex < outputs.size(); ++busIndex) { + auto& bus = outputs[busIndex]; + auto* jsChannelsArray = jsDynamicCast(vm, jsArray->getIndex(&globalObject, busIndex)); + unsigned numberOfChannels = busChannelCount(bus.get()); + if (!jsChannelsArray || jsChannelsArray->length() != numberOfChannels) + return false; + for (unsigned channelIndex = 0; channelIndex < numberOfChannels; ++channelIndex) { + auto* channel = bus->channel(channelIndex); + auto* jsChannelArray = jsDynamicCast(vm, jsChannelsArray->getIndex(&globalObject, channelIndex)); + if (!jsChannelArray || jsChannelArray->length() != channel->length()) + return false; + memset(jsChannelArray->typedVector(), 0, sizeof(float) * jsChannelArray->length()); + } + } + return true; } ExceptionOr> AudioWorkletProcessor::create(ScriptExecutionContext& context) @@ -230,21 +216,15 @@ void AudioWorkletProcessor::buildJSArguments(VM& vm, JSGlobalObject& globalObject, MarkedArgumentBuffer& args, const Vector>& inputs, Vector>& outputs, const HashMap>& paramValuesMap) { // For performance reasons, we cache the arrays passed to JS and reconstruct them only when the topology changes. - if (busTopologyMatchesJSArray(globalObject, inputs, toJSArray(m_jsInputs))) - copyDataFromBusesToJSArray(globalObject, inputs, *toJSArray(m_jsInputs)); - else + if (!copyDataFromBusesToJSArray(vm, globalObject, inputs, toJSArray(m_jsInputs))) m_jsInputs = { constructFrozenJSArray(vm, globalObject, inputs, ShouldPopulateWithBusData::Yes) }; args.append(m_jsInputs); - if (busTopologyMatchesJSArray(globalObject, outputs, toJSArray(m_jsOutputs))) - zeroJSArray(globalObject, *toJSArray(m_jsOutputs)); - else + if (!zeroJSArray(vm, globalObject, outputs, toJSArray(m_jsOutputs))) m_jsOutputs = { constructFrozenJSArray(vm, globalObject, outputs, ShouldPopulateWithBusData::No) }; args.append(m_jsOutputs); - if (parameterMapTopologyMatchesJSObject(vm, globalObject, paramValuesMap, toJSObject(m_jsParamValues))) - copyDataFromParameterMapToJSObject(vm, globalObject, paramValuesMap, *toJSObject(m_jsParamValues)); - else + if (!copyDataFromParameterMapToJSObject(vm, globalObject, paramValuesMap, toJSObject(m_jsParamValues))) m_jsParamValues = { constructFrozenKeyValueObject(vm, globalObject, paramValuesMap) }; args.append(m_jsParamValues); } diff -Nru wpewebkit-2.32.3/Source/WebCore/animation/WebAnimation.cpp wpewebkit-2.32.4/Source/WebCore/animation/WebAnimation.cpp --- wpewebkit-2.32.3/Source/WebCore/animation/WebAnimation.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/animation/WebAnimation.cpp 2021-08-11 10:47:49.000000000 +0000 @@ -120,7 +120,7 @@ // This object could be deleted after either clearing the effect or timeline relationship. auto protectedThis = makeRef(*this); setEffectInternal(nullptr); - setTimelineInternal(nullptr); + setTimeline(nullptr); } void WebAnimation::suspendEffectInvalidation() diff -Nru wpewebkit-2.32.3/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp wpewebkit-2.32.4/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp --- wpewebkit-2.32.3/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp 2021-08-20 09:17:32.000000000 +0000 @@ -122,9 +122,6 @@ template void JSDOMWindow::visitAdditionalChildren(Visitor& visitor) { - if (Frame* frame = wrapped().frame()) - visitor.addOpaqueRoot(frame); - visitor.addOpaqueRoot(&wrapped()); // Normally JSEventTargetCustom.cpp's JSEventTarget::visitAdditionalChildren() would call this. But diff -Nru wpewebkit-2.32.3/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp wpewebkit-2.32.4/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp --- wpewebkit-2.32.3/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp 2021-09-16 07:49:45.000000000 +0000 @@ -91,7 +91,7 @@ } if (page) - windowProxy->window()->setConsoleClient(&page->console()); + windowProxy->window()->setConsoleClient(makeWeakPtr(page->console())); } } diff -Nru wpewebkit-2.32.3/Source/WebCore/bindings/js/ScriptController.cpp wpewebkit-2.32.4/Source/WebCore/bindings/js/ScriptController.cpp --- wpewebkit-2.32.3/Source/WebCore/bindings/js/ScriptController.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/bindings/js/ScriptController.cpp 2021-09-16 07:49:45.000000000 +0000 @@ -276,7 +276,7 @@ if (Page* page = m_frame.page()) { windowProxy.attachDebugger(page->debugger()); windowProxy.window()->setProfileGroup(page->group().identifier()); - windowProxy.window()->setConsoleClient(&page->console()); + windowProxy.window()->setConsoleClient(makeWeakPtr(page->console())); } m_frame.loader().dispatchDidClearWindowObjectInWorld(world); diff -Nru wpewebkit-2.32.3/Source/WebCore/bindings/js/WindowProxy.cpp wpewebkit-2.32.4/Source/WebCore/bindings/js/WindowProxy.cpp --- wpewebkit-2.32.3/Source/WebCore/bindings/js/WindowProxy.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/bindings/js/WindowProxy.cpp 2021-09-16 07:49:45.000000000 +0000 @@ -188,7 +188,7 @@ windowProxy->attachDebugger(page ? page->debugger() : nullptr); if (page) windowProxy->window()->setProfileGroup(page->group().identifier()); - windowProxy->window()->setConsoleClient(page ? &page->console() : nullptr); + windowProxy->window()->setConsoleClient(page ? makeWeakPtr(page->console()) : nullptr); } } diff -Nru wpewebkit-2.32.3/Source/WebCore/css/CSSCalculationValue.cpp wpewebkit-2.32.4/Source/WebCore/css/CSSCalculationValue.cpp --- wpewebkit-2.32.3/Source/WebCore/css/CSSCalculationValue.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/css/CSSCalculationValue.cpp 2021-09-16 08:33:31.000000000 +0000 @@ -1345,7 +1345,16 @@ return nullptr; nodes.uncheckedAppend(WTFMove(node)); } - return makeUnique(WTFMove(nodes), m_operator); + + // Reverse the operation we did when creating this node, recovering a suitable destination category for otherwise-ambiguous min/max/clamp nodes. + // Note that this category is really only good enough for that purpose and is not accurate for other node types; we could use a boolean instead. + auto destinationCategory = CalculationCategory::Other; + if (category() == CalculationCategory::PercentLength) + destinationCategory = CalculationCategory::Length; + else if (category() == CalculationCategory::PercentNumber) + destinationCategory = CalculationCategory::Number; + + return makeUnique(WTFMove(nodes), m_operator, destinationCategory); } double CSSCalcOperationNode::doubleValue(CSSUnitType unitType) const @@ -2007,7 +2016,7 @@ auto children = createCSS(operationChildren, style); if (children.isEmpty()) return nullptr; - return CSSCalcOperationNode::createMinOrMaxOrClamp(op, WTFMove(children), CalculationCategory::Other); + return CSSCalcOperationNode::createMinOrMaxOrClamp(op, WTFMove(children), operationNode.destinationCategory()); } } return nullptr; diff -Nru wpewebkit-2.32.3/Source/WebCore/css/CSSCalculationValue.h wpewebkit-2.32.4/Source/WebCore/css/CSSCalculationValue.h --- wpewebkit-2.32.3/Source/WebCore/css/CSSCalculationValue.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/css/CSSCalculationValue.h 2021-09-16 08:33:25.000000000 +0000 @@ -44,22 +44,6 @@ class CSSToLengthConversionData; class RenderStyle; -// FIXME: Unify with CSSPrimitiveValue::UnitCategory. -enum class CalculationCategory : uint8_t { - Number = 0, - Length, - Percent, - PercentNumber, - PercentLength, - Angle, - Time, - Frequency, - // TODO: - // Flex, - // Resolution - Other -}; - class CSSCalcExpressionNode : public RefCounted { public: enum Type { diff -Nru wpewebkit-2.32.3/Source/WebCore/css/CSSFontFaceSet.cpp wpewebkit-2.32.4/Source/WebCore/css/CSSFontFaceSet.cpp --- wpewebkit-2.32.3/Source/WebCore/css/CSSFontFaceSet.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/css/CSSFontFaceSet.cpp 2021-09-16 08:28:14.000000000 +0000 @@ -330,9 +330,10 @@ return {{ weightSelectionValue, stretchSelectionValue, styleSelectionValue }}; } -static HashSet codePointsFromString(StringView stringView) +using CodePointsMap = HashSet, WTF::UnsignedWithZeroKeyHashTraits>; +static CodePointsMap codePointsFromString(StringView stringView) { - HashSet result; + CodePointsMap result; auto graphemeClusters = stringView.graphemeClusters(); for (auto cluster : graphemeClusters) { ASSERT(cluster.length() > 0); diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/ComposedTreeIterator.cpp wpewebkit-2.32.4/Source/WebCore/dom/ComposedTreeIterator.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/ComposedTreeIterator.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/ComposedTreeIterator.cpp 2021-09-16 08:15:01.000000000 +0000 @@ -164,6 +164,8 @@ if (auto* assignedNodes = slot.assignedNodes()) { context().slotNodeIndex = 0; auto* assignedNode = assignedNodes->at(0).get(); + ASSERT(assignedNode); + ASSERT(assignedNode->parentElement()); m_contextStack.append(Context(*assignedNode->parentElement(), *assignedNode, Context::Slotted)); return; } @@ -198,8 +200,8 @@ return false; auto* slotNode = assignedNodes.at(context().slotNodeIndex).get(); - if (!slotNode) - return false; + ASSERT(slotNode); + ASSERT(slotNode->parentElement()); m_contextStack.append(Context(*slotNode->parentElement(), *slotNode, Context::Slotted)); return true; } diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/ContainerNode.cpp wpewebkit-2.32.4/Source/WebCore/dom/ContainerNode.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/ContainerNode.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/ContainerNode.cpp 2021-09-16 08:15:01.000000000 +0000 @@ -210,6 +210,7 @@ { NodeVector postInsertionNotificationTargets; { + WidgetHierarchyUpdatesSuspensionScope suspendWidgetHierarchyUpdates; ScriptDisallowedScope::InMainThread scriptDisallowedScope; if (UNLIKELY(containerNode.isShadowRoot() || containerNode.isInShadowTree())) @@ -629,6 +630,9 @@ destroyRenderTreeIfNeeded(oldChild); + if (UNLIKELY(hasShadowRootContainingSlots())) + shadowRoot()->willRemoveAssignedNode(oldChild); + if (nextChild) { nextChild->setPreviousSibling(previousChild); oldChild.setNextSibling(nullptr); diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Document.cpp wpewebkit-2.32.4/Source/WebCore/dom/Document.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/Document.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Document.cpp 2021-09-16 10:24:15.000000000 +0000 @@ -1854,21 +1854,20 @@ void Document::registerMediaElement(HTMLMediaElement& element) { - m_mediaElements.add(&element); + m_mediaElements.add(element); } void Document::unregisterMediaElement(HTMLMediaElement& element) { - m_mediaElements.remove(&element); + m_mediaElements.remove(element); } void Document::forEachMediaElement(const Function& function) { - Vector> elements; - for (auto* element : m_mediaElements) - elements.append(*element); - for (auto& element : elements) - function(element); + ASSERT(!m_mediaElements.hasNullReferences()); + m_mediaElements.forEach([&](auto& element) { + function(makeRef(element)); + }); } #endif diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Document.h wpewebkit-2.32.4/Source/WebCore/dom/Document.h --- wpewebkit-2.32.3/Source/WebCore/dom/Document.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Document.h 2021-09-16 10:24:15.000000000 +0000 @@ -1858,7 +1858,7 @@ HashSet m_documentSuspensionCallbackElements; #if ENABLE(VIDEO) - HashSet m_mediaElements; + WeakHashSet m_mediaElements; #endif #if ENABLE(VIDEO) diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Element.cpp wpewebkit-2.32.4/Source/WebCore/dom/Element.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/Element.cpp 2021-07-23 09:00:04.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Element.cpp 2021-09-16 08:45:50.000000000 +0000 @@ -1613,7 +1613,7 @@ // Get the bounding rectangle from the SVG model. SVGElement& svgElement = downcast(*this); FloatRect localRect; - if (svgElement.getBoundingBox(localRect)) + if (svgElement.getBoundingBox(localRect, SVGLocatable::DisallowStyleUpdate)) quads.append(renderer->localToAbsoluteQuad(localRect)); } else if (auto pair = listBoxElementBoundingBox(*this)) { renderer = pair.value().first; @@ -4217,15 +4217,16 @@ return; auto reset = [](Element& element) { - if (!element.hasRareData() || !element.elementRareData()->computedStyle()) - return; if (element.hasCustomStyleResolveCallbacks()) element.willResetComputedStyle(); element.elementRareData()->resetComputedStyle(); }; reset(*this); - for (auto& child : descendantsOfType(*this)) + for (auto& child : descendantsOfType(*this)) { + if (!child.hasRareData() || !child.elementRareData()->computedStyle() || child.hasDisplayContents()) + continue; reset(child); + } } void Element::resetStyleRelations() @@ -4564,11 +4565,6 @@ return ElementIdentifier::generate(); } -void Element::didChangeRenderer(RenderObject* oldRenderer) -{ - InspectorInstrumentation::nodeLayoutContextChanged(*this, oldRenderer); -} - #if ENABLE(CSS_TYPED_OM) StylePropertyMap* Element::attributeStyleMap() diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Element.h wpewebkit-2.32.4/Source/WebCore/dom/Element.h --- wpewebkit-2.32.3/Source/WebCore/dom/Element.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Element.h 2021-09-16 08:45:50.000000000 +0000 @@ -728,8 +728,6 @@ void attachAttributeNodeIfNeeded(Attr&); - void didChangeRenderer(RenderObject*) final; - #if ASSERT_ENABLED WEBCORE_EXPORT bool fastAttributeLookupAllowed(const QualifiedName&) const; #endif diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Node.cpp wpewebkit-2.32.4/Source/WebCore/dom/Node.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/Node.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Node.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -2676,6 +2676,7 @@ template Node* commonInclusiveAncestor(const Node&, const Node&); template Node* commonInclusiveAncestor(const Node&, const Node&); +template Node* commonInclusiveAncestor(const Node&, const Node&); static bool isSiblingSubsequent(const Node& siblingA, const Node& siblingB) { diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Node.h wpewebkit-2.32.4/Source/WebCore/dom/Node.h --- wpewebkit-2.32.3/Source/WebCore/dom/Node.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Node.h 2021-09-16 08:17:30.000000000 +0000 @@ -193,6 +193,11 @@ bool isSVGElement() const { return hasNodeFlag(NodeFlag::IsSVGElement); } bool isMathMLElement() const { return hasNodeFlag(NodeFlag::IsMathMLElement); } + bool isUnknownElement() const { return hasNodeFlag(NodeFlag::IsUnknownElement); } + bool isHTMLUnknownElement() const { return isHTMLElement() && isUnknownElement(); } + bool isSVGUnknownElement() const { return isSVGElement() && isUnknownElement(); } + bool isMathMLUnknownElement() const { return isMathMLElement() && isUnknownElement(); } + bool isPseudoElement() const { return pseudoId() != PseudoId::None; } bool isBeforePseudoElement() const { return pseudoId() == PseudoId::Before; } bool isAfterPseudoElement() const { return pseudoId() == PseudoId::After; } @@ -217,6 +222,9 @@ bool hasSyntheticAttrChildNodes() const { return hasNodeFlag(NodeFlag::HasSyntheticAttrChildNodes); } void setHasSyntheticAttrChildNodes(bool flag) { setNodeFlag(NodeFlag::HasSyntheticAttrChildNodes, flag); } + bool hasShadowRootContainingSlots() const { return hasNodeFlag(NodeFlag::HasShadowRootContainingSlots); } + void setHasShadowRootContainingSlots(bool flag) { setNodeFlag(NodeFlag::HasShadowRootContainingSlots, flag); } + // If this node is in a shadow tree, returns its shadow host. Otherwise, returns null. WEBCORE_EXPORT Element* shadowHost() const; ShadowRoot* containingShadowRoot() const; @@ -535,8 +543,8 @@ IsShadowRoot = 1 << 9, IsConnected = 1 << 10, IsInShadowTree = 1 << 11, - HasEventTargetData = 1 << 12, - // UnusedFlag = 1 << 13, + IsUnknownElement = 1 << 12, + HasEventTargetData = 1 << 13, // These bits are used by derived classes, pulled up here so they can // be stored in the same memory word as the Node bits above. @@ -561,7 +569,8 @@ InclusiveAncestorStateForForm = 1 << 28, InclusiveAncestorStateForCanvas = 1 << 29, - // Bits 30-31 are free. + HasShadowRootContainingSlots = 1 << 30, + // Bit 31 is free. }; enum class TabIndexState : uint8_t { @@ -724,8 +733,6 @@ static void moveTreeToNewScope(Node&, TreeScope& oldScope, TreeScope& newScope); void moveNodeToNewDocument(Document& oldDocument, Document& newDocument); - virtual void didChangeRenderer(RenderObject*) { }; - struct NodeRareDataDeleter { void operator()(NodeRareData*) const; }; diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Position.cpp wpewebkit-2.32.4/Source/WebCore/dom/Position.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/Position.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Position.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -1594,12 +1594,13 @@ Optional makeBoundaryPoint(const Position& position) { - if (position.isNull()) + auto container = makeRefPtr(position.containerNode()); + if (!container) return WTF::nullopt; - return BoundaryPoint { *position.containerNode(), static_cast(position.computeOffsetInContainerNode()) }; + return BoundaryPoint { container.releaseNonNull(), static_cast(position.computeOffsetInContainerNode()) }; } -PartialOrdering documentOrder(const Position& a, const Position& b) +template PartialOrdering treeOrder(const Position& a, const Position& b) { if (a.isNull() || b.isNull()) return a.isNull() && b.isNull() ? PartialOrdering::equivalent : PartialOrdering::unordered; @@ -1608,7 +1609,7 @@ auto bContainer = b.containerNode(); if (!aContainer || !bContainer) { - if (!commonInclusiveAncestor(*a.anchorNode(), *b.anchorNode())) + if (!commonInclusiveAncestor(*a.anchorNode(), *b.anchorNode())) return PartialOrdering::unordered; if (!aContainer && !bContainer && a.anchorType() == b.anchorType()) return PartialOrdering::equivalent; @@ -1619,9 +1620,17 @@ // FIXME: Avoid computing node offset for cases where we don't need to. - return treeOrder(*makeBoundaryPoint(a), *makeBoundaryPoint(b)); + return treeOrder(*makeBoundaryPoint(a), *makeBoundaryPoint(b)); +} + +PartialOrdering documentOrder(const Position& a, const Position& b) +{ + return treeOrder(a, b); } +template PartialOrdering treeOrder(const Position&, const Position&); +template PartialOrdering treeOrder(const Position&, const Position&); + } // namespace WebCore #if ENABLE(TREE_DEBUGGING) diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/Position.h wpewebkit-2.32.4/Source/WebCore/dom/Position.h --- wpewebkit-2.32.3/Source/WebCore/dom/Position.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/Position.h 2021-09-16 11:20:26.000000000 +0000 @@ -219,6 +219,7 @@ bool operator==(const Position&, const Position&); bool operator!=(const Position&, const Position&); +template PartialOrdering treeOrder(const Position&, const Position&); WEBCORE_EXPORT PartialOrdering documentOrder(const Position&, const Position&); bool operator<(const Position&, const Position&); bool operator>(const Position&, const Position&); diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/ShadowRoot.h wpewebkit-2.32.4/Source/WebCore/dom/ShadowRoot.h --- wpewebkit-2.32.3/Source/WebCore/dom/ShadowRoot.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/ShadowRoot.h 2021-09-16 08:15:08.000000000 +0000 @@ -93,6 +93,7 @@ void slotFallbackDidChange(HTMLSlotElement&); void resolveSlotsBeforeNodeInsertionOrRemoval(); void willRemoveAllChildren(ContainerNode&); + void willRemoveAssignedNode(const Node&); void didRemoveAllChildrenOfShadowHost(); void didChangeDefaultSlot(); diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/SlotAssignment.cpp wpewebkit-2.32.4/Source/WebCore/dom/SlotAssignment.cpp --- wpewebkit-2.32.3/Source/WebCore/dom/SlotAssignment.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/SlotAssignment.cpp 2021-09-17 08:30:42.000000000 +0000 @@ -120,6 +120,13 @@ return makeUnique(); }); auto& slot = *addResult.iterator->value; + + if (!m_slotAssignmentsIsValid) + assignSlots(shadowRoot); + + shadowRoot.host()->setHasShadowRootContainingSlots(true); + m_slotElementCount++; + bool needsSlotchangeEvent = shadowRoot.shouldFireSlotchangeEvent() && hasAssignedNodes(shadowRoot, slot); slot.elementCount++; @@ -147,8 +154,15 @@ m_slotElementsForConsistencyCheck.remove(&slotElement); #endif - if (auto* host = shadowRoot.host()) // FIXME: We should be able to do a targeted reconstruction. + ASSERT(m_slotElementCount > 0); + m_slotElementCount--; + + if (auto host = makeRefPtr(shadowRoot.host())) { + // FIXME: We should be able to do a targeted reconstruction. host->invalidateStyleAndRenderersForSubtree(); + if (!m_slotElementCount) + host->setHasShadowRootContainingSlots(false); + } auto* slot = m_slots.get(slotNameFromAttributeValue(name)); RELEASE_ASSERT(slot && slot->hasSlotElements()); @@ -292,7 +306,10 @@ auto* slot = m_slots.get(slotName); if (!slot) return; - + + RenderTreeUpdater::tearDownRenderersAfterSlotChange(*shadowRoot.host()); + shadowRoot.host()->invalidateStyleForSubtree(); + slot->assignedNodes.clear(); m_slotAssignmentsIsValid = false; @@ -300,8 +317,6 @@ if (!slotElement) return; - shadowRoot.host()->invalidateStyleAndRenderersForSubtree(); - if (shadowRoot.shouldFireSlotchangeEvent()) slotElement->enqueueSlotChangeEvent(); } @@ -331,6 +346,23 @@ return &slot->assignedNodes; } +void SlotAssignment::willRemoveAssignedNode(const Node& node) +{ + if (!m_slotAssignmentsIsValid) + return; + + if (!is(node) && !is(node)) + return; + + auto* slot = m_slots.get(slotNameForHostChild(node)); + if (!slot || slot->assignedNodes.isEmpty()) + return; + + slot->assignedNodes.removeFirstMatching([&node](const auto& item) { + return item.get() == &node; + }); +} + const AtomString& SlotAssignment::slotNameForHostChild(const Node& child) const { return slotNameFromSlotAttribute(child); diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/SlotAssignment.h wpewebkit-2.32.4/Source/WebCore/dom/SlotAssignment.h --- wpewebkit-2.32.3/Source/WebCore/dom/SlotAssignment.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/SlotAssignment.h 2021-09-16 08:15:01.000000000 +0000 @@ -60,6 +60,7 @@ void didChangeSlot(const AtomString&, ShadowRoot&); const Vector>* assignedNodesForSlot(const HTMLSlotElement&, ShadowRoot&); + void willRemoveAssignedNode(const Node&); virtual void hostChildElementDidChange(const Element&, ShadowRoot&); @@ -103,6 +104,7 @@ bool m_willBeRemovingAllChildren { false }; unsigned m_slotMutationVersion { 0 }; unsigned m_slotResolutionVersion { 0 }; + unsigned m_slotElementCount { 0 }; }; inline void ShadowRoot::resolveSlotsBeforeNodeInsertionOrRemoval() @@ -131,11 +133,8 @@ inline void ShadowRoot::hostChildElementDidChange(const Element& childElement) { - if (!m_slotAssignment) - return; - if (m_host) - RenderTreeUpdater::tearDownRenderers(*m_host); - m_slotAssignment->hostChildElementDidChange(childElement, *this); + if (m_slotAssignment) + m_slotAssignment->hostChildElementDidChange(childElement, *this); } inline void ShadowRoot::hostChildElementDidChangeSlotAttribute(Element& element, const AtomString& oldValue, const AtomString& newValue) @@ -147,4 +146,10 @@ RenderTreeUpdater::tearDownRenderers(element); } +inline void ShadowRoot::willRemoveAssignedNode(const Node& node) +{ + if (m_slotAssignment) + m_slotAssignment->willRemoveAssignedNode(node); +} + } // namespace WebCore diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/TaskSource.h wpewebkit-2.32.4/Source/WebCore/dom/TaskSource.h --- wpewebkit-2.32.3/Source/WebCore/dom/TaskSource.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/TaskSource.h 2021-09-16 07:21:17.000000000 +0000 @@ -36,6 +36,7 @@ MediaElement, Microtask, Networking, + PerformanceTimeline, PostedMessageQueue, UserInteraction, WebGL, diff -Nru wpewebkit-2.32.3/Source/WebCore/dom/make_names.pl wpewebkit-2.32.4/Source/WebCore/dom/make_names.pl --- wpewebkit-2.32.3/Source/WebCore/dom/make_names.pl 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/dom/make_names.pl 2021-08-10 09:04:19.000000000 +0000 @@ -1277,11 +1277,18 @@ if ($parameters{customElementInterfaceName}) { print F <isCustomElementUpgradeCandidate()) + if (!element->isUnknownElement()) return createWrapper<$parameters{customElementInterfaceName}>(globalObject, WTFMove(element)); END ; } + + if ("$parameters{namespace}Element" eq $parameters{fallbackJSInterfaceName}) { + print F <is$parameters{fallbackJSInterfaceName}()); +END +; + } print F <(globalObject, WTFMove(element)); diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/ApplyStyleCommand.cpp wpewebkit-2.32.4/Source/WebCore/editing/ApplyStyleCommand.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/ApplyStyleCommand.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/ApplyStyleCommand.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -172,7 +172,7 @@ void ApplyStyleCommand::updateStartEnd(const Position& newStart, const Position& newEnd) { - ASSERT(!(newStart > newEnd)); + ASSERT(!is_gt(treeOrder(newStart, newEnd))); if (!m_useEndingSelection && (newStart != m_start || newEnd != m_end)) m_useEndingSelection = true; @@ -1068,7 +1068,7 @@ ASSERT(end.isNotNull()); ASSERT(start.anchorNode()->isConnected()); ASSERT(end.anchorNode()->isConnected()); - ASSERT(start <= end); + ASSERT(is_lteq(treeOrder(start, end))); // FIXME: We should assert that start/end are not in the middle of a text node. Position pushDownStart = start.downstream(); diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/CompositeEditCommand.cpp wpewebkit-2.32.4/Source/WebCore/editing/CompositeEditCommand.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/CompositeEditCommand.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/CompositeEditCommand.cpp 2021-08-11 10:51:19.000000000 +0000 @@ -243,6 +243,8 @@ if (AXObjectCache::accessibilityEnabled()) m_replacedText.postTextStateChangeNotificationForUnapply(m_document->existingAXObjectCache()); + + RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(m_document->selection().isNone() || m_document->selection().isConnectedToDocument()); } void EditCommandComposition::reapply() @@ -270,6 +272,8 @@ if (AXObjectCache::accessibilityEnabled()) m_replacedText.postTextStateChangeNotificationForReapply(m_document->existingAXObjectCache()); + + RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(m_document->selection().isNone() || m_document->selection().isConnectedToDocument()); } void EditCommandComposition::append(SimpleEditCommand* command) @@ -612,7 +616,7 @@ void CompositeEditCommand::removeNodeAndPruneAncestors(Node& node) { - RefPtr parent = node.parentNode(); + auto parent = makeRefPtr(node.parentNode()); removeNode(node); prune(parent.get()); } @@ -656,7 +660,7 @@ void CompositeEditCommand::prune(Node* node) { - if (auto* highestNodeToRemove = highestNodeToRemoveInPruning(node)) + if (auto highestNodeToRemove = makeRefPtr(highestNodeToRemoveInPruning(node))) removeNode(*highestNodeToRemove); } @@ -1293,7 +1297,7 @@ if (!caretAfterDelete.equals(destination) && isStartOfParagraph(caretAfterDelete) && isEndOfParagraph(caretAfterDelete)) { // Note: We want the rightmost candidate. Position position = caretAfterDelete.deepEquivalent().downstream(); - Node* node = position.deprecatedNode(); + auto node = makeRefPtr(position.deprecatedNode()); ASSERT(node); // Normally deletion will leave a br as a placeholder. if (is(*node)) @@ -1302,11 +1306,11 @@ // doesn't require a placeholder to prop itself open (like a bordered // div or an li), remove it during the move (the list removal code // expects this behavior). - else if (isBlock(node)) { + else if (isBlock(node.get())) { // If caret position after deletion and destination position coincides, // node should not be removed. if (!position.rendersInDifferentPosition(destination.deepEquivalent())) { - prune(node); + prune(node.get()); return; } removeNodeAndPruneAncestors(*node); @@ -1623,11 +1627,11 @@ else if (is(*caretPos.deprecatedNode())) { ASSERT(caretPos.deprecatedEditingOffset() == 0); Text& textNode = downcast(*caretPos.deprecatedNode()); - ContainerNode* parentNode = textNode.parentNode(); + auto parentNode = makeRefPtr(textNode.parentNode()); // The preserved newline must be the first thing in the node, since otherwise the previous // paragraph would be quoted, and we verified that it wasn't above. deleteTextFromNode(textNode, 0, 1); - prune(parentNode); + prune(parentNode.get()); } return true; diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/Editing.cpp wpewebkit-2.32.4/Source/WebCore/editing/Editing.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/Editing.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/Editing.cpp 2021-08-11 10:17:15.000000000 +0000 @@ -628,12 +628,12 @@ { Node* previousNode = nullptr; auto* rootEditableElement = node ? node->rootEditableElement() : nullptr; - for (; node; node = node->parentNode()) { - if (auto* renderer = node->renderer()) { - if (!renderer->canHaveChildren() || hasARenderedDescendant(node, previousNode) || rootEditableElement == node) + for (auto currentNode = makeRefPtr(node); currentNode; currentNode = currentNode->parentNode()) { + if (auto* renderer = currentNode->renderer()) { + if (!renderer->canHaveChildren() || hasARenderedDescendant(currentNode.get(), previousNode) || rootEditableElement == currentNode.get()) return previousNode; } - previousNode = node; + previousNode = currentNode.get(); } return nullptr; } diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/FrameSelection.cpp wpewebkit-2.32.4/Source/WebCore/editing/FrameSelection.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/FrameSelection.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/FrameSelection.cpp 2021-09-16 09:40:25.000000000 +0000 @@ -363,12 +363,21 @@ return false; } - if (!m_document || !m_document->frame()) { + if (!m_document || (!m_document->frame() && !newSelection.document())) { m_selection = newSelection; updateAssociatedLiveRange(); return false; } + bool selectionEndpointsBelongToMultipleDocuments = newSelection.base().document() && !newSelection.document(); + bool selectionIsInAnotherDocument = newSelection.document() && newSelection.document() != m_document.get(); + bool selectionIsInDetachedDocument = newSelection.document() && !newSelection.document()->frame(); + if (selectionEndpointsBelongToMultipleDocuments || selectionIsInAnotherDocument || selectionIsInDetachedDocument) { + clear(); + return false; + } + ASSERT(m_document->frame()); + if (closeTyping) TypingCommand::closeTyping(*m_document); @@ -2793,6 +2802,11 @@ return containsEndpoints(m_document, m_selection.range()); } +bool FrameSelection::isConnectedToDocument() const +{ + return selection().document() == m_document.get(); +} + RefPtr FrameSelection::associatedLiveRange() { if (!m_associatedLiveRange) { diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/FrameSelection.h wpewebkit-2.32.4/Source/WebCore/editing/FrameSelection.h --- wpewebkit-2.32.3/Source/WebCore/editing/FrameSelection.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/FrameSelection.h 2021-08-11 10:51:19.000000000 +0000 @@ -252,6 +252,8 @@ void setShouldShowBlockCursor(bool); bool isInDocumentTree() const; + bool isConnectedToDocument() const; + RefPtr associatedLiveRange(); void associateLiveRange(Range&); void disassociateLiveRange(); diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/IndentOutdentCommand.cpp wpewebkit-2.32.4/Source/WebCore/editing/IndentOutdentCommand.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/IndentOutdentCommand.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/IndentOutdentCommand.cpp 2021-09-16 08:39:24.000000000 +0000 @@ -191,9 +191,9 @@ splitElement(*enclosingNode, highestInlineNode ? *highestInlineNode : *visibleStartOfParagraph.deepEquivalent().deprecatedNode()); } auto placeholder = HTMLBRElement::create(document()); - auto* placeholderPtr = placeholder.ptr(); - insertNodeBefore(WTFMove(placeholder), *splitBlockquoteNode); - moveParagraph(startOfParagraph(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), positionBeforeNode(placeholderPtr), true); + insertNodeBefore(placeholder, *splitBlockquoteNode); + if (placeholder->isConnected()) + moveParagraph(startOfParagraph(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), positionBeforeNode(placeholder.ptr()), true); } // FIXME: We should merge this function with ApplyBlockElementCommand::formatSelection diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp wpewebkit-2.32.4/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp 2021-08-11 10:48:42.000000000 +0000 @@ -313,7 +313,7 @@ insertionPosition = positionInParentAfterNode(br.ptr()); // If the insertion point is a break element, there is nothing else // we need to do. - if (visiblePos.deepEquivalent().anchorNode()->renderer()->isBR()) { + if (auto* renderer = visiblePos.deepEquivalent().anchorNode()->renderer(); renderer && renderer->isBR()) { setEndingSelection(VisibleSelection(insertionPosition, Affinity::Downstream, endingSelection().isDirectional())); return; } diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/ReplaceSelectionCommand.cpp wpewebkit-2.32.4/Source/WebCore/editing/ReplaceSelectionCommand.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/ReplaceSelectionCommand.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/ReplaceSelectionCommand.cpp 2021-09-16 08:14:08.000000000 +0000 @@ -828,11 +828,11 @@ { document().updateLayoutIgnorePendingStylesheets(); - Node* lastLeafInserted = insertedNodes.lastLeafInserted(); + auto lastLeafInserted = makeRefPtr(insertedNodes.lastLeafInserted()); if (is(lastLeafInserted) && !hasRenderedText(downcast(*lastLeafInserted)) - && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted), selectTag) - && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted), scriptTag)) { - insertedNodes.willRemoveNode(lastLeafInserted); + && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted.get()), selectTag) + && !enclosingElementWithTag(firstPositionInOrBeforeNode(lastLeafInserted.get()), scriptTag)) { + insertedNodes.willRemoveNode(lastLeafInserted.get()); removeNode(*lastLeafInserted); } @@ -840,9 +840,9 @@ // We don't have to make sure that firstNodeInserted isn't inside a select or script element // because it is a top level node in the fragment and the user can't insert into those elements. - Node* firstNodeInserted = insertedNodes.firstNodeInserted(); + auto firstNodeInserted = makeRefPtr(insertedNodes.firstNodeInserted()); if (is(firstNodeInserted) && !hasRenderedText(downcast(*firstNodeInserted))) { - insertedNodes.willRemoveNode(firstNodeInserted); + insertedNodes.willRemoveNode(firstNodeInserted.get()); removeNode(*firstNodeInserted); } } @@ -967,9 +967,8 @@ // To avoid this, we add a placeholder node before the start of the paragraph. if (endOfParagraph(startOfParagraphToMove) == destination) { auto placeholder = HTMLBRElement::create(document()); - auto* placeholderPtr = placeholder.ptr(); - insertNodeBefore(WTFMove(placeholder), *startOfParagraphToMove.deepEquivalent().deprecatedNode()); - destination = VisiblePosition(positionBeforeNode(placeholderPtr)); + insertNodeBefore(placeholder, *startOfParagraphToMove.deepEquivalent().deprecatedNode()); + destination = VisiblePosition(positionBeforeNode(placeholder.ptr())); } moveParagraph(startOfParagraphToMove, endOfParagraph(startOfParagraphToMove), destination); @@ -1298,11 +1297,12 @@ insertNodeAt(HTMLBRElement::create(document()), startOfInsertedContent.deepEquivalent()); if (endBR && (plainTextFragment || shouldRemoveEndBR(endBR.get(), originalVisPosBeforeEndBR))) { - RefPtr parent = endBR->parentNode(); + auto parent = makeRefPtr(endBR->parentNode()); insertedNodes.willRemoveNode(endBR.get()); removeNode(*endBR); - if (Node* nodeToRemove = highestNodeToRemoveInPruning(parent.get())) { - insertedNodes.willRemoveNode(nodeToRemove); + document().updateLayoutIgnorePendingStylesheets(); + if (auto nodeToRemove = makeRefPtr(highestNodeToRemoveInPruning(parent.get()))) { + insertedNodes.willRemoveNode(nodeToRemove.get()); removeNode(*nodeToRemove); } } diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/VisiblePosition.cpp wpewebkit-2.32.4/Source/WebCore/editing/VisiblePosition.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/VisiblePosition.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/VisiblePosition.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -800,7 +800,7 @@ PartialOrdering documentOrder(const VisiblePosition& a, const VisiblePosition& b) { // FIXME: Should two positions with different affinity be considered equivalent or not? - return documentOrder(a.deepEquivalent(), b.deepEquivalent()); + return treeOrder(a.deepEquivalent(), b.deepEquivalent()); } bool intersects(const VisiblePositionRange& a, const VisiblePositionRange& b) diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/VisibleSelection.cpp wpewebkit-2.32.4/Source/WebCore/editing/VisibleSelection.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/VisibleSelection.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/VisibleSelection.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -144,6 +144,21 @@ return false; } +RefPtr VisibleSelection::document() const +{ + auto baseDocument = makeRefPtr(m_base.document()); + if (!baseDocument) + return nullptr; + + if (m_extent.document() != baseDocument.get() || m_start.document() != baseDocument.get() || m_end.document() != baseDocument.get()) + return nullptr; + + if (baseDocument->settings().liveRangeSelectionEnabled() && (m_anchor.document() != baseDocument.get() || m_focus.document() != baseDocument.get())) + return nullptr; + + return baseDocument; +} + Optional VisibleSelection::firstRange() const { if (isNoneOrOrphaned()) @@ -236,7 +251,7 @@ if (m_focus.isNull()) m_focus = m_anchor; - m_anchorIsFirst = m_anchor <= m_focus; + m_anchorIsFirst = is_lteq(treeOrder(m_anchor, m_focus)); m_base = VisiblePosition(m_anchor, m_affinity).deepEquivalent(); if (m_anchor == m_focus) @@ -446,7 +461,7 @@ ASSERT(m_affinity == Affinity::Downstream); m_anchor = anchor; m_focus = focus; - m_anchorIsFirst = m_anchor <= m_focus; + m_anchorIsFirst = is_lteq(treeOrder(m_anchor, m_focus)); m_base = anchor; m_extent = focus; m_start = m_anchorIsFirst ? anchor : focus; diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/VisibleSelection.h wpewebkit-2.32.4/Source/WebCore/editing/VisibleSelection.h --- wpewebkit-2.32.3/Source/WebCore/editing/VisibleSelection.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/VisibleSelection.h 2021-08-11 10:51:19.000000000 +0000 @@ -87,6 +87,7 @@ bool isNonOrphanedRange() const { return isRange() && !start().isOrphan() && !end().isOrphan(); } bool isNoneOrOrphaned() const { return isNone() || start().isOrphan() || end().isOrphan(); } bool isOrphan() const; + RefPtr document() const; bool isBaseFirst() const { return m_anchorIsFirst; } bool isDirectional() const { return m_isDirectional; } diff -Nru wpewebkit-2.32.3/Source/WebCore/editing/markup.cpp wpewebkit-2.32.4/Source/WebCore/editing/markup.cpp --- wpewebkit-2.32.3/Source/WebCore/editing/markup.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/editing/markup.cpp 2021-09-16 10:42:40.000000000 +0000 @@ -697,7 +697,7 @@ } } } - ASSERT(next || !pastEnd); + ASSERT(next || !pastEnd || n->containsIncludingShadowDOM(pastEnd)); if (isBlock(n) && canHaveChildrenForEditing(*n) && next == pastEnd) { // Don't write out empty block containers that aren't fully selected. diff -Nru wpewebkit-2.32.3/Source/WebCore/html/HTMLElement.h wpewebkit-2.32.4/Source/WebCore/html/HTMLElement.h --- wpewebkit-2.32.3/Source/WebCore/html/HTMLElement.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/HTMLElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -86,7 +86,6 @@ bool hasDirectionAuto() const; TextDirection directionalityIfhasDirAutoAttribute(bool& isAuto) const; - virtual bool isHTMLUnknownElement() const { return false; } virtual bool isTextControlInnerTextElement() const { return false; } bool willRespondToMouseMoveEvents() override; diff -Nru wpewebkit-2.32.3/Source/WebCore/html/HTMLMediaElement.cpp wpewebkit-2.32.4/Source/WebCore/html/HTMLMediaElement.cpp --- wpewebkit-2.32.3/Source/WebCore/html/HTMLMediaElement.cpp 2021-07-23 08:49:22.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/HTMLMediaElement.cpp 2021-09-16 10:08:45.000000000 +0000 @@ -5854,7 +5854,7 @@ void HTMLMediaElement::enqueuePlaybackTargetAvailabilityChangedEvent() { - bool hasTargets = m_mediaSession->hasWirelessPlaybackTargets(); + bool hasTargets = m_mediaSession && mediaSession().hasWirelessPlaybackTargets(); ALWAYS_LOG(LOGIDENTIFIER, "hasTargets = ", hasTargets); auto event = WebKitPlaybackTargetAvailabilityEvent::create(eventNames().webkitplaybacktargetavailabilitychangedEvent, hasTargets); event->setTarget(this); @@ -7667,7 +7667,7 @@ state |= RequiresPlaybackTargetMonitoring; } - bool requireUserGesture = m_mediaSession->hasBehaviorRestriction(MediaElementSession::RequireUserGestureToAutoplayToExternalDevice); + bool requireUserGesture = m_mediaSession && mediaSession().hasBehaviorRestriction(MediaElementSession::RequireUserGestureToAutoplayToExternalDevice); if (m_readyState >= HAVE_METADATA && !requireUserGesture && !m_failedToPlayToWirelessTarget) state |= ExternalDeviceAutoPlayCandidate; diff -Nru wpewebkit-2.32.3/Source/WebCore/html/HTMLPlugInElement.cpp wpewebkit-2.32.4/Source/WebCore/html/HTMLPlugInElement.cpp --- wpewebkit-2.32.3/Source/WebCore/html/HTMLPlugInElement.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/HTMLPlugInElement.cpp 2021-08-20 09:18:57.000000000 +0000 @@ -272,6 +272,7 @@ // Create a shadow root, which will trigger the code to add a snapshot container // and reattach, thus making a new Renderer. + Ref protectedThis(*this); ensureUserAgentShadowRoot(); } diff -Nru wpewebkit-2.32.3/Source/WebCore/html/HTMLUnknownElement.h wpewebkit-2.32.4/Source/WebCore/html/HTMLUnknownElement.h --- wpewebkit-2.32.3/Source/WebCore/html/HTMLUnknownElement.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/HTMLUnknownElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -43,11 +43,9 @@ private: HTMLUnknownElement(const QualifiedName& tagName, Document& document) - : HTMLElement(tagName, document, CreateHTMLElement) + : HTMLElement(tagName, document, CreateHTMLElement | NodeFlag::IsUnknownElement) { } - - bool isHTMLUnknownElement() const final { return true; } }; } // namespace WebCore diff -Nru wpewebkit-2.32.3/Source/WebCore/html/ImageBitmap.cpp wpewebkit-2.32.4/Source/WebCore/html/ImageBitmap.cpp --- wpewebkit-2.32.3/Source/WebCore/html/ImageBitmap.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/ImageBitmap.cpp 2021-09-16 07:36:47.000000000 +0000 @@ -640,6 +640,8 @@ public: static void fetch(ScriptExecutionContext& scriptExecutionContext, RefPtr&& blob, ImageBitmapOptions&& options, Optional rect, ImageBitmap::Promise&& promise) { + if (scriptExecutionContext.activeDOMObjectsAreStopped()) + return; auto pendingImageBitmap = new PendingImageBitmap(scriptExecutionContext, WTFMove(blob), WTFMove(options), WTFMove(rect), WTFMove(promise)); pendingImageBitmap->start(scriptExecutionContext); } diff -Nru wpewebkit-2.32.3/Source/WebCore/html/InputType.cpp wpewebkit-2.32.4/Source/WebCore/html/InputType.cpp --- wpewebkit-2.32.3/Source/WebCore/html/InputType.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/html/InputType.cpp 2021-09-16 07:48:56.000000000 +0000 @@ -929,8 +929,9 @@ if (newValue > stepRange.maximum()) newValue = stepRange.maximum(); + auto protectedThis = makeRef(*this); auto result = setValueAsDecimal(newValue, eventBehavior); - if (result.hasException()) + if (result.hasException() || !element()) return result; if (AXObjectCache* cache = element()->document().existingAXObjectCache()) diff -Nru wpewebkit-2.32.3/Source/WebCore/inspector/InspectorInstrumentation.cpp wpewebkit-2.32.4/Source/WebCore/inspector/InspectorInstrumentation.cpp --- wpewebkit-2.32.3/Source/WebCore/inspector/InspectorInstrumentation.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/inspector/InspectorInstrumentation.cpp 2021-08-11 10:24:20.000000000 +0000 @@ -176,10 +176,10 @@ domAgent->didRemoveDOMNode(node); } -void InspectorInstrumentation::nodeLayoutContextChangedImpl(InstrumentingAgents& instrumentingAgents, Node& node, RenderObject* oldRenderer) +void InspectorInstrumentation::nodeLayoutContextChangedImpl(InstrumentingAgents& instrumentingAgents, Node& node, RenderObject* newRenderer) { if (auto* cssAgent = instrumentingAgents.enabledCSSAgent()) - cssAgent->nodeLayoutContextTypeChanged(node, oldRenderer); + cssAgent->nodeLayoutContextTypeChanged(node, newRenderer); } void InspectorInstrumentation::willModifyDOMAttrImpl(InstrumentingAgents& instrumentingAgents, Element& element, const AtomString& oldValue, const AtomString& newValue) diff -Nru wpewebkit-2.32.3/Source/WebCore/inspector/InspectorInstrumentation.h wpewebkit-2.32.4/Source/WebCore/inspector/InspectorInstrumentation.h --- wpewebkit-2.32.3/Source/WebCore/inspector/InspectorInstrumentation.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/inspector/InspectorInstrumentation.h 2021-08-11 10:24:20.000000000 +0000 @@ -604,11 +604,11 @@ didRemoveDOMNodeImpl(*agents, node); } -inline void InspectorInstrumentation::nodeLayoutContextChanged(Node& node, RenderObject* oldRenderer) +inline void InspectorInstrumentation::nodeLayoutContextChanged(Node& node, RenderObject* newRenderer) { FAST_RETURN_IF_NO_FRONTENDS(void()); if (auto* agents = instrumentingAgents(node.document())) - nodeLayoutContextChangedImpl(*agents, node, oldRenderer); + nodeLayoutContextChangedImpl(*agents, node, newRenderer); } inline void InspectorInstrumentation::willModifyDOMAttr(Document& document, Element& element, const AtomString& oldValue, const AtomString& newValue) diff -Nru wpewebkit-2.32.3/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp wpewebkit-2.32.4/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp --- wpewebkit-2.32.3/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/inspector/agents/InspectorCSSAgent.cpp 2021-08-11 10:24:20.000000000 +0000 @@ -304,6 +304,7 @@ : InspectorAgentBase("CSS"_s, context) , m_frontendDispatcher(makeUnique(context.frontendRouter)) , m_backendDispatcher(CSSBackendDispatcher::create(context.backendDispatcher, this)) + , m_layoutContextTypeChangedTimer(*this, &InspectorCSSAgent::layoutContextTypeChangedTimerFired) { } @@ -326,6 +327,9 @@ m_nodeToInspectorStyleSheet.clear(); m_documentToInspectorStyleSheet.clear(); m_documentToKnownCSSStyleSheets.clear(); + m_nodesWithPendingLayoutContextTypeChanges.clear(); + if (m_layoutContextTypeChangedTimer.isActive()) + m_layoutContextTypeChangedTimer.stop(); m_layoutContextTypeChangedMode = Protocol::CSS::LayoutContextTypeChangedMode::Observed; resetPseudoStates(); } @@ -963,16 +967,12 @@ return { }; } -void InspectorCSSAgent::nodeLayoutContextTypeChanged(Node& node, RenderObject* oldRenderer) +void InspectorCSSAgent::nodeLayoutContextTypeChanged(Node& node, RenderObject* newRenderer) { auto* domAgent = m_instrumentingAgents.persistentDOMAgent(); if (!domAgent) return; - - auto newLayoutContextType = layoutContextTypeForRenderer(node.renderer()); - if (newLayoutContextType == layoutContextTypeForRenderer(oldRenderer)) - return; - + auto nodeId = domAgent->boundNodeId(&node); if (!nodeId && m_layoutContextTypeChangedMode == Protocol::CSS::LayoutContextTypeChangedMode::All) { // FIXME: Preserve DOM.NodeId if a node is removed and re-added @@ -980,8 +980,16 @@ } if (!nodeId) return; - - m_frontendDispatcher->nodeLayoutContextTypeChanged(nodeId, WTFMove(newLayoutContextType)); + + m_nodesWithPendingLayoutContextTypeChanges.set(nodeId, layoutContextTypeForRenderer(newRenderer)); + if (!m_layoutContextTypeChangedTimer.isActive()) + m_layoutContextTypeChangedTimer.startOneShot(0_s); +} + +void InspectorCSSAgent::layoutContextTypeChangedTimerFired() +{ + for (auto&& [nodeId, layoutContextType] : std::exchange(m_nodesWithPendingLayoutContextTypeChanges, { })) + m_frontendDispatcher->nodeLayoutContextTypeChanged(nodeId, WTFMove(layoutContextType)); } InspectorStyleSheetForInlineStyle& InspectorCSSAgent::asInspectorStyleSheet(StyledElement& element) diff -Nru wpewebkit-2.32.3/Source/WebCore/inspector/agents/InspectorCSSAgent.h wpewebkit-2.32.4/Source/WebCore/inspector/agents/InspectorCSSAgent.h --- wpewebkit-2.32.3/Source/WebCore/inspector/agents/InspectorCSSAgent.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/inspector/agents/InspectorCSSAgent.h 2021-08-11 10:24:19.000000000 +0000 @@ -30,6 +30,7 @@ #include "InspectorStyleSheet.h" #include "InspectorWebAgentBase.h" #include "SecurityContext.h" +#include "Timer.h" #include #include #include @@ -156,6 +157,7 @@ Ref> buildArrayForMatchedRuleList(const Vector>&, Style::Resolver&, Element&, PseudoId); RefPtr buildObjectForAttributesStyle(StyledElement&); + void layoutContextTypeChangedTimerFired(); void resetPseudoStates(); @@ -172,6 +174,9 @@ int m_lastStyleSheetId { 1 }; bool m_creatingViaInspectorStyleSheet { false }; + + HashMap> m_nodesWithPendingLayoutContextTypeChanges; + Timer m_layoutContextTypeChangedTimer; Inspector::Protocol::CSS::LayoutContextTypeChangedMode m_layoutContextTypeChangedMode { Inspector::Protocol::CSS::LayoutContextTypeChangedMode::Observed }; }; diff -Nru wpewebkit-2.32.3/Source/WebCore/loader/DocumentWriter.cpp wpewebkit-2.32.4/Source/WebCore/loader/DocumentWriter.cpp --- wpewebkit-2.32.3/Source/WebCore/loader/DocumentWriter.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/loader/DocumentWriter.cpp 2021-08-11 10:21:17.000000000 +0000 @@ -192,6 +192,8 @@ document->contentSecurityPolicy()->setInsecureNavigationRequestsToUpgrade(existingDocument->contentSecurityPolicy()->takeNavigationRequestsToUpgrade()); } + auto protectedFrame = makeRef(*m_frame); + m_frame->loader().didBeginDocument(dispatch); document->implicitOpen(); diff -Nru wpewebkit-2.32.3/Source/WebCore/mathml/MathMLElement.cpp wpewebkit-2.32.4/Source/WebCore/mathml/MathMLElement.cpp --- wpewebkit-2.32.3/Source/WebCore/mathml/MathMLElement.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/mathml/MathMLElement.cpp 2021-08-10 09:04:19.000000000 +0000 @@ -50,8 +50,8 @@ using namespace MathMLNames; -MathMLElement::MathMLElement(const QualifiedName& tagName, Document& document) - : StyledElement(tagName, document, CreateMathMLElement) +MathMLElement::MathMLElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) + : StyledElement(tagName, document, constructionType) { } diff -Nru wpewebkit-2.32.3/Source/WebCore/mathml/MathMLElement.h wpewebkit-2.32.4/Source/WebCore/mathml/MathMLElement.h --- wpewebkit-2.32.3/Source/WebCore/mathml/MathMLElement.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/mathml/MathMLElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -90,7 +90,7 @@ virtual void updateSelectedChild() { } protected: - MathMLElement(const QualifiedName& tagName, Document&); + MathMLElement(const QualifiedName& tagName, Document&, ConstructionType = CreateMathMLElement); void parseAttribute(const QualifiedName&, const AtomString&) override; bool childShouldCreateRenderer(const Node&) const override; diff -Nru wpewebkit-2.32.3/Source/WebCore/mathml/MathMLUnknownElement.h wpewebkit-2.32.4/Source/WebCore/mathml/MathMLUnknownElement.h --- wpewebkit-2.32.3/Source/WebCore/mathml/MathMLUnknownElement.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/mathml/MathMLUnknownElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -41,7 +41,7 @@ private: MathMLUnknownElement(const QualifiedName& tagName, Document& document) - : MathMLElement(tagName, document) + : MathMLElement(tagName, document, CreateMathMLElement | NodeFlag::IsUnknownElement) { } diff -Nru wpewebkit-2.32.3/Source/WebCore/page/ActivityStateChangeObserver.h wpewebkit-2.32.4/Source/WebCore/page/ActivityStateChangeObserver.h --- wpewebkit-2.32.3/Source/WebCore/page/ActivityStateChangeObserver.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/ActivityStateChangeObserver.h 2021-09-16 11:18:29.000000000 +0000 @@ -26,10 +26,11 @@ #pragma once #include "ActivityState.h" +#include namespace WebCore { -class ActivityStateChangeObserver { +class ActivityStateChangeObserver : public CanMakeWeakPtr { public: virtual ~ActivityStateChangeObserver() { diff -Nru wpewebkit-2.32.3/Source/WebCore/page/DOMWindow.cpp wpewebkit-2.32.4/Source/WebCore/page/DOMWindow.cpp --- wpewebkit-2.32.3/Source/WebCore/page/DOMWindow.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/DOMWindow.cpp 2021-09-16 11:03:05.000000000 +0000 @@ -578,7 +578,7 @@ if (!frame) return Exception { NotSupportedError }; - Document* document = frame->document(); + RefPtr document = frame->document(); if (!document) return Exception { NotSupportedError }; @@ -729,7 +729,8 @@ Performance& DOMWindow::performance() const { if (!m_performance) { - MonotonicTime timeOrigin = document() && document()->loader() ? document()->loader()->timing().referenceMonotonicTime() : MonotonicTime::now(); + RefPtr documentLoader = document() ? document()->loader() : nullptr; + auto timeOrigin = documentLoader ? documentLoader->timing().referenceMonotonicTime() : MonotonicTime::now(); m_performance = Performance::create(document(), timeOrigin); } ASSERT(m_performance->scriptExecutionContext() == document()); @@ -774,7 +775,7 @@ bool DOMWindow::shouldHaveWebKitNamespaceForWorld(DOMWrapperWorld& world) { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return false; @@ -812,7 +813,7 @@ if (!isCurrentlyDisplayedInFrame()) return nullptr; - auto* document = this->document(); + RefPtr document = this->document(); if (!document) return nullptr; @@ -836,7 +837,7 @@ if (!isCurrentlyDisplayedInFrame()) return nullptr; - auto* document = this->document(); + RefPtr document = this->document(); if (!document) return nullptr; @@ -870,7 +871,7 @@ if (!isCurrentlyDisplayedInFrame()) return { }; - Document* sourceDocument = incumbentWindow.document(); + RefPtr sourceDocument = incumbentWindow.document(); // Compute the target origin. We need to do this synchronously in order // to generate the SyntaxError exception correctly. @@ -904,7 +905,7 @@ // Capture stack trace only when inspector front-end is loaded as it may be time consuming. RefPtr stackTrace; - if (InspectorInstrumentation::consoleAgentEnabled(sourceDocument)) + if (InspectorInstrumentation::consoleAgentEnabled(sourceDocument.get())) stackTrace = createScriptCallStack(JSExecState::currentState()); auto postMessageIdentifier = InspectorInstrumentation::willPostMessage(*frame()); @@ -919,7 +920,7 @@ if (!isCurrentlyDisplayedInFrame()) return; - Ref frame = *this->frame(); + Ref frame = *this->frame(); if (targetOrigin) { // Check target origin now since the target document may have changed since the timer was scheduled. if (!targetOrigin->isSameSchemeHostPort(document()->securityOrigin())) { @@ -961,7 +962,7 @@ Element* DOMWindow::frameElement() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return nullptr; @@ -970,42 +971,41 @@ void DOMWindow::focus(DOMWindow& incumbentWindow) { - auto* frame = this->frame(); - auto* openerFrame = frame ? frame->loader().opener() : nullptr; + RefPtr frame = this->frame(); + RefPtr openerFrame = frame ? frame->loader().opener() : nullptr; focus(openerFrame && openerFrame != frame && incumbentWindow.frame() == openerFrame); } void DOMWindow::focus(bool allowFocus) { - if (!frame()) + RefPtr frame = this->frame(); + if (!frame) return; - auto protectedFrame = makeRefPtr(frame()); - - Page* page = protectedFrame->page(); + Page* page = frame->page(); if (!page) return; - allowFocus = allowFocus || WindowFocusAllowedIndicator::windowFocusAllowed() || !protectedFrame->settings().windowFocusRestricted(); + allowFocus = allowFocus || WindowFocusAllowedIndicator::windowFocusAllowed() || !frame->settings().windowFocusRestricted(); // If we're a top level window, bring the window to the front. - if (protectedFrame->isMainFrame() && allowFocus) + if (frame->isMainFrame() && allowFocus) page->chrome().focus(); - if (!protectedFrame->hasHadUserInteraction() && !isSameSecurityOriginAsMainFrame()) + if (!frame->hasHadUserInteraction() && !isSameSecurityOriginAsMainFrame()) return; // Clear the current frame's focused node if a new frame is about to be focused. - auto focusedFrame = makeRefPtr(page->focusController().focusedFrame()); - if (focusedFrame && focusedFrame != protectedFrame) + RefPtr focusedFrame = page->focusController().focusedFrame(); + if (focusedFrame && focusedFrame != frame) focusedFrame->document()->setFocusedElement(nullptr); - protectedFrame->eventHandler().focusDocumentView(); + frame->eventHandler().focusDocumentView(); } void DOMWindow::blur() { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1031,7 +1031,7 @@ void DOMWindow::close() { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1058,7 +1058,7 @@ void DOMWindow::print() { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1084,7 +1084,7 @@ void DOMWindow::stop() { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1095,11 +1095,12 @@ void DOMWindow::alert(const String& message) { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; - if (document()->isSandboxed(SandboxModals)) { + RefPtr document = this->document(); + if (document->isSandboxed(SandboxModals)) { printErrorMessage("Use of window.alert is not allowed in a sandboxed frame when the allow-modals flag is not set."); return; } @@ -1113,12 +1114,12 @@ return; } - if (!document()->securityOrigin().isSameOriginDomain(document()->topDocument().securityOrigin())) { + if (!document->securityOrigin().isSameOriginDomain(document->topDocument().securityOrigin())) { printErrorMessage("Use of window.alert is not allowed in different origin-domain iframes."); return; } - frame->document()->updateStyleIfNeeded(); + document->updateStyleIfNeeded(); #if ENABLE(POINTER_LOCK) page->pointerLockController().requestPointerUnlock(); #endif @@ -1128,11 +1129,12 @@ bool DOMWindow::confirmForBindings(const String& message) { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return false; - - if (document()->isSandboxed(SandboxModals)) { + + RefPtr document = this->document(); + if (document->isSandboxed(SandboxModals)) { printErrorMessage("Use of window.confirm is not allowed in a sandboxed frame when the allow-modals flag is not set."); return false; } @@ -1146,12 +1148,12 @@ return false; } - if (!document()->securityOrigin().isSameOriginDomain(document()->topDocument().securityOrigin())) { + if (!document->securityOrigin().isSameOriginDomain(document->topDocument().securityOrigin())) { printErrorMessage("Use of window.confirm is not allowed in different origin-domain iframes."); return false; } - frame->document()->updateStyleIfNeeded(); + document->updateStyleIfNeeded(); #if ENABLE(POINTER_LOCK) page->pointerLockController().requestPointerUnlock(); #endif @@ -1161,11 +1163,12 @@ String DOMWindow::prompt(const String& message, const String& defaultValue) { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return String(); - if (document()->isSandboxed(SandboxModals)) { + RefPtr document = this->document(); + if (document->isSandboxed(SandboxModals)) { printErrorMessage("Use of window.prompt is not allowed in a sandboxed frame when the allow-modals flag is not set."); return String(); } @@ -1179,12 +1182,12 @@ return String(); } - if (!document()->securityOrigin().isSameOriginDomain(document()->topDocument().securityOrigin())) { + if (!document->securityOrigin().isSameOriginDomain(document->topDocument().securityOrigin())) { printErrorMessage("Use of window.prompt is not allowed in different origin-domain iframes."); return String(); } - frame->document()->updateStyleIfNeeded(); + document->updateStyleIfNeeded(); #if ENABLE(POINTER_LOCK) page->pointerLockController().requestPointerUnlock(); #endif @@ -1223,13 +1226,13 @@ if (!frame()) return 0; - auto* view = frame()->isMainFrame() ? frame()->view() : frame()->mainFrame().view(); + RefPtr view = frame()->isMainFrame() ? frame()->view() : frame()->mainFrame().view(); if (!view) return 0; return view->frameRect().height(); #else - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return 0; @@ -1247,13 +1250,13 @@ if (!frame()) return 0; - auto* view = frame()->isMainFrame() ? frame()->view() : frame()->mainFrame().view(); + RefPtr view = frame()->isMainFrame() ? frame()->view() : frame()->mainFrame().view(); if (!view) return 0; return view->frameRect().width(); #else - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return 0; @@ -1271,14 +1274,14 @@ return 0; // Force enough layout in the parent document to ensure that the FrameView has been resized. - if (auto ownerElement = makeRefPtr(frameElement())) + if (RefPtr ownerElement = frameElement()) ownerElement->document().updateLayoutIfDimensionsOutOfDate(*ownerElement, HeightDimensionsCheck); - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; - auto view = makeRefPtr(frame->view()); + RefPtr view = frame->view(); if (!view) return 0; @@ -1294,11 +1297,11 @@ if (auto ownerElement = makeRefPtr(frameElement())) ownerElement->document().updateLayoutIfDimensionsOutOfDate(*ownerElement, WidthDimensionsCheck); - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; - auto view = makeRefPtr(frame->view()); + RefPtr view = frame->view(); if (!view) return 0; @@ -1307,7 +1310,7 @@ int DOMWindow::screenX() const { - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; @@ -1320,7 +1323,7 @@ int DOMWindow::screenY() const { - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; @@ -1333,11 +1336,11 @@ int DOMWindow::scrollX() const { - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; - auto view = makeRefPtr(frame->view()); + RefPtr view = frame->view(); if (!view) return 0; @@ -1348,11 +1351,11 @@ frame->document()->updateLayoutIgnorePendingStylesheets(); // Layout may have affected the current frame: - auto frameAfterLayout = makeRefPtr(this->frame()); + RefPtr frameAfterLayout = this->frame(); if (!frameAfterLayout) return 0; - auto viewAfterLayout = makeRefPtr(frameAfterLayout->view()); + RefPtr viewAfterLayout = frameAfterLayout->view(); if (!viewAfterLayout) return 0; @@ -1361,11 +1364,11 @@ int DOMWindow::scrollY() const { - auto frame = makeRefPtr(this->frame()); + RefPtr frame = this->frame(); if (!frame) return 0; - auto view = makeRefPtr(frame->view()); + RefPtr view = frame->view(); if (!view) return 0; @@ -1376,11 +1379,11 @@ frame->document()->updateLayoutIgnorePendingStylesheets(); // Layout may have affected the current frame: - auto frameAfterLayout = makeRefPtr(this->frame()); + RefPtr frameAfterLayout = this->frame(); if (!frameAfterLayout) return 0; - auto viewAfterLayout = makeRefPtr(frameAfterLayout->view()); + RefPtr viewAfterLayout = frameAfterLayout->view(); if (!viewAfterLayout) return 0; @@ -1389,7 +1392,7 @@ bool DOMWindow::closed() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return true; @@ -1407,7 +1410,7 @@ String DOMWindow::name() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return String(); @@ -1416,7 +1419,7 @@ void DOMWindow::setName(const String& string) { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1427,7 +1430,7 @@ { m_status = string; - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1443,7 +1446,7 @@ { m_defaultStatus = string; - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; @@ -1457,11 +1460,11 @@ WindowProxy* DOMWindow::opener() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return nullptr; - auto* openerFrame = frame->loader().opener(); + RefPtr openerFrame = frame->loader().opener(); if (!openerFrame) return nullptr; @@ -1470,17 +1473,17 @@ void DOMWindow::disownOpener() { - if (auto* frame = this->frame()) + if (RefPtr frame = this->frame()) frame->loader().setOpener(nullptr); } WindowProxy* DOMWindow::parent() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return nullptr; - auto* parentFrame = frame->tree().parent(); + RefPtr parentFrame = frame->tree().parent(); if (parentFrame) return &parentFrame->windowProxy(); @@ -1489,7 +1492,7 @@ WindowProxy* DOMWindow::top() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return nullptr; @@ -1536,7 +1539,7 @@ if (!hasTransientActivation()) return false; - for (Frame* frame = this->frame() ? &this->frame()->tree().top() : nullptr; frame; frame = frame->tree().traverseNext()) { + for (RefPtr frame = this->frame() ? &this->frame()->tree().top() : nullptr; frame; frame = frame->tree().traverseNext()) { auto* window = frame->window(); if (!window || window->lastActivationTimestamp() != MonotonicTime::infinity()) window->setLastActivationTimestamp(-MonotonicTime::infinity()); @@ -1552,22 +1555,22 @@ if (!frame()) return; - for (Frame* ancestor = frame() ? frame()->tree().parent() : nullptr; ancestor; ancestor = ancestor->tree().parent()) { + for (RefPtr ancestor = frame() ? frame()->tree().parent() : nullptr; ancestor; ancestor = ancestor->tree().parent()) { if (auto* window = ancestor->window()) window->setLastActivationTimestamp(activationTime); } - auto* securityOrigin = this->securityOrigin(); + RefPtr securityOrigin = this->securityOrigin(); if (!securityOrigin) return; - auto* descendant = frame(); + RefPtr descendant = frame(); while ((descendant = descendant->tree().traverseNext(frame()))) { auto* descendantWindow = descendant->window(); if (!descendantWindow) continue; - auto* descendantSecurityOrigin = descendantWindow->securityOrigin(); + RefPtr descendantSecurityOrigin = descendantWindow->securityOrigin(); if (!descendantSecurityOrigin || !descendantSecurityOrigin->isSameOriginAs(*securityOrigin)) continue; @@ -1597,7 +1600,7 @@ if (pseudoType == CSSSelector::PseudoElementUnknown && !pseudoElement.isEmpty()) return nullptr; - auto* frame = this->frame(); + RefPtr frame = this->frame(); frame->document()->styleScope().flushPendingUpdate(); unsigned rulesToInclude = Style::Resolver::AuthorCSSRules; @@ -1680,11 +1683,11 @@ document()->updateLayoutIgnorePendingStylesheets(); - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return; - auto view = makeRefPtr(frame->view()); + RefPtr view = frame->view(); if (!view) return; @@ -1730,7 +1733,7 @@ bool DOMWindow::allowedToChangeWindowGeometry() const { - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return false; if (!frame->page()) @@ -1795,7 +1798,7 @@ ExceptionOr DOMWindow::setTimeout(JSC::JSGlobalObject& state, std::unique_ptr action, int timeout, Vector>&& arguments) { - auto* context = scriptExecutionContext(); + RefPtr context = scriptExecutionContext(); if (!context) return Exception { InvalidAccessError }; @@ -1812,7 +1815,7 @@ void DOMWindow::clearTimeout(int timeoutId) { - ScriptExecutionContext* context = scriptExecutionContext(); + RefPtr context = scriptExecutionContext(); if (!context) return; DOMTimer::removeById(*context, timeoutId); @@ -1820,7 +1823,7 @@ ExceptionOr DOMWindow::setInterval(JSC::JSGlobalObject& state, std::unique_ptr action, int timeout, Vector>&& arguments) { - auto* context = scriptExecutionContext(); + RefPtr context = scriptExecutionContext(); if (!context) return Exception { InvalidAccessError }; @@ -1845,7 +1848,7 @@ int DOMWindow::requestAnimationFrame(Ref&& callback) { - auto* document = this->document(); + RefPtr document = this->document(); if (!document) return 0; return document->requestAnimationFrame(WTFMove(callback)); @@ -1863,7 +1866,7 @@ void DOMWindow::cancelAnimationFrame(int id) { - auto* document = this->document(); + RefPtr document = this->document(); if (!document) return; document->cancelAnimationFrame(id); @@ -1887,7 +1890,7 @@ void DOMWindow::createImageBitmap(ImageBitmap::Source&& source, ImageBitmapOptions&& options, ImageBitmap::Promise&& promise) { - auto* document = this->document(); + RefPtr document = this->document(); if (!document) { promise.reject(InvalidStateError); return; @@ -1897,7 +1900,7 @@ void DOMWindow::createImageBitmap(ImageBitmap::Source&& source, int sx, int sy, int sw, int sh, ImageBitmapOptions&& options, ImageBitmap::Promise&& promise) { - auto* document = this->document(); + RefPtr document = this->document(); if (!document) { promise.reject(InvalidStateError); return; @@ -1907,7 +1910,7 @@ bool DOMWindow::isSecureContext() const { - auto* document = this->document(); + RefPtr document = this->document(); if (!document) return false; return document->isSecureContext(); @@ -1945,7 +1948,7 @@ if (!EventTarget::addEventListener(eventType, WTFMove(listener), options)) return false; - auto* document = this->document(); + RefPtr document = this->document(); if (document) { document->addListenerTypeIfNeeded(eventType); if (eventNames().isWheelEventType(eventType)) @@ -2084,7 +2087,7 @@ String innerMessage; if (!isAllowedToUseDeviceOrientation(innerMessage) || !hasPermissionToReceiveDeviceMotionOrOrientationEvents(innerMessage)) { - if (auto* document = this->document()) + if (RefPtr document = this->document()) document->addConsoleMessage(MessageSource::JS, MessageLevel::Warning, makeString("No device orientation events will be fired, reason: ", innerMessage, ".")); return; } @@ -2113,7 +2116,7 @@ String innerMessage; if (!isAllowedToUseDeviceMotion(innerMessage) || !hasPermissionToReceiveDeviceMotionOrOrientationEvents(innerMessage)) { failedToRegisterDeviceMotionEventListener(); - if (auto* document = this->document()) + if (RefPtr document = this->document()) document->addConsoleMessage(MessageSource::JS, MessageLevel::Warning, makeString("No device motion events will be fired, reason: ", innerMessage, ".")); return; } @@ -2155,10 +2158,9 @@ void DOMWindow::incrementScrollEventListenersCount() { - Document* document = this->document(); + RefPtr document = this->document(); if (++m_scrollEventListenerCount == 1 && document == &document->topDocument()) { - Frame* frame = this->frame(); - if (frame && frame->page()) + if (RefPtr frame = this->frame(); frame && frame->page()) frame->page()->chrome().client().setNeedsScrollNotifications(*frame, true); } } @@ -2189,7 +2191,7 @@ if (!EventTarget::removeEventListener(eventType, listener, options.capture)) return false; - auto* document = this->document(); + RefPtr document = this->document(); if (document) { if (eventNames().isWheelEventType(eventType)) document->didRemoveWheelEventHandler(*document); @@ -2255,8 +2257,8 @@ protectedLoader->timing().markLoadEventEnd(); // Send a separate load event to the element that owns this frame. - if (frame()) { - if (auto* owner = frame()->ownerElement()) + if (RefPtr ownerFrame = frame()) { + if (RefPtr owner = ownerFrame->ownerElement()) owner->dispatchEvent(Event::create(eventNames().loadEvent, Event::CanBubble::No, Event::IsCancelable::No)); } @@ -2338,7 +2340,7 @@ #endif #if ENABLE(TOUCH_EVENTS) - if (Document* document = this->document()) + if (RefPtr document = this->document()) document->didRemoveEventTargetNode(*document); #endif @@ -2375,12 +2377,12 @@ if (!isCurrentlyDisplayedInFrame()) return; - Document* activeDocument = activeWindow.document(); + RefPtr activeDocument = activeWindow.document(); if (!activeDocument) return; - auto* frame = this->frame(); - if (!activeDocument->canNavigate(frame, completedURL)) + RefPtr frame = this->frame(); + if (!activeDocument->canNavigate(frame.get(), completedURL)) return; if (isInsecureScriptAccess(activeWindow, completedURL.string())) @@ -2481,11 +2483,11 @@ ExceptionOr> DOMWindow::createWindow(const String& urlString, const AtomString& frameName, const WindowFeatures& windowFeatures, DOMWindow& activeWindow, Frame& firstFrame, Frame& openerFrame, const WTF::Function& prepareDialogFunction) { - Frame* activeFrame = activeWindow.frame(); + RefPtr activeFrame = activeWindow.frame(); if (!activeFrame) return RefPtr { nullptr }; - Document* activeDocument = activeWindow.document(); + RefPtr activeDocument = activeWindow.document(); if (!activeDocument) return RefPtr { nullptr }; @@ -2542,7 +2544,7 @@ ExceptionOr> DOMWindow::open(DOMWindow& activeWindow, DOMWindow& firstWindow, const String& urlStringToOpen, const AtomString& frameName, const String& windowFeaturesString) { #if ENABLE(RESOURCE_LOAD_STATISTICS) - if (auto* document = this->document()) { + if (RefPtr document = this->document()) { if (document->settings().needsSiteSpecificQuirks() && urlStringToOpen == Quirks::BBCRadioPlayerURLString()) { auto radioPlayerDomain = RegistrableDomain(URL(URL(), Quirks::staticRadioPlayerURLString())); auto BBCDomain = RegistrableDomain(URL(URL(), Quirks::BBCRadioPlayerURLString())); @@ -2555,11 +2557,11 @@ if (!isCurrentlyDisplayedInFrame()) return RefPtr { nullptr }; - auto* activeDocument = activeWindow.document(); + RefPtr activeDocument = activeWindow.document(); if (!activeDocument) return RefPtr { nullptr }; - auto* firstFrame = firstWindow.frame(); + RefPtr firstFrame = firstWindow.frame(); if (!firstFrame) return RefPtr { nullptr }; @@ -2569,9 +2571,9 @@ #if ENABLE(CONTENT_EXTENSIONS) auto* page = firstFrame->page(); - auto* firstFrameDocument = firstFrame->document(); - auto* mainFrameDocument = firstFrame->mainFrame().document(); - auto* mainFrameDocumentLoader = mainFrameDocument ? mainFrameDocument->loader() : nullptr; + RefPtr firstFrameDocument = firstFrame->document(); + RefPtr mainFrameDocument = firstFrame->mainFrame().document(); + RefPtr mainFrameDocumentLoader = mainFrameDocument ? mainFrameDocument->loader() : nullptr; if (firstFrameDocument && page && mainFrameDocumentLoader) { auto results = page->userContentProvider().processContentRuleListsForLoad(*page, firstFrameDocument->completeURL(urlString), ContentExtensions::ResourceType::Popup, *mainFrameDocumentLoader); if (results.summary.blockedLoad) @@ -2579,30 +2581,30 @@ } #endif - auto* frame = this->frame(); + RefPtr frame = this->frame(); if (!frame) return RefPtr { nullptr }; if (!firstWindow.allowPopUp()) { // Because FrameTree::findFrameForNavigation() returns true for empty strings, we must check for empty frame names. // Otherwise, illegitimate window.open() calls with no name will pass right through the popup blocker. - if (frameName.isEmpty() || !frame->loader().findFrameForNavigation(frameName, activeDocument)) + if (frameName.isEmpty() || !frame->loader().findFrameForNavigation(frameName, activeDocument.get())) return RefPtr { nullptr }; } // Get the target frame for the special cases of _top and _parent. // In those cases, we schedule a location change right now and return early. - Frame* targetFrame = nullptr; + RefPtr targetFrame; if (equalIgnoringASCIICase(frameName, "_top")) targetFrame = &frame->tree().top(); else if (equalIgnoringASCIICase(frameName, "_parent")) { - if (Frame* parent = frame->tree().parent()) + if (RefPtr parent = frame->tree().parent()) targetFrame = parent; else targetFrame = frame; } if (targetFrame) { - if (!activeDocument->canNavigate(targetFrame)) + if (!activeDocument->canNavigate(targetFrame.get())) return RefPtr { nullptr }; URL completedURL = firstFrame->document()->completeURL(urlString); @@ -2635,11 +2637,11 @@ return; if (!activeWindow.frame()) return; - Frame* firstFrame = firstWindow.frame(); + RefPtr firstFrame = firstWindow.frame(); if (!firstFrame) return; - auto* frame = this->frame(); + RefPtr frame = this->frame(); auto* page = frame->page(); if (!page) return; diff -Nru wpewebkit-2.32.3/Source/WebCore/page/EventHandler.cpp wpewebkit-2.32.4/Source/WebCore/page/EventHandler.cpp --- wpewebkit-2.32.3/Source/WebCore/page/EventHandler.cpp 2021-07-23 09:00:04.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/EventHandler.cpp 2021-09-16 10:52:38.000000000 +0000 @@ -485,7 +485,7 @@ void EventHandler::selectClosestWordFromHitTestResult(const HitTestResult& result, AppendTrailingWhitespace appendTrailingWhitespace) { - Node* targetNode = result.targetNode(); + RefPtr targetNode = result.targetNode(); VisibleSelection newSelection; if (targetNode && targetNode->renderer()) { @@ -498,7 +498,7 @@ if (appendTrailingWhitespace == ShouldAppendTrailingWhitespace && newSelection.isRange()) newSelection.appendTrailingWhitespace(); - updateSelectionForMouseDownDispatchingSelectStart(targetNode, expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); + updateSelectionForMouseDownDispatchingSelectStart(targetNode.get(), expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); } } @@ -522,7 +522,7 @@ void EventHandler::selectClosestContextualWordFromMouseEvent(const MouseEventWithHitTestResults& mouseEvent) { - Node* targetNode = mouseEvent.targetNode(); + RefPtr targetNode = mouseEvent.targetNode(); const HitTestResult& result = mouseEvent.hitTestResult(); VisibleSelection newSelection; bool appendTrailingWhitespace = shouldAppendTrailingWhitespace(mouseEvent, m_frame); @@ -540,15 +540,15 @@ if (appendTrailingWhitespace == ShouldAppendTrailingWhitespace && newSelection.isRange()) newSelection.appendTrailingWhitespace(); - updateSelectionForMouseDownDispatchingSelectStart(targetNode, expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); + updateSelectionForMouseDownDispatchingSelectStart(targetNode.get(), expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); } } void EventHandler::selectClosestContextualWordOrLinkFromMouseEvent(const MouseEventWithHitTestResults& result) { - Element* urlElement = result.hitTestResult().URLElement(); + RefPtr urlElement = result.hitTestResult().URLElement(); if (!urlElement || !isDraggableLink(*urlElement)) { - if (Node* targetNode = result.targetNode()) { + if (RefPtr targetNode = result.targetNode()) { if (isEditableNode(*targetNode)) return selectClosestWordFromMouseEvent(result); } @@ -556,15 +556,14 @@ return selectClosestContextualWordFromMouseEvent(result); } - Node* targetNode = result.targetNode(); - + RefPtr targetNode = result.targetNode(); if (targetNode && targetNode->renderer() && mouseDownMayStartSelect()) { VisibleSelection newSelection; VisiblePosition pos(targetNode->renderer()->positionForPoint(result.localPoint(), nullptr)); if (pos.isNotNull() && pos.deepEquivalent().deprecatedNode()->isDescendantOf(*urlElement)) - newSelection = VisibleSelection::selectionFromContentsOfNode(urlElement); + newSelection = VisibleSelection::selectionFromContentsOfNode(urlElement.get()); - updateSelectionForMouseDownDispatchingSelectStart(targetNode, expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); + updateSelectionForMouseDownDispatchingSelectStart(targetNode.get(), expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::WordGranularity); } } @@ -591,7 +590,7 @@ if (event.event().button() != LeftButton) return false; - Node* targetNode = event.targetNode(); + RefPtr targetNode = event.targetNode(); if (!(targetNode && targetNode->renderer() && mouseDownMayStartSelect())) return false; @@ -602,7 +601,7 @@ newSelection.expandUsingGranularity(TextGranularity::ParagraphGranularity); } - return updateSelectionForMouseDownDispatchingSelectStart(targetNode, expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::ParagraphGranularity); + return updateSelectionForMouseDownDispatchingSelectStart(targetNode.get(), expandSelectionToRespectSelectOnMouseDown(*targetNode, newSelection), TextGranularity::ParagraphGranularity); } static uint64_t textDistance(const Position& start, const Position& end) @@ -618,7 +617,7 @@ Ref protectedFrame(m_frame); m_frame.document()->updateLayoutIgnorePendingStylesheets(); - Node* targetNode = event.targetNode(); + RefPtr targetNode = event.targetNode(); if (!targetNode || !targetNode->renderer() || !mouseDownMayStartSelect() || m_mouseDownDelegatedFocus) return false; @@ -637,7 +636,7 @@ VisiblePosition visiblePosition(targetNode->renderer()->positionForPoint(event.localPoint(), nullptr)); if (visiblePosition.isNull()) - visiblePosition = VisiblePosition(firstPositionInOrBeforeNode(targetNode)); + visiblePosition = VisiblePosition(firstPositionInOrBeforeNode(targetNode.get())); Position pos = visiblePosition.deepEquivalent(); VisibleSelection newSelection = m_frame.selection().selection(); @@ -682,7 +681,7 @@ newSelection = expandSelectionToRespectSelectOnMouseDown(*targetNode, visiblePosition); } - bool handled = updateSelectionForMouseDownDispatchingSelectStart(targetNode, newSelection, granularity); + bool handled = updateSelectionForMouseDownDispatchingSelectStart(targetNode.get(), newSelection, granularity); if (event.event().button() == MiddleButton) { // Ignore handled, since we want to paste to where the caret was placed anyway. @@ -801,21 +800,22 @@ VisiblePosition EventHandler::selectionExtentRespectingEditingBoundary(const VisibleSelection& selection, const LayoutPoint& localPoint, Node* targetNode) { FloatPoint selectionEndPoint = localPoint; - Element* editableElement = selection.rootEditableElement(); + RefPtr editableElement = selection.rootEditableElement(); if (!targetNode || !targetNode->renderer()) return VisiblePosition(); + RefPtr adjustedTarget = targetNode; if (editableElement && !editableElement->contains(targetNode)) { if (!editableElement->renderer()) return VisiblePosition(); FloatPoint absolutePoint = targetNode->renderer()->localToAbsolute(FloatPoint(selectionEndPoint)); selectionEndPoint = editableElement->renderer()->absoluteToLocal(absolutePoint); - targetNode = editableElement; + adjustedTarget = editableElement; } - return targetNode->renderer()->positionForPoint(LayoutPoint(selectionEndPoint), nullptr); + return adjustedTarget->renderer()->positionForPoint(LayoutPoint(selectionEndPoint), nullptr); } #if ENABLE(DRAG_SUPPORT) @@ -844,13 +844,13 @@ if (handleDrag(event, checkDragHysteresis)) return true; - Node* targetNode = event.targetNode(); + RefPtr targetNode = event.targetNode(); if (event.event().button() != LeftButton || !targetNode) return false; RenderObject* renderer = targetNode->renderer(); if (!renderer) { - Element* parent = targetNode->parentOrShadowHostElement(); + RefPtr parent = targetNode->parentOrShadowHostElement(); if (!parent) return false; @@ -907,8 +907,8 @@ HitTestResult result(view->windowToContents(event.position())); document->hitTest(hitType, result); DragState state; - Element* targetElement = result.targetElement(); - return targetElement && page->dragController().draggableElement(&m_frame, targetElement, result.roundedPointInInnerNodeFrame(), state); + RefPtr targetElement = result.targetElement(); + return targetElement && page->dragController().draggableElement(&m_frame, targetElement.get(), result.roundedPointInInnerNodeFrame(), state); } void EventHandler::updateSelectionForMouseDrag() @@ -937,14 +937,14 @@ if (!mouseDownMayStartSelect()) return; - Node* target = hitTestResult.targetNode(); + RefPtr target = hitTestResult.targetNode(); if (!target) return; if (!HTMLElement::shouldUpdateSelectionForMouseDrag(*target, m_frame.selection().selection())) return; - VisiblePosition targetPosition = selectionExtentRespectingEditingBoundary(m_frame.selection().selection(), hitTestResult.localPoint(), target); + VisiblePosition targetPosition = selectionExtentRespectingEditingBoundary(m_frame.selection().selection(), hitTestResult.localPoint(), target.get()); // Don't modify the selection if we're not on a node. if (targetPosition.isNull()) @@ -956,7 +956,7 @@ // Special case to limit selection to the containing block for SVG text. // FIXME: Isn't there a better non-SVG-specific way to do this? - if (Node* selectionBaseNode = newSelection.base().deprecatedNode()) { + if (RefPtr selectionBaseNode = newSelection.base().deprecatedNode()) { if (RenderObject* selectionBaseRenderer = selectionBaseNode->renderer()) { if (selectionBaseRenderer->isSVGText()) { if (target->renderer()->containingBlock() != selectionBaseRenderer->containingBlock()) @@ -966,7 +966,7 @@ } - if (m_selectionInitiationState == HaveNotStartedSelection && !dispatchSelectStart(target)) { + if (m_selectionInitiationState == HaveNotStartedSelection && !dispatchSelectStart(target.get())) { m_mouseDownMayStartSelect = false; return; } @@ -977,20 +977,20 @@ newSelection = VisibleSelection(targetPosition); } - Node* rootUserSelectAllForMousePressNode = Position::rootUserSelectAllForNode(m_mousePressNode.get()); - if (rootUserSelectAllForMousePressNode && rootUserSelectAllForMousePressNode == Position::rootUserSelectAllForNode(target)) { - newSelection.setBase(positionBeforeNode(rootUserSelectAllForMousePressNode).upstream(CanCrossEditingBoundary)); - newSelection.setExtent(positionAfterNode(rootUserSelectAllForMousePressNode).downstream(CanCrossEditingBoundary)); + RefPtr rootUserSelectAllForMousePressNode = Position::rootUserSelectAllForNode(m_mousePressNode.get()); + if (rootUserSelectAllForMousePressNode && rootUserSelectAllForMousePressNode == Position::rootUserSelectAllForNode(target.get())) { + newSelection.setBase(positionBeforeNode(rootUserSelectAllForMousePressNode.get()).upstream(CanCrossEditingBoundary)); + newSelection.setExtent(positionAfterNode(rootUserSelectAllForMousePressNode.get()).downstream(CanCrossEditingBoundary)); } else { // Reset base for user select all when base is inside user-select-all area and extent < base. if (rootUserSelectAllForMousePressNode && target->renderer()->positionForPoint(hitTestResult.localPoint(), nullptr) < m_mousePressNode->renderer()->positionForPoint(m_dragStartPosition, nullptr)) - newSelection.setBase(positionAfterNode(rootUserSelectAllForMousePressNode).downstream(CanCrossEditingBoundary)); + newSelection.setBase(positionAfterNode(rootUserSelectAllForMousePressNode.get()).downstream(CanCrossEditingBoundary)); - Node* rootUserSelectAllForTarget = Position::rootUserSelectAllForNode(target); + RefPtr rootUserSelectAllForTarget = Position::rootUserSelectAllForNode(target.get()); if (rootUserSelectAllForTarget && m_mousePressNode->renderer() && target->renderer()->positionForPoint(hitTestResult.localPoint(), nullptr) < m_mousePressNode->renderer()->positionForPoint(m_dragStartPosition, nullptr)) - newSelection.setExtent(positionBeforeNode(rootUserSelectAllForTarget).upstream(CanCrossEditingBoundary)); + newSelection.setExtent(positionBeforeNode(rootUserSelectAllForTarget.get()).upstream(CanCrossEditingBoundary)); else if (rootUserSelectAllForTarget && m_mousePressNode->renderer()) - newSelection.setExtent(positionAfterNode(rootUserSelectAllForTarget).downstream(CanCrossEditingBoundary)); + newSelection.setExtent(positionAfterNode(rootUserSelectAllForTarget.get()).downstream(CanCrossEditingBoundary)); else newSelection.setExtent(targetPosition); } @@ -1055,7 +1055,7 @@ && m_frame.selection().isRange() && event.event().button() != RightButton) { VisibleSelection newSelection; - Node* node = event.targetNode(); + RefPtr node = event.targetNode(); bool caretBrowsing = m_frame.settings().caretBrowsingEnabled(); bool allowSelectionChanges = true; if (node && node->renderer() && (caretBrowsing || node->hasEditableStyle())) { @@ -1152,12 +1152,10 @@ // We always send hitTestResultAtPoint to the main frame if we have one, // otherwise we might hit areas that are obscured by higher frames. if (!m_frame.isMainFrame()) { - Frame& mainFrame = m_frame.mainFrame(); - FrameView* frameView = m_frame.view(); - FrameView* mainView = mainFrame.view(); - if (frameView && mainView) { + Ref mainFrame = m_frame.mainFrame(); + if (RefPtr frameView = m_frame.view(), mainView = mainFrame->view(); frameView && mainView) { IntPoint mainFramePoint = mainView->rootViewToContents(frameView->contentsToRootView(roundedIntPoint(point))); - return mainFrame.eventHandler().hitTestResultAtPoint(mainFramePoint, hitType, padding); + return mainFrame->eventHandler().hitTestResultAtPoint(mainFramePoint, hitType); } } @@ -1165,11 +1163,11 @@ unsigned nonNegativePaddingHeight = std::max(0, padding.height()).toUnsigned(); // We should always start hit testing a clean tree. - if (auto* frameView = m_frame.view()) + if (RefPtr frameView = m_frame.view()) frameView->updateLayoutAndStyleIfNeededRecursive(); HitTestResult result(point, nonNegativePaddingHeight, nonNegativePaddingWidth, nonNegativePaddingHeight, nonNegativePaddingWidth); - auto* document = m_frame.document(); + RefPtr document = m_frame.document(); if (!document) return result; @@ -1191,7 +1189,7 @@ bool EventHandler::scrollOverflow(ScrollDirection direction, ScrollGranularity granularity, Node* startingNode) { - Node* node = startingNode; + RefPtr node = startingNode; if (!node) node = m_frame.document()->focusedElement(); @@ -1212,7 +1210,7 @@ bool EventHandler::logicalScrollOverflow(ScrollLogicalDirection direction, ScrollGranularity granularity, Node* startingNode) { - Node* node = startingNode; + RefPtr node = startingNode; if (!node) node = m_frame.document()->focusedElement(); @@ -1240,8 +1238,8 @@ m_frame.document()->updateLayoutIgnorePendingStylesheets(); if (scrollOverflow(direction, granularity, startingNode)) return true; - Frame* frame = &m_frame; - FrameView* view = frame->view(); + RefPtr frame = &m_frame; + RefPtr view = frame->view(); if (view && view->scroll(direction, granularity)) return true; frame = frame->tree().parent(); @@ -1259,8 +1257,8 @@ m_frame.document()->updateLayoutIgnorePendingStylesheets(); if (logicalScrollOverflow(direction, granularity, startingNode)) return true; - Frame* frame = &m_frame; - FrameView* view = frame->view(); + RefPtr frame = &m_frame; + RefPtr view = frame->view(); bool scrolled = false; #if PLATFORM(COCOA) @@ -1273,7 +1271,7 @@ if (scrolled) return true; - + frame = frame->tree().parent(); if (!frame) return false; @@ -1369,11 +1367,11 @@ return; } - FrameView* view = m_frame.view(); + RefPtr view = m_frame.view(); if (!view) return; - auto* document = m_frame.document(); + RefPtr document = m_frame.document(); if (!document) return; @@ -1424,7 +1422,7 @@ return pointerCursor(); } - Node* node = result.targetNode(); + RefPtr node = result.targetNode(); if (!node) return WTF::nullopt; @@ -1501,7 +1499,7 @@ case CursorType::Auto: { bool editable = node->hasEditableStyle(); - if (useHandCursor(node, result.isOverLink(), shiftKey)) + if (useHandCursor(node.get(), result.isOverLink(), shiftKey)) return handCursor(); bool inResizer = false; @@ -1730,7 +1728,7 @@ #if ENABLE(PAN_SCROLLING) // We store whether pan scrolling is in progress before calling stopAutoscrollTimer() // because it will set m_autoscrollType to NoAutoscroll on return. - bool isPanScrollInProgress = m_frame.mainFrame().eventHandler().panScrollInProgress(); + bool isPanScrollInProgress = Ref(m_frame.mainFrame())->eventHandler().panScrollInProgress(); stopAutoscrollTimer(); if (isPanScrollInProgress) { // We invalidate the click when exiting pan scrolling so that we don't inadvertently navigate @@ -2005,7 +2003,7 @@ } if (!newSubframe || mouseEvent.scrollbar()) { - if (auto* view = m_frame.view()) + if (RefPtr view = m_frame.view()) updateCursor(*view, mouseEvent.hitTestResult(), platformMouseEvent.shiftKey()); } @@ -2268,13 +2266,12 @@ return dragState().source.get(); } -static bool targetIsFrame(Node* target, Frame*& frame) +static std::pair> contentFrameForNode(Node* target) { if (!is(target)) - return false; + return { false, nullptr }; - frame = downcast(*target).contentFrame(); - return true; + return { true, downcast(*target).contentFrame() }; } static Optional convertDropZoneOperationToDragOperation(const String& dragOperation) @@ -2360,12 +2357,12 @@ MouseEventWithHitTestResults mouseEvent = prepareMouseEvent(hitType, event); RefPtr newTarget; - if (Node* targetNode = mouseEvent.targetNode()) { + if (RefPtr targetNode = mouseEvent.targetNode()) { // Drag events should never go to non-element nodes (following IE, and proper mouseover/out dispatch) if (!is(*targetNode)) newTarget = targetNode->parentOrShadowHostElement(); else - newTarget = downcast(targetNode); + newTarget = static_pointer_cast(WTFMove(targetNode)); } m_autoscrollController->updateDragAndDrop(newTarget.get(), event.position(), event.timestamp()); @@ -2377,8 +2374,7 @@ // LayoutTests/fast/events/drag-in-frames.html. // // Moreover, this ordering conforms to section 7.9.4 of the HTML 5 spec. . - Frame* targetFrame; - if (targetIsFrame(newTarget.get(), targetFrame)) { + if (auto [isFrameOwner, targetFrame] = contentFrameForNode(newTarget.get()); isFrameOwner) { if (targetFrame) response = targetFrame->eventHandler().updateDragAndDrop(event, makePasteboard, sourceOperationMask, draggingFiles); } else if (newTarget) { @@ -2387,7 +2383,7 @@ response = dispatchDragEnterOrDragOverEvent(eventNames().dragenterEvent, *newTarget, event, makePasteboard(), sourceOperationMask, draggingFiles); } - if (targetIsFrame(m_dragTarget.get(), targetFrame)) { + if (auto [isFrameOwner, targetFrame] = contentFrameForNode(m_dragTarget.get()); isFrameOwner) { // FIXME: Recursing again here doesn't make sense if the newTarget and m_dragTarget were in the same frame. if (targetFrame) response = targetFrame->eventHandler().updateDragAndDrop(event, makePasteboard, sourceOperationMask, draggingFiles); @@ -2403,8 +2399,7 @@ m_shouldOnlyFireDragOverEvent = true; } } else { - Frame* targetFrame; - if (targetIsFrame(newTarget.get(), targetFrame)) { + if (auto [isFrameOwner, targetFrame] = contentFrameForNode(newTarget.get()); isFrameOwner) { if (targetFrame) response = targetFrame->eventHandler().updateDragAndDrop(event, makePasteboard, sourceOperationMask, draggingFiles); } else if (newTarget) { @@ -2423,8 +2418,7 @@ { Ref protectedFrame(m_frame); - Frame* targetFrame; - if (targetIsFrame(m_dragTarget.get(), targetFrame)) { + if (auto [isFrameOwner, targetFrame] = contentFrameForNode(m_dragTarget.get()); isFrameOwner) { if (targetFrame) targetFrame->eventHandler().cancelDragAndDrop(event, WTFMove(pasteboard), sourceOperationMask, draggingFiles); } else if (m_dragTarget) { @@ -2441,9 +2435,8 @@ { Ref protectedFrame(m_frame); - Frame* targetFrame; bool preventedDefault = false; - if (targetIsFrame(m_dragTarget.get(), targetFrame)) { + if (auto [isFrameOwner, targetFrame] = contentFrameForNode(m_dragTarget.get()); isFrameOwner) { if (targetFrame) preventedDefault = targetFrame->eventHandler().performDragAndDrop(event, WTFMove(pasteboard), sourceOperationMask, draggingFiles); } else if (m_dragTarget) { @@ -2495,7 +2488,7 @@ static bool hierarchyHasCapturingEventListeners(Element* element, const AtomString& pointerEventName, const AtomString& compatibilityMouseEventName) { - for (ContainerNode* curr = element; curr; curr = curr->parentInComposedTree()) { + for (RefPtr curr = element; curr; curr = curr->parentInComposedTree()) { if (curr->hasCapturingEventListeners(pointerEventName) || curr->hasCapturingEventListeners(compatibilityMouseEventName)) return true; } @@ -2505,7 +2498,7 @@ void EventHandler::updateMouseEventTargetNode(const AtomString& eventType, Node* targetNode, const PlatformMouseEvent& platformMouseEvent, FireMouseOverOut fireMouseOverOut) { Ref protectedFrame(m_frame); - Element* targetElement = nullptr; + RefPtr targetElement; // If we're capturing, we always go right to that element. if (m_capturingMouseEventsElement) @@ -2596,7 +2589,8 @@ void EventHandler::notifyScrollableAreasOfMouseEvents(const AtomString& eventType, Element* lastElementUnderMouse, Element* elementUnderMouse) { - auto* frameView = m_frame.view(); + Ref protectedFrame = m_frame; + RefPtr frameView = m_frame.view(); if (!frameView) return; @@ -2673,7 +2667,7 @@ m_mouseDownDelegatedFocus = false; // If clicking on a frame scrollbar, do not make any change to which element is focused. - auto* view = m_frame.view(); + RefPtr view = m_frame.view(); if (view && view->scrollbarAtPoint(platformMouseEvent.position())) return true; @@ -2688,7 +2682,7 @@ // Walk up the DOM tree to search for an element to focus. RefPtr element; for (element = m_elementUnderMouse.get(); element; element = element->parentElementInComposedTree()) { - if (auto* shadowRoot = element->shadowRoot()) { + if (RefPtr shadowRoot = element->shadowRoot()) { if (shadowRoot->delegatesFocus()) { element = findFirstMouseFocusableElementInComposedTree(*element); m_mouseDownDelegatedFocus = true; @@ -2727,7 +2721,7 @@ bool EventHandler::isInsideScrollbar(const IntPoint& windowPoint) const { - if (auto* document = m_frame.document()) { + if (RefPtr document = m_frame.document()) { HitTestResult result { windowPoint }; document->hitTest(OptionSet { HitTestRequest::ReadOnly, HitTestRequest::DisallowUserAgentShadowContent }, result); return result.scrollbar(); @@ -2848,6 +2842,7 @@ bool EventHandler::handleWheelEvent(const PlatformWheelEvent& wheelEvent, OptionSet processingSteps) { + Ref protectedFrame = m_frame; #if ENABLE(KINETIC_SCROLLING) if (wheelEvent.isGestureStart()) m_wheelScrollGestureState = WTF::nullopt; @@ -2862,14 +2857,13 @@ bool EventHandler::handleWheelEventInternal(const PlatformWheelEvent& event, OptionSet processingSteps, OptionSet& handling) { - auto* document = m_frame.document(); + RefPtr document = m_frame.document(); if (!document) return false; Ref protectedFrame(m_frame); - RefPtr protector(m_frame.view()); - FrameView* view = m_frame.view(); + RefPtr view = m_frame.view(); if (!view) return false; @@ -3128,8 +3122,8 @@ { Ref protectedFrame(m_frame); - Document* doc = m_frame.document(); - FrameView* view = m_frame.view(); + RefPtr doc = m_frame.document(); + RefPtr view = m_frame.view(); if (!view) return false; @@ -3166,11 +3160,11 @@ { Ref protectedFrame(m_frame); - FrameView* view = m_frame.view(); + RefPtr view = m_frame.view(); if (!view) return false; - Document* doc = m_frame.document(); + RefPtr doc = m_frame.document(); if (!doc) return false; @@ -3186,7 +3180,7 @@ #endif IntPoint location; - Element* focusedElement = doc->focusedElement(); + RefPtr focusedElement = doc->focusedElement(); const VisibleSelection& selection = m_frame.selection().selection(); Position start = selection.start(); @@ -3215,13 +3209,13 @@ IntPoint position = view->contentsToRootView(location); IntPoint globalPosition = view->hostWindow()->rootViewToScreen(IntRect(position, IntSize())).location(); - Node* targetNode = doc->focusedElement(); + RefPtr targetNode = doc->focusedElement(); if (!targetNode) targetNode = doc; // Use the focused node as the target for hover and active. HitTestResult result(position); - result.setInnerNode(targetNode); + result.setInnerNode(targetNode.get()); doc->updateHoverActiveState(OptionSet { HitTestRequest::Active, HitTestRequest::DisallowUserAgentShadowContent }, result.targetElement()); // The contextmenu event is a mouse event even when invoked using the keyboard. @@ -3311,8 +3305,8 @@ { ASSERT(!m_mousePressed); - FrameView* view = m_frame.view(); - if (!view) + Ref protectedFrame = m_frame; + if (!m_frame.view()) return; if (!m_frame.page() || !m_frame.page()->isVisible() || !m_frame.page()->focusController().isActive()) @@ -3347,8 +3341,8 @@ Ref protectedFrame(m_frame); - if (auto* document = m_frame.document()) { - if (FrameView* view = m_frame.view()) { + if (RefPtr document = m_frame.document()) { + if (RefPtr view = m_frame.view()) { HitTestResult result(view->windowToContents(m_lastKnownMousePosition)); constexpr OptionSet hitType { HitTestRequest::Move, HitTestRequest::DisallowUserAgentShadowContent }; document->hitTest(hitType, result); @@ -3372,6 +3366,7 @@ bool EventHandler::handleAccessKey(const PlatformKeyboardEvent& event) { + Ref protectedFrame = m_frame; // FIXME: Ignoring the state of Shift key is what neither IE nor Firefox do. // IE matches lower and upper case access keys regardless of Shift key state - but if both upper and // lower case variants are present in a document, the correct element is matched based on Shift key state. @@ -3397,7 +3392,7 @@ #if ENABLE(FULLSCREEN_API) bool EventHandler::isKeyEventAllowedInFullScreen(const PlatformKeyboardEvent& keyEvent) const { - Document* document = m_frame.document(); + RefPtr document = m_frame.document(); if (document->fullscreenManager().isFullscreenKeyboardInputAllowed()) return true; @@ -3418,7 +3413,8 @@ bool EventHandler::keyEvent(const PlatformKeyboardEvent& keyEvent) { - Document* topDocument = m_frame.document() ? &m_frame.document()->topDocument() : nullptr; + Ref protectedFrame = m_frame; + RefPtr topDocument = m_frame.document() ? &m_frame.document()->topDocument() : nullptr; MonotonicTime savedLastHandledUserGestureTimestamp; bool savedUserDidInteractWithPage = topDocument ? topDocument->userDidInteractWithPage() : false; @@ -3485,7 +3481,7 @@ capsLockStateMayHaveChanged(); #if ENABLE(PAN_SCROLLING) - if (m_frame.mainFrame().eventHandler().panScrollInProgress()) { + if (Ref(m_frame.mainFrame())->eventHandler().panScrollInProgress()) { // If a key is pressed while the panScroll is in progress then we want to stop if (initialKeyEvent.type() == PlatformEvent::KeyDown || initialKeyEvent.type() == PlatformEvent::RawKeyDown) stopAutoscrollTimer(); @@ -3623,7 +3619,7 @@ static void setInitialKeyboardSelection(Frame& frame, SelectionDirection direction) { - Document* document = frame.document(); + RefPtr document = frame.document(); if (!document) return; @@ -3632,23 +3628,23 @@ if (!selection.isNone()) return; - Element* focusedElement = document->focusedElement(); + RefPtr focusedElement = document->focusedElement(); VisiblePosition visiblePosition; switch (direction) { case SelectionDirection::Backward: case SelectionDirection::Left: if (focusedElement) - visiblePosition = VisiblePosition(positionBeforeNode(focusedElement)); + visiblePosition = VisiblePosition(positionBeforeNode(focusedElement.get())); else - visiblePosition = endOfDocument(document); + visiblePosition = endOfDocument(document.get()); break; case SelectionDirection::Forward: case SelectionDirection::Right: if (focusedElement) - visiblePosition = VisiblePosition(positionAfterNode(focusedElement)); + visiblePosition = VisiblePosition(positionAfterNode(focusedElement.get())); else - visiblePosition = startOfDocument(document); + visiblePosition = startOfDocument(document.get()); break; } @@ -3808,8 +3804,8 @@ static void removeDraggedContentDocumentMarkersFromAllFramesInPage(Page& page) { - for (Frame* frame = &page.mainFrame(); frame; frame = frame->tree().traverseNext()) { - if (auto* document = frame->document()) + for (RefPtr frame = &page.mainFrame(); frame; frame = frame->tree().traverseNext()) { + if (RefPtr document = frame->document()) document->markers().removeMarkers(DocumentMarker::DraggedContent); } @@ -4183,7 +4179,6 @@ event.setDefaultHandled(); } - void EventHandler::defaultArrowEventHandler(FocusDirection focusDirection, KeyboardEvent& event) { ASSERT(event.type() == eventNames().keydownEvent); @@ -4390,15 +4385,16 @@ if (freshTouchEvents) { result = hitTestResultAtPoint(pagePoint, hitType | HitTestRequest::AllowChildFrameContent); m_originatingTouchPointTargetKey = touchPointTargetKey; - } else if (m_originatingTouchPointDocument.get() && m_originatingTouchPointDocument->frame()) { - LayoutPoint pagePointInOriginatingDocument = documentPointForWindowPoint(*m_originatingTouchPointDocument->frame(), point.pos()); - result = hitTestResultInFrame(m_originatingTouchPointDocument->frame(), pagePointInOriginatingDocument, hitType); + } else if (m_originatingTouchPointDocument && m_originatingTouchPointDocument->frame()) { + Ref frame = *m_originatingTouchPointDocument->frame(); + LayoutPoint pagePointInOriginatingDocument = documentPointForWindowPoint(frame, point.pos()); + result = hitTestResultInFrame(frame.ptr(), pagePointInOriginatingDocument, hitType); if (!result.innerNode()) continue; } else continue; - Element* element = result.targetElement(); + RefPtr element = result.targetElement(); ASSERT(element); if (element && InspectorInstrumentation::handleTouchEvent(m_frame, *element)) @@ -4433,7 +4429,7 @@ auto& document = downcast(*touchTarget).document(); if (!document.hasTouchEventHandlers()) continue; - auto* targetFrame = document.frame(); + RefPtr targetFrame = document.frame(); if (!targetFrame) continue; @@ -4447,7 +4443,7 @@ int adjustedPageX = lroundf(pagePoint.x() / scaleFactor); int adjustedPageY = lroundf(pagePoint.y() / scaleFactor); - auto touch = Touch::create(targetFrame, touchTarget.get(), point.id(), + auto touch = Touch::create(targetFrame.get(), touchTarget.get(), point.id(), point.screenPos().x(), point.screenPos().y(), adjustedPageX, adjustedPageY, point.radiusX(), point.radiusY(), point.rotationAngle(), point.force()); @@ -4574,7 +4570,7 @@ if (!is(widget)) return false; - return downcast(widget).frame().eventHandler().handleWheelEvent(event, processingSteps); + return Ref(downcast(widget).frame())->eventHandler().handleWheelEvent(event, processingSteps); } bool EventHandler::tabsToAllFormControls(KeyboardEvent*) const diff -Nru wpewebkit-2.32.3/Source/WebCore/page/Page.cpp wpewebkit-2.32.4/Source/WebCore/page/Page.cpp --- wpewebkit-2.32.3/Source/WebCore/page/Page.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/Page.cpp 2021-09-16 11:18:30.000000000 +0000 @@ -1404,12 +1404,12 @@ void Page::addActivityStateChangeObserver(ActivityStateChangeObserver& observer) { - m_activityStateChangeObservers.add(&observer); + m_activityStateChangeObservers.add(observer); } void Page::removeActivityStateChangeObserver(ActivityStateChangeObserver& observer) { - m_activityStateChangeObservers.remove(&observer); + m_activityStateChangeObservers.remove(observer); } void Page::layoutIfNeeded() @@ -2255,8 +2255,8 @@ if (changed.containsAny({ActivityState::IsVisible, ActivityState::IsVisuallyIdle, ActivityState::IsAudible, ActivityState::IsLoading, ActivityState::IsCapturingMedia })) updateTimerThrottlingState(); - for (auto* observer : m_activityStateChangeObservers) - observer->activityStateDidChange(oldActivityState, m_activityState); + for (auto& observer : m_activityStateChangeObservers) + observer.activityStateDidChange(oldActivityState, m_activityState); if (wasVisibleAndActive != isVisibleAndActive()) PlatformMediaSessionManager::updateNowPlayingInfoIfNecessary(); diff -Nru wpewebkit-2.32.3/Source/WebCore/page/Page.h wpewebkit-2.32.4/Source/WebCore/page/Page.h --- wpewebkit-2.32.3/Source/WebCore/page/Page.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/Page.h 2021-09-16 11:18:30.000000000 +0000 @@ -54,6 +54,7 @@ #include #include #include +#include #include #include @@ -1056,7 +1057,7 @@ Ref m_userContentProvider; Ref m_visitedLinkStore; RefPtr m_wheelEventTestMonitor; - HashSet m_activityStateChangeObservers; + WeakHashSet m_activityStateChangeObservers; #if ENABLE(RESOURCE_USAGE) std::unique_ptr m_resourceUsageOverlay; diff -Nru wpewebkit-2.32.3/Source/WebCore/page/Performance.cpp wpewebkit-2.32.4/Source/WebCore/page/Performance.cpp --- wpewebkit-2.32.3/Source/WebCore/page/Performance.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/Performance.cpp 2021-09-16 10:24:15.000000000 +0000 @@ -36,6 +36,7 @@ #include "Document.h" #include "DocumentLoader.h" #include "Event.h" +#include "EventLoop.h" #include "EventNames.h" #include "Frame.h" #include "PerformanceEntry.h" @@ -57,19 +58,16 @@ Performance::Performance(ScriptExecutionContext* context, MonotonicTime timeOrigin) : ContextDestructionObserver(context) - , m_resourceTimingBufferFullTimer(*this, &Performance::resourceTimingBufferFullTimerFired) + , m_resourceTimingBufferFullTimer(*this, &Performance::resourceTimingBufferFullTimerFired) // FIXME: Migrate this to the event loop as well. , m_timeOrigin(timeOrigin) - , m_performanceTimelineTaskQueue(context) { ASSERT(m_timeOrigin); - ASSERT(context || m_performanceTimelineTaskQueue.isClosed()); } Performance::~Performance() = default; void Performance::contextDestroyed() { - m_performanceTimelineTaskQueue.close(); m_resourceTimingBufferFullTimer.stop(); ContextDestructionObserver::contextDestroyed(); } @@ -368,10 +366,20 @@ if (!shouldScheduleTask) return; - if (m_performanceTimelineTaskQueue.hasPendingTasks()) + if (m_hasScheduledTimingBufferDeliveryTask) return; - m_performanceTimelineTaskQueue.enqueueTask([this] () { + auto* context = scriptExecutionContext(); + if (!context) + return; + + m_hasScheduledTimingBufferDeliveryTask = true; + context->eventLoop().queueTask(TaskSource::PerformanceTimeline, [protectedThis = makeRef(*this), this] { + auto* context = scriptExecutionContext(); + if (!context) + return; + + m_hasScheduledTimingBufferDeliveryTask = false; for (auto& observer : copyToVector(m_observers)) observer->deliver(); }); diff -Nru wpewebkit-2.32.3/Source/WebCore/page/Performance.h wpewebkit-2.32.4/Source/WebCore/page/Performance.h --- wpewebkit-2.32.3/Source/WebCore/page/Performance.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/Performance.h 2021-09-16 10:24:15.000000000 +0000 @@ -36,8 +36,9 @@ #include "DOMHighResTimeStamp.h" #include "EventTarget.h" #include "ExceptionOr.h" -#include "GenericTaskQueue.h" #include "ReducedResolutionSeconds.h" +#include "ScriptExecutionContext.h" +#include "Timer.h" #include #include @@ -134,13 +135,13 @@ // https://w3c.github.io/resource-timing/#dfn-resource-timing-buffer-full-flag bool m_resourceTimingBufferFullFlag { false }; bool m_waitingForBackupBufferToBeProcessed { false }; + bool m_hasScheduledTimingBufferDeliveryTask { false }; MonotonicTime m_timeOrigin; RefPtr m_firstContentfulPaint; std::unique_ptr m_userTiming; - GenericTaskQueue m_performanceTimelineTaskQueue; ListHashSet> m_observers; }; diff -Nru wpewebkit-2.32.3/Source/WebCore/page/PrintContext.cpp wpewebkit-2.32.4/Source/WebCore/page/PrintContext.cpp --- wpewebkit-2.32.3/Source/WebCore/page/PrintContext.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/page/PrintContext.cpp 2021-08-11 10:20:37.000000000 +0000 @@ -191,15 +191,15 @@ if (!frame()) return; - auto& frame = *this->frame(); + auto frame = makeRef(*this->frame()); // This function can be called multiple times to adjust printing parameters without going back to screen mode. m_isPrinting = true; FloatSize originalPageSize = FloatSize(width, height); - FloatSize minLayoutSize = frame.resizePageRectsKeepingRatio(originalPageSize, FloatSize(width * minimumShrinkFactor(), height * minimumShrinkFactor())); + FloatSize minLayoutSize = frame->resizePageRectsKeepingRatio(originalPageSize, FloatSize(width * minimumShrinkFactor(), height * minimumShrinkFactor())); // This changes layout, so callers need to make sure that they don't paint to screen while in printing mode. - frame.setPrinting(true, minLayoutSize, originalPageSize, maximumShrinkFactor() / minimumShrinkFactor(), AdjustViewSize); + frame->setPrinting(true, minLayoutSize, originalPageSize, maximumShrinkFactor() / minimumShrinkFactor(), AdjustViewSize); } float PrintContext::computeAutomaticScaleFactor(const FloatSize& availablePaperSize) diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/CalculationValue.cpp wpewebkit-2.32.4/Source/WebCore/platform/CalculationValue.cpp --- wpewebkit-2.32.3/Source/WebCore/platform/CalculationValue.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/CalculationValue.cpp 2021-09-16 08:33:25.000000000 +0000 @@ -180,9 +180,9 @@ bool operator==(const CalcExpressionOperation& a, const CalcExpressionOperation& b) { - if (a.getOperator() != b.getOperator()) + if (a.getOperator() != b.getOperator() || a.destinationCategory() != b.destinationCategory()) return false; - // Maybe Vectors of unique_ptrs should always do deep compare? + // FIXME: Would be nice to have a helper function for doing a deep compare on a vector of pointers. if (a.children().size() != b.children().size()) return false; for (unsigned i = 0; i < a.children().size(); ++i) { diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/CalculationValue.h wpewebkit-2.32.4/Source/WebCore/platform/CalculationValue.h --- wpewebkit-2.32.3/Source/WebCore/platform/CalculationValue.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/CalculationValue.h 2021-09-16 08:33:25.000000000 +0000 @@ -42,6 +42,19 @@ namespace WebCore { +// FIXME: Find a way to unify this with CSSPrimitiveValue::UnitCategory? +enum class CalculationCategory : uint8_t { + Number, + Length, + Percent, + PercentNumber, + PercentLength, + Angle, + Time, + Frequency, + Other +}; + // Don't change these values; parsing uses them. enum class CalcOperator : uint8_t { Add = '+', @@ -151,9 +164,10 @@ class CalcExpressionOperation final : public CalcExpressionNode { public: - CalcExpressionOperation(Vector>&& children, CalcOperator); + CalcExpressionOperation(Vector>&& children, CalcOperator, CalculationCategory destinationCategory = CalculationCategory::Other); CalcOperator getOperator() const { return m_operator; } + CalculationCategory destinationCategory() const { return m_destinationCategory; } const Vector>& children() const { return m_children; } @@ -164,6 +178,7 @@ Vector> m_children; CalcOperator m_operator; + CalculationCategory m_destinationCategory { CalculationCategory::Other }; }; class CalcExpressionBlendLength final : public CalcExpressionNode { @@ -237,10 +252,11 @@ return a.length() == b.length(); } -inline CalcExpressionOperation::CalcExpressionOperation(Vector>&& children, CalcOperator op) +inline CalcExpressionOperation::CalcExpressionOperation(Vector>&& children, CalcOperator op, CalculationCategory destinationCategory) : CalcExpressionNode(CalcExpressionNodeType::Operation) , m_children(WTFMove(children)) , m_operator(op) + , m_destinationCategory(destinationCategory) { } diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/GenericTaskQueue.h wpewebkit-2.32.4/Source/WebCore/platform/GenericTaskQueue.h --- wpewebkit-2.32.3/Source/WebCore/platform/GenericTaskQueue.h 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/GenericTaskQueue.h 2021-09-16 07:21:09.000000000 +0000 @@ -58,7 +58,7 @@ }; template<> -class TaskDispatcher : public CanMakeWeakPtr> { +class TaskDispatcher : public CanMakeWeakPtr, WeakPtrFactoryInitialization::Eager> { WTF_MAKE_FAST_ALLOCATED; public: TaskDispatcher(); @@ -82,17 +82,20 @@ GenericTaskQueue() : m_dispatcher(makeUniqueRef>()) { + ASSERT(isMainThread()); } explicit GenericTaskQueue(T& t) : m_dispatcher(makeUniqueRef>(&t)) { + ASSERT(isMainThread()); } explicit GenericTaskQueue(T* t) : m_dispatcher(makeUniqueRef>(t)) , m_isClosed(!t) { + ASSERT(isMainThread()); } ~GenericTaskQueue() diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/SharedBuffer.cpp wpewebkit-2.32.4/Source/WebCore/platform/SharedBuffer.cpp --- wpewebkit-2.32.3/Source/WebCore/platform/SharedBuffer.cpp 2021-05-17 13:22:41.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/SharedBuffer.cpp 2021-09-16 10:12:15.000000000 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2016 Apple Inc. All rights reserved. + * Copyright (C) 2006-2021 Apple Inc. All rights reserved. * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. * Copyright (C) 2015 Canon Inc. All rights reserved. * @@ -345,7 +345,12 @@ RefPtr utf8Buffer(const String& string) { // Allocate a buffer big enough to hold all the characters. - const int length = string.length(); + const size_t length = string.length(); + if constexpr (String::MaxLength > std::numeric_limits::max() / 3) { + if (length > std::numeric_limits::max() / 3) + return nullptr; + } + Vector buffer(length * 3); // Convert to runs of 8-bit characters. diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/graphics/FontCache.cpp wpewebkit-2.32.4/Source/WebCore/platform/graphics/FontCache.cpp --- wpewebkit-2.32.3/Source/WebCore/platform/graphics/FontCache.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/graphics/FontCache.cpp 2021-08-20 09:20:16.000000000 +0000 @@ -403,7 +403,7 @@ platformPurgeInactiveFontData(); } -static bool keysMatch(const FontCascadeCacheKey& a, const FontCascadeCacheKey& b) +bool operator==(const FontCascadeCacheKey& a, const FontCascadeCacheKey& b) { if (a.fontDescriptionKey != b.fontDescriptionKey) return false; @@ -419,6 +419,18 @@ return true; } +unsigned FontCascadeCacheKeyHash::hash(const FontCascadeCacheKey& key) +{ + // FIXME: Should hash the key and the family name characters rather than making a hash out of other hashes. + Hasher hasher; + add(hasher, key.fontDescriptionKey.computeHash()); + add(hasher, key.fontSelectorId); + add(hasher, key.fontSelectorVersion); + for (auto& family : key.families) + add(hasher, family.isNull() ? 0 : WebCore::FontCascadeDescription::familyNameHash(family)); + return hasher.hash(); +} + void FontCache::invalidateFontCascadeCache() { m_fontCascadeCache.clear(); @@ -443,20 +455,6 @@ return key; } -static unsigned computeFontCascadeCacheHash(const FontCascadeCacheKey& key) -{ - // FIXME: Should hash the key and the family name characters rather than making a hash out of other hashes. - IntegerHasher hasher; - hasher.add(key.fontDescriptionKey.computeHash()); - hasher.add(key.fontSelectorId); - hasher.add(key.fontSelectorVersion); - for (unsigned i = 0; i < key.families.size(); ++i) { - auto& family = key.families[i]; - hasher.add(family.isNull() ? 0 : FontCascadeDescription::familyNameHash(family)); - } - return hasher.hash(); -} - void FontCache::pruneUnreferencedEntriesFromFontCascadeCache() { m_fontCascadeCache.removeIf([](auto& entry) { @@ -473,10 +471,8 @@ Ref FontCache::retrieveOrAddCachedFonts(const FontCascadeDescription& fontDescription, RefPtr&& fontSelector) { auto key = makeFontCascadeCacheKey(fontDescription, fontSelector.get()); - - unsigned hash = computeFontCascadeCacheHash(key); - auto addResult = m_fontCascadeCache.add(hash, nullptr); - if (!addResult.isNewEntry && keysMatch(addResult.iterator->value->key, key)) + auto addResult = m_fontCascadeCache.add(key, nullptr); + if (!addResult.isNewEntry) return addResult.iterator->value->fonts.get(); auto& newEntry = addResult.iterator->value; diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/graphics/FontCache.h wpewebkit-2.32.4/Source/WebCore/platform/graphics/FontCache.h --- wpewebkit-2.32.3/Source/WebCore/platform/graphics/FontCache.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/graphics/FontCache.h 2021-08-20 09:20:23.000000000 +0000 @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -183,6 +184,8 @@ unsigned fontSelectorVersion; }; +bool operator==(const FontCascadeCacheKey&, const FontCascadeCacheKey&); + struct FontCascadeCacheEntry { WTF_MAKE_FAST_ALLOCATED; public: @@ -194,8 +197,19 @@ Ref fonts; }; -// FIXME: Should make hash traits for FontCascadeCacheKey instead of using a hash as the key (so we hash a hash). -typedef HashMap, AlreadyHashed> FontCascadeCache; +struct FontCascadeCacheKeyHash { + static unsigned hash(const WebCore::FontCascadeCacheKey&); + static bool equal(const WebCore::FontCascadeCacheKey& a, const WebCore::FontCascadeCacheKey& b) { return a == b; } + static const bool safeToCompareToEmptyOrDeleted = false; +}; + +struct FontCascadeCacheKeyHashTraits : WTF::GenericHashTraits { + static WebCore::FontCascadeCacheKey emptyValue() { return { }; } + static void constructDeletedValue(WebCore::FontCascadeCacheKey& slot) { slot.fontSelectorId = std::numeric_limits::max(); } + static bool isDeletedValue(const WebCore::FontCascadeCacheKey& slot) { return slot.fontSelectorId == std::numeric_limits::max(); } +}; + +using FontCascadeCache = HashMap, FontCascadeCacheKeyHash, FontCascadeCacheKeyHashTraits>; class FontCache { friend class WTF::NeverDestroyed; diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp wpewebkit-2.32.4/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp --- wpewebkit-2.32.3/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/graphics/displaylists/DisplayListItems.cpp 2021-09-16 10:25:27.000000000 +0000 @@ -141,6 +141,23 @@ } } +SetInlineFillGradient::SetInlineFillGradient(const SetInlineFillGradient& other) +{ + if (WTF::holds_alternative(other.m_data) || WTF::holds_alternative(other.m_data) || WTF::holds_alternative(other.m_data)) { + m_data = other.m_data; + m_gradientSpaceTransform = other.m_gradientSpaceTransform; + m_spreadMethod = other.m_spreadMethod; + m_colorStopCount = other.m_colorStopCount; + if (m_colorStopCount > maxColorStopCount) + m_colorStopCount = 0; + for (uint8_t i = 0; i < m_colorStopCount; ++i) { + m_offsets[i] = other.m_offsets[i]; + m_colors[i] = other.m_colors[i]; + } + } else + m_isValid = false; +} + Ref SetInlineFillGradient::gradient() const { auto gradient = Gradient::create(Gradient::Data(m_data)); @@ -559,7 +576,10 @@ void DrawDotsForDocumentMarker::apply(GraphicsContext& context) const { - context.drawDotsForDocumentMarker(m_rect, m_style); + context.drawDotsForDocumentMarker(m_rect, { + static_cast(m_styleMode), + m_styleShouldUseDarkAppearance, + }); } Optional DrawDotsForDocumentMarker::localBounds(const GraphicsContext&) const @@ -961,7 +981,8 @@ void EndTransparencyLayer::apply(GraphicsContext& context) const { - context.endTransparencyLayer(); + if (context.isInTransparencyLayer()) + context.endTransparencyLayer(); } #if USE(CG) diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h wpewebkit-2.32.4/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h --- wpewebkit-2.32.3/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/graphics/displaylists/DisplayListItems.h 2021-09-16 10:24:49.000000000 +0000 @@ -37,6 +37,7 @@ #include "Pattern.h" #include "RenderingResourceIdentifier.h" #include "SharedBuffer.h" +#include #include namespace WTF { @@ -176,6 +177,8 @@ SetInlineFillGradient(const Gradient&, const AffineTransform& gradientSpaceTransform); WEBCORE_EXPORT SetInlineFillGradient(float offsets[maxColorStopCount], SRGBA colors[maxColorStopCount], const Gradient::Data&, const AffineTransform& gradientSpaceTransform, GradientSpreadMethod, uint8_t colorStopCount); + SetInlineFillGradient(const SetInlineFillGradient&); + bool isValid() const { return m_isValid; } static bool isInline(const Gradient&); Ref gradient() const; @@ -189,6 +192,7 @@ AffineTransform m_gradientSpaceTransform; GradientSpreadMethod m_spreadMethod { GradientSpreadMethod::Pad }; uint8_t m_colorStopCount { 0 }; + bool m_isValid { true }; }; class SetInlineFillColor { @@ -750,7 +754,7 @@ RenderingResourceIdentifier imageBufferIdentifier() const { return m_imageBufferIdentifier; } FloatRect destinationRect() const { return m_destinationRect; } - bool isValid() const { return !!m_imageBufferIdentifier; } + bool isValid() const { return m_imageBufferIdentifier.isValid(); } void apply(GraphicsContext&, WebCore::ImageBuffer&) const; @@ -998,7 +1002,7 @@ FloatRect destinationRect() const { return m_destinationRect; } ImagePaintingOptions options() const { return m_options; } // FIXME: We might want to validate ImagePaintingOptions. - bool isValid() const { return !!m_imageBufferIdentifier; } + bool isValid() const { return m_imageBufferIdentifier.isValid(); } void apply(GraphicsContext&, WebCore::ImageBuffer&) const; @@ -1033,7 +1037,7 @@ const FloatRect& source() const { return m_srcRect; } const FloatRect& destinationRect() const { return m_destinationRect; } // FIXME: We might want to validate ImagePaintingOptions. - bool isValid() const { return !!m_imageIdentifier; } + bool isValid() const { return m_imageIdentifier.isValid(); } NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const; void apply(GraphicsContext&, NativeImage&) const; @@ -1065,7 +1069,7 @@ FloatPoint phase() const { return m_phase; } FloatSize spacing() const { return m_spacing; } // FIXME: We might want to validate ImagePaintingOptions. - bool isValid() const { return !!m_imageIdentifier; } + bool isValid() const { return m_imageIdentifier.isValid(); } NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const; void apply(GraphicsContext&, NativeImage&) const; @@ -1255,12 +1259,24 @@ static constexpr bool isInlineItem = true; static constexpr bool isDrawingItem = true; - DrawDotsForDocumentMarker(const FloatRect& rect, DocumentMarkerLineStyle style) + using UnderlyingDocumentMarkerLineStyleType = std::underlying_type::type; + + DrawDotsForDocumentMarker(const FloatRect& rect, const DocumentMarkerLineStyle& style) + : m_rect(rect) + , m_styleMode(static_cast(style.mode)) + , m_styleShouldUseDarkAppearance(style.shouldUseDarkAppearance) + { + } + + DrawDotsForDocumentMarker(const FloatRect& rect, UnderlyingDocumentMarkerLineStyleType styleMode, bool styleShouldUseDarkAppearance) : m_rect(rect) - , m_style(style) + , m_styleMode(styleMode) + , m_styleShouldUseDarkAppearance(styleShouldUseDarkAppearance) { } + bool isValid() const { return isValidEnum(m_styleMode); } + FloatRect rect() const { return m_rect; } void apply(GraphicsContext&) const; @@ -1270,7 +1286,8 @@ private: FloatRect m_rect; - DocumentMarkerLineStyle m_style; + UnderlyingDocumentMarkerLineStyleType m_styleMode { 0 }; + bool m_styleShouldUseDarkAppearance { false }; }; class DrawEllipse { @@ -1792,26 +1809,45 @@ #if ENABLE(INLINE_PATH_DATA) -class FillInlinePath { +class InlinePathDataStorage { +public: + InlinePathDataStorage(const InlinePathData& pathData) + { + if (pathData.index() >= 0 && static_cast(pathData.index()) < WTF::variant_size::value) + m_pathData = pathData; + else { + auto moved = WTFMove(m_pathData); + UNUSED_VARIABLE(moved); + } + } + + bool isValid() const { return !m_pathData.valueless_by_exception(); } + + Path path() const { return Path::from(m_pathData); } + +protected: + InlinePathData m_pathData; +}; + +class FillInlinePath : public InlinePathDataStorage { public: static constexpr ItemType itemType = ItemType::FillInlinePath; static constexpr bool isInlineItem = true; static constexpr bool isDrawingItem = true; + FillInlinePath(const FillInlinePath& other) + : InlinePathDataStorage(other.m_pathData) + { + } FillInlinePath(const InlinePathData& pathData) - : m_pathData(pathData) + : InlinePathDataStorage(pathData) { } - Path path() const { return Path::from(m_pathData); } - void apply(GraphicsContext&) const; Optional globalBounds() const { return WTF::nullopt; } Optional localBounds(const GraphicsContext&) const { return path().fastBoundingRect(); } - -private: - InlinePathData m_pathData; }; #endif // ENABLE(INLINE_PATH_DATA) @@ -1970,7 +2006,7 @@ const FloatRect& destination() const { return m_destination; } MediaPlayerIdentifier identifier() const { return m_identifier; } - bool isValid() const { return !!m_identifier; } + bool isValid() const { return m_identifier.isValid(); } NO_RETURN_DUE_TO_ASSERT void apply(GraphicsContext&) const; @@ -2035,26 +2071,26 @@ #if ENABLE(INLINE_PATH_DATA) -class StrokeInlinePath { +class StrokeInlinePath : public InlinePathDataStorage { public: static constexpr ItemType itemType = ItemType::StrokeInlinePath; static constexpr bool isInlineItem = true; static constexpr bool isDrawingItem = true; - StrokeInlinePath(const InlinePathData& pathData) - : m_pathData(pathData) + StrokeInlinePath(const StrokeInlinePath& other) + : InlinePathDataStorage(other.m_pathData) { } - Path path() const { return Path::from(m_pathData); } + StrokeInlinePath(const InlinePathData& pathData) + : InlinePathDataStorage(pathData) + { + } void apply(GraphicsContext&) const; Optional globalBounds() const { return WTF::nullopt; } Optional localBounds(const GraphicsContext&) const; - -private: - InlinePathData m_pathData; }; #endif // ENABLE(INLINE_PATH_DATA) @@ -2203,7 +2239,7 @@ } FlushIdentifier identifier() const { return m_identifier; } - bool isValid() const { return !!m_identifier; } + bool isValid() const { return m_identifier.isValid(); } void apply(GraphicsContext&) const; @@ -2225,7 +2261,7 @@ } ItemBufferIdentifier identifier() const { return m_identifier; } - bool isValid() const { return !!m_identifier; } + bool isValid() const { return m_identifier.isValid(); } private: ItemBufferIdentifier m_identifier; @@ -2243,7 +2279,7 @@ } RenderingResourceIdentifier identifier() const { return m_identifier; } - bool isValid() const { return !!m_identifier; } + bool isValid() const { return m_identifier.isValid(); } private: RenderingResourceIdentifier m_identifier; diff -Nru wpewebkit-2.32.3/Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp wpewebkit-2.32.4/Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp --- wpewebkit-2.32.3/Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/platform/xdg/MIMETypeRegistryXdg.cpp 2021-08-09 16:02:01.000000000 +0000 @@ -56,6 +56,9 @@ if (mimeType.isEmpty()) return String(); + if (mimeType.startsWith("text/plain")) + return String(); + String returnValue; char* extension; if (xdg_mime_get_simple_globs(mimeType.utf8().data(), &extension, 1)) { diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderBlock.cpp wpewebkit-2.32.4/Source/WebCore/rendering/RenderBlock.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderBlock.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderBlock.cpp 2021-09-16 11:19:17.000000000 +0000 @@ -921,8 +921,12 @@ // relative positioned container. So if we can have fixed pos objects in our positioned objects list check if any of them // are statically positioned and thus need to move with their absolute ancestors. bool canContainFixedPosObjects = canContainFixedPositionObjects(); - if (posChildNeedsLayout() || canContainFixedPosObjects) + if (posChildNeedsLayout() || canContainFixedPosObjects) { + // FIXME: Remove this early return once https://webkit.org/b/228125 is fixed. + if (!hasPositionedObjects()) + return false; layoutPositionedObjects(false, !posChildNeedsLayout() && canContainFixedPosObjects); + } // Recompute our overflow information. // FIXME: We could do better here by computing a temporary overflow object from layoutPositionedObjects and only diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderElement.cpp wpewebkit-2.32.4/Source/WebCore/rendering/RenderElement.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderElement.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderElement.cpp 2021-09-16 11:11:11.000000000 +0000 @@ -589,24 +589,23 @@ return RenderPtr(&renderer); } -RenderBlock* RenderElement::containingBlockForFixedPosition() const +static inline RenderBlock* nearestNonAnonymousContainingBlockIncludingSelf(RenderElement* renderer) { - auto* renderer = parent(); - while (renderer && !renderer->canContainFixedPositionObjects()) - renderer = renderer->parent(); - - ASSERT(!renderer || !renderer->isAnonymousBlock()); + while (renderer && (!is(*renderer) || renderer->isAnonymousBlock())) + renderer = renderer->containingBlock(); return downcast(renderer); } -RenderBlock* RenderElement::containingBlockForAbsolutePosition() const +RenderBlock* RenderElement::containingBlockForFixedPosition() const { - auto nearestNonAnonymousContainingBlockIncludingSelf = [&] (auto* renderer) { - while (renderer && (!is(*renderer) || renderer->isAnonymousBlock())) - renderer = renderer->containingBlock(); - return downcast(renderer); - }; + auto* ancestor = parent(); + while (ancestor && !ancestor->canContainFixedPositionObjects()) + ancestor = ancestor->parent(); + return nearestNonAnonymousContainingBlockIncludingSelf(ancestor); +} +RenderBlock* RenderElement::containingBlockForAbsolutePosition() const +{ if (is(*this) && style().position() == PositionType::Relative) { // A relatively positioned RenderInline forwards its absolute positioned descendants to // its nearest non-anonymous containing block (to avoid having positioned objects list in RenderInlines). @@ -2177,8 +2176,8 @@ if (is(*this)) downcast(*this).resetEnclosingFragmentedFlowAndChildInfoIncludingDescendants(); else { - // Relatively positioned inline boxes can have absolutely positioned block children. We need to reset them as well. - for (auto& descendant : childrenOfType(*this)) + // Relatively positioned inline boxes can have absolutely positioned block descendants. We need to reset them as well. + for (auto& descendant : descendantsOfType(*this)) descendant.resetEnclosingFragmentedFlowAndChildInfoIncludingDescendants(); } diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderElement.h wpewebkit-2.32.4/Source/WebCore/rendering/RenderElement.h --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderElement.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderElement.h 2021-09-16 09:53:02.000000000 +0000 @@ -70,6 +70,7 @@ RenderObject* firstChild() const { return m_firstChild; } RenderObject* lastChild() const { return m_lastChild; } + // Note that even if these 2 "canContain" functions return true for a particular renderer, it does not necessarily mean the renderer is the containing block (see containingBlockForAbsolute(Fixed)Position). bool canContainFixedPositionObjects() const; bool canContainAbsolutelyPositionedObjects() const; diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderGrid.cpp wpewebkit-2.32.4/Source/WebCore/rendering/RenderGrid.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderGrid.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderGrid.cpp 2021-08-11 10:24:20.000000000 +0000 @@ -31,6 +31,7 @@ #include "GridLayoutFunctions.h" #include "GridPositionsResolver.h" #include "GridTrackSizingAlgorithm.h" +#include "InspectorInstrumentation.h" #include "LayoutRepainter.h" #include "RenderChildIterator.h" #include "RenderLayer.h" @@ -56,9 +57,14 @@ { // All of our children must be block level. setChildrenInline(false); + + InspectorInstrumentation::nodeLayoutContextChanged(element, this); } -RenderGrid::~RenderGrid() = default; +RenderGrid::~RenderGrid() +{ + InspectorInstrumentation::nodeLayoutContextChanged(element(), nullptr); +} StyleSelfAlignmentData RenderGrid::selfAlignmentForChild(GridAxis axis, const RenderBox& child, const RenderStyle* gridStyle) const { diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderLineBreak.cpp wpewebkit-2.32.4/Source/WebCore/rendering/RenderLineBreak.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderLineBreak.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderLineBreak.cpp 2021-08-11 10:13:35.000000000 +0000 @@ -174,6 +174,7 @@ void RenderLineBreak::updateFromStyle() { m_cachedLineHeight = invalidLineHeight; + RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(isInline()); } #if PLATFORM(IOS_FAMILY) diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderListMarker.cpp wpewebkit-2.32.4/Source/WebCore/rendering/RenderListMarker.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderListMarker.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderListMarker.cpp 2021-08-11 10:12:49.000000000 +0000 @@ -1093,7 +1093,9 @@ if (style().listStylePosition() != oldStyle->listStylePosition() || style().listStyleType() != oldStyle->listStyleType() || (style().listStyleType() == ListStyleType::String && style().listStyleStringValue() != oldStyle->listStyleStringValue())) setNeedsLayoutAndPrefWidthsRecalc(); if (oldStyle->isDisplayInlineType() && !style().isDisplayInlineType()) { - delete m_inlineBoxWrapper; + setNeedsLayoutAndPrefWidthsRecalc(); + if (m_inlineBoxWrapper) + m_inlineBoxWrapper->dirtyLineBoxes(); m_inlineBoxWrapper = nullptr; } } diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/RenderObject.h wpewebkit-2.32.4/Source/WebCore/rendering/RenderObject.h --- wpewebkit-2.32.3/Source/WebCore/rendering/RenderObject.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/RenderObject.h 2021-09-16 07:40:06.000000000 +0000 @@ -1150,9 +1150,7 @@ inline void Node::setRenderer(RenderObject* renderer) { - auto oldRenderer = this->renderer(); m_rendererWithStyleFlags.setPointer(renderer); - didChangeRenderer(oldRenderer); } WTF::TextStream& operator<<(WTF::TextStream&, const RenderObject&); diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/line/BreakingContext.h wpewebkit-2.32.4/Source/WebCore/rendering/line/BreakingContext.h --- wpewebkit-2.32.3/Source/WebCore/rendering/line/BreakingContext.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/line/BreakingContext.h 2021-08-11 11:33:28.000000000 +0000 @@ -1236,7 +1236,9 @@ // Empty inline elements like can produce such lines and now we just ignore these break opportunities // at the start of a line, if no width has been committed yet. // Behave as if it was actually empty and consume at least one object. - m_lineBreak.increment(); + auto overflowingBoxIsInlineLevelBox = m_lineBreak.renderer() && !m_lineBreak.renderer()->isFloatingOrOutOfFlowPositioned(); + if (overflowingBoxIsInlineLevelBox) + m_lineBreak.increment(); } // Sanity check our whitespace collapsing transitions. diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp wpewebkit-2.32.4/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/mathml/RenderMathMLRow.cpp 2021-09-16 08:46:25.000000000 +0000 @@ -101,6 +101,7 @@ if (auto renderOperator = toVerticalStretchyOperator(child)) { renderOperator->stretchTo(stretchAscent, stretchDescent); renderOperator->layoutIfNeeded(); + child->layoutIfNeeded(); } } } diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp wpewebkit-2.32.4/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2021-09-16 11:09:57.000000000 +0000 @@ -353,12 +353,18 @@ return false; if (!m_paintingResource->applyResource(renderer, style, context, paintingResourceMode())) { - if (fallbackColor.isValid()) { - RenderSVGResourceSolidColor* fallbackResource = RenderSVGResource::sharedSolidPaintingResource(); - fallbackResource->setColor(fallbackColor); + if (!fallbackColor.isValid()) { + m_paintingResource = nullptr; + return false; + } + + RenderSVGResourceSolidColor* fallbackResource = RenderSVGResource::sharedSolidPaintingResource(); + fallbackResource->setColor(fallbackColor); - m_paintingResource = fallbackResource; - m_paintingResource->applyResource(renderer, style, context, paintingResourceMode()); + m_paintingResource = fallbackResource; + if (!m_paintingResource->applyResource(renderer, style, context, paintingResourceMode())) { + m_paintingResource = nullptr; + return false; } } diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilder.cpp 2021-09-16 11:15:23.000000000 +0000 @@ -425,7 +425,7 @@ parent.didAttachChild(newChild, beforeChild); } -void RenderTreeBuilder::attachToRenderElementInternal(RenderElement& parent, RenderPtr child, RenderObject* beforeChild) +void RenderTreeBuilder::attachToRenderElementInternal(RenderElement& parent, RenderPtr child, RenderObject* beforeChild, ReinsertAfterMove reinsertAfterMove) { RELEASE_ASSERT_WITH_MESSAGE(!parent.view().frameView().layoutContext().layoutState(), "Layout must not mutate render tree"); ASSERT(parent.canHaveChildren() || parent.canHaveGeneratedChildren()); @@ -449,7 +449,9 @@ if (is(fragmentedFlow)) multiColumnBuilder().multiColumnDescendantInserted(downcast(*fragmentedFlow), *newChild); - if (is(*newChild)) + // FIXME: needsStateReset could probably be used for multicolumn as well. + auto needsStateReset = reinsertAfterMove == ReinsertAfterMove::No; + if (needsStateReset && is(*newChild)) RenderCounter::rendererSubtreeAttached(downcast(*newChild)); } @@ -480,8 +482,24 @@ attach(to, WTFMove(childToMove), beforeChild); } else { auto childToMove = detachFromRenderElement(from, child); - attachToRenderElementInternal(to, WTFMove(childToMove), beforeChild); + attachToRenderElementInternal(to, WTFMove(childToMove), beforeChild, ReinsertAfterMove::Yes); } + + auto findBFCRootAndDestroyInlineTree = [&] { + auto* containingBlock = &from; + while (containingBlock) { + containingBlock->setNeedsLayout(); + if (is(*containingBlock)) { + downcast(*containingBlock).deleteLines(); + break; + } + containingBlock = containingBlock->containingBlock(); + } + }; + // When moving a subtree out of a BFC we need to make sure that the line boxes generated for the inline tree are not accessible anymore from the renderers. + // Let's find the BFC root and nuke the inline tree (At some point we are going to destroy the subtree instead of moving these renderers around.) + if (is(child)) + findBFCRootAndDestroyInlineTree(); } void RenderTreeBuilder::move(RenderBoxModelObject& from, RenderBoxModelObject& to, RenderObject& child, NormalizeAfterInsertion normalizeAfterInsertion) @@ -577,9 +595,6 @@ // We have gone from not affecting the inline status of the parent flow to suddenly // having an impact. See if there is a mismatch between the parent flow's // childrenInline() state and our state. - // FIXME(186894): startsAffectingParent has clearly nothing to do with resetting the inline state. - if (!is(renderer)) - renderer.setInline(renderer.style().isDisplayInlineType()); if (renderer.isInline() != renderer.parent()->childrenInline()) childFlowStateChangesAndAffectsParentBlock(renderer); return; diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilder.h wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilder.h --- wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilder.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilder.h 2021-09-16 07:40:06.000000000 +0000 @@ -70,7 +70,8 @@ void attachIgnoringContinuation(RenderElement& parent, RenderPtr, RenderObject* beforeChild = nullptr); void attachToRenderGrid(RenderGrid& parent, RenderPtr child, RenderObject* beforeChild = nullptr); void attachToRenderElement(RenderElement& parent, RenderPtr child, RenderObject* beforeChild = nullptr); - void attachToRenderElementInternal(RenderElement& parent, RenderPtr child, RenderObject* beforeChild = nullptr); + enum class ReinsertAfterMove { No, Yes }; + void attachToRenderElementInternal(RenderElement& parent, RenderPtr child, RenderObject* beforeChild = nullptr, ReinsertAfterMove = ReinsertAfterMove::No); enum class WillBeDestroyed { No, Yes }; RenderPtr detachFromRenderElement(RenderElement& parent, RenderObject& child, WillBeDestroyed = WillBeDestroyed::Yes) WARN_UNUSED_RETURN; diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp 2021-08-11 10:14:36.000000000 +0000 @@ -288,7 +288,7 @@ // with inline content, then we can fold the inline content back together. auto prev = makeWeakPtr(oldChild.previousSibling()); auto next = makeWeakPtr(oldChild.nextSibling()); - bool canMergeAnonymousBlocks = canMergeContiguousAnonymousBlocks(oldChild, prev.get(), next.get()); + bool canMergeAnonymousBlocks = canCollapseAnonymousBlock == CanCollapseAnonymousBlock::Yes && canMergeContiguousAnonymousBlocks(oldChild, prev.get(), next.get()); auto takenChild = m_builder.detachFromRenderElement(parent, oldChild); diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp --- wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp 2021-09-17 08:30:42.000000000 +0000 @@ -237,6 +237,9 @@ if (parent.element) updateAfterDescendants(*parent.element, parent.updates); + if (&parent != &renderingParent()) + renderTreePosition().invalidateNextSibling(); + m_parentStack.removeLast(); } @@ -533,6 +536,18 @@ tearDownRenderers(root, TeardownType::Full, builder); } +void RenderTreeUpdater::tearDownRenderersAfterSlotChange(Element& host) +{ + ASSERT(host.shadowRoot()); + if (!host.renderer() && !host.hasDisplayContents()) + return; + auto* view = host.document().renderView(); + if (!view) + return; + RenderTreeBuilder builder(*view); + tearDownRenderers(host, TeardownType::FullAfterSlotChange, builder); +} + void RenderTreeUpdater::tearDownRenderer(Text& text) { auto* view = text.document().renderView(); @@ -558,20 +573,31 @@ auto pop = [&] (unsigned depth) { while (teardownStack.size() > depth) { auto& element = *teardownStack.takeLast(); + auto styleable = Styleable::fromElement(element); // Make sure we don't leave any renderers behind in nodes outside the composed tree. if (element.shadowRoot()) tearDownLeftoverShadowHostChildren(element, builder); switch (teardownType) { + case TeardownType::FullAfterSlotChange: + if (&element == &root) { + // Keep animations going on the host. + if (timeline) + timeline->willChangeRendererForStyleable(styleable); + break; + } + FALLTHROUGH; case TeardownType::Full: - case TeardownType::RendererUpdateCancelingAnimations: if (timeline) { if (document.renderTreeBeingDestroyed()) - timeline->cancelDeclarativeAnimationsForStyleable(Styleable::fromElement(element), WebAnimation::Silently::Yes); - else if (teardownType == TeardownType::RendererUpdateCancelingAnimations) - timeline->cancelDeclarativeAnimationsForStyleable(Styleable::fromElement(element), WebAnimation::Silently::No); + timeline->cancelDeclarativeAnimationsForStyleable(styleable, WebAnimation::Silently::Yes); } + element.clearHoverAndActiveStatusBeforeDetachingRenderer(); + break; + case TeardownType::RendererUpdateCancelingAnimations: + if (timeline) + timeline->cancelDeclarativeAnimationsForStyleable(styleable, WebAnimation::Silently::No); break; case TeardownType::RendererUpdate: if (timeline) @@ -579,9 +605,6 @@ break; } - if (teardownType == TeardownType::Full) - element.clearHoverAndActiveStatusBeforeDetachingRenderer(); - GeneratedContent::removeBeforePseudoElement(element, builder); GeneratedContent::removeAfterPseudoElement(element, builder); diff -Nru wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeUpdater.h wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeUpdater.h --- wpewebkit-2.32.3/Source/WebCore/rendering/updating/RenderTreeUpdater.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/rendering/updating/RenderTreeUpdater.h 2021-09-17 08:30:42.000000000 +0000 @@ -50,6 +50,7 @@ void commit(std::unique_ptr); static void tearDownRenderers(Element&); + static void tearDownRenderersAfterSlotChange(Element& host); static void tearDownRenderer(Text&); private: @@ -87,7 +88,8 @@ void popParent(); void popParentsToDepth(unsigned depth); - enum class TeardownType { Full, RendererUpdate, RendererUpdateCancelingAnimations }; + // FIXME: Use OptionSet. + enum class TeardownType { Full, FullAfterSlotChange, RendererUpdate, RendererUpdateCancelingAnimations }; static void tearDownRenderers(Element&, TeardownType, RenderTreeBuilder&); static void tearDownTextRenderer(Text&, RenderTreeBuilder&); static void tearDownLeftoverShadowHostChildren(Element&, RenderTreeBuilder&); diff -Nru wpewebkit-2.32.3/Source/WebCore/replay/UserInputBridge.cpp wpewebkit-2.32.4/Source/WebCore/replay/UserInputBridge.cpp --- wpewebkit-2.32.3/Source/WebCore/replay/UserInputBridge.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/replay/UserInputBridge.cpp 2021-09-16 10:49:51.000000000 +0000 @@ -55,42 +55,42 @@ bool UserInputBridge::handleMousePressEvent(const PlatformMouseEvent& mouseEvent, InputSource) { - return m_page.mainFrame().eventHandler().handleMousePressEvent(mouseEvent); + return Ref(m_page.mainFrame())->eventHandler().handleMousePressEvent(mouseEvent); } bool UserInputBridge::handleMouseReleaseEvent(const PlatformMouseEvent& mouseEvent, InputSource) { - return m_page.mainFrame().eventHandler().handleMouseReleaseEvent(mouseEvent); + return Ref(m_page.mainFrame())->eventHandler().handleMouseReleaseEvent(mouseEvent); } bool UserInputBridge::handleMouseMoveEvent(const PlatformMouseEvent& mouseEvent, InputSource) { - return m_page.mainFrame().eventHandler().mouseMoved(mouseEvent); + return Ref(m_page.mainFrame())->eventHandler().mouseMoved(mouseEvent); } bool UserInputBridge::handleMouseMoveOnScrollbarEvent(const PlatformMouseEvent& mouseEvent, InputSource) { - return m_page.mainFrame().eventHandler().passMouseMovedEventToScrollbars(mouseEvent); + return Ref(m_page.mainFrame())->eventHandler().passMouseMovedEventToScrollbars(mouseEvent); } bool UserInputBridge::handleMouseForceEvent(const PlatformMouseEvent& mouseEvent, InputSource) { - return m_page.mainFrame().eventHandler().handleMouseForceEvent(mouseEvent); + return Ref(m_page.mainFrame())->eventHandler().handleMouseForceEvent(mouseEvent); } bool UserInputBridge::handleKeyEvent(const PlatformKeyboardEvent& keyEvent, InputSource) { - return m_page.focusController().focusedOrMainFrame().eventHandler().keyEvent(keyEvent); + return Ref(m_page.focusController().focusedOrMainFrame())->eventHandler().keyEvent(keyEvent); } bool UserInputBridge::handleAccessKeyEvent(const PlatformKeyboardEvent& keyEvent, InputSource) { - return m_page.focusController().focusedOrMainFrame().eventHandler().handleAccessKey(keyEvent); + return Ref(m_page.focusController().focusedOrMainFrame())->eventHandler().handleAccessKey(keyEvent); } bool UserInputBridge::handleWheelEvent(const PlatformWheelEvent& wheelEvent, OptionSet processingSteps, InputSource) { - return m_page.mainFrame().eventHandler().handleWheelEvent(wheelEvent, processingSteps); + return Ref(m_page.mainFrame())->eventHandler().handleWheelEvent(wheelEvent, processingSteps); } void UserInputBridge::focusSetActive(bool active, InputSource) @@ -105,12 +105,12 @@ bool UserInputBridge::scrollRecursively(ScrollDirection direction, ScrollGranularity granularity, InputSource) { - return m_page.focusController().focusedOrMainFrame().eventHandler().scrollRecursively(direction, granularity, nullptr); + return Ref(m_page.focusController().focusedOrMainFrame())->eventHandler().scrollRecursively(direction, granularity, nullptr); } bool UserInputBridge::logicalScrollRecursively(ScrollLogicalDirection direction, ScrollGranularity granularity, InputSource) { - return m_page.focusController().focusedOrMainFrame().eventHandler().logicalScrollRecursively(direction, granularity, nullptr); + return Ref(m_page.focusController().focusedOrMainFrame())->eventHandler().logicalScrollRecursively(direction, granularity, nullptr); } void UserInputBridge::loadRequest(FrameLoadRequest&& request, InputSource) @@ -118,7 +118,7 @@ #if ENABLE(WEB_AUTHN) m_page.authenticatorCoordinator().resetUserGestureRequirement(); #endif - m_page.mainFrame().loader().load(WTFMove(request)); + Ref(m_page.mainFrame())->loader().load(WTFMove(request)); } void UserInputBridge::reloadFrame(Frame& frame, OptionSet options, InputSource) @@ -136,7 +136,7 @@ bool UserInputBridge::tryClosePage(InputSource) { - return m_page.mainFrame().loader().shouldClose(); + return Ref(m_page.mainFrame())->loader().shouldClose(); } } // namespace WebCore diff -Nru wpewebkit-2.32.3/Source/WebCore/style/StyleBuilderCustom.h wpewebkit-2.32.4/Source/WebCore/style/StyleBuilderCustom.h --- wpewebkit-2.32.3/Source/WebCore/style/StyleBuilderCustom.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/style/StyleBuilderCustom.h 2021-09-16 07:42:40.000000000 +0000 @@ -1799,31 +1799,38 @@ builderState.style().setNamedGridAreaColumnCount(gridTemplateAreasValue.columnCount()); } +#define SET_TRACKS_DATA_INTERNAL(tracksData, style, parentStyle, TrackType) \ + ASSERT(tracksData || parentStyle); \ + style.setGrid##TrackType##s(tracksData ? tracksData->m_trackSizes : parentStyle->grid##TrackType##s()); \ + style.setNamedGrid##TrackType##Lines(tracksData ? tracksData->m_namedGridLines : parentStyle->namedGrid##TrackType##Lines()); \ + style.setOrderedNamedGrid##TrackType##Lines(tracksData ? tracksData->m_orderedNamedGridLines : parentStyle->orderedNamedGrid##TrackType##Lines()); \ + style.setGridAutoRepeat##TrackType##s(tracksData ? tracksData->m_autoRepeatTrackSizes : parentStyle->gridAutoRepeat##TrackType##s()); \ + style.setGridAutoRepeat##TrackType##sInsertionPoint(tracksData ? tracksData->m_autoRepeatInsertionPoint : parentStyle->gridAutoRepeat##TrackType##sInsertionPoint()); \ + style.setAutoRepeatNamedGrid##TrackType##Lines(tracksData ? tracksData->m_autoRepeatNamedGridLines : parentStyle->autoRepeatNamedGrid##TrackType##Lines()); \ + style.setAutoRepeatOrderedNamedGrid##TrackType##Lines(tracksData ? tracksData->m_autoRepeatOrderedNamedGridLines : parentStyle->autoRepeatOrderedNamedGrid##TrackType##Lines()); \ + style.setGridAutoRepeat##TrackType##sType(tracksData ? tracksData->m_autoRepeatType : parentStyle->gridAutoRepeat##TrackType##sType()); + +#define SET_INHERIT_TRACKS_DATA(style, parentStyle, TrackType) \ + BuilderConverter::TracksData* tracksData = nullptr; \ + const RenderStyle* parentStylePointer = &parentStyle; \ + SET_TRACKS_DATA_INTERNAL(tracksData, style, parentStylePointer, TrackType) + +#define SET_TRACKS_DATA(tracksData, style, TrackType) \ + BuilderConverter::TracksData* tracksDataPointer = &tracksData; \ + const RenderStyle* parentStyle = nullptr; \ + SET_TRACKS_DATA_INTERNAL(tracksDataPointer, style, parentStyle, TrackType) + inline void BuilderCustom::applyInitialGridTemplateColumns(BuilderState& builderState) { - builderState.style().setGridColumns(RenderStyle::initialGridColumns()); - builderState.style().setNamedGridColumnLines(RenderStyle::initialNamedGridColumnLines()); - builderState.style().setOrderedNamedGridColumnLines(RenderStyle::initialOrderedNamedGridColumnLines()); + BuilderConverter::TracksData initialTracksData; + SET_TRACKS_DATA(initialTracksData, builderState.style(), Column); } inline void BuilderCustom::applyInheritGridTemplateColumns(BuilderState& builderState) { - builderState.style().setGridColumns(builderState.parentStyle().gridColumns()); - builderState.style().setNamedGridColumnLines(builderState.parentStyle().namedGridColumnLines()); - builderState.style().setOrderedNamedGridColumnLines(builderState.parentStyle().orderedNamedGridColumnLines()); + SET_INHERIT_TRACKS_DATA(builderState.style(), builderState.parentStyle(), Column); } -#define SET_TRACKS_DATA(tracksData, style, TrackType) \ - style.setGrid##TrackType##s(tracksData.m_trackSizes); \ - style.setNamedGrid##TrackType##Lines(tracksData.m_namedGridLines); \ - style.setOrderedNamedGrid##TrackType##Lines(tracksData.m_orderedNamedGridLines); \ - style.setGridAutoRepeat##TrackType##s(tracksData.m_autoRepeatTrackSizes); \ - style.setGridAutoRepeat##TrackType##sInsertionPoint(tracksData.m_autoRepeatInsertionPoint); \ - style.setAutoRepeatNamedGrid##TrackType##Lines(tracksData.m_autoRepeatNamedGridLines); \ - style.setAutoRepeatOrderedNamedGrid##TrackType##Lines(tracksData.m_autoRepeatOrderedNamedGridLines); \ - style.setGridAutoRepeat##TrackType##sType(tracksData.m_autoRepeatType); \ - style.setGridAutoRepeat##TrackType##sInsertionPoint(tracksData.m_autoRepeatInsertionPoint); - inline void BuilderCustom::applyValueGridTemplateColumns(BuilderState& builderState, CSSValue& value) { BuilderConverter::TracksData tracksData; @@ -1838,16 +1845,13 @@ inline void BuilderCustom::applyInitialGridTemplateRows(BuilderState& builderState) { - builderState.style().setGridRows(RenderStyle::initialGridRows()); - builderState.style().setNamedGridRowLines(RenderStyle::initialNamedGridRowLines()); - builderState.style().setOrderedNamedGridRowLines(RenderStyle::initialOrderedNamedGridRowLines()); + BuilderConverter::TracksData initialTracksData; + SET_TRACKS_DATA(initialTracksData, builderState.style(), Row); } inline void BuilderCustom::applyInheritGridTemplateRows(BuilderState& builderState) { - builderState.style().setGridRows(builderState.parentStyle().gridRows()); - builderState.style().setNamedGridRowLines(builderState.parentStyle().namedGridRowLines()); - builderState.style().setOrderedNamedGridRowLines(builderState.parentStyle().orderedNamedGridRowLines()); + SET_INHERIT_TRACKS_DATA(builderState.style(), builderState.parentStyle(), Row); } inline void BuilderCustom::applyValueGridTemplateRows(BuilderState& builderState, CSSValue& value) diff -Nru wpewebkit-2.32.3/Source/WebCore/style/StyleTreeResolver.cpp wpewebkit-2.32.4/Source/WebCore/style/StyleTreeResolver.cpp --- wpewebkit-2.32.3/Source/WebCore/style/StyleTreeResolver.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/style/StyleTreeResolver.cpp 2021-09-16 10:38:12.000000000 +0000 @@ -205,7 +205,7 @@ return { }; } - if (!element.rendererIsEverNeeded()) + if (!element.rendererIsEverNeeded() && !element.hasDisplayContents()) return { }; Styleable styleable { element, PseudoId::None }; diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGAnimationElement.cpp wpewebkit-2.32.4/Source/WebCore/svg/SVGAnimationElement.cpp --- wpewebkit-2.32.3/Source/WebCore/svg/SVGAnimationElement.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGAnimationElement.cpp 2021-09-16 11:16:59.000000000 +0000 @@ -496,7 +496,7 @@ --index; from = m_values[index]; to = m_values[index + 1]; - ASSERT_WITH_SECURITY_IMPLICATION(toPercent > fromPercent); + ASSERT(toPercent > fromPercent); effectivePercent = (percent - fromPercent) / (toPercent - fromPercent); if (calcMode == CalcMode::Spline) { @@ -590,37 +590,6 @@ calculateAnimatedValue(effectivePercent, repeatCount); } -void SVGAnimationElement::computeCSSPropertyValue(SVGElement* element, CSSPropertyID id, String& valueString) -{ - ASSERT(element); - - // Don't include any properties resulting from CSS Transitions/Animations or SMIL animations, as we want to retrieve the "base value". - element->setUseOverrideComputedStyle(true); - RefPtr value = ComputedStyleExtractor(element).propertyValue(id); - valueString = value ? value->cssText() : String(); - element->setUseOverrideComputedStyle(false); -} - -static bool inheritsFromProperty(SVGElement* targetElement, const QualifiedName& attributeName, const String& value) -{ - static MainThreadNeverDestroyed inherit("inherit", AtomString::ConstructFromLiteral); - - if (value.isEmpty() || value != inherit) - return false; - return targetElement->isAnimatedStyleAttribute(attributeName); -} - -void SVGAnimationElement::determinePropertyValueTypes(const String& from, const String& to) -{ - auto targetElement = makeRefPtr(this->targetElement()); - ASSERT(targetElement); - - const QualifiedName& attributeName = this->attributeName(); - if (inheritsFromProperty(targetElement.get(), attributeName, from)) - m_fromPropertyValueType = InheritValue; - if (inheritsFromProperty(targetElement.get(), attributeName, to)) - m_toPropertyValueType = InheritValue; -} void SVGAnimationElement::resetAnimation() { m_lastValuesAnimationFrom = String(); diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGAnimationElement.h wpewebkit-2.32.4/Source/WebCore/svg/SVGAnimationElement.h --- wpewebkit-2.32.3/Source/WebCore/svg/SVGAnimationElement.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGAnimationElement.h 2021-09-16 11:16:59.000000000 +0000 @@ -79,9 +79,6 @@ enum class AttributeType : uint8_t { CSS, XML, Auto }; AttributeType attributeType() const { return m_attributeType; } - void computeCSSPropertyValue(SVGElement*, CSSPropertyID, String& value); - virtual void determinePropertyValueTypes(const String& from, const String& to); - protected: SVGAnimationElement(const QualifiedName&, Document&); diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGElement.cpp wpewebkit-2.32.4/Source/WebCore/svg/SVGElement.cpp --- wpewebkit-2.32.3/Source/WebCore/svg/SVGElement.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGElement.cpp 2021-09-16 08:06:41.000000000 +0000 @@ -155,8 +155,8 @@ return map; } -SVGElement::SVGElement(const QualifiedName& tagName, Document& document) - : StyledElement(tagName, document, CreateSVGElement) +SVGElement::SVGElement(const QualifiedName& tagName, Document& document, ConstructionType constructionType) + : StyledElement(tagName, document, constructionType) , m_propertyAnimatorFactory(makeUnique()) { static std::once_flag onceFlag; @@ -293,6 +293,7 @@ bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrategy styleUpdateStrategy) { + // FIXME: should retrieve the value from the associated RenderObject. if (is(*this)) { rect = downcast(*this).getBBox(styleUpdateStrategy); return true; diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGElement.h wpewebkit-2.32.4/Source/WebCore/svg/SVGElement.h --- wpewebkit-2.32.3/Source/WebCore/svg/SVGElement.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -147,7 +147,7 @@ SVGAnimatedString& classNameAnimated() { return m_className; } protected: - SVGElement(const QualifiedName&, Document&); + SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement); virtual ~SVGElement(); bool rendererIsNeeded(const RenderStyle&) override; diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGUnknownElement.h wpewebkit-2.32.4/Source/WebCore/svg/SVGUnknownElement.h --- wpewebkit-2.32.3/Source/WebCore/svg/SVGUnknownElement.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGUnknownElement.h 2021-08-10 09:04:19.000000000 +0000 @@ -45,7 +45,7 @@ private: SVGUnknownElement(const QualifiedName& tagName, Document& document) - : SVGElement(tagName, document) + : SVGElement(tagName, document, CreateSVGElement | NodeFlag::IsUnknownElement) { } diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/SVGUseElement.cpp wpewebkit-2.32.4/Source/WebCore/svg/SVGUseElement.cpp --- wpewebkit-2.32.3/Source/WebCore/svg/SVGUseElement.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/SVGUseElement.cpp 2021-08-10 09:19:58.000000000 +0000 @@ -309,14 +309,14 @@ return targetClone->renderer(); } -static inline void disassociateAndRemoveClones(const Vector& clones) +static inline void disassociateAndRemoveClones(const Vector>& clones) { for (auto& clone : clones) { - for (auto& descendant : descendantsOfType(*clone)) + for (auto& descendant : descendantsOfType(clone.get())) descendant.setCorrespondingElement(nullptr); if (is(clone)) - downcast(*clone).setCorrespondingElement(nullptr); - clone->parentNode()->removeChild(*clone); + downcast(clone.get()).setCorrespondingElement(nullptr); + clone->remove(); } } @@ -330,10 +330,10 @@ // Assert that it's not in a document to make sure callers are still using it this way. ASSERT(!subtree.isConnected()); - Vector disallowedElements; + Vector> disallowedElements; for (auto it = descendantsOfType(subtree).begin(); it; ) { if (isDisallowedElement(*it)) { - disallowedElements.append(&*it); + disallowedElements.append(*it); it.traverseNextSkippingChildren(); continue; } @@ -349,9 +349,15 @@ // don't need to be cloned to get correct rendering. 2) expandSymbolElementsInShadowTree will turn them // into elements, which is correct for symbol elements directly referenced by use elements, // but incorrect for ones that just happen to be in a subtree. - Vector symbolElements; - for (auto& descendant : descendantsOfType(subtree)) - symbolElements.append(&descendant); + Vector> symbolElements; + for (auto it = descendantsOfType(subtree).begin(); it; ) { + if (is(*it)) { + symbolElements.append(*it); + it.traverseNextSkippingChildren(); + continue; + } + ++it; + } disassociateAndRemoveClones(symbolElements); } diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGPrimitivePropertyAnimator.h wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGPrimitivePropertyAnimator.h --- wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGPrimitivePropertyAnimator.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGPrimitivePropertyAnimator.h 2021-09-16 11:16:59.000000000 +0000 @@ -56,7 +56,7 @@ void start(SVGElement* targetElement) override { - String baseValue = computeCSSPropertyValue(targetElement, cssPropertyID(m_attributeName.localName())); + String baseValue = computeCSSPropertyValue(*targetElement, cssPropertyID(m_attributeName.localName())); m_property->setValue(SVGPropertyTraits::fromString(baseValue)); } diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGPropertyAnimator.h wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGPropertyAnimator.h --- wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGPropertyAnimator.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGPropertyAnimator.h 2021-09-16 11:16:59.000000000 +0000 @@ -76,14 +76,14 @@ return value == inherit ? computeInheritedCSSPropertyValue(targetElement) : value; } - String computeCSSPropertyValue(SVGElement* targetElement, CSSPropertyID id) const + String computeCSSPropertyValue(SVGElement& targetElement, CSSPropertyID id) const { - ASSERT(targetElement); + auto protector = makeRefPtr(targetElement); // Don't include any properties resulting from CSS Transitions/Animations or SMIL animations, as we want to retrieve the "base value". - targetElement->setUseOverrideComputedStyle(true); - RefPtr value = ComputedStyleExtractor(targetElement).propertyValue(id); - targetElement->setUseOverrideComputedStyle(false); + targetElement.setUseOverrideComputedStyle(true); + RefPtr value = ComputedStyleExtractor(&targetElement).propertyValue(id); + targetElement.setUseOverrideComputedStyle(false); return value ? value->cssText() : String(); } @@ -95,7 +95,7 @@ return emptyString(); SVGElement& svgParent = downcast(*parent); - return computeCSSPropertyValue(&svgParent, cssPropertyID(m_attributeName.localName())); + return computeCSSPropertyValue(svgParent, cssPropertyID(m_attributeName.localName())); } AnimationFunction m_function; diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGValuePropertyAnimatorImpl.h wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGValuePropertyAnimatorImpl.h --- wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGValuePropertyAnimatorImpl.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGValuePropertyAnimatorImpl.h 2021-09-16 11:16:59.000000000 +0000 @@ -44,7 +44,7 @@ void start(SVGElement* targetElement) override { - String baseValue = computeCSSPropertyValue(targetElement, cssPropertyID(m_attributeName.localName())); + String baseValue = computeCSSPropertyValue(*targetElement, cssPropertyID(m_attributeName.localName())); SVGLengthValue value(SVGLengthMode::Other); if (!value.setValueAsString(baseValue).hasException()) m_property->setValue(value); diff -Nru wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGValuePropertyListAnimatorImpl.h wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGValuePropertyListAnimatorImpl.h --- wpewebkit-2.32.3/Source/WebCore/svg/properties/SVGValuePropertyListAnimatorImpl.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/svg/properties/SVGValuePropertyListAnimatorImpl.h 2021-09-16 11:16:59.000000000 +0000 @@ -44,7 +44,7 @@ void start(SVGElement* targetElement) override { - String baseValue = computeCSSPropertyValue(targetElement, cssPropertyID(m_attributeName.localName())); + String baseValue = computeCSSPropertyValue(*targetElement, cssPropertyID(m_attributeName.localName())); if (!m_list->parse(baseValue)) m_list->clearItems(); } diff -Nru wpewebkit-2.32.3/Source/WebCore/workers/WorkerOrWorkletScriptController.cpp wpewebkit-2.32.4/Source/WebCore/workers/WorkerOrWorkletScriptController.cpp --- wpewebkit-2.32.3/Source/WebCore/workers/WorkerOrWorkletScriptController.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebCore/workers/WorkerOrWorkletScriptController.cpp 2021-09-16 07:49:53.000000000 +0000 @@ -507,7 +507,7 @@ ASSERT(asObject(m_globalScopeWrapper->getPrototypeDirect(*m_vm))->globalObject() == m_globalScopeWrapper); m_consoleClient = makeUnique(*m_globalScope); - m_globalScopeWrapper->setConsoleClient(m_consoleClient.get()); + m_globalScopeWrapper->setConsoleClient(makeWeakPtr(*m_consoleClient)); } void WorkerOrWorkletScriptController::initScript() diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/GPUConnectionToWebProcess.h 2021-08-10 09:33:56.000000000 +0000 @@ -82,6 +82,9 @@ static Ref create(GPUProcess&, WebCore::ProcessIdentifier, IPC::Connection::Identifier, PAL::SessionID, GPUProcessConnectionParameters&&); virtual ~GPUConnectionToWebProcess(); + using WebCore::NowPlayingManager::Client::weakPtrFactory; + using WeakValueType = WebCore::NowPlayingManager::Client::WeakValueType; + IPC::Connection& connection() { return m_connection.get(); } IPC::MessageReceiverMap& messageReceiverMap() { return m_messageReceiverMap; } GPUProcess& gpuProcess() { return m_gpuProcess.get(); } diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/GPUProcess.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/GPUProcess.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/GPUProcess.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/GPUProcess.h 2021-08-10 09:33:56.000000000 +0000 @@ -49,7 +49,7 @@ class LayerHostingContext; class RemoteAudioSessionProxyManager; -class GPUProcess : public AuxiliaryProcess, public ThreadSafeRefCounted, public CanMakeWeakPtr { +class GPUProcess : public AuxiliaryProcess, public ThreadSafeRefCounted { WTF_MAKE_NONCOPYABLE(GPUProcess); public: explicit GPUProcess(AuxiliaryProcessInitializationParameters&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/graphics/DisplayListReaderHandle.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/graphics/DisplayListReaderHandle.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/graphics/DisplayListReaderHandle.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/graphics/DisplayListReaderHandle.h 2021-09-16 10:10:44.000000000 +0000 @@ -26,6 +26,7 @@ #pragma once #include "SharedDisplayListHandle.h" +#include #include #include @@ -34,9 +35,11 @@ class DisplayListReaderHandle : public SharedDisplayListHandle { WTF_MAKE_NONCOPYABLE(DisplayListReaderHandle); WTF_MAKE_FAST_ALLOCATED; public: - static Ref create(WebCore::DisplayList::ItemBufferIdentifier identifier, Ref&& sharedMemory) + static RefPtr create(WebCore::DisplayList::ItemBufferIdentifier identifier, Ref&& sharedMemory) { - return adoptRef(*new DisplayListReaderHandle(identifier, WTFMove(sharedMemory))); + if (sharedMemory->size() <= headerSize()) + return nullptr; + return adoptRef(new DisplayListReaderHandle(identifier, WTFMove(sharedMemory))); } Optional advance(size_t amount); @@ -44,16 +47,21 @@ void startWaiting() { - header().waitingStatus.store(SharedDisplayListHandle::WaitingStatus::Waiting); + header().waitingStatus.store(static_cast(SharedDisplayListHandle::WaitingStatus::Waiting)); } - Optional stopWaiting() + enum class StopWaitingFailureReason : uint8_t { InvalidWaitingStatus }; + Expected, StopWaitingFailureReason> stopWaiting() { auto& header = this->header(); - if (header.waitingStatus.exchange(SharedDisplayListHandle::WaitingStatus::NotWaiting) == SharedDisplayListHandle::WaitingStatus::Resuming) + auto previousStatus = header.waitingStatus.exchange(static_cast(SharedDisplayListHandle::WaitingStatus::NotWaiting)); + if (!isValidEnum(previousStatus)) + return makeUnexpected(StopWaitingFailureReason::InvalidWaitingStatus); + + if (static_cast(previousStatus) == SharedDisplayListHandle::WaitingStatus::Resuming) return { header.resumeReadingInfo }; - return WTF::nullopt; + return { WTF::nullopt }; } private: diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp wpewebkit-2.32.4/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp 2021-09-16 10:24:49.000000000 +0000 @@ -244,7 +244,10 @@ sleep(30_us); #endif - auto resumeReadingInfo = handle.stopWaiting(); + auto stopWaitingResult = handle.stopWaiting(); + MESSAGE_CHECK_WITH_RETURN_VALUE(stopWaitingResult, nullptr, "Invalid waiting status detected when resuming display list processing"); + + auto resumeReadingInfo = stopWaitingResult.value(); if (!resumeReadingInfo) break; @@ -252,7 +255,7 @@ MESSAGE_CHECK_WITH_RETURN_VALUE(sizeToRead, nullptr, "No unread bytes when resuming display list processing"); auto newDestinationIdentifier = makeObjectIdentifier(resumeReadingInfo->destination); - MESSAGE_CHECK_WITH_RETURN_VALUE(newDestinationIdentifier, nullptr, "Invalid image buffer destination when resuming display list processing"); + MESSAGE_CHECK_WITH_RETURN_VALUE(newDestinationIdentifier.isValid(), nullptr, "Invalid image buffer destination when resuming display list processing"); destination = makeRefPtr(m_remoteResourceCache.cachedImageBuffer(newDestinationIdentifier)); MESSAGE_CHECK_WITH_RETURN_VALUE(destination, nullptr, "Missing image buffer destination when resuming display list processing"); @@ -420,8 +423,11 @@ ASSERT(!RunLoop::isMain()); MESSAGE_CHECK(!m_sharedDisplayListHandles.contains(identifier), "Duplicate shared display list handle"); - if (auto sharedMemory = SharedMemory::map(handle.handle, SharedMemory::Protection::ReadWrite)) - m_sharedDisplayListHandles.set(identifier, DisplayListReaderHandle::create(identifier, sharedMemory.releaseNonNull())); + if (auto sharedMemory = SharedMemory::map(handle.handle, SharedMemory::Protection::ReadWrite)) { + auto handle = DisplayListReaderHandle::create(identifier, sharedMemory.releaseNonNull()); + MESSAGE_CHECK(handle, "There must be enough space to create the handle."); + m_sharedDisplayListHandles.set(identifier, handle); + } if (m_pendingWakeupInfo && m_pendingWakeupInfo->shouldPerformWakeup(identifier)) wakeUpAndApplyDisplayList(std::exchange(m_pendingWakeupInfo, WTF::nullopt)->arguments); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteAudioSessionProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteAudioSessionProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteAudioSessionProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteAudioSessionProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -43,8 +43,7 @@ class RemoteAudioSessionProxyManager; class RemoteAudioSessionProxy - : public IPC::MessageReceiver - , public CanMakeWeakPtr { + : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: static UniqueRef create(GPUConnectionToWebProcess&); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteCDMFactoryProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteCDMFactoryProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteCDMFactoryProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteCDMFactoryProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -43,7 +43,7 @@ class RemoteCDMProxy; struct RemoteCDMConfiguration; -class RemoteCDMFactoryProxy final : private IPC::MessageReceiver, public CanMakeWeakPtr { +class RemoteCDMFactoryProxy final : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: RemoteCDMFactoryProxy(GPUConnectionToWebProcess&); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteCDMProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteCDMProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteCDMProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteCDMProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -49,7 +49,7 @@ struct RemoteCDMInstanceConfiguration; struct RemoteCDMConfiguration; -class RemoteCDMProxy : private IPC::MessageReceiver, public CanMakeWeakPtr { +class RemoteCDMProxy : public IPC::MessageReceiver { public: static std::unique_ptr create(WeakPtr&&, std::unique_ptr&&); ~RemoteCDMProxy(); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMFactoryProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMFactoryProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMFactoryProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMFactoryProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -42,7 +42,7 @@ class RemoteLegacyCDMProxy; struct RemoteLegacyCDMConfiguration; -class RemoteLegacyCDMFactoryProxy final : private IPC::MessageReceiver, public CanMakeWeakPtr { +class RemoteLegacyCDMFactoryProxy final : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: RemoteLegacyCDMFactoryProxy(GPUConnectionToWebProcess&); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -42,9 +42,8 @@ namespace WebKit { class RemoteLegacyCDMProxy - : private IPC::MessageReceiver - , public WebCore::LegacyCDMClient - , public CanMakeWeakPtr { + : public IPC::MessageReceiver + , public WebCore::LegacyCDMClient { public: static std::unique_ptr create(WeakPtr, WebCore::MediaPlayerIdentifier&&, std::unique_ptr&&); ~RemoteLegacyCDMProxy(); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteLegacyCDMSessionProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -50,9 +50,8 @@ class RemoteMediaPlayerProxy; class RemoteLegacyCDMSessionProxy - : private IPC::MessageReceiver - , public WebCore::LegacyCDMSessionClient - , public CanMakeWeakPtr { + : public IPC::MessageReceiver + , public WebCore::LegacyCDMSessionClient { public: static std::unique_ptr create(WeakPtr&&, RemoteLegacyCDMSessionIdentifier, WebCore::LegacyCDM&); ~RemoteLegacyCDMSessionProxy(); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaEngineConfigurationFactoryProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaEngineConfigurationFactoryProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaEngineConfigurationFactoryProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaEngineConfigurationFactoryProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -35,7 +35,7 @@ namespace WebKit { -class RemoteMediaEngineConfigurationFactoryProxy final : private IPC::MessageReceiver, public CanMakeWeakPtr { +class RemoteMediaEngineConfigurationFactoryProxy final : private IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: RemoteMediaEngineConfigurationFactoryProxy(); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -45,8 +45,7 @@ struct RemoteMediaPlayerProxyConfiguration; class RemoteMediaPlayerManagerProxy - : public CanMakeWeakPtr - , private IPC::MessageReceiver + : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -81,9 +81,8 @@ class RemoteVideoTrackProxy; class RemoteMediaPlayerProxy final - : public CanMakeWeakPtr - , public WebCore::MediaPlayerClient - , private IPC::MessageReceiver { + : public WebCore::MediaPlayerClient + , public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: RemoteMediaPlayerProxy(RemoteMediaPlayerManagerProxy&, WebCore::MediaPlayerIdentifier, Ref&&, WebCore::MediaPlayerEnums::MediaEngineIdentifier, RemoteMediaPlayerProxyConfiguration&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/media/RemoteMediaResourceManager.h 2021-08-10 09:33:55.000000000 +0000 @@ -49,8 +49,7 @@ class RemoteMediaResource; class RemoteMediaResourceManager - : public IPC::MessageReceiver - , public CanMakeWeakPtr { + : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: RemoteMediaResourceManager(); diff -Nru wpewebkit-2.32.3/Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h wpewebkit-2.32.4/Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h --- wpewebkit-2.32.3/Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h 2021-08-10 09:33:55.000000000 +0000 @@ -48,6 +48,9 @@ static std::unique_ptr create(SampleBufferDisplayLayerIdentifier, Ref&&); ~RemoteSampleBufferDisplayLayer(); + using WebCore::SampleBufferDisplayLayer::Client::weakPtrFactory; + using WeakValueType = WebCore::SampleBufferDisplayLayer::Client::WeakValueType; + using LayerInitializationCallback = CompletionHandler)>; void initialize(bool hideRootLayer, WebCore::IntSize, LayerInitializationCallback&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/NetworkProcess/NetworkProcess.h wpewebkit-2.32.4/Source/WebKit/NetworkProcess/NetworkProcess.h --- wpewebkit-2.32.3/Source/WebKit/NetworkProcess/NetworkProcess.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/NetworkProcess/NetworkProcess.h 2021-08-10 09:33:56.000000000 +0000 @@ -126,7 +126,7 @@ class Engine; } -class NetworkProcess : public AuxiliaryProcess, private DownloadManager::Client, public ThreadSafeRefCounted, public CanMakeWeakPtr +class NetworkProcess : public AuxiliaryProcess, private DownloadManager::Client, public ThreadSafeRefCounted { WTF_MAKE_NONCOPYABLE(NetworkProcess); public: diff -Nru wpewebkit-2.32.3/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h wpewebkit-2.32.4/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h --- wpewebkit-2.32.3/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.h 2021-08-10 09:33:55.000000000 +0000 @@ -67,6 +67,9 @@ WebSWServerConnection(const WebSWServerConnection&) = delete; ~WebSWServerConnection() final; + using WebCore::SWServer::Connection::weakPtrFactory; + using WeakValueType = WebCore::SWServer::Connection::WeakValueType; + IPC::Connection& ipcConnection() const { return m_contentConnection.get(); } void didReceiveMessage(IPC::Connection&, IPC::Decoder&) final; diff -Nru wpewebkit-2.32.3/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h wpewebkit-2.32.4/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h --- wpewebkit-2.32.3/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.h 2021-08-10 09:33:55.000000000 +0000 @@ -52,7 +52,7 @@ class NetworkConnectionToWebProcess; class WebSWServerConnection; -class WebSWServerToContextConnection: public CanMakeWeakPtr, public WebCore::SWServerToContextConnection, public IPC::MessageSender, public IPC::MessageReceiver { +class WebSWServerToContextConnection: public WebCore::SWServerToContextConnection, public IPC::MessageSender, public IPC::MessageReceiver { public: WebSWServerToContextConnection(NetworkConnectionToWebProcess&, WebCore::RegistrableDomain&&, WebCore::SWServer&); ~WebSWServerToContextConnection(); diff -Nru wpewebkit-2.32.3/Source/WebKit/Platform/IPC/Decoder.cpp wpewebkit-2.32.4/Source/WebKit/Platform/IPC/Decoder.cpp --- wpewebkit-2.32.3/Source/WebKit/Platform/IPC/Decoder.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Platform/IPC/Decoder.cpp 2021-09-16 08:53:10.000000000 +0000 @@ -117,8 +117,10 @@ , m_bufferDeallocator([] (const uint8_t*, size_t) { }) , m_destinationID(destinationID) { - if (!decode(m_messageName)) + if (!decode(m_messageName)) { + markInvalid(); return; + } } Decoder::~Decoder() diff -Nru wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiver.h wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiver.h --- wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiver.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiver.h 2021-08-10 09:33:55.000000000 +0000 @@ -26,6 +26,7 @@ #pragma once #include +#include namespace IPC { @@ -33,7 +34,7 @@ class Decoder; class Encoder; -class MessageReceiver { +class MessageReceiver : public CanMakeWeakPtr { public: virtual ~MessageReceiver() { diff -Nru wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp --- wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp 2021-08-10 09:33:55.000000000 +0000 @@ -44,7 +44,7 @@ ASSERT(!m_globalMessageReceivers.contains(messageReceiverName)); messageReceiver.willBeAddedToMessageReceiverMap(); - m_globalMessageReceivers.set(messageReceiverName, &messageReceiver); + m_globalMessageReceivers.set(messageReceiverName, makeWeakPtr(messageReceiver)); } void MessageReceiverMap::addMessageReceiver(ReceiverName messageReceiverName, uint64_t destinationID, MessageReceiver& messageReceiver) @@ -54,26 +54,32 @@ ASSERT(!m_globalMessageReceivers.contains(messageReceiverName)); messageReceiver.willBeAddedToMessageReceiverMap(); - m_messageReceivers.set(std::make_pair(messageReceiverName, destinationID), &messageReceiver); + m_messageReceivers.set(std::make_pair(messageReceiverName, destinationID), makeWeakPtr(messageReceiver)); } void MessageReceiverMap::removeMessageReceiver(ReceiverName messageReceiverName) { - ASSERT(m_globalMessageReceivers.contains(messageReceiverName)); - auto it = m_globalMessageReceivers.find(messageReceiverName); - it->value->willBeRemovedFromMessageReceiverMap(); + if (it == m_globalMessageReceivers.end()) { + ASSERT_NOT_REACHED(); + return; + } + if (it->value) + it->value->willBeRemovedFromMessageReceiverMap(); m_globalMessageReceivers.remove(it); } void MessageReceiverMap::removeMessageReceiver(ReceiverName messageReceiverName, uint64_t destinationID) { - ASSERT(m_messageReceivers.contains(std::make_pair(messageReceiverName, destinationID))); - auto it = m_messageReceivers.find(std::make_pair(messageReceiverName, destinationID)); - it->value->willBeRemovedFromMessageReceiverMap(); + if (it == m_messageReceivers.end()) { + ASSERT_NOT_REACHED(); + return; + } + if (it->value) + it->value->willBeRemovedFromMessageReceiverMap(); m_messageReceivers.remove(it); } @@ -112,14 +118,14 @@ bool MessageReceiverMap::dispatchMessage(Connection& connection, Decoder& decoder) { - if (MessageReceiver* messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { + if (auto messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { ASSERT(!decoder.destinationID()); messageReceiver->didReceiveMessage(connection, decoder); return true; } - if (MessageReceiver* messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { + if (auto messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { messageReceiver->didReceiveMessage(connection, decoder); return true; } @@ -129,14 +135,14 @@ bool MessageReceiverMap::dispatchSyncMessage(Connection& connection, Decoder& decoder, std::unique_ptr& replyEncoder) { - if (MessageReceiver* messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { + if (auto messageReceiver = m_globalMessageReceivers.get(decoder.messageReceiverName())) { ASSERT(!decoder.destinationID()); messageReceiver->didReceiveSyncMessage(connection, decoder, replyEncoder); return true; } - if (MessageReceiver* messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { + if (auto messageReceiver = m_messageReceivers.get(std::make_pair(decoder.messageReceiverName(), decoder.destinationID()))) { messageReceiver->didReceiveSyncMessage(connection, decoder, replyEncoder); return true; } diff -Nru wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiverMap.h wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiverMap.h --- wpewebkit-2.32.3/Source/WebKit/Platform/IPC/MessageReceiverMap.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Platform/IPC/MessageReceiverMap.h 2021-08-10 09:33:55.000000000 +0000 @@ -27,6 +27,7 @@ #include "StringReference.h" #include +#include #include namespace IPC { @@ -56,9 +57,9 @@ private: // Message receivers that don't require a destination ID. - HashMap, WTF::StrongEnumHashTraits> m_globalMessageReceivers; + HashMap, WTF::IntHash, WTF::StrongEnumHashTraits> m_globalMessageReceivers; - HashMap, MessageReceiver*, DefaultHash>, PairHashTraits, HashTraits>> m_messageReceivers; + HashMap, WeakPtr, DefaultHash>, PairHashTraits, HashTraits>> m_messageReceivers; }; }; diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h wpewebkit-2.32.4/Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h --- wpewebkit-2.32.3/Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -77,9 +77,8 @@ class WebPageProxy; class WebPaymentCoordinatorProxy - : private IPC::MessageReceiver + : public IPC::MessageReceiver , private IPC::MessageSender - , public CanMakeWeakPtr , public PaymentAuthorizationPresenter::Client { WTF_MAKE_FAST_ALLOCATED; public: diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/Authentication/AuthenticationManager.h wpewebkit-2.32.4/Source/WebKit/Shared/Authentication/AuthenticationManager.h --- wpewebkit-2.32.3/Source/WebKit/Shared/Authentication/AuthenticationManager.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/Authentication/AuthenticationManager.h 2021-08-10 09:33:55.000000000 +0000 @@ -62,7 +62,7 @@ enum class AuthenticationChallengeDisposition : uint8_t; using ChallengeCompletionHandler = CompletionHandler; -class AuthenticationManager : public NetworkProcessSupplement, public IPC::MessageReceiver, public CanMakeWeakPtr { +class AuthenticationManager : public NetworkProcessSupplement, public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(AuthenticationManager); public: diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/AuxiliaryProcess.h wpewebkit-2.32.4/Source/WebKit/Shared/AuxiliaryProcess.h --- wpewebkit-2.32.3/Source/WebKit/Shared/AuxiliaryProcess.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/AuxiliaryProcess.h 2021-08-10 09:33:55.000000000 +0000 @@ -41,7 +41,7 @@ class SandboxInitializationParameters; struct AuxiliaryProcessInitializationParameters; -class AuxiliaryProcess : protected IPC::Connection::Client, public IPC::MessageSender { +class AuxiliaryProcess : public IPC::Connection::Client, public IPC::MessageSender { WTF_MAKE_NONCOPYABLE(AuxiliaryProcess); public: diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/SandboxExtension.h wpewebkit-2.32.4/Source/WebKit/Shared/SandboxExtension.h --- wpewebkit-2.32.3/Source/WebKit/Shared/SandboxExtension.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/SandboxExtension.h 2021-08-10 09:30:20.000000000 +0000 @@ -90,6 +90,7 @@ HandleArray& operator=(HandleArray&&) = default; ~HandleArray(); void allocate(size_t); + void append(Handle&&); Handle& operator[](size_t i); Handle& at(size_t i) { return operator[](i); } const Handle& operator[](size_t i) const; @@ -149,6 +150,7 @@ inline SandboxExtension::HandleArray::HandleArray() { } inline SandboxExtension::HandleArray::~HandleArray() { } inline void SandboxExtension::HandleArray::allocate(size_t) { } +inline void SandboxExtension::HandleArray::append(Handle&&) { } inline size_t SandboxExtension::HandleArray::size() const { return 0; } inline const SandboxExtension::Handle& SandboxExtension::HandleArray::operator[](size_t) const { return m_emptyHandle; } inline SandboxExtension::Handle& SandboxExtension::HandleArray::operator[](size_t) { return m_emptyHandle; } diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/SessionState.cpp wpewebkit-2.32.4/Source/WebKit/Shared/SessionState.cpp --- wpewebkit-2.32.3/Source/WebKit/Shared/SessionState.cpp 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/SessionState.cpp 2021-09-16 10:10:45.000000000 +0000 @@ -32,17 +32,6 @@ namespace WebKit { using namespace WebCore; -bool isValidEnum(WebCore::ShouldOpenExternalURLsPolicy policy) -{ - switch (policy) { - case WebCore::ShouldOpenExternalURLsPolicy::ShouldAllow: - case WebCore::ShouldOpenExternalURLsPolicy::ShouldAllowExternalSchemesButNotAppLinks: - case WebCore::ShouldOpenExternalURLsPolicy::ShouldNotAllow: - return true; - } - return false; -} - void HTTPBody::Element::encode(IPC::Encoder& encoder) const { encoder << type; @@ -219,9 +208,12 @@ result.sessionStateObject = SerializedScriptValue::createFromWireBytes(WTFMove(wireBytes)); } - if (!decoder.decode(result.shouldOpenExternalURLsPolicy) || !isValidEnum(result.shouldOpenExternalURLsPolicy)) + Optional shouldOpenExternalURLsPolicy; + decoder >> shouldOpenExternalURLsPolicy; + if (!shouldOpenExternalURLsPolicy) return false; + result.shouldOpenExternalURLsPolicy = *shouldOpenExternalURLsPolicy; return true; } diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/SessionState.h wpewebkit-2.32.4/Source/WebKit/Shared/SessionState.h --- wpewebkit-2.32.3/Source/WebKit/Shared/SessionState.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/SessionState.h 2021-09-16 10:10:45.000000000 +0000 @@ -44,8 +44,6 @@ namespace WebKit { -bool isValidEnum(WebCore::ShouldOpenExternalURLsPolicy); - struct HTTPBody { struct Element { void encode(IPC::Encoder&) const; diff -Nru wpewebkit-2.32.3/Source/WebKit/Shared/SharedDisplayListHandle.h wpewebkit-2.32.4/Source/WebKit/Shared/SharedDisplayListHandle.h --- wpewebkit-2.32.3/Source/WebKit/Shared/SharedDisplayListHandle.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/Shared/SharedDisplayListHandle.h 2021-09-16 10:10:44.000000000 +0000 @@ -28,11 +28,13 @@ #include "SharedMemory.h" #include #include +#include #include #include namespace WebKit { +// This is a skeleton only used by the DisplayListWriterHandle & DisplayListReaderHandle subclasses. class SharedDisplayListHandle : public RefCounted { public: virtual ~SharedDisplayListHandle() = default; @@ -58,6 +60,7 @@ Waiting, Resuming }; + using WaitingStatusStorageType = std::underlying_type_t; struct ResumeReadingInformation { uint64_t offset; @@ -77,7 +80,7 @@ Atomic unreadBytes; ResumeReadingInformation resumeReadingInfo; - Atomic waitingStatus; + Atomic waitingStatus; }; const DisplayListSharedMemoryHeader& header() const { return *reinterpret_cast(data()); } @@ -89,3 +92,16 @@ }; } // namespace WebKit + +namespace WTF { + +template<> struct EnumTraits { + using values = EnumValues< + WebKit::SharedDisplayListHandle::WaitingStatus, + WebKit::SharedDisplayListHandle::WaitingStatus::NotWaiting, + WebKit::SharedDisplayListHandle::WaitingStatus::Waiting, + WebKit::SharedDisplayListHandle::WaitingStatus::Resuming + >; +}; + +} // namespace WTF diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/GPU/GPUProcessProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/GPU/GPUProcessProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/GPU/GPUProcessProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/GPU/GPUProcessProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -52,7 +52,7 @@ struct GPUProcessConnectionParameters; struct GPUProcessCreationParameters; -class GPUProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient, public CanMakeWeakPtr, public RefCounted { +class GPUProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient, public RefCounted { WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(GPUProcessProxy); friend LazyNeverDestroyed; diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -84,7 +84,6 @@ : public API::ObjectImpl , public IPC::MessageReceiver , public Inspector::FrontendChannel - , public CanMakeWeakPtr #if PLATFORM(WIN) , public WebCore::WindowMessageListener #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/Inspector/WebInspectorUIExtensionControllerProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/Inspector/WebInspectorUIExtensionControllerProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/Inspector/WebInspectorUIExtensionControllerProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/Inspector/WebInspectorUIExtensionControllerProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -44,8 +44,7 @@ class WebInspectorUIExtensionControllerProxy final : public RefCounted - , public IPC::MessageReceiver - , public CanMakeWeakPtr { + , public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(WebInspectorUIExtensionControllerProxy); public: diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/Media/AudioSessionRoutingArbitratorProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -37,8 +37,7 @@ class WebProcessProxy; class AudioSessionRoutingArbitratorProxy - : public IPC::MessageReceiver - , public CanMakeWeakPtr { + : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: AudioSessionRoutingArbitratorProxy(WebProcessProxy&); diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -46,7 +46,7 @@ class NetworkProcessProxy; -class LegacyCustomProtocolManagerProxy : public CanMakeWeakPtr, public IPC::MessageReceiver { +class LegacyCustomProtocolManagerProxy : public IPC::MessageReceiver { public: LegacyCustomProtocolManagerProxy(NetworkProcessProxy&); ~LegacyCustomProtocolManagerProxy(); diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h 2021-05-17 13:22:42.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/Network/NetworkProcessProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -93,7 +93,7 @@ struct WebsiteData; struct WebsiteDataStoreParameters; -class NetworkProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient, public CanMakeWeakPtr, public RefCounted { +class NetworkProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient, public RefCounted { WTF_MAKE_FAST_ALLOCATED; public: using RegistrableDomain = WebCore::RegistrableDomain; diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/ProvisionalPageProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/ProvisionalPageProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/ProvisionalPageProxy.h 2021-07-21 14:20:17.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/ProvisionalPageProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -68,7 +68,7 @@ using LayerHostingContextID = uint32_t; #endif -class ProvisionalPageProxy : public IPC::MessageReceiver, public IPC::MessageSender, public CanMakeWeakPtr { +class ProvisionalPageProxy : public IPC::MessageReceiver, public IPC::MessageSender { WTF_MAKE_FAST_ALLOCATED; public: ProvisionalPageProxy(WebPageProxy&, Ref&&, std::unique_ptr, uint64_t navigationID, bool isServerRedirect, const WebCore::ResourceRequest&, ProcessSwapRequestedByClient, API::WebsitePolicies*); diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/SpeechRecognitionRemoteRealtimeMediaSourceManager.h wpewebkit-2.32.4/Source/WebKit/UIProcess/SpeechRecognitionRemoteRealtimeMediaSourceManager.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/SpeechRecognitionRemoteRealtimeMediaSourceManager.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/SpeechRecognitionRemoteRealtimeMediaSourceManager.h 2021-08-10 09:33:55.000000000 +0000 @@ -48,7 +48,7 @@ class SpeechRecognitionRemoteRealtimeMediaSource; -class SpeechRecognitionRemoteRealtimeMediaSourceManager final : public CanMakeWeakPtr, public IPC::MessageReceiver, public IPC::MessageSender { +class SpeechRecognitionRemoteRealtimeMediaSourceManager final : public IPC::MessageReceiver, public IPC::MessageSender { WTF_MAKE_FAST_ALLOCATED; public: explicit SpeechRecognitionRemoteRealtimeMediaSourceManager(Ref&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/SpeechRecognitionServer.h wpewebkit-2.32.4/Source/WebKit/UIProcess/SpeechRecognitionServer.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/SpeechRecognitionServer.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/SpeechRecognitionServer.h 2021-08-10 09:33:55.000000000 +0000 @@ -49,7 +49,7 @@ using SpeechRecognitionPermissionChecker = Function; using SpeechRecognitionCheckIfMockSpeechRecognitionEnabled = Function; -class SpeechRecognitionServer : public CanMakeWeakPtr, public IPC::MessageReceiver, private IPC::MessageSender { +class SpeechRecognitionServer : public IPC::MessageReceiver, private IPC::MessageSender { WTF_MAKE_FAST_ALLOCATED; public: #if ENABLE(MEDIA_STREAM) diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/SuspendedPageProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/SuspendedPageProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/SuspendedPageProxy.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/SuspendedPageProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -52,7 +52,7 @@ enum class ShouldDelayClosingUntilFirstLayerFlush : bool { No, Yes }; -class SuspendedPageProxy final: public IPC::MessageReceiver, public IPC::MessageSender, public CanMakeWeakPtr { +class SuspendedPageProxy final: public IPC::MessageReceiver, public IPC::MessageSender { WTF_MAKE_FAST_ALLOCATED; public: SuspendedPageProxy(WebPageProxy&, Ref&&, WebCore::FrameIdentifier mainFrameID, ShouldDelayClosingUntilFirstLayerFlush); diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebAuthentication/WebAuthnProcessProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/WebAuthentication/WebAuthnProcessProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebAuthentication/WebAuthnProcessProxy.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebAuthentication/WebAuthnProcessProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -41,7 +41,7 @@ class WebsiteDataStore; struct WebAuthnProcessCreationParameters; -class WebAuthnProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient, public CanMakeWeakPtr { +class WebAuthnProcessProxy final : public AuxiliaryProcessProxy, private ProcessThrottlerClient { WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(WebAuthnProcessProxy); friend LazyNeverDestroyed; diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebNavigationState.h wpewebkit-2.32.4/Source/WebKit/UIProcess/WebNavigationState.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebNavigationState.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebNavigationState.h 2021-08-10 09:21:08.000000000 +0000 @@ -67,8 +67,10 @@ return ++m_navigationID; } + using NavigationMap = HashMap>; + private: - HashMap> m_navigations; + NavigationMap m_navigations; uint64_t m_navigationID { 0 }; }; diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebPageProxy.cpp wpewebkit-2.32.4/Source/WebKit/UIProcess/WebPageProxy.cpp --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-07-21 14:18:00.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebPageProxy.cpp 2021-09-16 09:30:01.000000000 +0000 @@ -31,6 +31,7 @@ #include "APIAttachment.h" #include "APIContentWorld.h" #include "APIContextMenuClient.h" +#include "APIDictionary.h" #include "APIFindClient.h" #include "APIFindMatchesClient.h" #include "APIFormClient.h" @@ -4382,13 +4383,14 @@ void WebPageProxy::didDestroyNavigation(uint64_t navigationID) { + MESSAGE_CHECK(m_process, WebNavigationState::NavigationMap::isValidKey(navigationID)); + PageClientProtector protector(pageClient()); // On process-swap, the previous process tries to destroy the navigation but the provisional process is actually taking over the navigation. if (m_provisionalPage && m_provisionalPage->navigationID() == navigationID) return; - // FIXME: Message check the navigationID. m_navigationState->didDestroyNavigation(navigationID); } @@ -5444,6 +5446,9 @@ WebFrameProxy* sourceFrame = m_process->webFrame(sourceFrameID); MESSAGE_CHECK(m_process, sourceFrame); + for (auto& pair : textFieldValues) + MESSAGE_CHECK(m_process, API::Dictionary::MapType::isValidKey(pair.first)); + m_formClient->willSubmitForm(*this, *frame, *sourceFrame, textFieldValues, m_process->transformHandlesToObjects(userData.object()).get(), [this, protectedThis = makeRef(*this), frameID, listenerID]() { send(Messages::WebPage::ContinueWillSubmitForm(frameID, listenerID)); }); @@ -6129,10 +6134,8 @@ void WebPageProxy::endColorPicker() { - if (!m_colorPicker) - return; - - m_colorPicker->endPicker(); + if (auto colorPicker = std::exchange(m_colorPicker, nullptr)) + colorPicker->endPicker(); } void WebPageProxy::didChooseColor(const WebCore::Color& color) @@ -6145,11 +6148,13 @@ void WebPageProxy::didEndColorPicker() { - m_colorPicker = nullptr; - if (!hasRunningProcess()) - return; + if (std::exchange(m_colorPicker, nullptr)) { + if (!hasRunningProcess()) + return; + + send(Messages::WebPage::DidEndColorPicker()); + } - send(Messages::WebPage::DidEndColorPicker()); } #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebPageProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/WebPageProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebPageProxy.h 2021-07-21 14:24:06.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebPageProxy.h 2021-09-16 08:37:32.000000000 +0000 @@ -431,14 +431,15 @@ #endif #if PLATFORM(MACCATALYST) , public EndowmentStateTracker::Client -#else - , public CanMakeWeakPtr #endif { public: static Ref create(PageClient&, WebProcessProxy&, Ref&&); virtual ~WebPageProxy(); + using IPC::MessageReceiver::weakPtrFactory; + using WeakValueType = IPC::MessageReceiver::WeakValueType; + static void forMostVisibleWebPageIfAny(PAL::SessionID, const WebCore::SecurityOriginData&, CompletionHandler&&); const API::PageConfiguration& configuration() const; diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessPool.h wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessPool.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessPool.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessPool.h 2021-08-10 09:33:56.000000000 +0000 @@ -127,8 +127,7 @@ class WebProcessPool final : public API::ObjectImpl - , public CanMakeWeakPtr - , private IPC::MessageReceiver + , public IPC::MessageReceiver #if PLATFORM(MAC) , private PAL::SystemSleepListener::Client #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessProxy.cpp wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessProxy.cpp --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessProxy.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessProxy.cpp 2021-08-10 09:33:56.000000000 +0000 @@ -1720,6 +1720,8 @@ return; ASSERT(!m_speechRecognitionServerMap.contains(identifier)); + MESSAGE_CHECK(!m_speechRecognitionServerMap.contains(identifier)); + auto& speechRecognitionServer = m_speechRecognitionServerMap.add(identifier, nullptr).iterator->value; auto permissionChecker = [weakPage = makeWeakPtr(targetPage)](auto& request, auto&& completionHandler) mutable { if (!weakPage) { diff -Nru wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessProxy.h wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessProxy.h --- wpewebkit-2.32.3/Source/WebKit/UIProcess/WebProcessProxy.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/UIProcess/WebProcessProxy.h 2021-08-10 09:33:56.000000000 +0000 @@ -120,7 +120,7 @@ using WebProcessWithAudibleMediaToken = WebProcessWithAudibleMediaCounter::Token; enum class CheckBackForwardList : bool { No, Yes }; -class WebProcessProxy : public AuxiliaryProcessProxy, public ResponsivenessTimer::Client, public ThreadSafeRefCounted, public CanMakeWeakPtr, private ProcessThrottlerClient { +class WebProcessProxy : public AuxiliaryProcessProxy, public ResponsivenessTimer::Client, public ThreadSafeRefCounted, private ProcessThrottlerClient { public: typedef HashMap> WebFrameProxyMap; typedef HashMap WebPageProxyMap; diff -Nru wpewebkit-2.32.3/Source/WebKit/WebAuthnProcess/WebAuthnProcess.h wpewebkit-2.32.4/Source/WebKit/WebAuthnProcess/WebAuthnProcess.h --- wpewebkit-2.32.3/Source/WebKit/WebAuthnProcess/WebAuthnProcess.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebAuthnProcess/WebAuthnProcess.h 2021-08-10 09:33:55.000000000 +0000 @@ -44,7 +44,7 @@ class WebAuthnConnectionToWebProcess; struct WebAuthnProcessCreationParameters; -class WebAuthnProcess : public AuxiliaryProcess, public ThreadSafeRefCounted, public CanMakeWeakPtr { +class WebAuthnProcess : public AuxiliaryProcess, public ThreadSafeRefCounted { WTF_MAKE_NONCOPYABLE(WebAuthnProcess); public: explicit WebAuthnProcess(AuxiliaryProcessInitializationParameters&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/GPUProcessConnection.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/GPUProcessConnection.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/GPUProcessConnection.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/GPUProcessConnection.h 2021-08-10 09:33:55.000000000 +0000 @@ -47,7 +47,7 @@ struct OverrideScreenDataForTesting; struct WebPageCreationParameters; -class GPUProcessConnection : public RefCounted, public CanMakeWeakPtr, IPC::Connection::Client { +class GPUProcessConnection : public RefCounted, public IPC::Connection::Client { public: static Ref create(IPC::Connection::Identifier connectionIdentifier) { diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/DisplayListWriterHandle.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/DisplayListWriterHandle.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/DisplayListWriterHandle.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/DisplayListWriterHandle.h 2021-09-16 10:10:44.000000000 +0000 @@ -33,9 +33,11 @@ class DisplayListWriterHandle : public SharedDisplayListHandle { WTF_MAKE_NONCOPYABLE(DisplayListWriterHandle); WTF_MAKE_FAST_ALLOCATED; public: - static Ref create(WebCore::DisplayList::ItemBufferIdentifier identifier, Ref&& sharedMemory) + static RefPtr create(WebCore::DisplayList::ItemBufferIdentifier identifier, Ref&& sharedMemory) { - return adoptRef(*new DisplayListWriterHandle(identifier, WTFMove(sharedMemory))); + if (sharedMemory->size() <= headerSize()) + return nullptr; + return adoptRef(new DisplayListWriterHandle(identifier, WTFMove(sharedMemory))); } size_t writableOffset() const { return m_writableOffset; } @@ -50,7 +52,10 @@ { auto& header = this->header(); header.resumeReadingInfo = WTFMove(info); - return header.waitingStatus.compareExchangeWeak(SharedDisplayListHandle::WaitingStatus::Waiting, SharedDisplayListHandle::WaitingStatus::Resuming); + return header.waitingStatus.compareExchangeWeak( + static_cast(SharedDisplayListHandle::WaitingStatus::Waiting), + static_cast(SharedDisplayListHandle::WaitingStatus::Resuming) + ); } private: diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp 2021-09-16 08:41:27.000000000 +0000 @@ -366,6 +366,7 @@ send(Messages::RemoteRenderingBackend::DidCreateSharedDisplayListHandle(identifier, { WTFMove(sharedMemoryHandle), sharedMemory->size() }, destinationBufferIdentifier), m_renderingBackendIdentifier); auto newHandle = DisplayListWriterHandle::create(identifier, sharedMemory.releaseNonNull()); + RELEASE_ASSERT(newHandle, "There must be enough space to create the handle."); auto displayListHandle = newHandle->createHandle(); m_identifiersOfReusableHandles.prepend(identifier); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h 2021-08-10 09:33:55.000000000 +0000 @@ -65,6 +65,9 @@ ~RemoteRenderingBackendProxy(); + using GPUProcessConnection::Client::weakPtrFactory; + using WeakValueType = GPUProcessConnection::Client::WeakValueType; + RemoteResourceCacheProxy& remoteResourceCacheProxy() { return m_remoteResourceCacheProxy; } WebCore::DisplayList::ItemBufferHandle createItemBuffer(size_t capacity, WebCore::RenderingResourceIdentifier destinationBufferIdentifier); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/MediaPlayerPrivateRemote.h 2021-09-16 10:30:37.000000000 +0000 @@ -66,9 +66,8 @@ struct TrackPrivateRemoteConfiguration; class MediaPlayerPrivateRemote final - : public CanMakeWeakPtr - , public WebCore::MediaPlayerPrivateInterface - , private IPC::MessageReceiver + : public WebCore::MediaPlayerPrivateInterface + , public IPC::MessageReceiver #if !RELEASE_LOG_DISABLED , private LoggerHelper #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h 2021-08-10 09:33:56.000000000 +0000 @@ -51,8 +51,7 @@ class MediaSourcePrivateRemote final : public WebCore::MediaSourcePrivate - , public CanMakeWeakPtr - , private IPC::MessageReceiver + , public IPC::MessageReceiver #if !RELEASE_LOG_DISABLED , private LoggerHelper #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h 2021-08-10 09:33:56.000000000 +0000 @@ -58,9 +58,8 @@ class MediaSourcePrivateRemote; class SourceBufferPrivateRemote final - : public CanMakeWeakPtr - , public WebCore::SourceBufferPrivate - , private IPC::MessageReceiver + : public WebCore::SourceBufferPrivate + , public IPC::MessageReceiver { public: static Ref create(GPUProcessConnection&, RemoteSourceBufferIdentifier, const MediaSourcePrivateRemote&, const MediaPlayerPrivateRemote&); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.h wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayer.h 2021-08-10 09:33:55.000000000 +0000 @@ -36,7 +36,7 @@ class SampleBufferDisplayLayerManager; -class SampleBufferDisplayLayer final : public WebCore::SampleBufferDisplayLayer, public IPC::MessageReceiver, public CanMakeWeakPtr { +class SampleBufferDisplayLayer final : public WebCore::SampleBufferDisplayLayer, public IPC::MessageReceiver { public: static std::unique_ptr create(SampleBufferDisplayLayerManager&, Client&); ~SampleBufferDisplayLayer(); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.h wpewebkit-2.32.4/Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.h 2021-08-10 09:33:55.000000000 +0000 @@ -52,8 +52,7 @@ class WebInspectorUI; class WebInspectorUIExtensionController - : public IPC::MessageReceiver - , public CanMakeWeakPtr { + : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(WebInspectorUIExtensionController); public: diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/Network/WebSocketChannel.h wpewebkit-2.32.4/Source/WebKit/WebProcess/Network/WebSocketChannel.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/Network/WebSocketChannel.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/Network/WebSocketChannel.h 2021-08-10 09:33:55.000000000 +0000 @@ -43,7 +43,7 @@ namespace WebKit { -class WebSocketChannel : public IPC::MessageSender, public IPC::MessageReceiver, public WebCore::ThreadableWebSocketChannel, public RefCounted, public CanMakeWeakPtr { +class WebSocketChannel : public IPC::MessageSender, public IPC::MessageReceiver, public WebCore::ThreadableWebSocketChannel, public RefCounted { public: static Ref create(WebCore::Document&, WebCore::WebSocketChannelClient&); ~WebSocketChannel(); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.h wpewebkit-2.32.4/Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/Speech/SpeechRecognitionRealtimeMediaSourceManager.h 2021-08-10 09:33:55.000000000 +0000 @@ -38,7 +38,7 @@ namespace WebKit { -class SpeechRecognitionRealtimeMediaSourceManager final : public CanMakeWeakPtr, public IPC::MessageReceiver, private IPC::MessageSender { +class SpeechRecognitionRealtimeMediaSourceManager final : public IPC::MessageReceiver, private IPC::MessageSender { WTF_MAKE_FAST_ALLOCATED; public: explicit SpeechRecognitionRealtimeMediaSourceManager(Ref&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp wpewebkit-2.32.4/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp --- wpewebkit-2.32.3/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp 2021-09-16 10:41:30.000000000 +0000 @@ -519,17 +519,20 @@ webPage->findController().hideFindUI(); webPage->sandboxExtensionTracker().didStartProvisionalLoad(m_frame.ptr()); - WebDocumentLoader& provisionalLoader = static_cast(*m_frame->coreFrame()->loader().provisionalDocumentLoader()); - auto& url = provisionalLoader.url(); + RefPtr userData; // Notify the bundle client. webPage->injectedBundleLoaderClient().didStartProvisionalLoadForFrame(*webPage, m_frame, userData); + RefPtr provisionalLoader = static_cast(m_frame->coreFrame()->loader().provisionalDocumentLoader()); - auto& unreachableURL = provisionalLoader.unreachableURL(); - + if (!provisionalLoader) + return; + + auto& url = provisionalLoader->url(); + auto& unreachableURL = provisionalLoader->unreachableURL(); // Notify the UIProcess. - webPage->send(Messages::WebPageProxy::DidStartProvisionalLoadForFrame(m_frame->frameID(), m_frame->info(), provisionalLoader.request(), provisionalLoader.navigationID(), url, unreachableURL, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get()))); + webPage->send(Messages::WebPageProxy::DidStartProvisionalLoadForFrame(m_frame->frameID(), m_frame->info(), provisionalLoader->request(), provisionalLoader->navigationID(), url, unreachableURL, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get()))); } static constexpr unsigned maxTitleLength = 1000; // Closest power of 10 above the W3C recommendation for Title length. diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h 2021-08-10 09:33:55.000000000 +0000 @@ -47,7 +47,7 @@ class RemoteLayerTreeContext; class RemoteLayerTreeDisplayRefreshMonitor; -class RemoteLayerTreeDrawingArea : public DrawingArea, public CanMakeWeakPtr, public WebCore::GraphicsLayerClient { +class RemoteLayerTreeDrawingArea : public DrawingArea, public WebCore::GraphicsLayerClient { friend class RemoteLayerTreeDisplayRefreshMonitor; public: RemoteLayerTreeDrawingArea(WebPage&, const WebPageCreationParameters&); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/WebPage.cpp wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/WebPage.cpp --- wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2021-09-16 10:49:52.000000000 +0000 @@ -2695,7 +2695,8 @@ // Simulate a mouse click to generate the correct menu. PlatformMouseEvent mousePressEvent(point, point, RightButton, PlatformEvent::MousePressed, 1, false, false, false, false, WallTime::now(), WebCore::ForceAtClick, WebCore::NoTap); corePage()->userInputBridge().handleMousePressEvent(mousePressEvent); - bool handled = corePage()->userInputBridge().handleContextMenuEvent(mousePressEvent, corePage()->mainFrame()); + Ref mainFrame = corePage()->mainFrame(); + bool handled = corePage()->userInputBridge().handleContextMenuEvent(mousePressEvent, mainFrame); auto* menu = handled ? &contextMenu() : nullptr; PlatformMouseEvent mouseReleaseEvent(point, point, RightButton, PlatformEvent::MouseReleased, 1, false, false, false, false, WallTime::now(), WebCore::ForceAtClick, WebCore::NoTap); corePage()->userInputBridge().handleMouseReleaseEvent(mouseReleaseEvent); @@ -2847,11 +2848,11 @@ constexpr OptionSet hitType { HitTestRequest::ReadOnly, HitTestRequest::Active, HitTestRequest::DisallowUserAgentShadowContent, HitTestRequest::AllowChildFrameContent }; HitTestResult result = page->corePage()->mainFrame().eventHandler().hitTestResultAtPoint(point, hitType); - Frame* frame = &page->corePage()->mainFrame(); + Ref frame = page->corePage()->mainFrame(); if (result.innerNonSharedNode()) - frame = result.innerNonSharedNode()->document().frame(); + frame = *result.innerNonSharedNode()->document().frame(); - bool handled = page->corePage()->userInputBridge().handleContextMenuEvent(platformMouseEvent, *frame); + bool handled = page->corePage()->userInputBridge().handleContextMenuEvent(platformMouseEvent, frame); #if ENABLE(CONTEXT_MENUS) if (handled) page->contextMenu().show(); @@ -5100,6 +5101,8 @@ void WebPage::beginPrinting(FrameIdentifier frameID, const PrintInfo& printInfo) { + PrintContextAccessScope scope { *this }; + WebFrame* frame = WebProcess::singleton().webFrame(frameID); if (!frame) return; @@ -5121,6 +5124,7 @@ freezeLayerTree(LayerTreeFreezeReason::Printing); auto computedPageSize = m_printContext->computedPageSize(FloatSize(printInfo.availablePaperWidth, printInfo.availablePaperHeight), printInfo.margin); + m_printContext->begin(computedPageSize.width(), computedPageSize.height()); // PrintContext::begin() performed a synchronous layout which might have executed a @@ -5142,6 +5146,18 @@ void WebPage::endPrinting() { + if (m_inActivePrintContextAccessScope) { + m_shouldEndPrintingImmediately = true; + return; + } + endPrintingImmediately(); +} + +void WebPage::endPrintingImmediately() +{ + RELEASE_ASSERT(!m_inActivePrintContextAccessScope); + m_shouldEndPrintingImmediately = false; + unfreezeLayerTree(LayerTreeFreezeReason::Printing); if (m_printContext) { @@ -5152,6 +5168,7 @@ void WebPage::computePagesForPrinting(FrameIdentifier frameID, const PrintInfo& printInfo, CompletionHandler&, double, const WebCore::FloatBoxExtent&)>&& completionHandler) { + PrintContextAccessScope scope { *this }; Vector resultPageRects; double resultTotalScaleFactorForPrinting = 1; auto computedPageMargin = printInfo.margin; @@ -5166,6 +5183,7 @@ beginPrinting(frameID, printInfo); if (m_printContext) { + PrintContextAccessScope scope { *this }; resultPageRects = m_printContext->pageRects(); computedPageMargin = m_printContext->computedPageMargin(printInfo.margin); auto computedPageSize = m_printContext->computedPageSize(FloatSize(printInfo.availablePaperWidth, printInfo.availablePaperHeight), printInfo.margin); @@ -5212,6 +5230,7 @@ void WebPage::drawRectToImage(FrameIdentifier frameID, const PrintInfo& printInfo, const IntRect& rect, const WebCore::IntSize& imageSize, CompletionHandler&& completionHandler) { + PrintContextAccessScope scope { *this }; WebFrame* frame = WebProcess::singleton().webFrame(frameID); Frame* coreFrame = frame ? frame->coreFrame() : 0; @@ -5262,6 +5281,7 @@ void WebPage::drawPagesToPDF(FrameIdentifier frameID, const PrintInfo& printInfo, uint32_t first, uint32_t count, CompletionHandler&& callback) { + PrintContextAccessScope scope { *this }; RetainPtr pdfPageData; drawPagesToPDFImpl(frameID, printInfo, first, count, pdfPageData); callback({ CFDataGetBytePtr(pdfPageData.get()), static_cast(CFDataGetLength(pdfPageData.get())) }); diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/WebPage.h wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/WebPage.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/WebPage/WebPage.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/WebPage/WebPage.h 2021-09-16 08:37:32.000000000 +0000 @@ -322,7 +322,7 @@ using SnapshotOptions = uint32_t; using WKEventModifiers = uint32_t; -class WebPage : public API::ObjectImpl, public IPC::MessageReceiver, public IPC::MessageSender, public CanMakeWeakPtr { +class WebPage : public API::ObjectImpl, public IPC::MessageReceiver, public IPC::MessageSender { public: static Ref create(WebCore::PageIdentifier, WebPageCreationParameters&&); @@ -1640,6 +1640,8 @@ void drawPagesToPDFFromPDFDocument(CGContextRef, PDFDocument *, const PrintInfo&, uint32_t first, uint32_t count); #endif + void endPrintingImmediately(); + #if HAVE(APP_ACCENT_COLORS) void setAccentColor(WebCore::Color); #endif @@ -2010,6 +2012,31 @@ #endif std::unique_ptr m_printContext; + bool m_inActivePrintContextAccessScope { false }; + bool m_shouldEndPrintingImmediately { false }; + + class PrintContextAccessScope { + public: + PrintContextAccessScope(WebPage& webPage) + : m_webPage { webPage } + , m_wasInActivePrintContextAccessScope { webPage.m_inActivePrintContextAccessScope } + { + m_webPage->m_inActivePrintContextAccessScope = true; + } + + ~PrintContextAccessScope() + { + m_webPage->m_inActivePrintContextAccessScope = m_wasInActivePrintContextAccessScope; + if (!m_wasInActivePrintContextAccessScope && m_webPage->m_shouldEndPrintingImmediately) + m_webPage->endPrintingImmediately(); + } + private: + Ref m_webPage; + const bool m_wasInActivePrintContextAccessScope; + }; + + friend class PrintContextAccessScope; + #if PLATFORM(GTK) RefPtr m_printOperation; #endif diff -Nru wpewebkit-2.32.3/Source/WebKit/WebProcess/WebStorage/StorageAreaMap.h wpewebkit-2.32.4/Source/WebKit/WebProcess/WebStorage/StorageAreaMap.h --- wpewebkit-2.32.3/Source/WebKit/WebProcess/WebStorage/StorageAreaMap.h 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/WebProcess/WebStorage/StorageAreaMap.h 2021-08-10 09:33:55.000000000 +0000 @@ -46,7 +46,7 @@ class StorageAreaImpl; class StorageNamespaceImpl; -class StorageAreaMap final : private IPC::MessageReceiver, public CanMakeWeakPtr { +class StorageAreaMap final : public IPC::MessageReceiver { WTF_MAKE_FAST_ALLOCATED; public: StorageAreaMap(StorageNamespaceImpl&, Ref&&); diff -Nru wpewebkit-2.32.3/Source/WebKit/wpe/NEWS wpewebkit-2.32.4/Source/WebKit/wpe/NEWS --- wpewebkit-2.32.3/Source/WebKit/wpe/NEWS 2021-07-23 12:02:30.000000000 +0000 +++ wpewebkit-2.32.4/Source/WebKit/wpe/NEWS 2021-09-17 10:18:26.000000000 +0000 @@ -1,4 +1,13 @@ ================= +WPE WebKit 2.32.4 +================= + +What's new in WPE WebKit 2.32.4? + + - Do not append .asc extension to downloaded text/plain files. + - Fix several crashes and rendering issues. + +================= WPE WebKit 2.32.3 ================= diff -Nru wpewebkit-2.32.3/Source/cmake/OptionsWPE.cmake wpewebkit-2.32.4/Source/cmake/OptionsWPE.cmake --- wpewebkit-2.32.3/Source/cmake/OptionsWPE.cmake 2021-07-23 11:59:37.000000000 +0000 +++ wpewebkit-2.32.4/Source/cmake/OptionsWPE.cmake 2021-09-17 10:18:59.000000000 +0000 @@ -1,7 +1,7 @@ include(GNUInstallDirs) include(VersioningUtils) -SET_PROJECT_VERSION(2 32 3) +SET_PROJECT_VERSION(2 32 4) set(USER_AGENT_BRANDING "" CACHE STRING "Branding to add to user agent string") @@ -130,7 +130,7 @@ find_package(LibSoup ${SOUP_MINIMUM_VERSION} REQUIRED) if (WPE_API_VERSION VERSION_EQUAL "1.0") - CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT 18 2 15) + CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT 18 3 15) else () CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT 0 0 0) endif () diff -Nru wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp --- wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp 2021-09-16 11:20:26.000000000 +0000 @@ -36,7 +36,7 @@ #include #include -// FIXME: Expose the functions tested here in WebKit internals object, then replace this test with one written in JavaScript. +// FIXME(https://webkit.org/b/228175): Expose the functions tested here in WebKit internals object, then replace this test with one written in JavaScript. // FIXME: When doing the above, don't forget to remove the many WEBCORE_EXPORT that were added so we could compile and link this test. #define EXPECT_BOTH(a, b, forward, reversed) do { EXPECT_STREQ(string(documentOrder(a, b)), forward); EXPECT_STREQ(string(documentOrder(b, a)), reversed); } while (0) diff -Nru wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp --- wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp 2021-05-17 13:22:43.000000000 +0000 +++ wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp 2021-08-09 16:02:01.000000000 +0000 @@ -444,6 +444,8 @@ if (g_str_equal(path, "/unknown") || g_str_equal(path, "/ua-test")) path = "/test.pdf"; + else if (g_str_equal(path, "/text")) + path = "/text"; GUniquePtr filePath(g_build_filename(Test::getResourcesDir().data(), path, nullptr)); char* contents; @@ -745,6 +747,23 @@ test->checkDestinationAndDeleteFile(download.get(), expectedFilename.get()); } +static void testDownloadTextPlainMIMEType(DownloadTest* test, gconstpointer) +{ + GRefPtr download = test->downloadURIAndWaitUntilFinishes(kServer->getURIForPath("/text")); + g_assert_null(webkit_download_get_web_view(download.get())); + + WebKitURIRequest* request = webkit_download_get_request(download.get()); + g_assert_true(WEBKIT_IS_URI_REQUEST(request)); + ASSERT_CMP_CSTRING(webkit_uri_request_get_uri(request), ==, kServer->getURIForPath("/text")); + + WebKitURIResponse* response = webkit_download_get_response(download.get()); + g_assert_true(WEBKIT_IS_URI_RESPONSE(response)); + g_assert_cmpstr(webkit_uri_response_get_mime_type(response), ==, "text/plain"); + g_assert_nonnull(webkit_download_get_destination(download.get())); + g_assert_cmpfloat(webkit_download_get_estimated_progress(download.get()), ==, 1); + test->checkDestinationAndDeleteFile(download.get(), kServerSuggestedFilename); +} + static void testDownloadUserAgent(DownloadTest* test, gconstpointer) { s_userAgentMap.clear(); @@ -892,6 +911,7 @@ PolicyResponseDownloadTest::add("Downloads", "policy-decision-download", testPolicyResponseDownload); PolicyResponseDownloadTest::add("Downloads", "policy-decision-download-cancel", testPolicyResponseDownloadCancel); DownloadTest::add("Downloads", "mime-type", testDownloadMIMEType); + DownloadTest::add("Downloads", "text-plain-mime-type", testDownloadTextPlainMIMEType); DownloadTest::add("Downloads", "user-agent", testDownloadUserAgent); Test::add("Downloads", "ephemeral-context", testDownloadEphemeralContext); // FIXME: Implement keyStroke in WPE. diff -Nru wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/text wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/text --- wpewebkit-2.32.3/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/text 1970-01-01 00:00:00.000000000 +0000 +++ wpewebkit-2.32.4/Tools/TestWebKitAPI/Tests/WebKitGLib/resources/text 2021-08-09 16:02:01.000000000 +0000 @@ -0,0 +1 @@ +This is a text/plain document! diff -Nru wpewebkit-2.32.3/debian/changelog wpewebkit-2.32.4/debian/changelog --- wpewebkit-2.32.3/debian/changelog 2021-08-02 23:09:44.000000000 +0000 +++ wpewebkit-2.32.4/debian/changelog 2021-09-20 13:36:57.000000000 +0000 @@ -1,3 +1,20 @@ +wpewebkit (2.32.4-1~deb11u1) bullseye-security; urgency=high + + * Rebuild for bullseye-security. + + Fixes CVE-2021-30858. + + -- Alberto Garcia Mon, 20 Sep 2021 15:36:57 +0200 + +wpewebkit (2.32.4-1) unstable; urgency=high + + * New upstream release. + * disable-external-audio-rendering.patch: + + Drop this patch now for bookworm. + * debian/source/lintian-overrides: + + Update source-is-missing overrides. + + -- Alberto Garcia Sat, 18 Sep 2021 12:32:31 +0200 + wpewebkit (2.32.3-2) unstable; urgency=high * disable-external-audio-rendering.patch: diff -Nru wpewebkit-2.32.3/debian/patches/disable-external-audio-rendering.patch wpewebkit-2.32.4/debian/patches/disable-external-audio-rendering.patch --- wpewebkit-2.32.3/debian/patches/disable-external-audio-rendering.patch 2021-08-02 23:09:44.000000000 +0000 +++ wpewebkit-2.32.4/debian/patches/disable-external-audio-rendering.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -From: Alberto Garcia -Subject: Disable wpebackend-fdo features not available in bullseye -Bug-Debian: https://bugs.debian.org/991555 -Index: webkitgtk/Source/cmake/GStreamerChecks.cmake -=================================================================== ---- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake -+++ webkitgtk/Source/cmake/GStreamerChecks.cmake -@@ -6,7 +6,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) - message(WARNING "WPEBackend-fdo audio extension not found. Disabling external audio rendering support") - SET_AND_EXPOSE_TO_BUILD(USE_WPEBACKEND_FDO_AUDIO_EXTENSION FALSE) - else () -- SET_AND_EXPOSE_TO_BUILD(USE_WPEBACKEND_FDO_AUDIO_EXTENSION TRUE) -+ message(WARNING "Disabling external audio rendering support for the bullseye build") -+ SET_AND_EXPOSE_TO_BUILD(USE_WPEBACKEND_FDO_AUDIO_EXTENSION FALSE) - endif () - endif () - diff -Nru wpewebkit-2.32.3/debian/patches/series wpewebkit-2.32.4/debian/patches/series --- wpewebkit-2.32.3/debian/patches/series 2021-08-02 23:09:44.000000000 +0000 +++ wpewebkit-2.32.4/debian/patches/series 2021-09-20 13:36:57.000000000 +0000 @@ -5,4 +5,3 @@ dont-detect-sse2.patch reduce-memory-overheads.patch fix-mips-page-size.patch -disable-external-audio-rendering.patch diff -Nru wpewebkit-2.32.3/debian/source/lintian-overrides wpewebkit-2.32.4/debian/source/lintian-overrides --- wpewebkit-2.32.3/debian/source/lintian-overrides 2021-08-02 23:09:44.000000000 +0000 +++ wpewebkit-2.32.4/debian/source/lintian-overrides 2021-09-20 13:36:57.000000000 +0000 @@ -1,12 +1,16 @@ -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/External/CodeMirror/codemirror.js line length is 1954 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/External/CodeMirror/sql.js line length is 3058 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js line length is 1362 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/10.3/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/11.0/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/11.3/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/12.0/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/12.2/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/13.0/InspectorBackendCommands.js line length is 614 characters (>512) -wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/13.4/InspectorBackendCommands.js line length is 683 characters (>512) -wpewebkit source: source-is-missing Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html line length is 1670 characters (>512) -wpewebkit source: source-is-missing Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html line length is 1670 characters (>512) +wpewebkit source: source-is-missing Source/WebCore/Modules/mediacontrols/mediaControlsApple.js line 2099 is 524 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/External/CodeMirror/codemirror.js line 7303 is 1954 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/External/CodeMirror/sql.js line 299 is 6283 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/External/Esprima/esprima.js line 6484 is 8860 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Models/CSSKeywordCompletions.js line 1188 is 1493 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/10.3/InspectorBackendCommands.js line 343 is 716 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/11.0/InspectorBackendCommands.js line 358 is 716 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/11.3/InspectorBackendCommands.js line 390 is 716 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/12.0/InspectorBackendCommands.js line 394 is 716 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/12.2/InspectorBackendCommands.js line 415 is 754 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/13.0/InspectorBackendCommands.js line 433 is 754 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/13.4/InspectorBackendCommands.js line 458 is 754 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/14.0/InspectorBackendCommands.js line 485 is 754 characters long (>512) +wpewebkit source: source-is-missing Source/WebInspectorUI/UserInterface/Protocol/Legacy/14.5/InspectorBackendCommands.js line 485 is 754 characters long (>512) +wpewebkit source: source-is-missing Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibilityRead.html line 121 is 1670 characters long (>512) +wpewebkit source: source-is-missing Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBStructuredCloneBackwardCompatibilityWrite.html line 201 is 1670 characters long (>512)