mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Implement document-tree child navigable target name property set
This AO allows accessing child navigables by their name as named properties on the WindowProxy object.
This commit is contained in:
parent
7e277797ad
commit
64899dba44
5 changed files with 63 additions and 4 deletions
|
@ -0,0 +1,12 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue