Closed
Bug 354140
Opened 17 years ago
Closed 17 years ago
In <bookmarksMenu.js>, "Error: aDragSession.sourceNode has no properties"
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey1.1beta
People
(Reporter: sgautherie, Assigned: csthomas)
References
Details
(Keywords: fixed-seamonkey1.1b, regression, Whiteboard: [verified-seamonkey1.1b])
Attachments
(1 file, 1 obsolete file)
1.16 KB,
patch
|
neil
:
review+
iannbugzilla
:
approval-seamonkey1.1b+
|
Details | Diff | Splinter Review |
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1) Gecko/20060919 SeaMonkey/1.1b] (nightly) (W98SE) When hovering a file (from Windows Explorer) over the top menu/bars... [ Error: aDragSession.sourceNode has no properties Source File: chrome://communicator/content/bookmarks/bookmarksMenu.js Line: 480 ] Code is [ canDrop: function (aEvent, aDragSession) { var target = aEvent.target; if (aDragSession) { // this function gets its API abused by onDragStart var orientation = BookmarksMenu.getBTOrientation(aEvent, target); if (target == aDragSession.sourceNode || (target == aDragSession.sourceNode.previousSibling && // Line: 480 orientation == BookmarksUtils.DROP_AFTER) || (target == aDragSession.sourceNode.nextSibling && orientation == BookmarksUtils.DROP_BEFORE)) return false; } ] I seems the |if| should start with a [ aDragSession.sourceNode ] test, similar to the [ if (this.isTimerSupported || !aDragSession.sourceNode) { ] which are elsewhere. [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1) Gecko/2006091703 BonEcho/2.0] (nightly) (W98SE) (Does not have this bug.)
Assignee | ||
Comment 1•17 years ago
|
||
Serge, have you considered setting up your own build environment? Your analyses of my recent regressions (oops ;)) have been pretty good, and it would be great to have another SeaMonkey developer. I'll try to take care of this today.
Assignee: nobody → cst
OS: Windows 98 → All
Target Milestone: --- → seamonkey1.1beta
Reporter | ||
Comment 2•17 years ago
|
||
(In reply to comment #1) > Serge, have you considered setting up your own build environment? Your Build: yes, but I have yet(!) to upgrade my home computer+OS to something much more recent. (That should happen, eventually.) NB: As in I'd like to be able to use Trunk builds again, someday ;-> > analyses of my recent regressions (oops ;)) have been pretty good, and it would > be great to have another SeaMonkey developer. (Filing/etc bugs is the "only" part in which I am still "active" for the time being.) > I'll try to take care of this today. (This (JS) one I could have done, but I preferred to let you know...)
Assignee | ||
Comment 3•17 years ago
|
||
Not requesting SR only because I don't think I need it. Please superreview as well if you think it's required. If it's r+, please also grant a= since I broke branch too :)
Attachment #240084 -
Flags: review?(neil)
Comment 4•17 years ago
|
||
Comment on attachment 240084 [details] [diff] [review] patch > if (aDragSession) { // this function gets its API abused by onDragStart > var orientation = BookmarksMenu.getBTOrientation(aEvent, target); >- if (target == aDragSession.sourceNode || >+ if (aDragSession.sourceNode && (target == aDragSession.sourceNode || There's no point computing the orientation if we have no source node...
Attachment #240084 -
Flags: review?(neil) → review-
Assignee | ||
Comment 5•17 years ago
|
||
Attachment #240084 -
Attachment is obsolete: true
Attachment #240783 -
Flags: review?(neil)
Comment 6•17 years ago
|
||
Comment on attachment 240783 [details] [diff] [review] patch v2 r+sr=me
Attachment #240783 -
Flags: review?(neil) → review+
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 240783 [details] [diff] [review] patch v2 Regression fix.
Attachment #240783 -
Flags: approval-seamonkey1.1b?
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attachment #240783 -
Flags: approval-seamonkey1.1b? → approval-seamonkey1.1b+
Assignee | ||
Updated•17 years ago
|
Keywords: fixed-seamonkey1.1b
Reporter | ||
Comment 8•17 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1) Gecko/20061002 SeaMonkey/1.1b] (nightly) (W98SE) V.Fixed on MOZILLA_1_8_BRANCH.
Hardware: PC → All
Whiteboard: [verified-seamonkey1.1b]
You need to log in
before you can comment on or make changes to this bug.
Description
•