Closed Bug 131908 Opened 23 years ago Closed 23 years ago

Spurious error dialog when Javascript:function() url used

Categories

(SeaMonkey :: Location Bar, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 131399

People

(Reporter: tfarrell, Assigned: hewitt)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.9+) Gecko/20020318 BuildID: 2002031815 In the page at http://www.tomfarrell.org/ , the menu contains a number of links, all of which have a url in the form "Javascript:myFunction('foo')". In previous builds of Mozilla and Netscape 6.2, these links function perfectly. In the reported build, when any of the links are clicked an error dialog appears which reads, "An unknown error occurred while attempting to load the requested page." The Javascript function then runs perfectly without waiting for the dialog to be closed. The error should not occur, as nothing is wrong. Reproducible: Always Steps to Reproduce: 1.Go to http://www.tomfarrell.org/ 2.Point at the menu with the mouse pointer to open the menu. 3.Click on any link in the menu or submenus, such as (for example) "Border Collies" under the "Interests" submenu. This should trigger the spurious error. Actual Results: The Javascript function specified in the HREF ran as designed and an error dialog appears which reads, "An unknown error occurred while attempting to load the requested page." Expected Results: The Javascript function should have run in the same manner, but the error dialog should not have appeared.
*** This bug has been marked as a duplicate of 131399 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.