diff --git a/LayoutTests/fast/editing/frame-selection-in-child-view-crash-expected.txt b/LayoutTests/fast/editing/frame-selection-in-child-view-crash-expected.txt new file mode 100644 index 000000000000..71c4f8559439 --- /dev/null +++ b/LayoutTests/fast/editing/frame-selection-in-child-view-crash-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash diff --git a/LayoutTests/fast/editing/frame-selection-in-child-view-crash.html b/LayoutTests/fast/editing/frame-selection-in-child-view-crash.html new file mode 100644 index 000000000000..9cae2eb8f7d0 --- /dev/null +++ b/LayoutTests/fast/editing/frame-selection-in-child-view-crash.html @@ -0,0 +1,19 @@ + + + +
+ + \ No newline at end of file diff --git a/Source/WebCore/platform/ScrollView.cpp b/Source/WebCore/platform/ScrollView.cpp index c05427f136f4..5e5ded386dc8 100644 --- a/Source/WebCore/platform/ScrollView.cpp +++ b/Source/WebCore/platform/ScrollView.cpp @@ -711,7 +711,7 @@ void ScrollView::updateScrollbars(const ScrollPosition& desiredPosition) } } - const unsigned cMaxUpdateScrollbarsPass = 2; + const unsigned cMaxUpdateScrollbarsPass = 3; if ((sendContentResizedNotification || needAnotherPass) && m_updateScrollbarsPass < cMaxUpdateScrollbarsPass) { m_updateScrollbarsPass++; availableContentSizeChanged(AvailableSizeChangeReason::ScrollbarsChanged); diff --git a/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm b/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm index ac128fab4f46..055147ee4db2 100644 --- a/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm +++ b/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm @@ -499,7 +499,7 @@ static void changeCSSPropertyOfElements(RetainPtr