Changeset 208102 in webkit
- Timestamp:
- Oct 29, 2016 6:46:52 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r208101 r208102 1 2016-10-29 Youenn Fablet <youenn@apple.com> 2 3 REGRESSION (r207754): LayoutTest http/tests/security/svg-image-with-css-cross-domain.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=163922 5 6 Reviewed by Alex Christensen. 7 8 * http/tests/security/cached-svg-image-with-css-cross-domain-expected.html: Added. 9 * http/tests/security/cached-svg-image-with-css-cross-domain.html: Added. 10 * platform/mac/TestExpectations: 11 1 12 2016-10-29 Youenn Fablet <youenn@apple.com> 2 13 -
trunk/LayoutTests/platform/mac/TestExpectations
r208042 r208102 1457 1457 webkit.org/b/163307 [ Debug ] loader/stateobjects/replacestate-size.html [ Skip ] 1458 1458 1459 webkit.org/b/163922 http/tests/security/svg-image-with-css-cross-domain.html [ Pass ImageOnlyFailure ]1460 1461 1459 webkit.org/b/164088 [ Yosemite ] media/modern-media-controls/scrubber-support/scrubber-support-click.html [ Skip ] 1462 1460 webkit.org/b/164088 [ Yosemite ] media/modern-media-controls/scrubber-support/scrubber-support-drag.html [ Skip ] -
trunk/Source/WebCore/ChangeLog
r208101 r208102 1 2016-10-29 Youenn Fablet <youenn@apple.com> 2 3 REGRESSION (r207754): LayoutTest http/tests/security/svg-image-with-css-cross-domain.html is a flaky failure 4 https://bugs.webkit.org/show_bug.cgi?id=163922 5 6 Reviewed by Alex Christensen. 7 8 Test: http/tests/security/cached-svg-image-with-css-cross-domain.html 9 10 Raw data was not copied in cloned CachedCSSStyleSheet while it is used by some of its clients. 11 Updated CachedCSSStyleSheet and CachedImage cloning to copy its raw data. 12 13 * loader/cache/CachedCSSStyleSheet.cpp: 14 (WebCore::CachedCSSStyleSheet::setBodyDataFrom): 15 * loader/cache/CachedImage.cpp: 16 (WebCore::CachedImage::setBodyDataFrom): 17 * loader/cache/CachedResource.h: 18 (WebCore::CachedResource::mayTryReplaceEncodedData): 19 1 20 2016-10-29 Youenn Fablet <youenn@apple.com> 2 21 -
trunk/Source/WebCore/loader/cache/CachedCSSStyleSheet.cpp
r207967 r208102 92 92 ASSERT(resource.type() == type()); 93 93 const CachedCSSStyleSheet& sheet = static_cast<const CachedCSSStyleSheet&>(resource); 94 95 CachedResource::setBodyDataFrom(resource); 94 96 95 97 m_decoder = sheet.m_decoder; -
trunk/Source/WebCore/loader/cache/CachedImage.cpp
r206995 r208102 97 97 const CachedImage& image = static_cast<const CachedImage&>(resource); 98 98 99 CachedResource::setBodyDataFrom(resource); 100 99 101 m_image = image.m_image; 100 102 -
trunk/Source/WebCore/loader/cache/CachedResource.h
r207817 r208102 283 283 virtual void didReplaceSharedBufferContents() { } 284 284 285 virtual void setBodyDataFrom(const CachedResource&); 286 285 287 // FIXME: Make the rest of these data members private and use functions in derived classes instead. 286 288 HashCountedSet<CachedResourceClient*> m_clients; … … 302 304 virtual void checkNotify(); 303 305 virtual bool mayTryReplaceEncodedData() const { return false; } 304 virtual void setBodyDataFrom(const CachedResource&);305 306 306 307 std::chrono::microseconds freshnessLifetime(const ResourceResponse&) const;
Note: See TracChangeset
for help on using the changeset viewer.