Open Bug 337905 Opened 18 years ago Updated 2 years ago

Back-button fails with pop-up blocker

Categories

(Core :: DOM: Navigation, defect)

1.8 Branch
x86
Windows 98
defect

Tracking

()

People

(Reporter: 3.14, Unassigned)

References

()

Details

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1

When visiting www.bild.de the back-button fails after visiting any link. Instead of going back to the previous page you go to the page before visitin www.bild.de. This problem only shows up when not allowing pop-ups on the site (and javascript is on).

pi
Confirming with both:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a2) Gecko/20060515
SeaMonkey/1.1a
- and -
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060516
SeaMonkey/1.5a

This is caused by the JS function showAds() from
<http://www.bild.t-online.de/BTO/Startseite/index,templateId=renderAdTagErsatz.js>,
which is set as window.onLoad handler by calling addLoadEvent() in
<http://www.bild.t-online.de/BTO/Konfig/js/core.js>.

Lines 18-20 read:

var fullBannerIframe = document.getElementById("iframeFullBanner");
if (fullBannerIframe != null)
  fullBannerIframe.src =
    "/BTO/Startseite/index,templateId=renderFullBannerEasyAd.html";

Replace the relational expression with TRUE or FALSE, and the Back
button works as expected.
Please disregard my previous comment. I was wrong.
The real problem is that pages don't enter the history. You can see it in the back-button pull-down menu and in the Go/History window.

pi
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.