Closed Bug 729068 Opened 12 years ago Closed 12 years ago

Port |Bug 668316 - canDrop is not implemented for about:sessionrestore's treeView| to Seamonkey

Categories

(SeaMonkey :: Session Restore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: misak.bugzilla, Assigned: misak.bugzilla)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
From parent bug:

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.
Attachment #599090 - Flags: review?(neil)
Attachment #599090 - Flags: review?(neil) → review+
http://hg.mozilla.org/comm-central/rev/ef4fd8184741
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: