Skip to content

Commit

Permalink
REGRESSION (251289@main): [ Ventura ] fast/images/animated-heics-draw…
Browse files Browse the repository at this point in the history
….html is a consistent timeout

https://bugs.webkit.org/show_bug.cgi?id=247982
rdar://102421055

Reviewed by Brent Fulgham.

Also create the required sandbox extension for WebKitTestRunner.

* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitializeWebProcess):

Canonical link: https://commits.webkit.org/256803@main
  • Loading branch information
pvollan committed Nov 17, 2022
1 parent 2d006e3 commit cb95bbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions LayoutTests/platform/mac-wk2/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -1768,5 +1768,3 @@ webkit.org/b/245727 [ Monterey ] imported/w3c/web-platform-tests/notifications/i
[ Debug ] http/tests/security/showModalDialog-sync-cross-origin-page-load.html [ Skip ]
[ Debug ] http/tests/security/showModalDialog-sync-cross-origin-page-load2.html [ Skip ]
[ Debug ] imported/w3c/web-platform-tests/html/browsers/windows/browsing-context-names/choose-default-001.html [ Skip ]

webkit.org/b/247982 [ Ventura+ ] fast/images/animated-heics-draw.html [ Timeout ]
2 changes: 1 addition & 1 deletion Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ static bool determineIfWeShouldCrashWhenCreatingWebProcess()

#if HAVE(VIDEO_RESTRICTED_DECODING)
#if PLATFORM(MAC)
if (!isFullWebBrowser()) {
if (!isFullWebBrowser() || isRunningTest(WebCore::applicationBundleIdentifier())) {
if (auto trustdExtensionHandle = SandboxExtension::createHandleForMachLookup("com.apple.trustd.agent"_s, std::nullopt))
parameters.trustdExtensionHandle = WTFMove(*trustdExtensionHandle);
parameters.enableDecodingHEIC = true;
Expand Down

0 comments on commit cb95bbf

Please sign in to comment.