[Webkit-unassigned] [Bug 13584] <script> code wrongly assumes requests can't fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 4 00:27:33 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13584





------- Comment #2 from macdome at opendarwin.org  2007-05-04 00:27 PDT -------
These seem to be the only cases in which Cache::requestResource would return 0:

    if (resource->type() != type)
        return 0;

#if USE(LOW_BANDWIDTH_DISPLAY)
    // addLowBandwidthDisplayRequest() returns true if requesting CSS or JS
during low bandwidth display.
    // Here, return 0 to not block parsing or layout.
    if (docLoader->frame() &&
docLoader->frame()->loader()->addLowBandwidthDisplayRequest(resource))
        return 0;
#endif

All others would return a resource object (or would have called ASSERT
earlier).


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



More information about the webkit-unassigned mailing list