mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 18:04:59 +00:00

This AO allows accessing child navigables by their name as named properties on the WindowProxy object.
12 lines
391 B
HTML
12 lines
391 B
HTML
<script src="../include.js"></script>
|
|
<iframe name="framey" src=""></iframe>
|
|
<iframe name=spices></iframe>
|
|
<script>
|
|
test(() => {
|
|
println(window.framey === window.frames[0]);
|
|
println(window.spices == window.frames[1]);
|
|
|
|
// FIXME: Test with cross-origin iframe?
|
|
// FIXME: Test with iframe that sets window.name -- this changes nothing atm
|
|
});
|
|
</script>
|