W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > January to March 2014

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 23 Jan 2014 17:34:44 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-24373-5015@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:09:49 UTC