Changeset 19179 for S60/trunk/WebCore

Show
Ignore:
Timestamp:
01/26/07 18:37:10 (2 years ago)
Author:
brmorris
Message:

bujtas <zbujtas@gmail.com>

Rs'd by Brad.
DESC: HTMLScriptElementImpl gets notified twice about 'insert new script' event. MLIO-6X9HKM


http://bugs.webkit.org/show_bug.cgi?id=12428

fix: prevents double notification.

Location:
S60/trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebCore/ChangeLog

    r19155 r19179  
     12007-01-26  bujtas  <zbujtas@gmail.com> 
     2 
     3        Rs'd by Brad. 
     4        DESC: HTMLScriptElementImpl gets notified twice about 'insert new script' event. MLIO-6X9HKM 
     5         
     6        http://bugs.webkit.org/show_bug.cgi?id=12428 
     7 
     8        fix: prevents double notification. 
     9 
     10        * bridge/WebCoreBridge.h: 
     11        * kwq/KWQKHTMLPart.cpp: 
     12        (KWQKHTMLPart::createPart): 
     13        (KWQKHTMLPart::createSoundstart): 
     14 
    1152007-01-24  yongjzha  
    216 
  • S60/trunk/WebCore/khtml/html/html_headimpl.cpp

    r16256 r19179  
    397397void HTMLScriptElementImpl::insertedIntoDocument() 
    398398{ 
     399    //FIXME: dispatchChildInsertedEvents should not call this function twice 
     400    if (m_cachedScript) return; 
     401 
    399402    HTMLElementImpl::insertedIntoDocument(); 
    400403