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: LayoutTests/http/tests/websocket/binary-type-expected.txt

Issue 871013007: Use enum BinaryType for WebSocket.binaryType, instead of DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: 'Blob' is not a valid value for binaryType; binaryType remains un changed. 1 CONSOLE WARNING: The provided value 'Blob' is not a valid enum value of interfac e BinaryType.
2 CONSOLE ERROR: 'ArrayBuffer' is not a valid value for binaryType; binaryType rem ains unchanged. 2 CONSOLE WARNING: The provided value 'ArrayBuffer' is not a valid enum value of i nterface BinaryType.
3 CONSOLE ERROR: '' is not a valid value for binaryType; binaryType remains unchan ged. 3 CONSOLE WARNING: The provided value '' is not a valid enum value of interface Bi naryType.
4 Test WebSocket.binaryType attribute. 4 Test WebSocket.binaryType attribute.
5 5
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
7 7
8 PASS ws.binaryType is "blob" 8 PASS ws.binaryType is "blob"
9 PASS ws.binaryType is "arraybuffer" 9 PASS ws.binaryType is "arraybuffer"
10 PASS ws.binaryType is "blob" 10 PASS ws.binaryType is "blob"
11 Set invalid values to binaryType. They should be ignored. No exception should be thrown. 11 Set invalid values to binaryType. They should be ignored. No exception should be thrown.
12 PASS ws.binaryType is "blob" 12 PASS ws.binaryType is "blob"
13 PASS ws.binaryType is "blob" 13 PASS ws.binaryType is "blob"
14 PASS ws.binaryType is "blob" 14 PASS ws.binaryType is "blob"
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW
« no previous file with comments | « no previous file | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698