You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently window.frames simply returns the window. In JS, the window object acts as a list: e.g., window.frames[0] returns the first subframe - as does window[0].
In Dart, we do not support indexed access on window. We can either add this to window or have window.frames return a list. The latter feels cleaner to me.
Thoughts?
The text was updated successfully, but these errors were encountered:
After discussing with Pete, we decided to remove this API. It's a dated API on the JS sides, and it's been broken for a while in Dart with no complaint. It can also be worked around via queryAll for common cases.
See 1928 for a separate bug requesting this as an enhancement.
I will remove the broken frames and close this bug.
Currently window.frames simply returns the window. In JS, the window object acts as a list: e.g., window.frames[0] returns the first subframe - as does window[0].
This appears to be standard behavior:
https://developer.mozilla.org/en/DOM/window.frames
In Dart, we do not support indexed access on window. We can either add this to window or have window.frames return a list. The latter feels cleaner to me.
Thoughts?
The text was updated successfully, but these errors were encountered: