[Webkit-unassigned] [Bug 260771] REGRESSION(2.42): PDF "Save" button does nothing, "Print" function also broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 29 14:16:59 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260771

Michael Catanzaro <mcatanzaro at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |achristensen at apple.com

--- Comment #19 from Michael Catanzaro <mcatanzaro at redhat.com> ---
(In reply to Michael Catanzaro from comment #17)
> So I think following the spec is impossible and WebKit already does not
> attempt to do so. I'm looking at https://url.spec.whatwg.org/#origin
> (currently section 4.7 "Origin") and it's clear that the security origin of
> URLs for most protocols is defined to be always opaque. The only exceptions
> are blob, ftp, http, https, ws, wss, and file.

...

> I'm now I'm wondering if isSafelistedBlobProtocol can be replaced by
> SecurityOriginData::shouldTreatAsOpaqueOrigin:

OK, SecurityOriginData::shouldTreatAsOpaqueOrigin says it implements "https://url.spec.whatwg.org/#origin with some additions" added by Alex in 233783 at main "Non-special URLs should have an opaque origin" so he already read this section of the spec and decided to handle special protocols specially. So I'm increasingly confident this makes sense.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230929/fcfe1ff4/attachment.htm>


More information about the webkit-unassigned mailing list