Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
Tools
/
TestWebKitAPI
/
Resources
/
cocoa
/
open-window-then-write-to-it.html
blob: 2dd01fae1f70f0c6f6e905a019495174a793f853 [
file
] [
edit
]
<!DOCTYPE html>
<html>
<body>
<script>
onload
=
()
=>
{
w
=
window
.
open
(
"#"
,
"name"
,
"width=400,height=400"
)
w
.
document
.
open
();
w
.
document
.
write
(
"TEST"
);
w
.
document
.
close
();
};
</script>
</body>
</html>