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
Add very simple loading test for non-SFI NaCl.
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
fast_shutdown
/
on_unloader.html
blob
45fb103255c773f34716272a40ee41035b3b7525
1
<script>
2
addEventListener
(
"unload"
,
function
() {
3
var
expires
=
new
Date
();
4
expires
.
setMinutes
(
expires
.
getMinutes
() +
1
);
5
document
.
cookie
=
"unloaded=ohyeah;path=/;expires="
+
expires
.
toUTCString
();
6
},
false
);
7
open
(
'on_before_unloader.html'
);
8
</script>