Created attachment 259185 [details] nightly.webkit.org Web Archive Cannot view the source of the page from a web archive. Web Inspector shows an animated loading indicator and never renders the source of the page. Ensure the Develop menu is enabled. Perform the following: 1. Open the attached archive in Safari. 2. Choose Develop > Show Page Source. Then the page source is never shown in the opened Web Inspector window. Instead an animated loading indicator is shown. I am using Safari Version 8.0.8 (10600.8.9, r188521) on OS 10.10.5 (14F27). Once you become familiar with this issue then you will find that you can reproduce it with an arbitrary web archive.
<rdar://problem/22314078>
Created attachment 259187 [details] Screen recording Screen recording that demonstrates the issue.
It looks like we are not properly detecting the main frame resource, or it's not being sent, or something. Will investigate a bit.
The spinning is gone after landing an unrelated fix, and replaced with an error message . :| Next step is to dump protocol in order to find out what's being sent by the backend.
This has been broken forever. There is an old Radar for this I will relate and dupe when I find it. The old behavior was that we showed the binary plist data as the source. Not good all around. I attempted a fix one and it might be attached to that old Radar.
<rdar://problem/6420783>