Closed
Bug 16523
Opened 26 years ago
Closed 26 years ago
[blocker]nsTextEditRules::DidDoAction returns NS_ERROR_FAILURE for actions not performed by rules system
Categories
(Core :: DOM: Editor, defect, P1)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: cmanske, Assigned: mozeditor)
References
Details
Because nsTextEditRules::DidDoAction returns NS_ERROR_FAILURE for cases not
included in the transaction switch (info->action) block,
actions such as nsHTMLEditor::InsertList() and nsHTMLEditor::InsertElement() and
nsHTMLEditor::InsertElement() return failure, which really isn't true.
The default return value should be NS_OK.
Joe: If the issue is simply changing the default return type, I'll be happy
to make this change. This bug is causing lots of UI actions to appear to fail.
| Assignee | ||
Comment 5•26 years ago
|
||
accepting/m11
Updated•26 years ago
|
Severity: normal → blocker
Priority: P3 → P1
| Reporter | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•26 years ago
|
||
I fixed this last week and forgot to clear the bug
Verification is that you can insert objects like hlines, links, etc.
and not see a JavaScript exception error in the debug output window.
You need to log in
before you can comment on or make changes to this bug.
Description
•