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

Add RTCPeerConnection constructor error to spec. #197

Merged
merged 3 commits into from
Nov 8, 2024
Merged

Conversation

VergeA
Copy link
Collaborator

@VergeA VergeA commented Nov 7, 2024

Because WebRTC's RTCPeerConnection interface is disallowed in fenced frames, we need to patch the WebRTC spec to throw an exception in the constructor.


Preview | Diff

Because WebRTC's RTCPeerConnection interface is disallowed in
fenced frames, we need to patch the WebRTC spec to throw an exception
in the constructor. This patch also introduces the a "fenced
navigable ancestor" algorithm that can be used to determine if a given
document is nested in a fenced frame tree. This mechanism is used to
trigger the constructor error.
@VergeA VergeA requested a review from blu25 November 7, 2024 21:59
blu25
blu25 previously requested changes Nov 8, 2024
spec.bs Outdated Show resolved Hide resolved
spec.bs Outdated Show resolved Hide resolved
@VergeA VergeA dismissed blu25’s stale review November 8, 2024 21:08

I made the changes requested in a separate commit, so I am making this prompt go away :)

@VergeA VergeA merged commit a22434f into WICG:master Nov 8, 2024
2 checks passed
@VergeA VergeA deleted the spec branch November 8, 2024 21:09
github-actions bot added a commit that referenced this pull request Nov 8, 2024
SHA: a22434f
Reason: push, by VergeA

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@VergeA
Copy link
Collaborator Author

VergeA commented Nov 8, 2024

Sorry, just realized I should have requested @domfarolino's review first (my brain saw the merge button and went on autopilot). I can revert this if necessary, or we can sync up later to address comments in a follow-up.

spec.bs Show resolved Hide resolved
spec.bs Show resolved Hide resolved
VergeA added a commit to VergeA/fenced-frame that referenced this pull request Nov 11, 2024
PR WICG#197 was merged prematurely, so these changes should cover the
remaining two comments.
github-actions bot added a commit that referenced this pull request Nov 11, 2024
SHA: a5ecf62
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