[Webkit-unassigned] [Bug 55354] New: Assert that 0 <= offset <= lastOffsetInNode in Position's constructor, moveToPosition, and moveToOffset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 28 00:05:52 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=55354
Summary: Assert that 0 <= offset <= lastOffsetInNode in
Position's constructor, moveToPosition, and
moveToOffset
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: eric at webkit.org, darin at apple.com, leviw at chromium.org
Depends on: 51389
Blocks: 52098
Right now, we have both legacy editing positions and new positions. To make sure new types of positions aren't using legacy offsets (below 0 or above the maximum offset), we should assert the offset is between 0 and the last offset in the container node in Position::Position, Position::moveToOffset, and Position::moveToPosition.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list