Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Side by Side Diff: LayoutTests/netinfo/type-change-no-listener.html

Issue 1308943005: [NetInfo] Add Blink support for connection.change, connection.downlinkMax, and wimax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 <script src="resources/netinfo_common.js"></script> 4 <script src="resources/netinfo_common.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Tests that the type changes without an active listener'); 8 description('Tests that the type changes without an active listener');
9 9
10 internals.setNetworkConnectionInfo(newConnectionType); 10 internals.setNetworkConnectionInfo(newConnectionType, newDownlinkMax);
11 shouldBe('connection.type', 'newConnectionType'); 11 shouldBe('connection.type', 'newConnectionType');
12 shouldBe('connection.downlinkMax', 'newDownlinkMax');
12 13
13 finishJSTest(); 14 finishJSTest();
14 </script> 15 </script>
15 </body> 16 </body>
16 </html> 17 </html>
OLDNEW
« no previous file with comments | « LayoutTests/netinfo/resources/web-worker.js ('k') | LayoutTests/netinfo/type-change-no-listener-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698