[webkit-changes] [WebKit/WebKit] d7e833: Fix http/tests/security/xss-DENIED-object-element....
Alex Christensen
noreply at github.com
Tue Apr 16 08:12:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d7e833adfe65da38ccc1a50b5a55936bf3b9b354
https://github.com/WebKit/WebKit/commit/d7e833adfe65da38ccc1a50b5a55936bf3b9b354
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-04-16 (Tue, 16 Apr 2024)
Changed paths:
M LayoutTests/platform/mac-site-isolation/TestExpectations
M Source/WebCore/html/HTMLPlugInImageElement.cpp
Log Message:
-----------
Fix http/tests/security/xss-DENIED-object-element.html when running with site isolation enabled
https://bugs.webkit.org/show_bug.cgi?id=272711
rdar://126512216
Reviewed by Charlie Wolfe.
HTMLPlugInImageElement::canLoadURL needs to return false if there is no content document in this process,
which means that site isolation is on and the document is in another process and isSameOriginDomain is false.
* LayoutTests/platform/mac-site-isolation/TestExpectations:
* Source/WebCore/html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::canLoadURL const):
Canonical link: https://commits.webkit.org/277543@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list