Closed Bug 699541 Opened 14 years ago Closed 14 years ago

Pasted HTML shows twice in Orion

Categories

(DevTools :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 10

People

(Reporter: msucan, Assigned: msucan)

Details

(Whiteboard: [sourceeditor][orion][fixed-in-fx-team])

Attachments

(1 file)

(cross-post from https://bugs.eclipse.org/bugs/show_bug.cgi?id=362835 ) STR: 1. Open Scratchpad. 2. Select some HTML from any tab and Paste into Scratchpad. 3. Notice how the pasted text shows twice. If you use Edit > Paste you also get: Error: An error occurred executing the cmd_paste command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIController.doCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 96" data: no] Source File: chrome://global/content/globalOverlay.js Line: 100 (in the Error Console)
Attached patch proposed fixSplinter Review
This is the proposed fix and a test. I provided detailed description of the fix upstream. Please see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=362835#c0 Please let me know if anything needs to change. Thank you!
Attachment #571751 - Flags: review?(rcampbell)
Forgot to mention I also pushed the patch to the try server: https://tbpl.mozilla.org/?tree=Try&rev=11995cd8f63f
Attachment #571751 - Flags: review?(rcampbell) → review+
Whiteboard: [land-in-fx-team]
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
This fix has also landed upstream.
Whiteboard: [fixed-in-fx-team] → [sourceeditor][orion][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 10
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: