Closed Bug 51417 Opened 25 years ago Closed 25 years ago

when an empty clipboard is read from an uncaught exception occurs.

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: adrianm2, Assigned: pavlov)

Details

(Whiteboard: [nsbeta3+])

Overview Description: In linux the clipboard is not checked for an empty(null?) pointer, when one is used to paste an error occurs. Steps to Reproduce: 1) reboot linux. 2) Don't highlight anything with the mouse. 3) start mozilla, and wait for a window to show up. 4) press the middle button. Actual Results: The following appers on the term: ->>>>>>>>>>>>>> Read Clipboard from memory JavaScript error: line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getTransferData]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/navigator.js :: readFromClipboard :: line 1202" data: no] Expected Results: Nothing should happen. Reproducibility: 100% Build Date & Platform Bug Found: Mozilla/5.0 (X11; U; Linux 2.2.12-20 i586; en-US; m18) Gecko/20000905 Additional Builds and Platforms Tested On: none
is this an editor/selection issue?
Assignee: don → beppe
Component: XP Apps → Editor
QA Contact: sairuh → sujay
no, this belongs to trudelle
Assignee: beppe → trudelle
Component: Editor → XP Toolkit/Widgets
QA Contact: sujay → jrgm
Really Pavlov -- cc'ing.
->pavlov. How bad is this in the release builds, equivalent to a crash?
Assignee: trudelle → pavlov
nsbeta3+, since this should be easier to fix than to determine whether it kills paste for the session. should future otherwise.
Keywords: nsbeta3
Whiteboard: [nsbeta3+]
Target Milestone: --- → M18
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
checked in fix
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.