Changeset 63792 in webkit
- Timestamp:
- Jul 20, 2010 5:26:09 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r63791 r63792 1 2010-07-20 Gavin Peters <gavinp@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 prefetch categorization is exactly wrong 6 https://bugs.webkit.org/show_bug.cgi?id=42651 7 8 The miscategorization caused onloads to issue early, so you see x, 9 y as 0, 0 in the buggy version. 10 11 * fast/dom/HTMLLinkElement/onload-completion-test-expected.txt: Added. 12 * fast/dom/HTMLLinkElement/onload-completion-test.html: Added. 13 * fast/dom/HTMLLinkElement/resources: Added. 14 * fast/dom/HTMLLinkElement/resources/nick.jpg: Added. 15 1 16 2010-07-20 Brian Weinstein <bweinstein@apple.com> 2 17 -
trunk/WebCore/ChangeLog
r63786 r63792 1 2010-07-20 Gavin Peters <gavinp@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 prefetch categorization is exactly wrong 6 https://bugs.webkit.org/show_bug.cgi?id=42651 7 8 While I was in the area, I saw that CachedResource::schedule() was dead, so I have removed it. 9 10 Test: fast/dom/HTMLLinkElement/onload-completion-test.html 11 12 * loader/CachedCSSStyleSheet.h: 13 * loader/CachedFont.h: 14 * loader/CachedImage.h: 15 * loader/CachedResource.cpp: 16 * loader/CachedResource.h: 17 (WebCore::CachedResource::isPrefetch): 18 * loader/CachedScript.h: 19 * loader/CachedXBLDocument.h: 20 * loader/CachedXSLStyleSheet.h: 21 1 22 2010-07-16 James Hawkins <jhawkins@chromium.org> 2 23 -
trunk/WebCore/loader/CachedCSSStyleSheet.h
r52784 r63792 52 52 virtual void error(); 53 53 54 virtual bool schedule() const { return true; }55 56 54 void checkNotify(); 57 55 -
trunk/WebCore/loader/CachedFont.h
r44749 r63792 58 58 virtual void allClientsRemoved(); 59 59 60 virtual bool schedule() const { return true; }61 62 60 void checkNotify(); 63 61 -
trunk/WebCore/loader/CachedImage.h
r59576 r63792 71 71 bool httpStatusCodeErrorOccurred() const { return m_httpStatusCodeErrorOccurred; } 72 72 73 virtual bool schedule() const { return true; }74 75 73 void checkNotify(); 76 74 -
trunk/WebCore/loader/CachedResource.cpp
r63032 r63792 103 103 m_docLoader->removeCachedResource(this); 104 104 } 105 105 106 106 void CachedResource::load(DocLoader* docLoader, bool incremental, SecurityCheckPolicy securityCheck, bool sendResourceLoadCallbacks) 107 107 { -
trunk/WebCore/loader/CachedResource.h
r63032 r63792 126 126 127 127 virtual bool isImage() const { return false; } 128 bool isPrefetch() const 129 { 128 130 #if ENABLE(LINK_PREFETCH) 129 virtual bool isPrefetch() const { return type() != LinkPrefetch; }131 return type() == LinkPrefetch; 130 132 #else 131 virtual bool isPrefetch() const { return false; } 132 #endif 133 return false; 134 #endif 135 } 133 136 134 137 unsigned accessCount() const { return m_accessCount; } … … 170 173 171 174 bool isExpired() const; 172 173 virtual bool schedule() const { return isPrefetch(); }174 175 175 176 // List of acceptable MIME types separated by ",". -
trunk/WebCore/loader/CachedScript.h
r63273 r63792 49 49 virtual void error(); 50 50 51 virtual bool schedule() const { return false; }52 53 51 void checkNotify(); 54 52 -
trunk/WebCore/loader/CachedXBLDocument.h
r39556 r63792 52 52 virtual void error(); 53 53 54 virtual bool schedule() const { return true; }55 56 54 void checkNotify(); 57 55 -
trunk/WebCore/loader/CachedXSLStyleSheet.h
r44749 r63792 49 49 virtual void error(); 50 50 51 virtual bool schedule() const { return true; }52 53 51 void checkNotify(); 54 52
Note: See TracChangeset
for help on using the changeset viewer.