Bug 153372

Summary: ASSERT(directoryURL.length() == directoryURLPathStart + 1 || directoryURL[directoryURL.length() - 1] != '/') fails in CredentialStorage::findDefaultProtectionSpaceForURL()
Product: WebKit Reporter: Daniel Bates <dbates>
Component: PlatformAssignee: Daniel Bates <dbates>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, yongjun_zhang
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch and layout tests none

Description Daniel Bates 2016-01-22 14:06:32 PST
Using a debug build of WebKit, run:

Tools/Scripts/run-webkit-tests --debug --no-retry-failures --child-processes=1 http/tests/misc/authentication-redirect-1/authentication-sent-to-redirect-cross-origin.html http/tests/security/xssAuditor/embed-tag-in-path-unterminated.html

Then we will crash because the assertion ASSERT(directoryURL.length() == directoryURLPathStart + 1 || directoryURL[directoryURL.length() - 1] != '/') fails in CredentialStorage::findDefaultProtectionSpaceForURL().
Comment 1 Daniel Bates 2016-01-22 14:06:44 PST
<rdar://problem/12172843>
Comment 2 Daniel Bates 2016-01-22 14:10:00 PST
Created attachment 269605 [details]
Patch and layout tests
Comment 3 Daniel Bates 2016-01-22 14:26:25 PST

*** This bug has been marked as a duplicate of bug 153250 ***