<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r178097): JavaScript TypeError after clicking on compose button in Yahoo Mail"
   href="https://bugs.webkit.org/show_bug.cgi?id=146515">146515</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>REGRESSION (r178097): JavaScript TypeError after clicking on compose button in Yahoo Mail
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iOS
          </td>
        </tr>

        <tr>
          <th>URL</th>
          <td>http://mail.yahoo.com
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>Regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P1
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebCore Misc.
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dbates&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>darin&#64;apple.com, gyuyoung.kim&#64;webkit.org, mitz&#64;webkit.org, sam&#64;webkit.org, shiva.jm&#64;samsung.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=255925" name="attach_255925" title="Example - Call select.add() with more arguments than needed">attachment 255925</a> <a href="attachment.cgi?id=255925&amp;action=edit" title="Example - Call select.add() with more arguments than needed">[details]</a></span>
Example - Call select.add() with more arguments than needed

Cannot compose a new email in Yahoo Mail when using an iPhone user agent string and WebKit r178097 or later. In particular, a JavaScript TypeError is thrown after clicking on the compose button.

On a Mac, you can reproduce this issue by performing the following:
1. Open Safari with WebKit r178097 or later.
2. Open a new window.
4. Ensure the Develop menu is enabled (*) and choose Develop &gt; User Agent &gt; Safari iOS 8.1 - iPhone.
5. Navigate to mail.yahoo.com and sign in.
5. Click the compose button.

A JavaScript TypeError is thrown and caught by Yahoo Mail's code as indicated by the presence of the following line in the Web Inspector console:

&quot;Error Reported (presentModalView): Type error&quot;

(*) You can enable the Develop menu by choosing Safari &gt; Preferences to open the Safari preferences window. In the preferences window, click Advanced in the toolbar. Then check the checkbox &quot;Show Develop menu in menu bar&quot;.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>