camillelamy / explainers

11 stars 5 forks source link

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

Open ArthurSonzogni opened 2 years ago

ArthurSonzogni commented 2 years ago

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:

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