Closed Bug 755399 Opened 13 years ago Closed 13 years ago

Debugging protocol server should drop connection if packet framing is bad

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jimb, Unassigned)

Details

The debugging protocol, as implement, has a framing layer not described in the protocol spec at https://wiki.mozilla.org/Remote_Debugging_Protocol. The server should The byte stream is broken up into packets of the form <length>:<body>, where <length> is the length in bytes, parsed by parseInt, and <body> is the given number of bytes, to be passed through ConvertToUnicode and then JSON.parse.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.