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

[Bug 26613] New: POST /session/{id}/timeouts should take an array of timeouts

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Aug 2014 13:16:17 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-26613-5015@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26613

            Bug ID: 26613
           Summary: POST /session/{id}/timeouts should take an array of
                    timeouts
           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

Currently POST /session/{id}/timeouts takes a hash map of {"type": TYPE, "ms":
N} which allows setting individual timeouts.

If we consider a local end client binding that wants to set them all at once
(pseudo code):

    driver.timeouts = [{type: "page load", ms: 123},
                       {type: "implicit", ms: 456},
                       {type: "script", ms: 789}]

This will currently require them to make three individual calls to the
endpoint.

An optimization is to allow the endpoint to take an array of dicts instead:

    [{"type": TYPE, "ms": N}, …]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 20 August 2014 13:16:25 UTC

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