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.
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).
(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.
<rdar://problems/4930678>
See also Bug 12372.
(In reply to comment #3) > <rdar://problems/4930678> Apparently this is a duplicate of: <rdar://problem/4886776> Probably fixed in r19322.
This has been fixed as of WebKit r19322.
http://trac.webkit.org/projects/webkit/changeset/19322