Closed Bug 1087942 Opened 10 years ago Closed 10 years ago

Port BoxObject and its subclasses to WebIDL (Port Bug 979835 to SeaMonkey)

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(seamonkey2.33 fixed)

RESOLVED FIXED
seamonkey2.33
Tracking Status
seamonkey2.33 --- fixed

People

(Reporter: philip.chee, Assigned: philip.chee)

References

Details

Attachments

(2 files)

No description provided.
> for the toolbar.xml one you just remove the QI Fixed. > for the threadPane.js one you could use the treeBoxObject property on the tree to avoid doing the QI yourself Fixed. > I think the other two should just work anyway, since they left stubs in https://hg.mozilla.org/mozilla-central/rev/8d3304b7e0e0 For FeedWriter.js I followed what they did in Bug 979835 http://hg.mozilla.org/mozilla-central/rev/8d3304b7e0e0#l15.11 > var popupbox = this._handlersMenuList.firstChild.boxObject; > - popupbox.QueryInterface(Components.interfaces.nsIPopupBoxObject); For mailWidgets.xml I followed what they did in Bug 979835. > - this.boxObject.QueryInterface(Components.interfaces.nsIMenuBoxObject).openMenu(false); > + this.boxObject.openMenu(false);
Attachment #8510483 - Flags: review?(neil)
Attachment #8510483 - Flags: review?(neil) → review+
treeBoxObject.view is no longer an nsITreeView (tree.xml has to work around this bug) and there are a few other places (pun intended) where we depended on this. This gets the history window working for me, but obviously bookmarks has its own problems.
Attachment #8510526 - Flags: review?(philip.chee)
Comment on attachment 8510526 [details] [diff] [review] More tree box objects Opening the History window do something then close the window: Fri Oct 24 2014 23:54:39 Error: NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative Source file: chrome://communicator/content/history/treeView.js Line: 1019
(In reply to Philip Chee from comment #3) > Opening the History window do something then close the window: > > Fri Oct 24 2014 23:54:39 > Error: NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a > WrappedNative > Source file: chrome://communicator/content/history/treeView.js > Line: 1019 Unrelated. Kairo missed the change as part of bug 543444. places/treeView.js is correct.
Attachment #8510526 - Flags: review?(philip.chee) → review+
Blocks: 1084203
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: