<?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>28968</bug_id>
          
          <creation_ts>2015-07-20 09:19:31 +0000</creation_ts>
          <short_desc>Add algorithm for handling the &quot;unexpected modal dialog&quot; to &quot;Processing model&quot; section</short_desc>
          <delta_ts>2015-10-26 05:55:11 +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>DUPLICATE</resolution>
          <dup_id>24816</dup_id>
          
          <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="seva">vlotoshnikov</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>ato</cc>
    
    <cc>mike</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>122216</commentid>
    <comment_count>0</comment_count>
    <who name="seva">vlotoshnikov</who>
    <bug_when>2015-07-20 09:19:31 +0000</bug_when>
    <thetext>The way remote end handles unexpected modal dialogs[1] is currently defined in section Interactions &gt;&gt; ... &gt;&gt; sendKeys().

It really should be defined elsewhere, probably as part of the main algorithm of handling a command by the remote end, the Processing model section:
http://w3c.github.io/webdriver/webdriver-spec.html#processing-model

That is because not only sendKeys() but many other commands will have to &quot;send an error&quot; if a modal dialog is active.

[1] &quot;Unexpected&quot; modal dialog is any modal dialog that is active when remote end receives a command that doesn&apos;t handle that modal dialog and that [the command] should fail because of that dialog being active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123938</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2015-10-26 05:55:11 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 24816 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>