Bug 250501 - [UI-side compositing] alert() causes entire page contents to disappear
Summary: [UI-side compositing] alert() causes entire page contents to disappear
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-11 22:36 PST by Simon Fraser (smfr)
Modified: 2023-01-12 13:41 PST (History)
2 users (show)

See Also:


Attachments
Simple test (292 bytes, text/html)
2023-01-11 22:36 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.