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

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

Issue 510663002: PepperWebSocketHost should not call blink::WebSocket APIs after closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 // 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 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 LIST_TEST(WebSocket_StressedSendReceive) \ 971 LIST_TEST(WebSocket_StressedSendReceive) \
972 LIST_TEST(WebSocket_BufferedAmount) \ 972 LIST_TEST(WebSocket_BufferedAmount) \
973 ) 973 )
974 974
975 #define RUN_WEBSOCKET_SUBTESTS_2 \ 975 #define RUN_WEBSOCKET_SUBTESTS_2 \
976 RunTestWithWebSocketServer( \ 976 RunTestWithWebSocketServer( \
977 LIST_TEST(WebSocket_AbortCallsWithCallback) \ 977 LIST_TEST(WebSocket_AbortCallsWithCallback) \
978 LIST_TEST(WebSocket_AbortSendMessageCall) \ 978 LIST_TEST(WebSocket_AbortSendMessageCall) \
979 LIST_TEST(WebSocket_AbortCloseCall) \ 979 LIST_TEST(WebSocket_AbortCloseCall) \
980 LIST_TEST(WebSocket_AbortReceiveMessageCall) \ 980 LIST_TEST(WebSocket_AbortReceiveMessageCall) \
981 LIST_TEST(WebSocket_ClosedFromServerWhileSending) \
981 LIST_TEST(WebSocket_CcInterfaces) \ 982 LIST_TEST(WebSocket_CcInterfaces) \
982 LIST_TEST(WebSocket_UtilityInvalidConnect) \ 983 LIST_TEST(WebSocket_UtilityInvalidConnect) \
983 LIST_TEST(WebSocket_UtilityProtocols) \ 984 LIST_TEST(WebSocket_UtilityProtocols) \
984 LIST_TEST(WebSocket_UtilityGetURL) \ 985 LIST_TEST(WebSocket_UtilityGetURL) \
985 LIST_TEST(WebSocket_UtilityValidConnect) \ 986 LIST_TEST(WebSocket_UtilityValidConnect) \
986 LIST_TEST(WebSocket_UtilityInvalidClose) \ 987 LIST_TEST(WebSocket_UtilityInvalidClose) \
987 LIST_TEST(WebSocket_UtilityValidClose) \ 988 LIST_TEST(WebSocket_UtilityValidClose) \
988 LIST_TEST(WebSocket_UtilityGetProtocol) \ 989 LIST_TEST(WebSocket_UtilityGetProtocol) \
989 LIST_TEST(WebSocket_UtilityTextSendReceive) \ 990 LIST_TEST(WebSocket_UtilityTextSendReceive) \
990 LIST_TEST(WebSocket_UtilityBinarySendReceive) \ 991 LIST_TEST(WebSocket_UtilityBinarySendReceive) \
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 LIST_TEST(FlashDRM_GetHmonitor) 1333 LIST_TEST(FlashDRM_GetHmonitor)
1333 LIST_TEST(FlashDRM_GetVoucherFile)); 1334 LIST_TEST(FlashDRM_GetVoucherFile));
1334 } 1335 }
1335 1336
1336 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1337 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1337 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1338 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1338 1339
1339 #if defined(OS_CHROMEOS) 1340 #if defined(OS_CHROMEOS)
1340 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1341 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1341 #endif 1342 #endif
OLDNEW
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_websocket_host.cc » ('j') | ppapi/tests/test_websocket.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698