RESOLVED FIXED 12605
Reloading a webarchive loses its CSS subresources
https://bugs.webkit.org/show_bug.cgi?id=12605
Summary Reloading a webarchive loses its CSS subresources
David Kilzer (:ddkilzer)
Reported 2007-02-04 17:42:39 PST
Summary: The first time a webarchive loads, the CSS subresources it contains are loaded. However, subsequent reloads cause WebKit to "lose" the CSS subresources. Steps to reproduce: 1. Open Safari/WebKit. 2. Open test case attachment. 3. Hit Cmd-R or the Reload button. Expected results: After Step 3, the text in the test case should still be colored correctly (as it is the first time the webarchive is loaded). Actual results: After Step 3, the text in the test case is no longer colored. Regression: This is not a regression as loading a webarchive with CSS resources on shipping Safari on Tiger doesn't display the text at all. Notes: Test case taken from test for bug 11839.
Attachments
Test case (3.58 KB, application/x-webarchive)
2007-02-04 17:43 PST, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2007-02-04 17:43:18 PST
Created attachment 12924 [details] Test case Test case for Comment #0.
David Kilzer (:ddkilzer)
Comment 2 2007-02-04 17:44:37 PST
BTW, if you try to create this locally, please move/rename the CSS files after the webarchive has been created otherwise you will see false positive results (the colors will still be there after the reload, but only because WebKit is able to read them of disk instead).
David Kilzer (:ddkilzer)
Comment 3 2007-04-04 14:34:56 PDT
Still occurs with a local debug build of WebKit r20699 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
David Kilzer (:ddkilzer)
Comment 4 2007-07-15 15:10:14 PDT
*** Bug 14625 has been marked as a duplicate of this bug. ***
David Kilzer (:ddkilzer)
Comment 5 2007-07-15 15:12:15 PDT
Gennady
Comment 6 2007-07-22 10:56:48 PDT
I agree that bug 14625 is a duplicate of this one. But than this one should be named more generic as not only CSS sub-resources are lost, but also images and possibly javascript.
Brady Eidson
Comment 7 2008-02-27 15:10:26 PST
Landed a fix in r30632
Note You need to log in before you can comment on or make changes to this bug.