Bug 13242

Summary: REGRESSION: Repro crash when specifying the content property for an image
Product: WebKit Reporter: mitz
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar, Regression
Priority: P1    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,<img style="content: 'foo';">
Attachments:
Description Flags
Fix the crash darin: review+

mitz
Reported 2007-03-31 03:29:48 PDT
The URL crashes TOT. Backtrace: #0 0x015df328 in WebCore::StringImpl::length (this=0xffff1340) at StringImpl.h:72 #1 0x0121bf5c in WebCore::String::isEmpty (this=0x69566d8) at WebCore/platform/String.cpp:381 #2 0x011b62c4 in WebCore::RenderImage::setImageSizeForAltText (this=0x695666c, newImage=0x0) at WebCore/rendering/RenderImage.cpp:95 #3 0x013590cc in WebCore::HTMLImageElement::attach (this=0x694e3d0) at WebCore/html/HTMLImageElement.cpp:187
Attachments
Fix the crash (3.43 KB, patch)
2007-03-31 04:07 PDT, mitz
darin: review+
mitz
Comment 1 2007-03-31 04:07:12 PDT
Created attachment 13905 [details] Fix the crash
Darin Adler
Comment 2 2007-03-31 16:23:44 PDT
Comment on attachment 13905 [details] Fix the crash r=me
Andrew Wellington
Comment 3 2007-03-31 22:16:40 PDT
Landed in r20644
Mark Rowe (bdash)
Comment 4 2007-03-31 22:22:26 PDT
Note You need to log in before you can comment on or make changes to this bug.