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

Make Document origin alias its policy container's origin. #1142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wanderview
Copy link
Member

@wanderview wanderview commented Jan 10, 2023

This change depends on the changes in whatwg/html#8447 which adds origin to policy container.

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for aborting and events): …
    • Node.js (only for aborting and events): …
  • MDN issue is filed: …

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

wanderview added a commit to wanderview/html that referenced this pull request Jan 10, 2023
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

"Policy Container" should be "policy container".

dom.bs Outdated
<a for=Document>mode</a> to those of <var>node</var>.
<a for=Document>URL</a>, <a for=Document>policy container</a>'s
<a for="Policy Container">origin</a>, <a for=Document>type</a>, and <a for=Document>mode</a>
to those of <var>node</var>.
Copy link
Member

Choose a reason for hiding this comment

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

I think now we're using nested data structures this seems less clear. Perhaps it's best to just write them all out explicitly?

set copy's x to node's x, ...

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried to break these out, but since this won't build before the other PR lands its difficult for me to see if it looks reasonable or not.

Copy link
Member

Choose a reason for hiding this comment

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

I was thinking a long inline paragraph, but we can wait until the HTML PR is ready.

wanderview added a commit to wanderview/html that referenced this pull request Jan 11, 2023
This change depends on the changes in whatwg/html#8447
which adds origin to policy container.
@wanderview wanderview force-pushed the dev-policy-container-origin branch from 2e38722 to 27ee644 Compare January 11, 2023 16:19
wanderview added a commit to wanderview/html that referenced this pull request Jan 12, 2023
wanderview added a commit to wanderview/html that referenced this pull request Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants