[Bug 27766] New: Clarify whether sessionId is optional from the perspective of the local end before newSession

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27766

            Bug ID: 27766
           Summary: Clarify whether sessionId is optional from the
                    perspective of the local end before newSession
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

Section 2.1 says that sessionId by default is null, but the WebIDL marks it as
optional.

It's called out explicitly on the other parameters to the command object which
are to be provided by the local end, but it's unclear if this applies to
sessionId.

The question is whether sessionId should be undefined or null when calling
newSession.

Since the spec allows a passing in a sessionId to newSession, it follows that
local ends shouldn't send null to mean “undefined” since that (in section
4.1.1) talks about whether the field is “set” or not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 6 January 2015 15:30:29 UTC