TSW ID EJGO-7458XN Web contents are overlapped together after accepting the query. <html> <head> <script type="text/javascript"> function message(){ document.write("Hello John Wayne"); document.write("</body></html>"); } </script> </head> <body> <p> Select the link "Prompt" and verify that the prompt dialog is displayed correctly. </p> <a href="javascript: message()">Prompt</a> <br/> </body> </html>
Created attachment 15849 [details] test case reduction test case reduction
Created attachment 15851 [details] fix for <a> with javascript in href attribute If we have javascript" in the anchor tag's href <a href="javascript: ...", clear the off-screen bitmap before drawing. Some additional test cases were tested: http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt1.html http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt2.html http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt3.html http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt4.html http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt5.html http://waplabdc.nokia-boston.com/browser/users/vbradley/bugs_ecma_prompt/ecma_prompt6.html
Review requested from Zalan, as per Sachin. Zalan is also aware of issue and has TOT to test on. This fix is for 3.2 only.
Created attachment 15852 [details] 3.2 patch for javascript in <a> href 2nd patch for 3.2
Comment on attachment 15852 [details] 3.2 patch for javascript in <a> href I think the patch is incorrect (seems like a hack to my opinion), please figure out the real reason why page opened with javascript: links doesn't refresh the screen.
(In reply to comment #5) > (From update of attachment 15852 [details] [edit]) > I think the patch is incorrect (seems like a hack to my opinion), please figure > out the real reason why page opened with javascript: links doesn't refresh the > screen. Checked in fix for this bug. Used the document.write bug http://bugs.webkit.org/show_bug.cgi?id=14915 to submit the patch.
Bulk closing of all s60 platform bugs. Sorry for the noise!
re-purposing InTSW keyword for use by QtWebkit team
Mass moving XML DOM bugs to the "DOM" Component.