[Bug 25668] New: Nit: Capabilities.has spec can be simplified

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

            Bug ID: 25668
           Summary: Nit: Capabilities.has spec can be simplified
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: vlotoshnikov@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

What's currently

"This must return true if the capabilities contain a key with the given
capabilityName and the value of that key is defined. If the value is a boolean,
this function must return that boolean value. If the value is null, an empty
string or a 0 then this method must return false."

could be made slightly simpler and shorter, for example,

"This must return true if the capabilities contain a key with the given
capabilityName and the value of that key is either the boolean True or a
non-empty DOMString or a long that is not 0. Otherwise it must return false."

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

Received on Monday, 12 May 2014 22:05:05 UTC