[Webkit-unassigned] [Bug 47035] New: Application cache selection algorithm should only invoked after navigation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 1 17:57:08 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47035

           Summary: Application cache selection algorithm should only
                    invoked after navigation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


We don't implement this part of HTML5:

------------------
A start tag whose tag name is "html"
Create an element for the token in the HTML namespace. Append it to the Document object. Put this element in the stack of open elements.

If the Document is being loaded as part of navigation of a browsing context, then: if the newly created element has a manifest attribute whose value is not the empty string, then resolve the value of that attribute to an absolute URL, relative to the newly created element, and if that is successful, run the application cache selection algorithm with the resulting absolute URL with any <fragment> component removed; otherwise, if there is no such attribute, or its value is the empty string, or resolving its value fails, run the application cache selection algorithm with no manifest. The algorithm must be passed the Document object.
------------------

Instead, we always run the application cache selection algorithm, even if not loaded as part of navigation of a browsing context. That causes assertion failures and generally incorrect behavior.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list