<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 (r208730): WTFCrashWithSecurityImplication under UserMediaPermissionRequestManager::removeMediaRequestFromMaps"
   href="https://bugs.webkit.org/show_bug.cgi?id=164798">164798</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>REGRESSION (r208730): WTFCrashWithSecurityImplication under UserMediaPermissionRequestManager::removeMediaRequestFromMaps
          </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>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </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>Media Elements
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>eric.carlson&#64;apple.com, ryanhaddad&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Got this crash when running the tests locally. The code that crashes was added today in r208730.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore          0x00000001065257a4 WTFCrash + 36 (Assertions.cpp:323)
1   com.apple.JavaScriptCore          0x00000001065257b9 WTFCrashWithSecurityImplication + 9
2   com.apple.WebCore                 0x0000000108b7801c WTF::match_constness&lt;WebCore::ScriptExecutionContext, WebCore::Document&gt;::type* WTF::downcast&lt;WebCore::Document, WebCore::ScriptExecutionContext&gt;(WebCore::ScriptExecutionContext*) + 76 (TypeCasts.h:89)
3   com.apple.WebCore                 0x000000010b498029 WebCore::UserMediaRequest::document() const + 57 (UserMediaRequest.cpp:246)
4   com.apple.WebKit                  0x000000010276a357 WebKit::UserMediaPermissionRequestManager::removeMediaRequestFromMaps(WebCore::UserMediaRequest&amp;) + 39 (UserMediaPermissionRequestManager.cpp:126)
5   com.apple.WebKit                  0x000000010276a133 WebKit::UserMediaPermissionRequestManager::cancelUserMediaRequest(WebCore::UserMediaRequest&amp;) + 99 (UserMediaPermissionRequestManager.cpp:108)
6   com.apple.WebKit                  0x0000000102cf8bb9 WebKit::WebUserMediaClient::cancelUserMediaAccessRequest(WebCore::UserMediaRequest&amp;) + 41 (WebUserMediaClient.cpp:51)
7   com.apple.WebCore                 0x000000010b497fe3 WebCore::UserMediaController::cancelUserMediaAccessRequest(WebCore::UserMediaRequest&amp;) + 51 (UserMediaController.h:64)
8   com.apple.WebCore                 0x000000010b497f53 WebCore::UserMediaRequest::contextDestroyed() + 67 (UserMediaRequest.cpp:235)
9   com.apple.WebCore                 0x000000010aee4919 WebCore::ScriptExecutionContext::~ScriptExecutionContext() + 137 (ScriptExecutionContext.cpp:127)
10  com.apple.WebCore                 0x00000001091f3dbe WebCore::Document::~Document() + 8174 (Document.cpp:656)</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>