<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25748</bug_id>
          
          <creation_ts>2014-05-16 21:42:08 +0000</creation_ts>
          <short_desc>15.1 - Alerts#getText should raise an error if there is no alert</short_desc>
          <delta_ts>2014-05-16 23:16:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20860</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Botalov">botalov.andrey</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>dburns</cc>
    
    <cc>mike</cc>
    
    <cc>vlotoshnikov</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106219</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Botalov">botalov.andrey</who>
    <bug_when>2014-05-16 21:42:08 +0000</bug_when>
    <thetext>Documentation for &quot;getText&quot; doesn&apos;t say &quot;If no alert is present a no such alert error MUST be raised.&quot;

Also it&apos;s said:
&gt; This will return the text that is currently in the modal.

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

&gt; This will return the message shown in the modal. If no alert is present a no such alert error MUST be raised.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106225</commentid>
    <comment_count>1</comment_count>
    <who name="seva">vlotoshnikov</who>
    <bug_when>2014-05-16 21:58:42 +0000</bug_when>
    <thetext>... with a specific description of what kind of error and/or a reference to #status-codes section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106234</commentid>
    <comment_count>2</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2014-05-16 23:16:18 +0000</bug_when>
    <thetext>landed in https://dvcs.w3.org/hg/webdriver/rev/279319c8a6f1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>