Summary: | Calling WKPageLoadAlternateHTMLString() where baseURL does not point to a directory causes an invalid message to be returned from WebProcess | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ada Chan <adachan> | ||||
Component: | WebKit2 | Assignee: | Ada Chan <adachan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Ada Chan
2011-10-14 22:45:12 PDT
> If the passed in URL is a directory, the behavior remains the same. If the URL points to a file though, we'll add the path to the containing directory to m_localPathsWithAssumedReadAccess instead.
That would match the behavior of HTML <base> tag, and thus makes good sense to me.
> In WebPageProxy::loadAlternateHTMLString(), it calls WebProcessProxy::assumeReadAccessToBaseURL() which adds the baseURL argument to the list of local directories that have read access
I meant the *urlString* argument.
Created attachment 111126 [details]
Patch
Comment on attachment 111126 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=111126&action=review > Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!) The patch cannot be landed with this line. > Source/WebCore/ChangeLog:10 > + * WebCore.exp.in: Please describe what's changed. (In reply to comment #5) > (From update of attachment 111126 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=111126&action=review > > > Source/WebCore/ChangeLog:8 > > + No new tests. (OOPS!) > > The patch cannot be landed with this line. Fixed. > > > Source/WebCore/ChangeLog:10 > > + * WebCore.exp.in: > > Please describe what's changed. Fixed. Thanks for reviewing! Patch has been landed: http://trac.webkit.org/changeset/97633 |