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

Side by Side Diff: third_party/WebKit/LayoutTests/netinfo/multiple-frames.html

Issue 2087293003: [DevTools] Network.emulateNetworkConditions now affects NetworkStateNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck Created 4 years, 5 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 8
9 description('Tests using NetInfo from multiple frames.'); 9 description('Tests using NetInfo from multiple frames.');
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 function maybeFinishTest() { 47 function maybeFinishTest() {
48 if (hasMainFrameEventFired && hasChildFrameEventFired) { 48 if (hasMainFrameEventFired && hasChildFrameEventFired) {
49 finishJSTest(); 49 finishJSTest();
50 } 50 }
51 } 51 }
52 52
53 connection.addEventListener('change', mainFrameListener); 53 connection.addEventListener('change', mainFrameListener);
54 childConnection.addEventListener('change', childFrameListener); 54 childConnection.addEventListener('change', childFrameListener);
55 55
56 internals.setNetworkConnectionInfo(newConnectionType, newDownlinkMax); 56 internals.setNetworkConnectionInfoOverride(isTypeOnline(newConnectionType), newC onnectionType, newDownlinkMax);
57 57
58 </script> 58 </script>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698