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

Anonymous iframe: document.credentials => window.credentials? #21

Open
ArthurSonzogni opened this issue Sep 24, 2021 · 0 comments
Open

Comments

@ArthurSonzogni
Copy link
Contributor

ArthurSonzogni commented Sep 24, 2021

See this discussion:
https://chromium-review.googlesource.com/c/chromium/src/+/3161670

It is possible to create document that aren't the initial empty document nor the ones created by the navigation.
For instance:

  • document.implementation.createDocument(...);
  • document.implementation.createHTMLDocument(...);
  • document.importNode(...)
  • document patched by Devtools.
  • etc...

In the implementation, we are wondering if this property shouldn't be instead be part of the window object instead, because the right LocalDomWindow is associated with all of those already.
+CC @antosart

@ArthurSonzogni ArthurSonzogni changed the title Anonymous iframe: document.credentials => window.credentials Anonymous iframe: document.credentials => window.credentials? Sep 24, 2021
ArthurSonzogni added a commit to ArthurSonzogni/explainers that referenced this issue Dec 10, 2021
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

No branches or pull requests

1 participant