WebSocket 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'
Review URL: http://codereview.chromium.org/8839003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113760 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed