UNCONFIRMED 29282
option value on iframe post incorrectly because a second javascript sentence parent.location.href=xxx is executed when it is in iframe
https://bugs.webkit.org/show_bug.cgi?id=29282
Summary option value on iframe post incorrectly because a second javascript sentence ...
jasneet
Reported 2009-09-15 15:22:24 PDT
Created attachment 39617 [details] reduced testcase I Steps: Go to www.hoodboyz.de/shop 1. see for example www.hoodboyz.de/shop the left categorie selection box! its a iframe to www.hoodboyz.de/shop/cat.php?schritt=&cat_id= 2. when i select a categorie,size or manufacturer the post don't contain the option values! 3. When i select directly from cat.php its no problem! II Conclusion: For original web page, it has javascript like: ...... <script language="JavaScript">parent.location.href="index.php?cat=11";</script><script language="JavaScript">parent.location.href="advanced_search_result.php?keywords=Free Search";</script> ...... In webkit, the second sentence has a chance to be executed, this is the cause of the issue. In the iframe document test-standard.html, there are two javascript sentences: ...... <script>parent.location.href="http://www.google.com";</script> <script>parent.location.href="http://www.yahoo.com";</script> ...... In IE and Firefox, the second sentence will have no chance to be executed, so the page will be redirected to google.com, but in webkit the second sentence is executed, so the page is redirected to yahoo.com. III Other Browsers: IE7: ok FF3: ok IV Nightly tested : 48354 Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=13895
Attachments
reduced testcase (887 bytes, application/zip)
2009-09-15 15:22 PDT, jasneet
no flags
Note You need to log in before you can comment on or make changes to this bug.