[Bug 7684] New: ApplicationCache object can be empty but not an application cache

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7684

           Summary: ApplicationCache object can be empty but not an
                    application cache
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/Overview.html#appcache
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: nikunj.mehta@oracle.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Overview:
By definition an application cache has to have at least one resource. However,
when an ApplicationCache object is fetched it could be empty, i.e., not have
any resources.

Steps to reproduce:

1. Create an HTML document without a manifest="" attribute
2. In an onload script, get the value of window.applicationCache 

Actual results:

1. an ApplicationCache object with no items

The spec text containing definition of application cache should be changed to
allow empty application cache.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 21 September 2009 17:00:47 UTC