Closed Bug 304072 Opened 19 years ago Closed 19 years ago

When using the back button in deer park previously working javascript in an SVG file no longer executes

Categories

(Toolkit Graveyard :: Error Console, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 303267

People

(Reporter: dmackie, Unassigned)

Details

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

I loaded up a simple SVG doc in deer park alpha 2 that had a circle defined and
on click handler for that circle that when clicked called a function that
executed this code.

alert('here');
window.location.href = "http://www.cnn.com;

Once I get to the cnn page I would click back in the browser and then try and
reclick the circle - nothing. When going back the javascript is no longer valid.
 This works fine using Adobes SVG viewer 3.03 in IE.

Reproducible: Always

Steps to Reproduce:
1. Load up a simple SVG doc that has an onclick handler for a shape. Have the
click event navigate to a new page in the same browser window.
2. Click the shape
3. Click Back in deer park
4. Click the shape

Actual Results:  
javascript no longer executes

Expected Results:  
navigated to the same location it was at the first time it was clicked.

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