Closed
Bug 405105
Opened 17 years ago
Closed 16 years ago
Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver] when closing the pageInfo window.
Categories
(SeaMonkey :: Page Info, defect)
SeaMonkey
Page Info
Tracking
(Not tracked)
VERIFIED
FIXED
seamonkey2.0a1
People
(Reporter: philip.chee, Assigned: sgautherie)
References
Details
(Keywords: regression)
Attachments
(2 files)
4.62 KB,
patch
|
db48x
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
5.40 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]
Steps to reproduce:
1. Navigate to about:blank.
2. Open the pageInfo window.
3. Close the pageInfo window.
Reason: The observer doesn't get added on pages with no images. So there might not be an observer to remove on exit.
Assignee | ||
Comment 1•16 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008060507 Minefield/3.0pre] (nightly) (W2Ksp4)
No bug, as the Media tab is not shown in this case.
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008060802 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)
{{
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/pageinfo/pageInfo.js :: onUnloadPageInfo :: line 348" data: no]
}}
Assignee | ||
Comment 2•16 years ago
|
||
<http://mxr.mozilla.org/seamonkey/find?text=&kind=text&string=%2Fpageinfo%2Fpageinfo.>
Do we want to simply use |if (gImageView.data.length == 1) {| ?
Or to port the |mediaTab.hidden| behavior ?
Maybe even port bug 388504 ?
Comment 3•16 years ago
|
||
(In reply to comment #2)
> Do we want to simply use |if (gImageView.data.length == 1) {| ?
Sounds good to me.
Assignee | ||
Comment 4•16 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008060802 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)
*Added test.
*Added comments.
*Trivial rewrite.
*Added blank lines.
Assignee: db48x → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #324228 -
Flags: superreview?(neil)
Attachment #324228 -
Flags: review?(neil)
Assignee | ||
Updated•16 years ago
|
Keywords: regression
Target Milestone: --- → seamonkey2.0alpha
Reporter | ||
Comment 5•16 years ago
|
||
> *Added blank lines.
Um any particular reason for the extra blank lines? Just asking.
Reporter | ||
Comment 6•16 years ago
|
||
> *Added test.
I don't see anything added to the unit tests???
Comment 7•16 years ago
|
||
Comment on attachment 324228 [details] [diff] [review]
(Av1) <pageInfo.js>
[Checkin: Comment 15]
We've been trying to keep the suite and browser versions roughly in sync so over to Daniel to see if he wants to port the other changes.
Attachment #324228 -
Flags: review?(neil) → review?(db48x)
Assignee | ||
Comment 8•16 years ago
|
||
(In reply to comment #5)
> Um any particular reason for the extra blank lines? Just asking.
I find it easier to notice the |return|s...
(In reply to comment #6)
> I don't see anything added to the unit tests???
Bad wording: I meant the |if|.
Reporter | ||
Comment 9•16 years ago
|
||
(In reply to comment #8)
>> Um any particular reason for the extra blank lines? Just asking.
> I find it easier to notice the |return|s...
General rule for mozilla.org patch submissions: don't alter whitespace in areas you aren't touching (unless it's a whitespace cleanup patch of course). This messes up CVS Blame. I've no idea if this still holds true for Hg/mozilla-central.
Comment 10•16 years ago
|
||
Comment on attachment 324228 [details] [diff] [review]
(Av1) <pageInfo.js>
[Checkin: Comment 15]
yes, we need to keep them as close to in sync as possible.
Attachment #324228 -
Flags: review?(db48x) → review+
Comment 11•16 years ago
|
||
Comment on attachment 324228 [details] [diff] [review]
(Av1) <pageInfo.js>
[Checkin: Comment 15]
by which my understanding is that he'd like a patch to port the other changes (e.g. removal of the "os" variable) to browser.
Attachment #324228 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Comment 12•16 years ago
|
||
Port Av1 patch to FF, per comment 11.
Attachment #324791 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #324791 -
Flags: review? → review?(mano)
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n: Av1 // Leave opened]
Updated•16 years ago
|
Attachment #324791 -
Flags: review?(mano) → review+
Assignee | ||
Updated•16 years ago
|
Whiteboard: [c-n: Av1 // Leave opened] → [c-n: Av1, Bv1-FF]
Assignee | ||
Comment 13•16 years ago
|
||
Comment on attachment 324791 [details] [diff] [review]
(Bv1-FF) <pageInfo.js>
[Checkin: Comment 14]
"approval1.9.0.1=?":
Trivial sync with </suite/>, "no" code change.
Attachment #324791 -
Flags: approval1.9.0.1?
Updated•16 years ago
|
Attachment #324791 -
Flags: approval1.9.0.1? → approval1.9.0.2?
Assignee | ||
Updated•16 years ago
|
Attachment #324791 -
Flags: approval1.9.0.2?
Comment 14•16 years ago
|
||
Comment on attachment 324791 [details] [diff] [review]
(Bv1-FF) <pageInfo.js>
[Checkin: Comment 14]
http://hg.mozilla.org/index.cgi/mozilla-central/rev/1237fb220e76
Attachment #324791 -
Attachment description: (Bv1-FF) <pageInfo.js> → (Bv1-FF) <pageInfo.js> (checked in)
Updated•16 years ago
|
Whiteboard: [c-n: Av1, Bv1-FF]
Comment 15•16 years ago
|
||
Av1:
Checking in suite/browser/pageinfo/pageInfo.js;
/cvsroot/mozilla/suite/browser/pageinfo/pageInfo.js,v <-- pageInfo.js
new revision: 1.13; previous revision: 1.12
done
Assignee | ||
Updated•16 years ago
|
Attachment #324228 -
Attachment description: (Av1) <pageInfo.js> → (Av1) <pageInfo.js>
[Checkin: Comment 15]
Assignee | ||
Updated•16 years ago
|
Attachment #324791 -
Attachment description: (Bv1-FF) <pageInfo.js> (checked in) → (Bv1-FF) <pageInfo.js>
[Checkin: Comment 14]
Assignee | ||
Comment 16•16 years ago
|
||
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.2pre) Gecko/2008071206 SeaMonkey/2.0a1pre] (SEA-WIN32-TBOX-trunk) (W2Ksp4)
V.Fixed
*****
(In reply to comment #2)
> Maybe even port bug 388504 ?
I filed bug 444917.
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•16 years ago
|
QA Contact: page-info
You need to log in
before you can comment on or make changes to this bug.
Description
•