Closed Bug 766413 Opened 13 years ago Closed 13 years ago

Crash with contentReadOnly, forwardDelete

Categories

(Core :: DOM: Editor, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: jruderman, Assigned: ayg)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files)

Messy testcase. I guess some state is not visible to serializeDOMAsScript :/
Attached file stack trace (deleted) —
Crash Signature: [@ nsEditor::CreateTxnForDeleteInsertionPoint ]
Aryeh, can you please take a look?
Assignee: nobody → ayg
Status: NEW → ASSIGNED
This was bug 762183 part 4. It added a while loop to change selectedNode's value, but didn't account for the fact that it might set it to null. Just need a null check here.
Blocks: 762183
Crash Signature: [@ nsEditor::CreateTxnForDeleteInsertionPoint ] → [@ nsEditor::CreateTxnForDeleteInsertionPoint ] [@ nsEditor::CreateTxnForDeleteInsertionPoint(nsRange*, short, EditAggregateTxn*, nsINode**, int*, int*) ]
OS: Mac OS X → All
Hardware: x86_64 → All
Attachment #634809 - Flags: review?(ehsan) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: