| Index: chrome/test/data/devtools/emulate_network_conditions.html
|
| diff --git a/chrome/test/data/devtools/emulate_network_conditions.html b/chrome/test/data/devtools/emulate_network_conditions.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f820d58b394b0cfe38704cf0d615855be7e53faf
|
| --- /dev/null
|
| +++ b/chrome/test/data/devtools/emulate_network_conditions.html
|
| @@ -0,0 +1,11 @@
|
| +<html>
|
| +<head>
|
| +<script>
|
| +window.addEventListener("online", () => console.log("online event: online = " + navigator.onLine), false);
|
| +window.addEventListener("offline", () => console.log("offline event: online = " + navigator.onLine), false);
|
| +navigator.connection.onchange = () => console.log("connection change event: type = " + navigator.connection.type + "; downlinkMax = " + navigator.connection.downlinkMax);
|
| +</script>
|
| +</head>
|
| +<body>
|
| +</body>
|
| +</html>
|
|
|