[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/html
From: Germain Garand <germain () ebooksfrance ! com>
Date: 2006-06-18 23:21:52
Message-ID: 1150672912.091086.22284.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 552743 by ggarand:
for the sake of all things sacred, stop eating Coolo's football news :(
BUG: 128944
3.5.3 regression
M +3 -2 htmltokenizer.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/htmltokenizer.cpp #552742:552743
@@ -388,9 +388,10 @@
// Scripts following a frameset element should not be executed or even loaded in \
the case of extern scripts.
bool followingFrameset = (parser->doc()->body() && parser->doc()->body()->id() \
== ID_FRAMESET); + bool effectiveScript = !parser->skipMode() && \
!followingFrameset; bool deferredScript = false;
- if ( !parser->skipMode() && !followingFrameset) {
+ if ( effectiveScript ) {
CachedScript* cs = 0;
// forget what we just got, load from src url instead
@@ -419,7 +420,7 @@
script = false;
scriptCodeSize = scriptCodeResync = 0;
- if (parser->skipMode() || followingFrameset)
+ if ( !effectiveScript )
return;
if ( !m_executingScript && cachedScript.isEmpty() ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic