Closed Bug 1680962 Opened 4 years ago Closed 4 years ago

Payload for valid responses does not always have a "result" property

Categories

(Remote Protocol :: Agent, defect, P1)

defect

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

Commands like Page.enable that do not return any data, should cause an empty result dictionary. But right now this object is not present at all:

 0:54.61 pid:45641 1607256878232	RemoteAgent	TRACE	(connection {648c01a4-b114-1b4c-9ea2-927b461655ac})-> {"sessionId":"b0353732-2d4e-654f-a801-3c0ff9c17727","method":"Page.enable","params":{},"id":32}
 0:54.61 pid:45641 1607256878236	RemoteAgent	TRACE	<-(connection {648c01a4-b114-1b4c-9ea2-927b461655ac}) {"sessionId":"b0353732-2d4e-654f-a801-3c0ff9c17727","id":32}
Attachment #9191521 - Attachment description: Bug 1680962 - [remote] sendResponse has to lways return a result in the response payload. → Bug 1680962 - [remote] sendResponse has to always return a result in the response payload.
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1e57d60a768
[remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: