WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
fix for <a> with javascript in href attribute
(48.95 KB, patch)
2007-08-06 11:05 PDT
,
Pat
no flags
Details
Formatted Diff
Diff
3.2 patch for javascript in <a> href
(48.49 KB, patch)
2007-08-06 11:16 PDT
,
Pat
yongjun.zhang
: review-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Pat
Comment 1
2007-08-06 07:46:42 PDT
Created
attachment 15849
[details]
test case reduction test case reduction
Pat
Comment 2
2007-08-06 11:05:35 PDT
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
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.
Top of Page
Format For Printing
XML
Clone This Bug