Summary: | webarchive does not load related resources when not connected to Internet | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gennady <genkush> | ||||
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | ddkilzer | ||||
Priority: | P2 | ||||||
Version: | 523.x (Safari 3) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Gennady
2007-07-15 02:33:35 PDT
Do you have a specific page (URL) that doesn't work? You're probably hitting one of these bugs, but I'd like to make sure it's not something else: Bug 11839 Webarchive fails to save CSS files in @import statements Bug 11850 Webarchive fails to save images referenced in CSS Bug 12025 WebArchive fails to save background images in <tr> tags I believe it shourd work on any page. There are only two requirements to reproduce: - computer is not connected to Internet at the moment - you did not recently visit these pages on that computer For a confirmed example I have several webarchives from MySQL references manual. (I'll attach one) when I try loading any of them only the main HTML renders. All related resources show up in Activity window as unvailable. What is interesting: webinspector shows all these resources as loaded, but in "Other" section - colored grey. Cases you mentioned hit on some specific issues (some items do not save) whereas I observe a general fault that NOTHING loads (when internet is disconnected). However maybe some of mentioned bugs may be treated as a part of this one. Created attachment 15524 [details]
Example webarchive that does not work
Confirmed with a local debug build of WebKit r24295 with Safari 3.0 (522.12) on Mac OS X 10.4.10 (8R218). This is actually a duplicate of Bug 12605. The very first time the webarchive is opened, the offline resources will load properly (sometimes) with no network. Any subsequent reloads (with no network) will fail. * STEPS TO REPRODUCE 1. Disconnect all network connections. 2. Launch Safari/WebKit. 3. Empty the cache using Cmd-Opt-E and click "OK". 4. Open the webarchive. 5. If the page looks like it loaded properly, hit reload. 6. Open the Activity window to view the resources loaded. * EXPECTED RESULTS The following resources should be loaded offline: http://dev.mysql.com/common/css/print.css http://dev.mysql.com/common/css/screen.css http://dev.mysql.com/common/img/nswpat80x15.gif http://dev.mysql.com/common/logos/mysql_100x52-64.gif * ACTUAL RESULTS The above resources are not loaded--only the main HTML page is loaded. *** This bug has been marked as a duplicate of 12605 *** (In reply to comment #3) > Created an attachment (id=15524) [edit] > Example weberchive that does not work Note that this webarchive suffers from missing resources due to both Bug 11839 and Bug 11850, but the resources that are there should load offline. |