Bug 165024

Summary: Hasher::addCharacters() should be able to handle zero length strings.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: Web Template FrameworkAssignee: Mark Lam <mark.lam>
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, darin, dbates, ysuzuki
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
proposed patch. ysuzuki: review+

Description Mark Lam 2016-11-21 22:18:05 PST
Currently, it will fail to handle zero length strings if it has a pending character.
Comment 1 Mark Lam 2016-11-21 22:23:38 PST
Created attachment 295327 [details]
proposed patch.
Comment 2 Yusuke Suzuki 2016-11-21 22:26:46 PST
Comment on attachment 295327 [details]
proposed patch.

Comment 3 Mark Lam 2016-11-21 22:31:18 PST
Thanks for the review.  Landed in r208958: <http://trac.webkit.org/r208958>.