[Webkit-unassigned] [Bug 238023] [GTK][WPE] Add a public build option for PDF.js

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 08:19:32 PDT 2022


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

Michael Catanzaro <mcatanzaro at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mcatanzaro at gnome.org
 Attachment #454971|review?                     |review+
              Flags|                            |

--- Comment #3 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Comment on attachment 454971
  --> https://bugs.webkit.org/attachment.cgi?id=454971
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=454971&action=review

> Source/WebCore/page/SecurityOrigin.cpp:127
>  #if PLATFORM(GTK) || PLATFORM(WPE)
>          || url.protocolIs("resource")
> +#if ENABLE(PDFJS)
>          || url.protocolIs("webkit-pdfjs-viewer")
> +#endif
>  #endif

I know we discussed this in bug #237513, but thinking about it more, webkit-pdfjs-viewer should never be treated as a unique origin on any port. Just move it outside the #if PLATFORM(GTK) || PLATFORM(WPE).

-- 
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/20220317/f4f35535/attachment-0001.htm>


More information about the webkit-unassigned mailing list