[webkit-changes] [WebKit/WebKit] 58df23: REGRESSION(266247 at main): PDF "Save" button does no...

Michael Catanzaro noreply at github.com
Mon Nov 6 10:07:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 58df23fe5ac509adc2117503127e97d53b02445b
      https://github.com/WebKit/WebKit/commit/58df23fe5ac509adc2117503127e97d53b02445b
  Author: Michael Catanzaro <mcatanzaro at redhat.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M Source/WebCore/page/SecurityOrigin.cpp

  Log Message:
  -----------
  REGRESSION(266247 at main): PDF "Save" button does nothing, "Print" function also broken
https://bugs.webkit.org/show_bug.cgi?id=260771

Reviewed by Chris Dumez.

The PDF.js viewer protocol and resource protocols both should be treated
the same as HTTP protocols and have access to blob URLs. The protocol is
an implementation detail that shouldn't affect how the web content
behaves and certainly should not restrict access to web platform
features.

* Source/WebCore/page/SecurityOrigin.cpp:
(WebCore::isSafelistedBlobProtocol):

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




More information about the webkit-changes mailing list