[Bug 26706] New: Ordering of array of web elements returned is undefined

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

            Bug ID: 26706
           Summary: Ordering of array of web elements returned is
                    undefined
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                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

The only element location strategy that mentions ordering of the returned web
elements is the CSS selector in section 9.2.1, and it uses a reference to
querySelectorAll.  If drivers choose to implement this differently it feels to
me that we should define the sorting order explicitly or reference the
ECMAScript specification's.

This is further complicated by the other location strategies not having
ordering defined.

Link to relevant section:

https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#element-location-strategies

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

Received on Tuesday, 2 September 2014 05:58:13 UTC