Bug 23733

Summary: Assertion fails in SecurityOrigin.cpp
Product: WebKit Reporter: Yael <yael>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: OS X 10.5   
Attachments:
Description Flags
Use the KURL constructor that takes 2 parameters instead of one. ap: review+

Description Yael 2009-02-04 09:52:58 PST
Assertion fails when creating a SecurityOrigin from DatabaseIdentifier. That is because a DatabaseIdentifier includes an origin without a path. The fix is to use a different constructor to KRUL, one that does not asert.
Comment 1 Yael 2009-02-04 09:54:32 PST
Created attachment 27317 [details]
Use the KURL constructor that takes 2 parameters instead of one.
Comment 2 Alexey Proskuryakov 2009-02-04 10:14:15 PST
Comment on attachment 27317 [details]
Use the KURL constructor that takes 2 parameters instead of one.

r=me

It's always better to have a bug URL in ChangeLog.
Comment 3 Yael 2009-02-04 10:27:38 PST
Thank you for quick review. I will make sure to add the bug URL in the future. Now I need help in committing this :-)
Comment 4 Simon Hausmann 2009-02-05 06:34:40 PST
Landed in r40669