Sign in
webkit
/
WebKit
/
222270c7d163dc79981add5f0126168079962a4c
/
.
/
LayoutTests
/
imported
/
blink
/
fast
/
html
/
imports
/
resources
/
script-document-write.html
blob: 4ac449f647ae3458921379255c9d6ffd47bbe6d7 [
file
] [
log
] [
blame
]
<!DOCTYPE html>
<script>
debug
(
'About to call document.write()...'
);
// Should be ignored, with a console warning.
document
.
write
(
'Hello, world'
);
debug
(
'...after calling document.write()'
);
</script>