Bug 1085214 Comment 37 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Returning an empty array could work only for top-level frames as an empty `window.location.ancestorOrigins` could be used as clue no valid ancestor frames are present for subframes.

Returning an array with one or more `window.location.origin` would only work if the whole frame subtree is same-origin. Otherwise false information would be given to frames.
Returning an empty array could work only for top-level frames as an empty `window.location.ancestorOrigins` could be used as clue no valid ancestor frames are present for subframes.

Returning an array with one or more `window.location.origin` would only work if the whole frame subtree is same-origin. Otherwise false information would be given to frames.

In all other scenarios it seems best to keep `window.location.ancestorOrigins` undefined until an implementation is ready and supported.

Back to Bug 1085214 Comment 37