Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fbac7ef4d823a99f85a45476e64cefae4a6f4fa4
      
https://github.com/WebKit/WebKit/commit/fbac7ef4d823a99f85a45476e64cefae4a6f4fa4
  Author: Patrick Griffis <[email protected]>
  Date:   2026-10-13 (Tue, 13 Oct 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    R 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/links/manifest/link-relationship/link-rel-manifest-expected.txt
    M Source/WebCore/loader/ApplicationManifestLoader.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.cpp
    M Source/WebKit/NetworkProcess/NetworkSession.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
    M Source/WebKit/PlatformGTK.cmake
    M Source/WebKit/PlatformWPE.cmake
    M Source/WebKit/Shared/Cocoa/WebErrorsCocoa.mm
    M Source/WebKit/Shared/WebErrors.cpp
    M Source/WebKit/Shared/WebErrors.h
    M Source/WebKit/SourcesGTK.txt
    M Source/WebKit/SourcesWPE.txt
    M Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.cpp
    M Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.h
    A Source/WebKit/UIProcess/API/glib/WebKitApplicationManifest.cpp
    A Source/WebKit/UIProcess/API/glib/WebKitApplicationManifest.h.in
    A Source/WebKit/UIProcess/API/glib/WebKitApplicationManifestPrivate.h
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in
    M Source/WebKit/UIProcess/API/glib/webkit.h.in
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/cmake/OptionsGTK.cmake
    M Source/cmake/OptionsWPE.cmake
    M Tools/TestWebKitAPI/Tests/WebCore/ApplicationManifestParser.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/glib/TestWebKitWebView.cpp
    M Tools/WebKitTestRunner/TestController.cpp

  Log Message:
  -----------
  [GLib] Add API for accessing web application manifests
https://bugs.webkit.org/show_bug.cgi?id=319834

Reviewed by Michael Catanzaro and Justin Michaud.

This was already exposed on Apple ports, behind the ENABLE_APPLICATION_MANIFEST
build option, so adding API for it here.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKPage/glib/TestWebKitWebView.cpp

* LayoutTests/platform/glib/TestExpectations:
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/links/manifest/link-relationship/link-rel-manifest-expected.txt:
 Removed.
* Source/WebCore/loader/ApplicationManifestLoader.cpp:
(WebCore::ApplicationManifestLoader::startLoading):
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::loadImageForDecoding):
* Source/WebKit/NetworkProcess/NetworkSession.h:
(WebKit::NetworkSession::loadImageForDecoding): Deleted.
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSessionCocoa::loadImageForDecoding): Deleted.
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/PlatformWPE.cmake:
* Source/WebKit/Shared/Cocoa/WebErrorsCocoa.mm:
(WebKit::imageDataExceedsMaximumSizeError):
* Source/WebKit/Shared/WebErrors.cpp:
(WebKit::imageDataExceedsMaximumSizeError):
* Source/WebKit/Shared/WebErrors.h:
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/SourcesWPE.txt:
* Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.cpp:
(WKPageConfigurationSetApplicationManifest):
* Source/WebKit/UIProcess/API/C/WKPageConfigurationRef.h:
* Source/WebKit/UIProcess/API/glib/WebKitApplicationManifest.cpp: Added.
(applicationManifestColor):
(webkitApplicationManifestGetProperty):
(webkit_application_manifest_class_init):
(webkit_application_manifest_icon_class_init):
(webkit_application_manifest_shortcut_class_init):
(variantFromJSONValue):
(displayMode):
(webkitApplicationManifestIconCreate):
(webkitApplicationManifestShortcutCreate):
(webkitApplicationManifestIconCreateImage):
(webkitApplicationManifestIconHash):
(webkitApplicationManifestIconEqual):
(webkitApplicationManifestIconLoadAsync):
(webkitApplicationManifestIconLoadFinish):
(webkitApplicationManifestIconLoad):
(webkitApplicationManifestIconGIconInterfaceInit):
(webkitApplicationManifestIconGLoadableIconInterfaceInit):
(webkitApplicationManifestCreate):
(webkit_application_manifest_error_quark):
(webkit_application_manifest_get_full_manifest):
(webkit_application_manifest_get_name):
(webkit_application_manifest_get_short_name):
(webkit_application_manifest_get_description):
(webkit_application_manifest_get_start_uri):
(webkit_application_manifest_get_scope):
(webkit_application_manifest_get_manifest_uri):
(webkit_application_manifest_get_id):
(webkit_application_manifest_get_display_mode):
(webkit_application_manifest_get_background_color):
(webkit_application_manifest_get_background_color_dark):
(webkit_application_manifest_get_theme_color):
(webkit_application_manifest_get_theme_color_dark):
(webkit_application_manifest_get_icons):
(webkit_application_manifest_get_shortcuts):
(webkit_application_manifest_icon_get_uri):
(webkit_application_manifest_icon_get_sizes):
(webkit_application_manifest_icon_get_mime_type):
(webkit_application_manifest_icon_get_is_maskable):
(webkit_application_manifest_icon_get_is_monochrome):
(webkit_application_manifest_shortcut_get_name):
(webkit_application_manifest_shortcut_get_uri):
(webkit_application_manifest_shortcut_get_icons):
* Source/WebKit/UIProcess/API/glib/WebKitApplicationManifest.h.in: Added.
* Source/WebKit/UIProcess/API/glib/WebKitApplicationManifestPrivate.h: Copied 
from Source/WebKit/Shared/Cocoa/WebErrorsCocoa.mm.
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
* Source/WebKit/UIProcess/API/glib/WebKitWebView.h.in:
* Source/WebKit/UIProcess/API/glib/webkit.h.in:
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::loadAndDecodeImage):
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:
* Tools/TestWebKitAPI/Tests/WebCore/ApplicationManifestParser.cpp:
(WebCore::operator<<):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/glib/TestWebKitWebView.cpp:
(ApplicationManifestWebViewTest::getApplicationManifest):
(ApplicationManifestWebViewTest::error const):
(testWebViewApplicationManifest):
(serverCallback):
(beforeAll):
* Tools/WebKitTestRunner/TestController.cpp:
(WTR::TestController::generatePageConfiguration):

Canonical link: https://commits.webkit.org/323629@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to