UNCONFIRMED 17692
Safari only execute the latest location command to redirect/request?
https://bugs.webkit.org/show_bug.cgi?id=17692
Summary Safari only execute the latest location command to redirect/request?
YCL
Reported 2008-03-06 02:33:37 PST
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.