Bug 153372 - ASSERT(directoryURL.length() == directoryURLPathStart + 1 || directoryURL[directoryURL.length() - 1] != '/') fails in CredentialStorage::findDefaultProtectionSpaceForURL()
Summary: ASSERT(directoryURL.length() == directoryURLPathStart + 1 || directoryURL[dir...
Status: RESOLVED DUPLICATE of bug 153250
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-01-22 14:06 PST by Daniel Bates
Modified: 2016-01-22 14:26 PST (History)
2 users (show)

See Also:


Attachments
Patch and layout tests (7.72 KB, patch)
2016-01-22 14:10 PST, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***