[webkit-changes] [WebKit/WebKit] c86b7e: web manifest: implement background_color member pa...

Marcos Cáceres noreply at github.com
Mon Mar 27 23:11:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c86b7e17dd8d3a2365a22dd5be9c39072fa280f4
      https://github.com/WebKit/WebKit/commit/c86b7e17dd8d3a2365a22dd5be9c39072fa280f4
  Author: Marcos Caceres <marcos at marcosc.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M Source/WebCore/Modules/applicationmanifest/ApplicationManifest.h
    M Source/WebCore/Modules/applicationmanifest/ApplicationManifestParser.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.h
    M Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm
    M Tools/TestWebKitAPI/Tests/WebCore/ApplicationManifestParser.cpp

  Log Message:
  -----------
  web manifest: implement background_color member parsing
https://bugs.webkit.org/show_bug.cgi?id=254253
rdar://107035193

Reviewed by Chris Dumez.

Implements the background_color member in compliance with the manifest spec.

* Source/WebCore/Modules/applicationmanifest/ApplicationManifest.h:
* Source/WebCore/Modules/applicationmanifest/ApplicationManifestParser.cpp:
(WebCore::ApplicationManifestParser::parseManifest):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm:
(-[_WKApplicationManifest initWithCoder:]):
(-[_WKApplicationManifest encodeWithCoder:]):
(-[_WKApplicationManifest backgroundColor]):
* Tools/TestWebKitAPI/Tests/WebCore/ApplicationManifestParser.cpp:
(ApplicationManifestParserTest::testBackgroundColor):
(TEST_F):

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




More information about the webkit-changes mailing list