-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix timeout of HEIC test #8527
Fix timeout of HEIC test #8527
Conversation
EWS run on previous version of this PR (hash d93bfdf) |
d93bfdf
to
37339bc
Compare
EWS run on previous version of this PR (hash 37339bc) |
37339bc
to
1e438ab
Compare
EWS run on current version of this PR (hash 1e438ab) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
@@ -508,7 +508,7 @@ static bool determineIfWeShouldCrashWhenCreatingWebProcess() | |||
|
|||
#if HAVE(VIDEO_RESTRICTED_DECODING) | |||
#if PLATFORM(MAC) | |||
if (!isFullWebBrowser()) { | |||
if (!isFullWebBrowser() || isRunningTest(WebCore::applicationBundleIdentifier())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does our test tool evaluate to true for isFullWebBrowser()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is a good point. I think this was originally done to have WebKitTestRunner exercise the same code paths as Safari for certain tests. An alternative would be to add the isRunningTest check to places where we'd like to use the same code paths.
Thanks for reviewing!
https://bugs.webkit.org/show_bug.cgi?id=250463 rdar://102979844 Reviewed by Geoffrey Garen. For the HEIC tests to work, a sandbox extension to the trust service needs to be issued. This patch also updates the test expectations for the HEIC tests. * LayoutTests/platform/mac-wk2/TestExpectations: * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformInitializeWebProcess): Canonical link: https://commits.webkit.org/258885@main
1e438ab
to
e569cd6
Compare
Committed 258885@main (e569cd6): https://commits.webkit.org/258885@main Reviewed commits have been landed. Closing PR #8527 and removing active labels. |
e569cd6
1e438ab