Determine if ResizeTo is allowed (#36704)

Spec says to check If target is not an auxiliary browsing context before
performing ResizeTo.


Fixes: #36701

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Taym Haddadi 2025-04-27 12:43:05 +02:00 committed by GitHub
parent e22ce3988b
commit 989739316e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 38 additions and 10 deletions

View file

@ -52,6 +52,13 @@
null,
{}
]
],
"window_resizeTo_not_permitted-crash.html": [
"7b6a67ff81436a91048bdb627f303f7fab2762f7",
[
null,
{}
]
]
}
},
@ -14330,7 +14337,7 @@
]
],
"window_resizeTo.html": [
"87d60498e80bcd01b5790feb3f9e104410cb6e1b",
"3f6c5a610d52b64bf4457d478b929e95d79e9ab8",
[
null,
{}