Bug 11961 - REGRESSION: Loading a webarchive file changes URL to applewebdata://
Summary: REGRESSION: Loading a webarchive file changes URL to applewebdata://
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-12-24 14:50 PST by David Kilzer (:ddkilzer)
Modified: 2007-01-31 20:51 PST (History)
2 users (show)

See Also:


Attachments
Test webarchive of this bug (33.89 KB, application/x-webarchive)
2006-12-24 14:52 PST, David Kilzer (:ddkilzer)
no flags Details

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