<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 - ASSERTION FAILED: m_origin || m_type == CachedResource::MainResource"
href="https://bugs.webkit.org/show_bug.cgi?id=162472">162472</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ASSERTION FAILED: m_origin || m_type == CachedResource::MainResource
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</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>New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ryanhaddad@apple.com
</td>
</tr></table>
<p>
<div>
<pre>Encountered on iOS with API test WebKit1.MemoryCacheAddImageToCache
<a href="https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/221">https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Debug%20WK2%20%28Tests%29/builds/221</a>
UNEXPECTEDLY EXITED WebKit1.MemoryCacheAddImageToCache
ASSERTION FAILED: m_origin || m_type == CachedResource::MainResource
/Volumes/Data/slave/ios-simulator-10-debug/build/Source/WebCore/loader/cache/CachedResource.cpp(153) : WebCore::CachedResource::CachedResource(WebCore::CachedResourceRequest &&, WebCore::CachedResource::Type, WebCore::SessionID)
1 0x1038193ad WTFCrash
2 0x1081fee20 WebCore::CachedResource::CachedResource(WebCore::CachedResourceRequest&&, WebCore::CachedResource::Type, WebCore::SessionID)
3 0x1081f249a WebCore::CachedImage::CachedImage(WebCore::URL const&, WebCore::Image*, WebCore::CachedImage::CacheBehaviorType, WebCore::SessionID)
4 0x1081f26a3 WebCore::CachedImage::CachedImage(WebCore::URL const&, WebCore::Image*, WebCore::CachedImage::CacheBehaviorType, WebCore::SessionID)
5 0x10996ecb2 WebCore::MemoryCache::addImageToCache(WTF::RetainPtr<CGImage*>&&, WebCore::URL const&, WTF::String const&)
6 0x115daa1c3 +[WebCache addImageToCache:forURL:forFrame:]
7 0x115daa07e +[WebCache addImageToCache:forURL:]
8 0x1026f831e TestWebKitAPI::WebKit1_MemoryCacheAddImageToCache_Test::TestBody()
9 0x1027e975a testing::Test::Run()
10 0x1027ea58d testing::internal::TestInfoImpl::Run()
11 0x1027eb58d testing::TestCase::Run()
12 0x1027f1ccb testing::internal::UnitTestImpl::RunAllTests()
13 0x1027f1949 testing::UnitTest::Run()
14 0x10276767c TestWebKitAPI::TestsController::run(int, char**)
15 0x1027b9775 main
16 0x11415668d start</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>