All users were logged out of Bugzilla on October 13th, 2018

nsPlainTextEditor::Cut returns NS_ERROR_NOT_AVAILABLE where there is no selection

RESOLVED FIXED in mozilla1.3alpha

Status

()

RESOLVED FIXED
16 years ago
16 years ago

People

(Reporter: mkaply, Assigned: Brade)

Tracking

Trunk
mozilla1.3alpha
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: midas)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
Currently nsPlainTextEditor::Cut  returns NS_ERROR_NOT_AVAILABLE where there is
no selection.

This seems awfully heavy handed for this error. 

The correct implementation is probably not to do anything and just return NS_OK.

This allows javascript that calls this not to fail miserably.
(Assignee)

Comment 1

16 years ago
kin--I'm taking this bug; grab it back if you really want to fix it.
Assignee: kin → brade
Whiteboard: midas
Target Milestone: --- → mozilla1.3alpha
(Assignee)

Comment 2

16 years ago
Created attachment 106103 [details] [diff] [review]
return NS_OK
(Assignee)

Updated

16 years ago
Attachment #106103 - Flags: superreview?(kin)
Attachment #106103 - Flags: review?(akkana)

Comment 3

16 years ago
Comment on attachment 106103 [details] [diff] [review]
return NS_OK

r=akkana
Attachment #106103 - Flags: review?(akkana) → review+

Comment 4

16 years ago
Comment on attachment 106103 [details] [diff] [review]
return NS_OK

sr=kin@netscape.com
Attachment #106103 - Flags: superreview?(kin) → superreview+
(Assignee)

Comment 5

16 years ago
fix checked in last week
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.