Bug 246132 - [Live Range Selection] Debug assertion failure in FrameSelection::setSelectionWithoutUpdatingAppearance
Summary: [Live Range Selection] Debug assertion failure in FrameSelection::setSelectio...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks: 216325
  Show dependency treegraph
 
Reported: 2022-10-05 20:00 PDT by Ryosuke Niwa
Modified: 2022-11-23 01:52 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2022-10-05 20:00:32 PDT
When live range selection is enabled, we hit the following assertion in 5 editing tests:

SHOULD NEVER BE REACHED
editing/FrameSelection.cpp(374) : bool WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance(const WebCore::VisibleSelection &, OptionSet<WebCore::FrameSelection::SetSelectionOption>, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity)
1   0x7b4271bf9 WTFCrash
2   0x7c98ba52b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x7cd1c7f31 WebCore::FrameSelection::setSelectionWithoutUpdatingAppearance(WebCore::VisibleSelection const&, WTF::OptionSet<WebCore::FrameSelection::SetSelectionOption>, WebCore::FrameSelection::CursorAlignOnScroll, WebCore::TextGranularity)
Comment 1 Ryosuke Niwa 2022-10-05 20:07:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5066
Comment 2 Radar WebKit Bug Importer 2022-10-05 20:08:55 PDT
<rdar://problem/100835162>
Comment 3 EWS 2022-10-06 10:16:45 PDT
Committed 255226@main (96703ac122d0): <https://commits.webkit.org/255226@main>

Reviewed commits have been landed. Closing PR #5066 and removing active labels.