[Bug 25748] New: 15.1 - Alerts#getText should raise an error if there is no alert

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

            Bug ID: 25748
           Summary: 15.1 - Alerts#getText should raise an error if there
                    is no alert
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: botalov.andrey@gmail.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org

Documentation for "getText" doesn't say "If no alert is present a no such alert
error MUST be raised."

Also it's said:
> This will return the text that is currently in the modal.

But it's said "Show the given message to the user.", not "text" in the HTML5
spec(http://www.w3.org/TR/html51/webappapis.html#dom-alert) so I think it would
be better to say:

> This will return the message shown in the modal. If no alert is present a no such alert error MUST be raised.

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

Received on Friday, 16 May 2014 21:42:11 UTC