<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 - Safari on iOS 9.3.2 - TypeError, undefined, when attempting to call a custom method on an ES6 class extended from Array"
   href="https://bugs.webkit.org/show_bug.cgi?id=158106">158106</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Safari on iOS 9.3.2 - TypeError, undefined, when attempting to call a custom method on an ES6 class extended from Array
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>iOS 9.3
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>erik&#64;nordstroem.no
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=279851" name="attach_279851" title="HTML file to reproduce problem">attachment 279851</a> <a href="attachment.cgi?id=279851&amp;action=edit" title="HTML file to reproduce problem">[details]</a></span>
HTML file to reproduce problem

Calling a custom method on an ES6 class extended from Array results in TypeError, stating that the function is undefined.

Tested in:

- Safari on iOS 9.3.2

- Firefox 46.0.1 on Fedora 23

- Chrome Dev 52.0.2739.3 on Android 4.2.2


Steps to reproduce:

Serve attached HTML file with a web server, then open it in Safari on iOS 9.3.2. Observe that TypeError is thrown.


Expected outcome:

Calling the custom method should have worked.


Actual outcome:

Test fails with TypeError, undefined, in Safari on iOS 9.3.2, works in the other two browsers tested.</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>