0
Files
src/docs/navigation-request-navigation-state.gv
Yao Xiao 6e1f7d3571 [fenced frames] Support asynchronous mapping of navigation to a urn:uuid
Add a checkpoint before NavigationRequest::BeginNavigationImpl, to do
fenced frames url mapping synchronously and proceed with the navigation,
or, if the mapping decision is pending, defer the navigation until the
mapping decision is made. The mapping decision may be pending for URNs
generated as a result of sharedStorage.runURLSelectionOperation() (will
be done in a follow-up CL).

Design doc:
https://docs.google.com/document/d/1SOUQhP-0QDUJJz8G9R2VwsnCH8M1VCJWEF8O2VTY2tw

Bug: 1216088
Change-Id: I0aa5445e1fb64046a5a5ba088e3fd9ff0b64176a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3309157
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#956364}
2022-01-07 03:28:40 +00:00

18 lines
1.0 KiB
Plaintext

// Generated with https://crrev.com/c/2220116 and:
// python3 tools/state_transitions/state_graph.py content/browser/renderer_host/navigation_request.cc NavigationState
//
// See tools/state_transitions/README.md
digraph createflow {
NOT_STARTED -> {WAITING_FOR_RENDERER_RESPONSE, WILL_START_NAVIGATION, WILL_START_REQUEST};
WAITING_FOR_RENDERER_RESPONSE -> {WILL_START_NAVIGATION, WILL_START_REQUEST};
WILL_START_NAVIGATION -> {WILL_START_REQUEST, WILL_FAIL_REQUEST};
WILL_START_REQUEST -> {WILL_REDIRECT_REQUEST, WILL_PROCESS_RESPONSE, READY_TO_COMMIT, DID_COMMIT, CANCELING, WILL_FAIL_REQUEST, DID_COMMIT_ERROR_PAGE};
WILL_REDIRECT_REQUEST -> {WILL_REDIRECT_REQUEST, WILL_PROCESS_RESPONSE, CANCELING, WILL_FAIL_REQUEST};
WILL_PROCESS_RESPONSE -> {READY_TO_COMMIT, CANCELING, WILL_FAIL_REQUEST};
READY_TO_COMMIT -> {NOT_STARTED, DID_COMMIT, DID_COMMIT_ERROR_PAGE};
DID_COMMIT -> {};
CANCELING -> {READY_TO_COMMIT, WILL_FAIL_REQUEST};
WILL_FAIL_REQUEST -> {READY_TO_COMMIT, CANCELING, WILL_FAIL_REQUEST};
DID_COMMIT_ERROR_PAGE -> {};
}