Bug 149982

Summary: Check if start and end positions are still valid after updating them through VisibleSelection.
Product: WebKit Reporter: zalan <zalan>
Component: DOMAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 138167    
Attachments:
Description Flags
Patch none

Description zalan 2015-10-09 18:54:54 PDT
They could end up being nullptr.
Comment 1 zalan 2015-10-09 18:57:02 PDT
LayoutTests/editing/execCommand/crash-137961.html crashes when https://bug-138167-attachments.webkit.org/attachment.cgi?id=262749 applied. 
see the stacktrace here: https://bugs.webkit.org/attachment.cgi?id=262728
Comment 2 zalan 2015-10-09 19:03:31 PDT
Created attachment 262811 [details]
Patch
Comment 3 WebKit Commit Bot 2015-10-09 19:54:26 PDT
Comment on attachment 262811 [details]
Patch

Clearing flags on attachment: 262811

Committed r190835: <http://trac.webkit.org/changeset/190835>
Comment 4 WebKit Commit Bot 2015-10-09 19:54:30 PDT
All reviewed patches have been landed.  Closing bug.