Closed Bug 58399 Opened 24 years ago Closed 24 years ago

[document.all/document.layers] DMenu: Unknown DOM.

Categories

(Tech Evangelism Graveyard :: English US, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: futzilogik, Assigned: evangelism)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17 i686; en-US; m18) Gecko/20001026
BuildID:    2000102621

If you load this site, a modal dialog appears (title: "Alert", message: "DMenu:
Unknown DOM."). Clicking this dialog away does not help as it reappears
instantly. Only way to get rid of it is a kill command.
A menu that should be shown on the left frame does not appear.

Reproducible: Always

Actual Results:
1. the menu that should be displayed on the left side won't be shown
2. a modal dialog appears saying "DMenu: Unknown DOM.". After clicking
   it away a new window will apear (again and again).

Expected Results:
1. the menu on this site should be displayed correctly
2. if an error occurs, the alert dialog should only be shown once

Additional Comments:
same on Windows...
i think this is just bad code. opened it with netscape 4.x and immediately
received 14 javascript error boxes, either "missing or invalid menuid" or
"missing or invalid submenu name" 
I tried it with Netscape 4.6 on linux and new Netscape 4.75 on Windows and it works.
Looking at the source, it is full of things like:

if (document.layers) {
  // do stuff
} else if (document.all) {
  // do stuff
} else {
  alert("FunctionName: Unknown DOM/");
}

Where FunctionName depends on the function this is found in.

Since Mozilla supports neither the document.layers nor the document.all
constructs (which are nonstandard), you get all those alerts.  There is
basically one alert for each function call made (57 in all).

This sounds like an evangelism bug; we should at least ask the owner of the site
to fail silently instead of spewing alerts...
I have sent the site maintainers mail explaining the problem.
this is no a DOM viewer bug. reassigning to default owner of the DOM
Assignee: alecf → jst
Component: DOM Viewer → DOM Level 1
QA Contact: sspitzer → janc
Invalid, we're not 100% backwards compatible and that's not gonna change, the
site needs to be fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Keywords: evangwanted
Resolution: --- → INVALID
This should be in evangelism
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Over to evangelism; changing summary to reflect problem.
Assignee: jst → evangelism
Status: UNCONFIRMED → NEW
Component: DOM Level 1 → Evangelism
Ever confirmed: true
QA Contact: janc → zach
Summary: DMenu: Unknown DOM. → [document.all/document.layers] DMenu: Unknown DOM.
Keywords: evangwanted
It works now....
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → WORKSFORME
Verified wfm.
Status: RESOLVED → VERIFIED
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Depends on: 124185
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.