~mmach/netext73/webkit2gtk

« back to all changes in this revision

Viewing changes to Tools/TestWebKitAPI/Tests/WebKit/window-open-then-document-open.html

  • Committer: mmach
  • Date: 2023-06-16 17:21:37 UTC
  • Revision ID: netbit73@gmail.com-20230616172137-2rqx6yr96ga9g3kp
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<body>
 
3
<script>
 
4
function runTest()
 
5
{
 
6
    w = window.open("foo.html");
 
7
    w.document.open();
 
8
    w.document.write("<html><body><script>setTimeout(() => { alert('foo'); }, 0);<" + "/script></body></html>");
 
9
}
 
10
</script>
 
11
<body onload="runTest()">
 
12
</body>
 
13
</html>