这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@blu25
Copy link
Collaborator

@blu25 blu25 commented Aug 14, 2024

This PR introduces a new algorithm: Recalculate the untrusted network status of all frames. This is called whenever a fenced frame marks its network as disabled, and checks to see if any ancestor fenced frames are now allowed to have their network access be fully revoked and gain access to unpartitioned data.

This PR modifies disableUntrustedNetwork() to not resolve the promise, and instead puts the promise into the fenced frame config instance to be resolved once the frame tree is considered to have its network fully revoked.

This builds off of the work in #146, and this should only be merged after #146 is merged.

See: issue #168


Preview | Diff

Copy link
Collaborator

@domfarolino domfarolino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't made it through everything quite yet but getting there. This is a start for now.

@blu25 blu25 self-assigned this Oct 30, 2024
@blu25 blu25 requested a review from domfarolino November 5, 2024 17:30
@blu25 blu25 requested a review from domfarolino December 6, 2024 23:03
@blu25 blu25 requested a review from domfarolino December 11, 2024 19:26
Copy link
Collaborator

@domfarolino domfarolino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more issue I spotted is that the https://wicg.github.io/fenced-frame/#revoke-network-for-a-partition-nonce algorithm uses "this" which it cannot do since it is called from an in parallel context. I think we should fix that in this PR.

@blu25
Copy link
Collaborator Author

blu25 commented Dec 12, 2024

One more issue I spotted is that the https://wicg.github.io/fenced-frame/#revoke-network-for-a-partition-nonce algorithm uses "this" which it cannot do since it is called from an in parallel context. I think we should fix that in this PR.

Modified to take in a relevant settings object instead of using this.

@blu25 blu25 requested a review from domfarolino December 12, 2024 18:47
@blu25 blu25 requested a review from domfarolino January 2, 2025 20:09
@domfarolino domfarolino merged commit ffd3d63 into master Jan 7, 2025
2 checks passed
@domfarolino domfarolino deleted the liam-nested-revocation branch January 7, 2025 23:10
github-actions bot added a commit that referenced this pull request Jan 7, 2025
…bling network (#176)

SHA: ffd3d63
Reason: push, by domfarolino

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants