[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#25004: JavaScript block just after a VBScript tag sometimes doesn't work
From:       schimmi () kde ! org
Date:       2001-04-30 17:36:38
[Download RAW message or body]

Package: khtml
Version: unknown (using KDE 2.2.0 \6alpha1)
Severity: normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.2 19991024 (release)
OS:                Linux (i686) release 2.4.2
OS/Compiler notes: 

In some circumstance javascript tags aren't executed just behind of a VBScript block. \
Just try out the next example html code. It is supposed to show _two_ message boxes. \
With current khtml/kjs only the first one is shown.

<html>
<head>
	<title>enigma 4</title>
	<script language="JavaScript">
	<!--
		alert( "This is the first alert. Clicking ok should bring up a second alert from \
the second javscript block." );  //-->
	</script>
	
	<SCRIPT LANGUAGE="VBScript">
	<!--
	        RealInstalled = (IsObject(CreateObject("rmocx.RealPlayer G2 Control.1")))
	-->
	</SCRIPT>

	<SCRIPT LANGUAGE="JavaScript">
	<!--
		alert( "This should be the second alert which doesn't appear because of the \
VBScript before" );  //-->
	</SCRIPT>
</head>

<body>
	Multiple script tag test.
</body>

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic