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

Side by Side Diff: chrome/test/data/webui/net_internals/net_internals_test.js

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix component linkage Created 6 years, 1 month 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview The way these tests work is as follows: 6 * @fileoverview The way these tests work is as follows:
7 * C++ in net_internals_ui_browsertest.cc does any necessary setup, and then 7 * C++ in net_internals_ui_browsertest.cc does any necessary setup, and then
8 * calls the entry point for a test with RunJavascriptTest. The called 8 * calls the entry point for a test with RunJavascriptTest. The called
9 * function can then use the assert/expect functions defined in test_api.js. 9 * function can then use the assert/expect functions defined in test_api.js.
10 * All callbacks from the browser are wrapped in such a way that they can 10 * All callbacks from the browser are wrapped in such a way that they can
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 export: ExportView.TAB_ID, 287 export: ExportView.TAB_ID,
288 import: ImportView.TAB_ID, 288 import: ImportView.TAB_ID,
289 proxy: ProxyView.TAB_ID, 289 proxy: ProxyView.TAB_ID,
290 events: EventsView.TAB_ID, 290 events: EventsView.TAB_ID,
291 waterfall: WaterfallView.TAB_ID, 291 waterfall: WaterfallView.TAB_ID,
292 timeline: TimelineView.TAB_ID, 292 timeline: TimelineView.TAB_ID,
293 dns: DnsView.TAB_ID, 293 dns: DnsView.TAB_ID,
294 sockets: SocketsView.TAB_ID, 294 sockets: SocketsView.TAB_ID,
295 spdy: SpdyView.TAB_ID, 295 spdy: SpdyView.TAB_ID,
296 quic: QuicView.TAB_ID, 296 quic: QuicView.TAB_ID,
297 sdch: SdchView.TAB_ID,
297 httpCache: HttpCacheView.TAB_ID, 298 httpCache: HttpCacheView.TAB_ID,
298 modules: ModulesView.TAB_ID, 299 modules: ModulesView.TAB_ID,
299 tests: TestView.TAB_ID, 300 tests: TestView.TAB_ID,
300 hsts: HSTSView.TAB_ID, 301 hsts: HSTSView.TAB_ID,
301 logs: LogsView.TAB_ID, 302 logs: LogsView.TAB_ID,
302 prerender: PrerenderView.TAB_ID, 303 prerender: PrerenderView.TAB_ID,
303 bandwidth: BandwidthView.TAB_ID, 304 bandwidth: BandwidthView.TAB_ID,
304 chromeos: CrosView.TAB_ID, 305 chromeos: CrosView.TAB_ID,
305 visualizer: CrosLogVisualizerView.TAB_ID 306 visualizer: CrosLogVisualizerView.TAB_ID
306 }; 307 };
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 ]; 727 ];
727 728
728 for (var i = 0; i < allIds.length; ++i) { 729 for (var i = 0; i < allIds.length; ++i) {
729 var curId = allIds[i]; 730 var curId = allIds[i];
730 expectEquals(nodeId == curId, NetInternalsTest.nodeIsVisible($(curId))); 731 expectEquals(nodeId == curId, NetInternalsTest.nodeIsVisible($(curId)));
731 } 732 }
732 }; 733 };
733 734
734 return NetInternalsTest; 735 return NetInternalsTest;
735 })(); 736 })();
OLDNEW
« no previous file with comments | « chrome/test/data/webui/net_internals/main.js ('k') | chrome/test/data/webui/net_internals/sdch_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698