Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 118097374f64baa854137fa9b507f83270ff4b67
https://github.com/WebKit/WebKit/commit/118097374f64baa854137fa9b507f83270ff4b67
Author: Brandon Stewart <[email protected]>
Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths:
A LayoutTests/pdf/fullscreen-expected.txt
A LayoutTests/pdf/fullscreen.html
A LayoutTests/pdf/resources/fullscreen.pdf
A LayoutTests/platform/gtk/pdf/fullscreen-expected.txt
A LayoutTests/platform/ios/pdf/fullscreen-expected.txt
A LayoutTests/platform/mac-wk1/pdf/fullscreen-expected.txt
A LayoutTests/platform/wpe/pdf/fullscreen-expected.txt
M Source/WebCore/dom/InlineStyleSheetOwner.cpp
Log Message:
-----------
PDF Plugin should load its inline styles regardless of CSP
https://bugs.webkit.org/show_bug.cgi?id=272689
rdar://125796665
Reviewed by Alex Christensen.
We embed styles when rendering a pdf file that should not be ignored if CSP is
activated (particularly around style sheets),
and will lead to a poor viewing experience for the user.
In addition, Anne pointed out that CSP is not defined for PDF documents, and
thus we should ignore the checks.
* LayoutTests/pdf/fullscreen-expected.txt: Added.
* LayoutTests/pdf/fullscreen.html: Added.
* LayoutTests/pdf/resources/fullscreen.pdf: Added.
* LayoutTests/platform/gtk/pdf/fullscreen-expected.txt: Added.
* LayoutTests/platform/ios/pdf/fullscreen-expected.txt: Added.
* LayoutTests/platform/mac-wk1/pdf/fullscreen-expected.txt: Added.
* LayoutTests/platform/wpe/pdf/fullscreen-expected.txt: Added.
* Source/WebCore/dom/InlineStyleSheetOwner.cpp:
(WebCore::InlineStyleSheetOwner::createSheet):
Canonical link: https://commits.webkit.org/277683@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes