Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional check to block race condition
It is possible, though unlikely, for a second request to come through *after* a request has been served (e.g. the runtime is presenting and the request_session_callback_ has been nulled out). This request should be rejected as there is now an active immersive session; though the browser process may not know it yet. (e.g. the request got queued up while the previous request was processing and so the browser process was as yet unaware of the result). (cherry picked from commit 152f1a2) Fixed: 1450601 Change-Id: Ifbad64e0f3221e3068690879d6c120347e8163a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4592111 Auto-Submit: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1153592} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4600676 Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5790@{#496} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information