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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 385523002: [XHR] Remove a browsertest to update forbidden headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/test/ppapi/ppapi_test.h" 5 #include "chrome/test/ppapi/ppapi_test.h"
6 6
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/content_settings/host_content_settings_map.h" 9 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 #define RUN_URLLOADER_NACL_SUBTESTS_2 \ 432 #define RUN_URLLOADER_NACL_SUBTESTS_2 \
433 RunTestViaHTTP( \ 433 RunTestViaHTTP( \
434 LIST_TEST(URLLoader_UntrustedSameOriginRestriction) \ 434 LIST_TEST(URLLoader_UntrustedSameOriginRestriction) \
435 LIST_TEST(URLLoader_UntrustedCrossOriginRequest) \ 435 LIST_TEST(URLLoader_UntrustedCrossOriginRequest) \
436 LIST_TEST(URLLoader_UntrustedJavascriptURLRestriction) \ 436 LIST_TEST(URLLoader_UntrustedJavascriptURLRestriction) \
437 LIST_TEST(DISABLED_URLLoader_TrustedJavascriptURLRestriction) \ 437 LIST_TEST(DISABLED_URLLoader_TrustedJavascriptURLRestriction) \
438 ) 438 )
439 439
440 #define RUN_URLLOADER_SUBTESTS_3 \ 440 #define RUN_URLLOADER_SUBTESTS_3 \
441 RunTestViaHTTP( \ 441 RunTestViaHTTP( \
442 LIST_TEST(URLLoader_UntrustedHttpRequests) \
443 LIST_TEST(URLLoader_FollowURLRedirect) \ 442 LIST_TEST(URLLoader_FollowURLRedirect) \
444 LIST_TEST(URLLoader_AuditURLRedirect) \ 443 LIST_TEST(URLLoader_AuditURLRedirect) \
445 LIST_TEST(URLLoader_AbortCalls) \ 444 LIST_TEST(URLLoader_AbortCalls) \
446 LIST_TEST(URLLoader_UntendedLoad) \ 445 LIST_TEST(URLLoader_UntendedLoad) \
447 LIST_TEST(URLLoader_PrefetchBufferThreshold) \ 446 LIST_TEST(URLLoader_PrefetchBufferThreshold) \
448 ) 447 )
449 448
449 // TODO(yhirano): I remove this subtest from RUN_URLLOADER_SUBTESTS_3
450 // in order to change the behavior in Blink.
451 // Restore the subtest once it is landed.
452 // LIST_TEST(URLLoader_UntrustedHttpRequests) \
pfeldman 2014/07/11 09:54:40 gcc fails compiling this.
453
450 // Note: we do not support Trusted APIs in NaCl, so these will be skipped. 454 // Note: we do not support Trusted APIs in NaCl, so these will be skipped.
451 #define RUN_URLLOADER_TRUSTED_SUBTESTS \ 455 #define RUN_URLLOADER_TRUSTED_SUBTESTS \
452 RunTestViaHTTP( \ 456 RunTestViaHTTP( \
453 LIST_TEST(URLLoader_TrustedSameOriginRestriction) \ 457 LIST_TEST(URLLoader_TrustedSameOriginRestriction) \
454 LIST_TEST(URLLoader_TrustedCrossOriginRequest) \ 458 LIST_TEST(URLLoader_TrustedCrossOriginRequest) \
455 LIST_TEST(URLLoader_TrustedHttpRequests) \ 459 LIST_TEST(URLLoader_TrustedHttpRequests) \
456 ) 460 )
457 461
458 IN_PROC_BROWSER_TEST_F(PPAPITest, URLLoader0) { 462 IN_PROC_BROWSER_TEST_F(PPAPITest, URLLoader0) {
459 RUN_URLLOADER_SUBTESTS_0; 463 RUN_URLLOADER_SUBTESTS_0;
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 LIST_TEST(FlashDRM_GetHmonitor) 1350 LIST_TEST(FlashDRM_GetHmonitor)
1347 LIST_TEST(FlashDRM_GetVoucherFile)); 1351 LIST_TEST(FlashDRM_GetVoucherFile));
1348 } 1352 }
1349 1353
1350 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1354 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1351 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1355 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1352 1356
1353 #if defined(OS_CHROMEOS) 1357 #if defined(OS_CHROMEOS)
1354 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1358 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1355 #endif 1359 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698