[Bug 24373] New: MIssing mention of status code for getWindowHandles when there is no session

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

            Bug ID: 24373
           Summary: MIssing mention of status code for getWindowHandles
                    when there is no session
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            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

So sayeth the spec:

> This array of returned strings MUST contain a handle for every
> window associated with the browser session and no others. For each
> returned window handle the javascript expression "window.top.closed"
> (or equivalent) MUST evaluate to false at the time the command is
> being executed.

Source:

   
https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#window-handles

If there is no current browser session (e.g. no windows open), we will
presumably want to return a status code to indicate that WebDriver was
unable to successfully complete the command instead of returning an
empty array.

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

Received on Thursday, 23 January 2014 17:34:51 UTC