[webkit-changes] [WebKit/WebKit] b0e74b: Include extension in filename of saved css resources

Sihui noreply at github.com
Thu Jun 6 16:41:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0e74bb9d62b93b81c114625c9c593aa2e2e36d2
      https://github.com/WebKit/WebKit/commit/b0e74bb9d62b93b81c114625c9c593aa2e2e36d2
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm

  Log Message:
  -----------
  Include extension in filename of saved css resources
https://bugs.webkit.org/show_bug.cgi?id=275219
rdar://128577134

Reviewed by Ben Nham.

This makes it easier to know the type of saved files.

Updated API Test: WebArchive.SaveResourcesValidFileName

* Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp:
(WebCore::generateValidFileName):
(WebCore::addSubresourcesForCSSStyleSheetsIfNecessary):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/CreateWebArchive.mm:
(TestWebKitAPI::(WebArchive, SaveResourcesValidFileName)):

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



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


More information about the webkit-changes mailing list