Closed Bug 940 Opened 26 years ago Closed 26 years ago

window.location.href: URL doesn't load second file

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: vidur)

References

()

Details

loading this URL runs a short animation, then should jump to http://www.cyberworks.net/discover-frame.html. NGL does not jump to the second URL, it just cycles the animation. This bug is important because cyberworks wants to imbed NGL in an upcoming product.
Assignee: valeski → vidur
It looks like javascript is supposed to do the reload. I've never seen this syntax. Here's the html: <BODY BGCOLOR="#FFFFFF" LINK="#9966CC" VLINK="#888888" ALINK="#FFFFFF" onLoad="butt = 'discover-frame.html'; window.setTimeout('window.location.href = butt',9500);"><CENTER><TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" HEIGHT= "80%"><TR> <TD><A HREF="discover-frame.html"><IMG SRC="images/babyanim.gif" WIDTH=500 HEIGHT=168 ALT="" BORDER="0"></A></TD></TR></TABLE></CENTER></BODY></HTML>
Assignee: vidur → rickg
Turns out it's a parser problem. The first META tag isn't closed correctly. Because of that, we don't seem to process the BODY tag (the one that has the onLoad() event handler).
Status: NEW → ASSIGNED
Assignee: rickg → vidur
Status: ASSIGNED → NEW
The broken HTML can now be parsed, but the next page doesn't load.
Fixed. window.location.href now takes relative URLs.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
verified fixed with 98113011 on winnt 4.0
Changing all Networking Library/Browser bugs to Networking-Core component for Browser. Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do this in a bulk change. If this happens, I will fix. ;-)
Bulk move of all Networking-Core (to be deleted component) bugs to new Networking component.
Summary: URL doesn't load second file → window.location.href: URL doesn't load second file
Component: Networking → DOM Level 0
Commits pushed to master at https://github.com/mozilla/olympia https://github.com/mozilla/olympia/commit/ab64020eca28c8ae8d3ee7cc5991f48c4667748d Add a queue flag for WebExtension (issue #940) https://github.com/mozilla/olympia/commit/039a2b5e0a2106976a96b4100b224a6969733a50 Merge pull request #1018 from magopian/940-add-queue-flag-for-webextensions Add a queue flag for WebExtension (issue #940)
You need to log in before you can comment on or make changes to this bug.