Bug 234613

Summary: Re-enable CustomDisplayName and DefaultDisplayName API tests on Monterey
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=234858
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Alex Christensen 2021-12-22 11:29:48 PST
Re-enable CustomDisplayName and DefaultDisplayName API tests on Monterey
Comment 1 Alex Christensen 2021-12-22 11:31:00 PST
Created attachment 447822 [details]
Patch
Comment 2 Alex Christensen 2021-12-22 11:34:06 PST
rdar://80353834
Comment 3 Alex Christensen 2021-12-22 13:57:19 PST
Created attachment 447831 [details]
Patch
Comment 4 Alex Christensen 2021-12-22 15:00:28 PST
Created attachment 447836 [details]
Patch
Comment 5 Alex Christensen 2021-12-22 15:13:44 PST
Comment on attachment 447836 [details]
Patch

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

> Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:521
> +    bool sendToNetworkProcess = isInProcessInitialization == IsInProcessInitialization::No

needs semicolon
Comment 6 Alex Christensen 2021-12-22 15:16:22 PST
r287374
Comment 7 Ryan Haddad 2022-01-04 16:19:34 PST
Reverted r287374 for reason:

Caused assertion failures on Monterey

Committed r287595 (245723@trunk): <https://commits.webkit.org/245723@trunk>
Comment 8 Radar WebKit Bug Importer 2022-01-04 16:20:23 PST
<rdar://problem/87120910>
Comment 9 Ryan Haddad 2022-01-04 16:23:21 PST
rdar://80353834
Comment 10 Alex Christensen 2022-01-19 22:16:08 PST
It looks like this test can only be run on pre-Monterey macOS or internal macOS with the necessary entitlement.  Otherwise we would need to start the network process to keep the right state, but we can't start the network process yet without breaking other things.
Comment 11 Alex Christensen 2022-01-24 13:44:02 PST
Created attachment 449850 [details]
Patch
Comment 12 EWS 2022-01-24 22:10:43 PST
Committed r288540 (246372@main): <https://commits.webkit.org/246372@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449850 [details].