[Webkit-unassigned] [Bug 121695] REGRESSION (r156140): Srcset tests are frequently crashing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 20 11:38:32 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=121695





--- Comment #6 from Darin Adler <darin at apple.com>  2013-09-20 11:37:37 PST ---
(From update of attachment 212196)
View in context: https://bugs.webkit.org/attachment.cgi?id=212196&action=review

> Source/WebCore/html/parser/HTMLParserIdioms.cpp:393
> +        image.imageURL = String(srcsetAttribute.characters() + imageURLStart, imageURLEnd - imageURLStart);

Might be clearer to use the substring function to do this. Even possibly leaves the door open for future optimization where we share the character backing store between the original string and the substring.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list