Closed
Bug 1089186
Opened 10 years ago
Closed 10 years ago
Error: NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative Source file: chrome://communicator/content/history/treeView.js
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(seamonkey2.32 fixed, seamonkey2.33 fixed)
RESOLVED
FIXED
seamonkey2.33
People
(Reporter: philip.chee, Assigned: philip.chee)
References
Details
Attachments
(1 file, 1 obsolete file)
2.62 KB,
patch
|
neil
:
review+
iannbugzilla
:
approval-comm-release+
|
Details | Diff | Splinter Review |
(In reply to neil@parkwaycc.co.uk from Bug 1087942 comment #4) > (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.
Assignee | ||
Comment 1•10 years ago
|
||
> + try {
> + this._result.removeObserver(this);
> + }
> + catch(ex) { }
If I don't wrap this in a try/catch block I get:
Error: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryResult.removeObserver]
Source file: chrome://communicator/content/history/treeView.js
Line: 1019
What am I doing wrong?
Attachment #8511555 -
Flags: feedback?(neil)
Comment 2•10 years ago
|
||
Not sure offhand... we should be adding the observer in tree.xml line 102.
Comment 3•10 years ago
|
||
Comment on attachment 8511555 [details] [diff] [review] Patch v1.0 fix setTree() I don't know, I don't see any errors without the try/catch.
Attachment #8511555 -
Flags: feedback?(neil) → feedback-
Assignee | ||
Comment 4•10 years ago
|
||
> Error: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryResult.removeObserver] > Source file: chrome://communicator/content/history/treeView.js Digging through firefox places history I found a similar problem in Firefox. This v2 patch combines the relevant parts of Bug 553334 and Bug 543444. > + // Observer removal is done within the view itself. When the tree > + // goes away, treeboxobject calls view.setTree(null), which then > + // calls removeObserver. > I don't know, I don't see any errors without the try/catch. Happens in safe mode too.
Attachment #8511555 -
Attachment is obsolete: true
Attachment #8520027 -
Flags: review?(neil)
Updated•10 years ago
|
Attachment #8520027 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/ca2967aceeb1 comm-central changeset ca2967aceeb1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-seamonkey2.33:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.33
Assignee | ||
Updated•9 years ago
|
status-seamonkey2.32:
--- → affected
Comment on attachment 8520027 [details] [diff] [review] Patch v2.0 Remove Observer within the view itself [Triage Comment]
Attachment #8520027 -
Flags: approval-comm-release+
Assignee | ||
Comment 7•9 years ago
|
||
http://hg.mozilla.org/releases/comm-release/rev/d891cfe1516a
You need to log in
before you can comment on or make changes to this bug.
Description
•