<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>7267</bug_id>
          
          <creation_ts>2006-02-14 23:41:01 -0800</creation_ts>
          <short_desc>REGRESSION: Web Archive format not saving JavaScript/CSS files to .webarchive file</short_desc>
          <delta_ts>2006-02-18 20:10:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32560</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-14 23:41:01 -0800</bug_when>
    <thetext>Summary:

Saving a .webarchive file from Safari+WebKit ToT does not save JavaScript and CSS files referenced by the web page.

Steps to reproduce:

1. Open Safari+WebKit.  (I used a locally-built r12813 from anonsvn.opensource.apple.com.)
2. Open a web page with JavaScript and/or CSS resources.  I use:  http://tv.yahoo.com/grid/  (You may need to enter a zip code and a cable/satellite provider.)
3. Save the web page as a &quot;Web Archive&quot; named tot.webarchive.
4. Open the same page in Step 2 in a production release of Safari (v2.0.3 (417.8) on 10.4.5 tested).
5. Save the web page as a &quot;Web Archive&quot; again with a different name like prod.webarchive.
6. Open the prod.webarchive and tot.webarchive in the Property List Editor.
7. Open Root-&gt;WebSubresources from each file.
8. Compare them with the JS and CSS files referenced at the top of the file in Step 4.

Expected results:

The two web archives should have the same resources.  (Exclude resources saved from banner ads!)

Actual results:

The tot.webarchive will be missing some JS and CSS files that the prod.webarchive file has.  (Exclude resources saved from banner ads!)

Notes:

This bug was originally described in Bug 7266, but was broken out into its own bug since it was a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33335</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-02-18 20:10:26 -0800</bug_when>
    <thetext>I can&apos;t reproduce this now using nightlies cvs-2005-10-01-03-27-01-GMT, r12142, r12751, or r12884.

Closing and marking as RESOLVED/WORKSFORME.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>