Closed Bug 176999 Opened 23 years ago Closed 23 years ago

JavaScript error generated by invoking Tool Menu items {error in cookieNavigatorOverlay.xul}

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jpmelko, Assigned: dveditz)

References

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021025 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.2b) Gecko/20021025 Error: element has no properties Source File: chrome://cookie/content/cookieNavigatorOverlay.xul Line: 128 Openning the Cookie Manager. I have this message 3 times, 5 times depends on ... i don't know I have also theese errors when the cookie manager is open and i choose "Tools-> Cookie Manager" in the menu Reproducible: Always Steps to Reproduce: 1. OPen Javascript console 2. Clear messages 3. OPen Cookie manager Actual Results: Java script errors Expected Results: No Errors
The same error is reported in bug 137359.
Yes in bug 137359 Comment 6 And with my build. This is not the original reported message for that bug Bug 137359 Comment 6 reports my message only for the Download Manager Some more tests show that this message is generated with every item of the Tool Menu So i think that it is not the same bug, and I change the description field to: Javascript error using Tool Menu Items (Its a regression)
Summary: Javascript error opening cookie manager → Javascript error using Tool Menu Items
*** Bug 177022 has been marked as a duplicate of this bug. ***
I figured out that the function that causes the error message is called from the following line in cookieNavigatorOverlay.xul: > enableElement("BlockPopups", useManager && suitable && enableBlock); obviously, something is wrong about "BlockPopups" stuff. I can't figure out how to fix it, since I don't understand what it SHOULD do in the first place.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed using FizzillaCFM/2002102508 on Mac OS X 10.1.5. Revising summary and reassigning to XP Toolkit/Widgets.
Assignee: morse → jaggernaut
Component: Cookies → XP Toolkit/Widgets
QA Contact: tever → jrgm
Summary: Javascript error using Tool Menu Items → JavaScript error generated by invoking Tool Menu items
This is due to the xul elements that were commented out of cookieNavigatorOverlay.xul in rev 1.10, while code that tries to access these elements is still being executed (henced getElementById fails and returns a null object). I'm assuming that the commenting-out is just a temporary measure.
bug occurs with linux trunk build 20021026
Keywords: regression
OS: Mac System 9.x → All
Hardware: Macintosh → All
*** Bug 177243 has been marked as a duplicate of this bug. ***
Comment on attachment 104571 [details] [diff] [review] don't do what can't be done that'll work, there's a bit of js overhead for the function but we'll live.
Attachment #104571 - Flags: review+
I'll take this
Assignee: jaggernaut → dveditz
Comment on attachment 104571 [details] [diff] [review] don't do what can't be done sr=jag
Attachment #104571 - Flags: superreview+
*** Bug 178020 has been marked as a duplicate of this bug. ***
*** Bug 181376 has been marked as a duplicate of this bug. ***
Let's check this in.
*** Bug 182390 has been marked as a duplicate of this bug. ***
*** Bug 182530 has been marked as a duplicate of this bug. ***
Summary: JavaScript error generated by invoking Tool Menu items → JavaScript error generated by invoking Tool Menu items {error in cookieNavigatorOverlay.xul}
*** Bug 184222 has been marked as a duplicate of this bug. ***
With return of popup manager in 2002121008, this bug seems to no longer exist. Marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
*** Bug 185512 has been marked as a duplicate of this bug. ***
[Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4a) Gecko/20030401] Confirming comment 19: WFM now.
verified as per comment 21
Status: RESOLVED → VERIFIED
It's fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: