Bug 21193 - Page loading results in endless loop (SCRIPT FOR... EVENT... support)
Summary: Page loading results in endless loop (SCRIPT FOR... EVENT... support)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh PowerPC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.maaswaalcollege.nl/Page/sp...
Keywords:
Depends on: 16915
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-28 03:43 PDT by Frank Eetgerink
Modified: 2011-11-28 12:26 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Eetgerink 2008-09-28 03:43:15 PDT
When loading the url above the loading ends up in a endless loop. Webkit does not crash, only the tab is useless.
It keeps my processor quite bussy.
Powerpc G5 1.8 Ghz, iMac, MacOS 10.5.5, latest updates installed.
Comment 1 Alexey Proskuryakov 2008-09-30 08:30:29 PDT
<SCRIPT FOR=window EVENT=onresize>window.location.href = window.location.href;</script>

This is specifically an issue with this non-standard SCRIPT syntax - setting window.location.href to the same value should and does reload. Perhaps we could skip over such scripts if we don's support them.
Comment 2 Brady Eidson 2009-04-30 09:23:21 PDT
The class of bugs that were "page reloading endlessly" or "page doing something weird and bizarre in Safari but no others" that were due to the <script for=...> syntax are fixed as of http://trac.webkit.org/changeset/43061 - we now ignore scripts with this syntax.

https://bugs.webkit.org/show_bug.cgi?id=16915 tracks adding full support for this feature.
Comment 3 Alexey Proskuryakov 2011-11-28 12:26:55 PST
Given the above comment, should we close this bug as fixed?