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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 437089: Remove Content-Type workaround for cached resources (Closed)
Patch Set: Test Created 11 years 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
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.js » ('j') | webkit/glue/devtools/js/tests.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/browser.h" 6 #include "chrome/browser/browser.h"
7 #include "chrome/browser/debugger/devtools_client_host.h" 7 #include "chrome/browser/debugger/devtools_client_host.h"
8 #include "chrome/browser/debugger/devtools_manager.h" 8 #include "chrome/browser/debugger/devtools_manager.h"
9 #include "chrome/browser/debugger/devtools_window.h" 9 #include "chrome/browser/debugger/devtools_window.h"
10 #include "chrome/browser/extensions/extensions_service.h" 10 #include "chrome/browser/extensions/extensions_service.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // Tests resources have correct sizes. 277 // Tests resources have correct sizes.
278 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceContentLength) { 278 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceContentLength) {
279 RunTest("testResourceContentLength", kResourceContentLengthTestPage); 279 RunTest("testResourceContentLength", kResourceContentLengthTestPage);
280 } 280 }
281 281
282 // Tests resource headers. 282 // Tests resource headers.
283 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceHeaders) { 283 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceHeaders) {
284 RunTest("testResourceHeaders", kResourceTestPage); 284 RunTest("testResourceHeaders", kResourceTestPage);
285 } 285 }
286 286
287 // Tests cached resource mime type.
288 // @see http://crbug.com/27364
289 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestCachedResourceMimeType) {
290 RunTest("testCachedResourceMimeType", kResourceTestPage);
291 }
292
287 // Tests profiler panel. 293 // Tests profiler panel.
288 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { 294 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) {
289 RunTest("testProfilerTab", kJsPage); 295 RunTest("testProfilerTab", kJsPage);
290 } 296 }
291 297
292 // Tests scripts panel showing. 298 // Tests scripts panel showing.
293 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { 299 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) {
294 RunTest("testShowScriptsTab", kDebuggerTestPage); 300 RunTest("testShowScriptsTab", kDebuggerTestPage);
295 } 301 }
296 302
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 RunTest("testEvalGlobal", kEvalTestPage); 404 RunTest("testEvalGlobal", kEvalTestPage);
399 } 405 }
400 406
401 // Test that Storage panel can be shown. 407 // Test that Storage panel can be shown.
402 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowStoragePanel) { 408 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowStoragePanel) {
403 RunTest("testShowStoragePanel", kDebuggerTestPage); 409 RunTest("testShowStoragePanel", kDebuggerTestPage);
404 } 410 }
405 411
406 412
407 } // namespace 413 } // namespace
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.js » ('j') | webkit/glue/devtools/js/tests.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698