Closed Bug 341451 Opened 18 years ago Closed 18 years ago

alert popups show "undefined" due to window.arguments not defined

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: polidobj, Unassigned)

References

Details

The alert that is presented when all downloads are complete now just displays 'undefined' twice.  There are 2 warnings in the error console from this as well.

Warning: reference to undefined property window.arguments[1]
Source File: chrome://global/content/alerts/alert.js
Line: 59

Warning: reference to undefined property window.arguments[2]
Source File: chrome://global/content/alerts/alert.js
Line: 60
This works in Gavin's firefox-3.0a1-2006-06-13-07-no255942.zip build so blocking bug 255942.
Blocks: dom-agnostic
Gmail notifier popup show "undefined" too.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060613 Minefield/3.0a1 ID:2006061305 [cairo]

 -> Summary update?
Do you get the same or similar warnings in the error console?
(In reply to comment #3)
> Do you get the same or similar warnings in the error console?
Yes exact same warnings.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060613 Minefield/3.0a1 ID:2006061316 [cairo]

summary proposal: "alert popups show "undefined" due to window.arguments not defined"
Summary: Downloads complete alert shows 'undefined' → alert popups show "undefined" due to window.arguments not defined
Component: Download Manager → General
Component: General → Download Manager
Component: Download Manager → General
-> Moving to Core / XP Toolkit/Widgets
Product: Firefox → Core
QA Contact: download.manager → general
Assignee: nobody → jag
Component: General → XP Toolkit/Widgets
QA Contact: general → xptoolkit.widgets
This has nothing to do with widgets and everything to do with window opening hookup.

Other uses of window.arguments (e.g. the view source window) seem to work fine...  How do I actually reproduce this?  Please give step by step instructions starting from when the browser window for a vanilla first startup appears.  Also please make sure to specify which browser you're using.
Component: XP Toolkit/Widgets → DOM
Assignee: jag → general
QA Contact: xptoolkit.widgets → ian
Patch for bug 341362 will probably fix this.
Depends on: 341362
*** Bug 341505 has been marked as a duplicate of this bug. ***
Can someone please confirm the fix for bug 341362 also fixed this?
I was just doing that with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060614 Minefield/3.0a1 ID:2006061415 [cairo]

-> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
*** Bug 341599 has been marked as a duplicate of this bug. ***
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.