repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
http
/
tests
/
encoding
/
resources
/
pause-then-switch-encoding.cgi
blob
3a5824851ec9321fab01583137784804c1766dcc
1
#!/usr/bin/perl
2
3
use
IO
::
Socket
;
4
5
$| =
1
;
6
7
autoflush STDOUT
1
;
8
9
print
"Content-Type: text/html
\n\n
"
;
10
11
print
"<html><head><script>alert(document.inputEncoding);</script>
\n
"
;
12
sleep
1
;
13
print
"<meta charset=windows-1255></head><body><script>alert(document.inputEncoding);</script></body></html>
\n
"
;