[Bug 28761] New: window.prompt dismiss should behave as if cancel were clicked, not accept

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

            Bug ID: 28761
           Summary: window.prompt dismiss should behave as if cancel were
                    clicked, not accept
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: johnjan@microsoft.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
            Blocks: 20860

"This will dismiss the modal. If the modal is an alert, this must be equivalent
to calling accept() on the dialog"

In the browsers I checked, when I click "OK" to the dialog, the value gets set
to the text box. When I click the "X" to dismiss it, the value is Null. When I
click "Cancel" the value is Null.

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

Received on Thursday, 4 June 2015 18:21:24 UTC