Bug 43267 - SVGScriptElement doesn't execute when ENABLE(XHTMLMP) is on
Summary: SVGScriptElement doesn't execute when ENABLE(XHTMLMP) is on
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Yong Li
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 11:54 PDT by Yong Li
Modified: 2010-07-30 14:15 PDT (History)
3 users (show)

See Also:


Attachments
the patch (1.67 KB, patch)
2010-07-30 12:40 PDT, Yong Li
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.