Bug 11961

Summary: REGRESSION: Loading a webarchive file changes URL to applewebdata://
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, mitz
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test webarchive of this bug none

Description David Kilzer (:ddkilzer) 2006-12-24 14:50:19 PST
Summary:

When loading a .webarchive file, the URL changes to applewebdata:// instead of keeping the original URL.

Steps to reproduce:

1. Create a .webarchive file from a web page.
2. Open the .webarchive file.

Expected results:

The .webarchive file should have the same URL as the original web page.

Acutal results:

The .webarchive file has a URL that's changed to applewebdata://.

Regression:

This is a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8N1037).  Tested on a locally-built debug build of WebKit r18411.

Notes:

None.
Comment 1 David Kilzer (:ddkilzer) 2006-12-24 14:52:21 PST
Created attachment 12011 [details]
Test webarchive of this bug

Loading this .webarchive file should end up with the browser having a URL to this bug (Bug 11961).
Comment 2 David Kilzer (:ddkilzer) 2006-12-24 14:55:26 PST
(In reply to comment #0)
> Expected results:
> 
> The .webarchive file should have the same URL as the original web page.

(In reply to comment #1)
> Created an attachment (id=12011) [edit]
> Test webarchive of this bug
> 
> Loading this .webarchive file should end up with the browser having a URL to
> this bug (Bug 11961).

Actually, the URL should be a file:/// URL pointing to the .webarchive file on disk.  This is what happens in shipping Safari anyway.

Comment 3 Mark Rowe (bdash) 2007-01-17 15:15:48 PST
<rdar://problems/4930678>
Comment 4 David Kilzer (:ddkilzer) 2007-01-22 14:07:44 PST
See also Bug 12372.

Comment 5 David Kilzer (:ddkilzer) 2007-01-31 20:46:47 PST
(In reply to comment #3)
> <rdar://problems/4930678>

Apparently this is a duplicate of:

<rdar://problem/4886776>

Probably fixed in r19322.

Comment 6 David Kilzer (:ddkilzer) 2007-01-31 20:50:35 PST
This has been fixed as of WebKit r19322.

Comment 7 David Kilzer (:ddkilzer) 2007-01-31 20:51:16 PST
http://trac.webkit.org/projects/webkit/changeset/19322