The default bug view has changed. See this FAQ.

canDrop is not implemented for about:sessionrestore's treeView

RESOLVED FIXED in Firefox 8

Status

()

Firefox
Session Restore
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: int3, Assigned: int3)

Tracking

Trunk
Firefox 8
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.02 KB, patch
zpao
: review+
Details | Diff | Splinter Review
(Assignee)

Description

6 years ago
Created attachment 542909 [details]
Patch v1

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

1. Run a debug build and crash it a few times to bring up the about:sessionrestore page. (Opening the page directly is not sufficient; the treeView must be populated)
2. Open a new window
3. Drag the tab from the other window over the treeView


Actual results:

We get

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'JavaScript component does not have a method named: "canDrop"' when calling method: [nsITreeView::canDrop]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"  data: no]
************************************************************

printed to stderr.


Expected results:

We should not get these errors. This patch fixes it.
(Assignee)

Comment 1

6 years ago
Created attachment 542910 [details] [diff] [review]
Patch v1

Fixed the content type.
Attachment #542909 - Attachment is obsolete: true
Attachment #542910 - Flags: review+
http://hg.mozilla.org/integration/fx-team/rev/d48d5cad9cc4
Assignee: nobody → jezreel
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: [fixed-in-fx-team]
http://hg.mozilla.org/mozilla-central/rev/d48d5cad9cc4
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 8

Updated

5 years ago
Blocks: 729068
You need to log in before you can comment on or make changes to this bug.