[Webkit-unassigned] [Bug 38995] link element for CSS stylesheet should emit load event when sheet loads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 21 12:49:22 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=38995
--- Comment #24 from Nate Chapin <japhet at chromium.org> 2012-02-21 12:49:20 PST ---
(From update of attachment 127530)
View in context: https://bugs.webkit.org/attachment.cgi?id=127530&action=review
> Source/WebCore/css/CSSStyleSheet.cpp:257
> + m_didLoadErrorOccur |= sheet->errorOccurred() || sheet->response().httpStatusCode() > 400;
I think a > 400 response should be a strict subset of errorOccurred() for style sheets (see shouldIgnoreHTTPStatusCodeErrors() in CachedResource and subclasses).
> Source/WebCore/dom/Node.h:301
> virtual bool sheetLoaded() { return true; }
> + virtual void notifyLoadedSheetAndAllCriticalSubresources(bool /* error loading subresource */) { }
> virtual void startLoadingDynamicSheet() { ASSERT_NOT_REACHED(); }
It's a shame we have to declare these functions all the way down in Node :(
--
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