This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29490 - What error code should be returned on an attempt to execute an operation in a deleted session?
Summary: What error code should be returned on an attempt to execute an operation in a...
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2016-02-20 09:44 UTC by Alexei Barantsev
Modified: 2016-02-20 15:23 UTC (History)
2 users (show)

See Also:


Attachments

Description Alexei Barantsev 2016-02-20 09:44:17 UTC
What error code should be returned on an attempt to execute an operation in a deleted session?
Comment 1 Andreas Tolfsen 2016-02-20 15:23:07 UTC
Under step 5 substep 1, it says it must return an "invalid session id" error when an unrecognised session ID is being used and the command is not for creating a new session:

    http://w3c.github.io/webdriver/webdriver-spec.html#processing-model

An unrecognised session ID means that the provided session UUID is not in the list of active sessions.

The "close the session" algorithm removes the current session from the list of active sessions:

    http://w3c.github.io/webdriver/webdriver-spec.html#dfn-close-the-session