Closed Bug 5979 Opened 26 years ago Closed 26 years ago

unit test reveals error

Categories

(Core :: DOM: Editor, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: mozeditor)

Details

nsHTMLEditRules::DidDoAction returns an error during InsertBreak. I suggest something like this: NS_IMETHODIMP nsHTMLEditRules::DidDoAction(nsIDOMSelection *aSelection, nsRulesInfo *aInfo, nsresult aResult) { !> nsTextRulesInfo *info = NS_STATIC_CAST(nsTextRulesInfo*, aInfo); !> if (!info) {return NS_OK;} !> !> switch (info->action) !> { !> case kInsertBreak: !> return NS_OK; !> default: return nsTextEditRules::DidDoAction(aSelection, aInfo, aResult); } !> }
Status: NEW → ASSIGNED
Target Milestone: M6
setting milestone to M6 - will check in fix once tree opens
Target Milestone: M6 → M7
moving non-crashers to M7
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
fixed.
Steve, can you verify this works now and mark this bug VERIFIED-FIXED? thanks!
Status: RESOLVED → VERIFIED
URL: any
You need to log in before you can comment on or make changes to this bug.