Closed
Bug 376428
Opened 18 years ago
Closed 18 years ago
Check for updates window closes by itself if no update available
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: wgianopoulos, Assigned: enndeakin)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.21 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
If you do Help -> Check for updates, and no update is available, the window closes by itself after 1 second, just as if you had clicked on Finish. I am trying to narrow down a regression window for this.
Reporter | ||
Comment 1•18 years ago
|
||
By narrowing the regression window, this seems to be caused by the checkin for bug 366478.
Assignee: nobody → events
Blocks: 366478
Component: Software Update → Event Handling
Product: Firefox → Core
QA Contact: software.update → ian
Assignee | ||
Comment 2•18 years ago
|
||
I'll bet this is because the wizard uses a 'pageshow' event which is the same event as the bfcache 'pageshow' event. So, the fix is probably to remove the XUL indicator in the event table for pageshow/pagehide in nsContentUtils.cpp and not support the bfcache events as attributes in XUL.
Reporter | ||
Comment 3•18 years ago
|
||
Bug 366478 has been verified as the cause via backout.
Comment 4•18 years ago
|
||
This error is in the JS Console when checking for updates, and also appears when trying to check for updates to extensions via: Tools->Addons: Find Updates
Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "<unknown>" data: no]
Addons also reports on different extensions: An error occured... blah blah blah.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a4pre) Gecko/20070403 Minefield/3.0a4pre Firefox ID:2007040318 [cairo]
Reporter | ||
Comment 5•18 years ago
|
||
(In reply to comment #4)
> This error is in the JS Console when checking for updates, and also appears
> when trying to check for updates to extensions via: Tools->Addons: Find Updates
>
>
> Error: [Exception... "'Component does not have requested interface' when
> calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002
> (NS_NOINTERFACE)" location: "<unknown>" data: no]
>
> Addons also reports on different extensions: An error occured... blah blah
> blah.
>
> Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a4pre) Gecko/20070403
> Minefield/3.0a4pre Firefox ID:2007040318 [cairo]
>
These error messages pre-date the problem being discussed here and are a completely seperate issue.
Reporter | ||
Comment 6•18 years ago
|
||
(In reply to comment #2)
> I'll bet this is because the wizard uses a 'pageshow' event which is the same
> event as the bfcache 'pageshow' event. So, the fix is probably to remove the
> XUL indicator in the event table for pageshow/pagehide in nsContentUtils.cpp
> and not support the bfcache events as attributes in XUL.
>
I tried that and it does resolve the issue. I ave no idea what else to check though to see if that causes a regression elsewhere.
Assignee | ||
Comment 7•18 years ago
|
||
Only parse the onpageshow/onpagehide attributes used for bfcache on html elements so that they don't conflict with the similarly named attributes used in the XUL <wizard> element.
Assignee: events → enndeakin
Status: NEW → ASSIGNED
Attachment #260581 -
Flags: superreview?(jonas)
Attachment #260581 -
Flags: review?(jonas)
Comment 8•18 years ago
|
||
Just for the sake of completeness and searchability...these 2 messages show up in the error console:
Error: gUpdates.wiz has no properties
Source file: chrome://mozapps/content/update/updates.js
Line: 657
and
Error: this.wiz has no properties
Source file: chrome://mozapps/content/update/updates.js
Line: 192
Attachment #260581 -
Flags: superreview?(jonas)
Attachment #260581 -
Flags: superreview+
Attachment #260581 -
Flags: review?(jonas)
Attachment #260581 -
Flags: review+
Comment 9•18 years ago
|
||
WFM now with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070404 Minefield/3.0a4pre ID:2007040411 [cairo]
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•