CLOSED FIXED 14888
[S60] EJGO-7458XN: document.write in href of <a> doesn't display correctly
https://bugs.webkit.org/show_bug.cgi?id=14888
Summary [S60] EJGO-7458XN: document.write in href of <a> doesn't display correctly
Pat
Reported 2007-08-06 07:45:50 PDT
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>
Attachments
test case reduction (352 bytes, text/html)
2007-08-06 07:46 PDT, Pat
no flags
fix for <a> with javascript in href attribute (48.95 KB, patch)
2007-08-06 11:05 PDT, Pat
no flags
3.2 patch for javascript in <a> href (48.49 KB, patch)
2007-08-06 11:16 PDT, Pat
yongjun.zhang: review-
Pat
Comment 1 2007-08-06 07:46:42 PDT
Created attachment 15849 [details] test case reduction test case reduction
Pat
Comment 3 2007-08-06 11:07:06 PDT
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.
Pat
Comment 4 2007-08-06 11:16:05 PDT
Created attachment 15852 [details] 3.2 patch for javascript in <a> href 2nd patch for 3.2
Yongjun Zhang
Comment 5 2007-08-10 06:16:08 PDT
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.
Sornalatha Rathnasamy
Comment 6 2007-08-23 14:07:02 PDT
(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.
Bradley Morrison
Comment 7 2008-04-09 11:39:38 PDT
Bulk closing of all s60 platform bugs. Sorry for the noise!
Joel Parks
Comment 8 2011-03-21 11:53:35 PDT
re-purposing InTSW keyword for use by QtWebkit team
Lucas Forschler
Comment 9 2019-02-06 09:02:30 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.