Closed Bug 87333 Opened 23 years ago Closed 23 years ago

numion.com - Error Message (onload handler bug?) at a web site

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: momoi, Assigned: bc)

References

()

Details

(Keywords: testcase, Whiteboard: [USERAGENT])

Attachments

(2 files)

** Checked with 6/21/2001 Win32 build **

The error message says:

"Netscape6/Mozilla has support for the "onload" event handler, but there is a
small bug. If an image is replaced with a new image then "onload" is not
executed again. This is definitely a bug in Netscape/Mozilla, it is not
according to the Javascript standard. I have tested Netscape versions 6.01 and
Mozilla v0.9, they both contain the same bug."

If this has been fixed in the current builds, then this would 
be an evangelism bug. Otherwise, please consider
fixing it.
The site authors have made this error unavoidable in Mozilla. 

Load the site http://www.numion.com/YourSpeed/ in any browser, and 
look at the source code behind the "Start!" button for "The world":


<form action="http://www.numion.com/YourSpeed/Checkup.php">
  <input type=hidden name=L value="world">
  <td align=right>
      <font face="Arial, Helvetica, sans-serif">
      <b>The world</b></font></td>
  <td>

  <input type=submit value="Start!"></td>
</form>



OK, now look at the source of http://www.numion.com/YourSpeed/Checkup.php :


<html>
<head>
<meta name="Description" content="[Webspeed] YourSpeed - Start">
<meta name="Author" content="Jeroen Kessels, jeroen@numion.com">
<!-- This page was last modified on: 20 june 2001 04:23:06 -->
<title>[Numion] YourSpeed - Start</title>

<script type="text/javascript" language="JavaScript">

if (navigator.userAgent.indexOf("Opera") > 0)
  top.location.href = "SorryOpera.html";

if (navigator.userAgent.indexOf("Gecko") > 0) 
  top.location.href = "SorryNetscape.html";

</script>

                   etc. 
                   etc.



So - the site authors are simply sniffing the userAgent, rejecting
Mozilla out-of-hand...and putting up the page you are referring to,

         http://www.numion.com/YourSpeed/SorryNetscape.html
OS: Windows 2000 → All
Hardware: PC → All
Reassigning to Evangelism component. I do not know what bug the 
site authors are referring to about onLoad. But as long as they have
their HTML this way, Mozilla is simply being excluded by them -
Assignee: rogerl → bclary
Component: Javascript Engine → Evangelism
QA Contact: pschwartau → zach
Priority P1. I will look at this soonest.
Summary: Error Message (onload handler bug?) at a web site → numion.com - Error Message (onload handler bug?) at a web site
Whiteboard: [USERAGENT]
Priority: -- → P1
Keywords: testcase
Note: For the immediate load, in build 2001-06-20-04/win2k, the first time you
load the test case only one onload will fire. If you reload the page, both
onload events fire. For the delayed load, only one onload will fire on the first
load or on subsequent reloads.

See bug 22710. CC'ing Heikki
I may have implemented the image load event, but joki is the real events guy,
Cc: joki.
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
They seem to be accepting Mozilla now. The anti-social JavaScript checking seems
to be gone. Testing on 0.9.5, mozilla.org RPMs on RH7.2.

But this site's operation still seems somewhat flakey -- see bug 108887.
evang issue fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified
2002022703/WinXP
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: