WebKit Crashes on Lexis-Nexis
Created attachment 29791 [details] Crash Report from Lexis Nexis (RTF)
Created attachment 29792 [details] 2nd Crash Report
Can you provide more specific instructions on how to reproduce this crash? Is simply loading the URL sufficient, or do specific links need to be clicked?
<rdar://problem/6828178>
<rdar://problem/6633943> One needs an account to reproduce this.
Created attachment 29814 [details] proposed fix Alas, I could not make a regression test, even after trying hard.
Comment on attachment 29814 [details] proposed fix r=me
Comment on attachment 29814 [details] proposed fix > +#ifndef NDEBUG > + DocumentResourceMap::iterator it = m_documentResources.find(resource->url()); > + if (it != m_documentResources.end()) > + ASSERT(it->second.get() == resource); > +#endif You could write this: ASSERT(!m_documentResources.contains(resource->url()) || m_documentResources.get(resource->url()) == resource); I think it's a little easier to understand.
> I think it's a little easier to understand. That's how I wrote it originally, but it was difficult to see why the assertion failed when stopped on it in the debugger.
(In reply to comment #9) > That's how I wrote it originally, but it was difficult to see why the assertion > failed when stopped on it in the debugger. OK.
Committed <http://trac.webkit.org/changeset/42896>.