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

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

            Bug ID: 29218
           Summary: Order of error checks in spec incompatible with proxy
                    implementations
           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:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20860
[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