[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Maks Orlovich <maksim () kde ! org>
Date: 2006-09-27 22:06:08
Message-ID: 1159394768.799548.26860.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 589296 by orlovich:
Don't try to run external VBScript as ECMAScript (98216)
Add a couple of symmetric mimetypes (134763)
BUG:134763
BUG:98216
M +3 -1 htmltokenizer.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/htmltokenizer.cpp #589295:589296
@@ -395,7 +395,7 @@
CachedScript* cs = 0;
// forget what we just got, load from src url instead
- if ( !currentScriptSrc.isEmpty() &&
+ if ( !currentScriptSrc.isEmpty() && javascript &&
(cs = parser->doc()->docLoader()->requestScript(currentScriptSrc, scriptSrcCharset) )) {
cachedScript.enqueue(cs);
}
@@ -1153,6 +1153,8 @@
type.compare("text/ecmascript") != 0 &&
type.compare("text/livescript") != 0 &&
type.compare("application/x-javascript") != 0 &&
+ type.compare("application/x-ecmascript") != 0 &&
+ type.compare("application/javascript") != 0 &&
type.compare("application/ecmascript") != 0 )
javascript = false;
} else if( a ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic