Changeset 168228 in webkit
- Timestamp:
- May 3, 2014 1:32:31 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r168227 r168228 1 2014-05-03 Simon Fraser <simon.fraser@apple.com> 2 3 [UI-side compositing] Assertion in PlatformCAFilters::setFiltersOnLayer with animated reference filter 4 https://bugs.webkit.org/show_bug.cgi?id=132528 5 <rdar://problem/16671660> 6 7 Reviewed by Tim Horton. 8 9 Make the animation duration a little longer to cause bug 132528 to reproduce more 10 reliably. The test does notifyDone() from an animation start event, so this doesn't 11 increase test duration. 12 13 * css3/filters/crash-filter-animation-invalid-url.html: 14 1 15 2014-05-03 Simon Fraser <simon.fraser@apple.com> 2 16 -
trunk/LayoutTests/css3/filters/crash-filter-animation-invalid-url.html
r162643 r168228 4 4 a { 5 5 -webkit-animation-name: n; 6 -webkit-animation-duration: .01s;6 -webkit-animation-duration: 50ms; 7 7 } 8 8 @-webkit-keyframes n { -
trunk/Source/WebKit2/ChangeLog
r168213 r168228 1 2014-05-03 Simon Fraser <simon.fraser@apple.com> 2 3 [UI-side compositing] Assertion in PlatformCAFilters::setFiltersOnLayer with animated reference filter 4 https://bugs.webkit.org/show_bug.cgi?id=132528 5 <rdar://problem/16671660> 6 7 Reviewed by Tim Horton. 8 9 Allow PASSTHROUGH filters to be encoded and sent to the UI process; they can be set 10 on layers as the result of a filter animation using a reference filter, and just get 11 ignored anyway, but encoding them maintains consistency of the filters list. 12 13 * Shared/WebCoreArgumentCoders.cpp: 14 (IPC::ArgumentCoder<FilterOperation>::encode): Assert during encoding if 15 we try to encode a NONE or REFERENCE filter (to match the decoding assertions). 16 (IPC::decodeFilterOperation): Allow decoding of PASSTHROUGH filters. Have 17 trying to decode a NONE or REFERENCE filter mark the message as invalid. 18 (IPC::ArgumentCoder<IDBKeyData>::decode): Mark the message invalid when receiving 19 unexpected key types. 20 * Shared/mac/RemoteLayerTreeTransaction.mm: 21 (WebKit::RemoteLayerTreeTextStream::operator<<): Have the logging not crash if 22 a filter is null (should never happen). 23 1 24 2014-05-02 Dan Bernstein <mitz@apple.com> 2 25 -
trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp
r167360 r168228 1562 1562 1563 1563 switch (filter.type()) { 1564 case FilterOperation::REFERENCE: { 1564 case FilterOperation::NONE: 1565 case FilterOperation::REFERENCE: 1565 1566 ASSERT_NOT_REACHED(); 1566 1567 break; 1567 }1568 1568 case FilterOperation::GRAYSCALE: 1569 1569 case FilterOperation::SEPIA: … … 1592 1592 break; 1593 1593 case FilterOperation::PASSTHROUGH: 1594 case FilterOperation::NONE:1595 1594 break; 1596 1595 } … … 1604 1603 1605 1604 switch (type) { 1606 case FilterOperation::PASSTHROUGH:1607 1605 case FilterOperation::NONE: 1608 1606 case FilterOperation::REFERENCE: 1609 1607 ASSERT_NOT_REACHED(); 1610 break; 1608 decoder.markInvalid(); 1609 return false; 1611 1610 case FilterOperation::GRAYSCALE: 1612 1611 case FilterOperation::SEPIA: … … 1656 1655 break; 1657 1656 } 1657 case FilterOperation::PASSTHROUGH: 1658 filter = PassthroughFilterOperation::create(); 1659 break; 1658 1660 } 1659 1661 … … 1836 1838 // They should never be sent across the wire. 1837 1839 ASSERT_NOT_REACHED(); 1840 decoder.markInvalid(); 1838 1841 return false; 1839 1842 } -
trunk/Source/WebKit2/Shared/mac/RemoteLayerTreeTransaction.mm
r167749 r168228 647 647 for (size_t i = 0; i < filters.size(); ++i) { 648 648 const auto filter = filters.at(i); 649 ts << *filter; 649 if (filter) 650 ts << *filter; 651 else 652 ts << "(null)"; 650 653 if (i < filters.size() - 1) 651 654 ts << " ";
Note: See TracChangeset
for help on using the changeset viewer.