Bug 57242

Summary: iframe src with javascript: url fails to execute JavaScript code (JavaScript iis enabled)
Product: [Applications] konqueror Reporter: Adam Zell <zell>
Component: khtml ecmaAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adam Zell 2003-04-15 02:26:38 UTC
Version:           Apple Safari Beta 2 (build 73) (using KDE Devel)
Installed from:    Compiled sources
OS:          Other

Sample page:

<html>
<head>
<title>iframe test</title>
</head>
<body>
<iframe src="javascript:alert(window);"></iframe>
<center>
Simple text.
</center>
</body>
</html>

In MSIE 4+ and Mozilla 5+ (Mac and Windos), the above page will pop-up a window with something
like "[object]".  However, Konqueror does nothing.  It doesn't seem to understand javascript:
urls as sources.
Comment 1 George Staikos 2003-06-18 06:51:47 UTC
Yup, it's not supported apparently. 
Comment 2 Luís Pedro Coelho 2004-09-09 11:10:03 UTC
On HEAD there is now a messagebox.
Since mozilla seems to do the same thing, I assume this is expected behaviour.

(besides, I believe that generally javascript: URLs have been supported for  while, even though I cannot tell the exact date).