| Summary: | location.replace(this.href) redirects browser . | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Charles Samuels <charles> |
| Component: | khtml | Assignee: | Maksim Orlovich <maksim> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | testcase | ||
Created attachment 24072 [details]
testcase
The issue here is rather the ordering of form submission and the deferred redirect. Needs detailed timing testing (multiple submits, etc.) |
Version: (using Devel) Installed from: Compiled sources the attached testcase redirects on khtml but not on every other browser I've tested. Here's some more information out of our IRC log: document.onload = function() { location.replace(this.href) } - then not-konq goes to the URL .../undefined same with "null" location.replace(undefined) in FF does nothing null does nothing, () does nothing, undefined goes to undefined, and '' does nothing on FF