Closed Bug 965259 Opened 10 years ago Closed 10 years ago

Initializing new connection to Marionette sends unexpected new session response

Categories

(Remote Protocol :: Marionette, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ato, Unassigned)

References

()

Details

The callback for receiving a message when a new browser is created, Marionette:register, sends two unexpected responses to the client with the "reg.id" variable as the only value.  I'd expect this only to be sent when the user calls the newSession command.

To reproduce this:

     In [18]: m = Marionette(emulator="arm", homedir="~/dev/b2g", )
     3-b2g
     waiting for system-message-listener-ready...
     done
     3-b2g

And again when newSession is called:

     In [22]: m.start_session()
     3-b2g
     Out[22]: u'3-b2g'
On closer inspection I think this is invalid.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.