Bug 43267

Summary: SVGScriptElement doesn't execute when ENABLE(XHTMLMP) is on
Product: WebKit Reporter: Yong Li <yong.li.webkit>
Component: SVGAssignee: Yong Li <yong.li.webkit>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, staikos, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
the patch none

Description Yong Li 2010-07-30 11:54:06 PDT
When ENABLE(XHTMLMP) is on, the code patch is triggered.

 #if ENABLE(XHTMLMP)
    if (!scriptElement->shouldExecuteAsJavaScript())
        m_doc->setShouldProcessNoscriptElement(true);
    else 
#endif


but SVGScriptElement::shouldExecuteAsJavaScript() just return false. It should return m_data.shouldExecuteAsJavaScript() as HTMLScriptElement does.
Comment 1 Yong Li 2010-07-30 12:40:46 PDT
Created attachment 63093 [details]
the patch
Comment 2 WebKit Commit Bot 2010-07-30 14:15:26 PDT
Comment on attachment 63093 [details]
the patch

Clearing flags on attachment: 63093

Committed r64373: <http://trac.webkit.org/changeset/64373>
Comment 3 WebKit Commit Bot 2010-07-30 14:15:32 PDT
All reviewed patches have been landed.  Closing bug.