⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 175965 in webkit


Ignore:
Timestamp:
Nov 11, 2014, 11:38:37 AM (12 years ago)
Author:
dbates@webkit.org
Message:

[Frame Flattening] ASSERT(transaction->view == &view()) fails in RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction()
https://bugs.webkit.org/show_bug.cgi?id=138615
<rdar://problem/18928487>

Reviewed by David Hyatt.

Source/WebCore:

Fixes an issue where we always expected that the RenderView associated with the RenderBlock called in
RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction() is the same as the RenderView associated with
the top transaction in the UpdateScrollInfoAfterLayoutTransaction stack regardless of frame flattening. This
expectation is only true when frame flattening is disabled.

Test: fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction):

LayoutTests:

Add a test that causes an assertion failure in affected builds.

  • fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update-expected.txt: Added.
  • fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r175931 r175965  
     12014-11-11  Daniel Bates  <dabates@apple.com>
     2
     3        [Frame Flattening] ASSERT(transaction->view == &view()) fails in RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction()
     4        https://bugs.webkit.org/show_bug.cgi?id=138615
     5        <rdar://problem/18928487>
     6
     7        Reviewed by David Hyatt.
     8
     9        Add a test that causes an assertion failure in affected builds.
     10
     11        * fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update-expected.txt: Added.
     12        * fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update.html: Added.
     13
    1142014-11-11  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
    215
  • trunk/Source/WebCore/ChangeLog

    r175964 r175965  
     12014-11-11  Daniel Bates  <dabates@apple.com>
     2
     3        [Frame Flattening] ASSERT(transaction->view == &view()) fails in RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction()
     4        https://bugs.webkit.org/show_bug.cgi?id=138615
     5        <rdar://problem/18928487>
     6
     7        Reviewed by David Hyatt.
     8
     9        Fixes an issue where we always expected that the RenderView associated with the RenderBlock called in
     10        RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction() is the same as the RenderView associated with
     11        the top transaction in the UpdateScrollInfoAfterLayoutTransaction stack regardless of frame flattening. This
     12        expectation is only true when frame flattening is disabled.
     13
     14        Test: fast/frames/flattening/iframe-flattening-inside-flexbox-with-delayed-scroll-update.html
     15
     16        * rendering/RenderBlock.cpp:
     17        (WebCore::RenderBlock::removeFromUpdateScrollInfoAfterLayoutTransaction):
     18
    1192014-11-11  Tim Horton  <timothy_horton@apple.com>
    220
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r175640 r175965  
    897897        UpdateScrollInfoAfterLayoutTransaction* transaction = currentUpdateScrollInfoAfterLayoutTransaction();
    898898        ASSERT(transaction);
    899         ASSERT(transaction->view == &view());
    900         transaction->blocks.remove(this);
     899        if (transaction->view == &view())
     900            transaction->blocks.remove(this);
    901901    }
    902902}
Note: See TracChangeset for help on using the changeset viewer.