Closed Bug 289592 Opened 20 years ago Closed 20 years ago

unregistered protocol alert when an empty area on a table cell is clicked

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 289456

People

(Reporter: bugs.caleb, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050408 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050408 Firefox/1.0+

It seems that if you click on an empty zone in any of the table rows/cells then
you get an alert.

But if you press on an actual text the link will be followed. If you stop the
redirection and press on an empty cell after you've pressed on the text, no
alert will show up and the link will be followed !

Reproducible: Always

Steps to Reproduce:
1. Go to the above URL
2. Click on an empty zone in one of the table's rows.
Actual Results:  
An alert that says: 
"/cg/amg.dll?p=amg&token=ADFEAEE47816DB4BAA7220C7933341CB8B7CE507C463E38F162F451BDFBA3C548E0C7AE45EE78685FDFE6ABC66ADFF2EA1160DD9CEE75CF9D5765D40&sql=10
is not a registered protocol"

Expected Results:  
The link should have been followed

Here's the look of a table cell:
<td class="cell" style="width:160px;word-wrap:break-word;"><a
href="/cg/amg.dll?p=amg&token=ADFEAEE47816DB4BAA7220C7933341CB8B7CE507C463E38F162F451BDFBA3C548E0C7AE45EE78685FDFE6ABC66ADFF2EA1160DD9CEE75CF9D5765D40&sql=10:c09us36ba3mg">Teen
Beat: The Best of Carl Perkins</a></td>
Erm.. I accidently set this to the JavaScript Engine component. 

Can someone please set it to the _CORRECT_ component?
Error: loop_row.attachEvent is not a function
Source File: http://www.allmusic.com/js/ExpansionTable.js
Line: 72

When you click on the empty area of a cell the onclick handler sets
document.location to
"/cg/amg.dll?p=amg&token=ADFEAEE47816DB4BAA7220C7933341CB8B7CE507C463E38F162F451BDFBA3C548E0C7AE45EE78685FDFE6ABC66ADFF2EA1160DD9C9E85CF8DE765D40&sql=10:ft5g8qmtbtb4"

Which results in 
Error: uncaught exception: [Exception... ""  nsresult: "0x804b0012 (<unknown>)"
 location: "JS frame :: http://www.allmusic.com/js/common.js :: z :: line 22" 
data: no]

1.7.0 successfully navigates to the appropriate page (I guess assuming that the
path is relative to the current server), however 1.7.7 and trunk treat the
assigment to location as if it were the complete path.

over to dom 0
Component: JavaScript Engine → DOM: Level 0
Assignee: general → general
QA Contact: general → ian
dupe of bug 289456 ?
Depends on: 289456
correction: this is trunk only in firefox and seamonkey. I can't reproduce in
yesterdays firefox 1.0.3 or todays seamonkey 1.7.7
Keywords: regression

*** This bug has been marked as a duplicate of 289456 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.