mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 840488 - Update unsafe-JAR channel tests so that they actually fail if we allow script to run. r=bz
The current tests never actually check that script is disabled for unsafe JAR channels, but only that they're unable to initiate loads. This fixes that. This blob runs dos2unix on the files inside the zip, and applies the following patch to iframes.html: <html><head> <title>iframes</title> + <script>parent.poke('regular script');</script> </head> -<body> +<body onload="parent.poke('onload-handler')"> subshells <p> <iframe id="data-iframe" src="data:text/html,dataurl iframe<script>window.parent.parent.poke('data-iframe')</script>">ifr</iframe> <p> <iframe id="js-iframe" src="javascript:window.parent.parent.poke('js-iframe')">jsifr</iframe> </body> -</html> \ No newline at end of file +</html>
This commit is contained in:
parent
a0b4f0df4e
commit
589ed842af
Binary file not shown.
Loading…
Reference in New Issue
Block a user