RESOLVED FIXED302803
Quora.com: New Post is not viewable unless disable popup blocker
https://bugs.webkit.org/show_bug.cgi?id=302803
Summary Quora.com: New Post is not viewable unless disable popup blocker
Vitor Roriz
Reported 2025-11-19 10:38:19 PST
Quora calls window.open on when resolving the promise for a fetch(…).then(), after user clicks a button to create a post. Basically they want to open this new post on a new tab. Current behavior: User clicks → fetch() called → response arrives → .then() runs → window.open(). However, window.open() is blocked due to the lack of user gesture. The gesture token propagates via UserGestureInitiatedMicrotaskDispatcher, but the scope is hardcoded to MediaOnly at JSDOMWindowBase.cpp:267 (UserGestureToken::GestureScope::MediaOnly)
Attachments
Vitor Roriz
Comment 1 2025-11-19 10:38:23 PST
Vitor Roriz
Comment 2 2025-11-19 10:46:54 PST
EWS
Comment 3 2025-12-01 23:52:03 PST
Committed 303733@main (a65fcfd58f65): <https://commits.webkit.org/303733@main> Reviewed commits have been landed. Closing PR #54143 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.