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 e0eac24:489c548 (svn 193311:193320)
[chromium-blink-merge.git]
/
content
/
test
/
data
/
net_info.html
blob
8e4368dc4cbfedaaeafb18737688500f6300ea82
1
<html>
2
<head></head>
3
<script>
4
5
function
getType
() {
6
sendValueToTest
(
navigator
.
connection
.
type
);
7
}
8
9
function
getOnLine
() {
10
sendValueToTest
(
navigator
.
onLine
);
11
}
12
13
function
sendValueToTest
(
value
) {
14
window
.
domAutomationController
.
setAutomationId
(
0
);
15
window
.
domAutomationController
.
send
(
value
);
16
}
17
18
</script>
19
</html>