[Webkit-unassigned] [Bug 17692] New: Safari only execute the latest location command to redirect/request?
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 6 02:33:37 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17692
Summary: Safari only execute the latest location command to
redirect/request?
Product: WebKit
Version: 525+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Java
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: leaveyou at ms.usi.com.tw
I write the javascript code at the same javascript tag below.
<script language="javascript">
var loc = 'test.cgi?setdataindex=1';
var code = 'location="' + loc + '"';
eval(code);
loc = 'test2.cgi?changemode=1';
code = 'location="' + loc + '"';
eval(code);
loc = 'index.html';
code = 'location="' + loc + '"';
eval(code);
</script>
According to my test, Safari only execute the latest eval(code) to redirect to
index.html.
It will ignore the other eval(code).
I need execute the total location at the same page for send data to server. IE
and Firefox will execute every location command and works but Safari doesn't.
Could you help me? Thank you.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list