bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

Send error if given invalid session ID for command

RESOLVED INVALID

Status

Testing
Marionette
RESOLVED INVALID
3 years ago
3 years ago

People

(Reporter: ato, Unassigned, Mentored)

Tracking

({ateam-marionette-server, ateam-marionette-spec})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug][lang=js])

(Reporter)

Description

3 years ago
The spec sayeth: “If command is not ‘new session’: […] If ‘session id’ is not equal to the id of any session in the ‘list of active sessions’, send an error with error code ‘invalid session id’, then jump to step 1 in this overall algorithm.”

This means we need to respond with an InvalidSessionIdError whenever we receive a command with a session ID that isn't the current one, unless the command is for a new session.
(Reporter)

Updated

3 years ago
Keywords: ateam-marionette-server
Keywords: ateam-marionette-spec
(Reporter)

Updated

3 years ago
Mentor: ato
Whiteboard: [good first bug][lang=js]

Comment 1

3 years ago
I am interested in fixing this bug.
Flags: needinfo?(ato)
(Reporter)

Comment 2

3 years ago
After the Marionette protocol changes to level 3 (bug 1211489) this won’t be necessary any more since we do no longer use the session ID as a token for communicating with Marionette.

If you’re still interested in helping, please consider taking on bug 1153828.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(ato)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.