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
Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
permissions
/
requests-before-after-load.html
blob
f09aa93c58105abea3be2c14daea60e03131a11f
1
<!DOCTYPE
html
>
2
<html>
3
<script>
4
function
requestGeolocation
() {
5
navigator
.
geolocation
.
getCurrentPosition
(
function
(){});
6
}
7
8
requestGeolocation
();
9
10
document
.
onload
=
function
() {
11
setTimeout
(
Notification
.
requestPermission
,
0
);
12
};
13
</script>
14
<body>
15
</body>
16
</html>
17