[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 12:26:09 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=260771
--- Comment #16 from Michael Catanzaro <mcatanzaro at redhat.com> ---
(In reply to Anne van Kesteren from comment #6)
> The problem with that fix is that then
>
> > new URL("webkit-pdfjs-viewer:blah").origin
>
> would not return "null" as I understand it. So an implementation detail of a
> WebKit port would become web-exposed (and non-compliant with the URL
> standard).
>
> I'd prefer not shipping that in Safari.
Actually wait, when testing this I noticed that the origin is already not null without making changes. Testing unmodified WebKitGTK in the inspector console:
> new URL("webkit-pdfjs-viewer:blah").origin
< "webkit-pdfjs-viewer://"
> new URL("webkit-pdfjs-viewerr:blah").origin
< "null"
That is, it's already treated specially without any changes. I think the change here is only concerned with the security origin of blob URLs specifically.
A few more tests, just to see:
> new URL("foo:bar").origin
< "null"
> new URL("ephy-about://blank").origin
< "ephy-about://blank"
> new URL("webkit://gpu").origin
< "webkit://gpu"
--
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/2322816f/attachment.htm>
More information about the webkit-unassigned
mailing list