W3C home > Mailing lists > Public > public-browser-tools-testing@w3.org > October to December 2015

[Bug 29218] New: Order of error checks in spec incompatible with proxy implementations

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Oct 2015 14:48:31 +0000
To: public-browser-tools-testing@w3.org
Message-ID: <bug-29218-5015@http.www.w3.org/Bugs/Public/>

            Bug ID: 29218
           Summary: Order of error checks in spec incompatible with proxy
           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: james@hoppipolla.co.uk
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860
  Target Milestone: ---

"1. If the current browsing context is no longer open, return error with error
code no such window.

2. Handle any user prompts, and return its value if it is an error.

3. Let cookie be the result of getting a property named "cookie" from the
parameters argument."

This pattern doesn't work with a proxy implementation since it must read the
full request before communicating with the backend that can know things like
whether the browsing context is still open. Also the browsing context may close
whilst the request is being read. So generally it seems better to delay these
checks until after the request is fully processed.

Referenced Bugs:

[Bug 20860] WebDriver Level 1
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 21 October 2015 14:48:33 UTC

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