Bug 250501

Summary: [UI-side compositing] alert() causes entire page contents to disappear
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit Process ModelAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Simple test none

Description Simon Fraser (smfr) 2023-01-11 22:36:37 PST
Created attachment 464466 [details]
Simple test

Summary:
If a page triggers a JavaScript dialog (alert, confirm etc), then the entire page contents go missing.

Steps To Reproduce:
1. Start a GitHub review (I was on https://github.com/WebKit/WebKit/pull/8277/files)
2. Add a pending comment
3. Try to remove the comment

Results:
When the alert shows up, the page contents disappear and don’t come back until you do a cross-origin navigation.

Regression:
Regression with UI-side compositing.
Comment 1 Simon Fraser (smfr) 2023-01-11 22:36:51 PST
rdar://104139106
Comment 2 Simon Fraser (smfr) 2023-01-11 22:41:24 PST
Pull request: https://github.com/WebKit/WebKit/pull/8560
Comment 3 EWS 2023-01-12 13:41:55 PST
Committed 258849@main (f40a2f336eae): <https://commits.webkit.org/258849@main>

Reviewed commits have been landed. Closing PR #8560 and removing active labels.