Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spec] Promise returned by disableUntrustedNetwork call is not resolved with ongoing navigation #205

Open
xiaochen-z opened this issue Jan 10, 2025 · 0 comments · May be fixed by #210
Open
Assignees
Labels
specification Additions to specifications

Comments

@xiaochen-z
Copy link
Collaborator

xiaochen-z commented Jan 10, 2025

See RenderFrameHostImpl::CalculateUntrustedNetworkStatus().

If any descendant frames have ongoing navigations, the promise returned by disableUntrustedNetwork call at the parent frame cannot be resolved.

Note if the frame itself has ongoing navigations, it is allowed to resolve the promise. At the time navigation commits, untrusted network status will be recalculated. If all descendant frames' navigations are done, the promise will then be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
specification Additions to specifications
Projects
None yet
1 participant