Closed
Bug 785319
Opened 12 years ago
Closed 12 years ago
Setting WebSocket.binaryType to an invalid value should no longer throw
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: Ms2ger, Assigned: avp)
References
Details
(Whiteboard: [good first bug][mentor=Ms2ger][lang=c++])
Attachments
(1 file, 3 obsolete files)
2.63 KB,
patch
|
MattN
:
checkin+
|
Details | Diff | Splinter Review |
http://html5.org/tools/web-apps-tracker?from=7260&to=7261
nsWebSocket::SetBinaryType should return NS_OK instead of NS_ERROR_INVALID_ARG when an unknown value is passes. The code is here:
http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsWebSocket.cpp#1213
Assignee | ||
Comment 1•12 years ago
|
||
Hi Ms2ger,
I am interested in working on this bug. Could you please guide me on getting started on this bug.....
Thanks.
Reporter | ||
Comment 2•12 years ago
|
||
Hi there! To fix this bug, you'll need to remove the else branch at <http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsWebSocket.cpp#1213>, and update the test at <http://mxr.mozilla.org/mozilla-central/source/content/base/test/test_websocket.html?force=1#1282>.
If you need any help setting up a build environment etc., see <https://developer.mozilla.org/en-US/docs/Introduction> or come hang around on irc.mozilla.org, #introduction.
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #655053 -
Flags: feedback?(Ms2ger)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #655054 -
Flags: feedback?(Ms2ger)
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 655053 [details] [diff] [review]
removed the else branch in file nsWebSocket.cpp
Review of attachment 655053 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
Attachment #655053 -
Flags: review?(bugs)
Attachment #655053 -
Flags: feedback?(Ms2ger)
Attachment #655053 -
Flags: feedback+
Reporter | ||
Comment 6•12 years ago
|
||
Comment on attachment 655054 [details] [diff] [review]
edited test_websocket.html
Looks good too.
Attachment #655054 -
Flags: review?(bugs)
Attachment #655054 -
Flags: feedback?(Ms2ger)
Attachment #655054 -
Flags: feedback+
Updated•12 years ago
|
Attachment #655053 -
Flags: review?(bugs) → review+
Updated•12 years ago
|
Attachment #655054 -
Flags: review?(bugs) → review+
Reporter | ||
Comment 7•12 years ago
|
||
Abhishek, could you generate a single patch following the instructions at <https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F>? That would be helpful to get it checked in.
Assignee: nobody → abhishekp.bugzilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #655290 -
Flags: review?
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #655053 -
Attachment is obsolete: true
Attachment #655054 -
Attachment is obsolete: true
Attachment #655290 -
Attachment is obsolete: true
Attachment #655290 -
Flags: review?
Attachment #655297 -
Flags: checkin?
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4d15fd2146d
Try results: https://tbpl.mozilla.org/?tree=Try&rev=fbe522587fcc
Flags: in-testsuite+
Updated•12 years ago
|
Attachment #655297 -
Flags: checkin? → checkin+
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•