DescriptionWebSocket Pepper API: validate redundant protocols in Connect()
Given protocols argument is not allowed to have any duplicated protocol
name in Connect().
This CL contains constant number replacement in test_websocket.cc like
s/0/0U/g, and detailed comments on protocols argument check.
BUG=87310
TEST=ui_tests --gtest_filter='PPAPITest.WebSocket_Protocols'
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113760
Patch Set 1 #
Total comments: 2
Patch Set 2 : use set<string> instead of dictionary #Patch Set 3 : rebase for dcommit #
Messages
Total messages: 7 (0 generated)
|