[Webkit-unassigned] [Bug 48493] Rendered <noscript> tag if XHTMLMP feature is enable.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 8 18:21:23 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=48493





--- Comment #9 from kyounga <kyounga.ra at gmail.com>  2010-11-08 18:21:23 PST ---
(In reply to comment #4)
> (From update of attachment 72783 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=72783&action=review
> 
> We need a ChangeLog and a test.

  Sorry I missed it. I attached the patch including ChangeLog.
  I tested the reported url with XHTMLMP enabled.
  In case of disabled XHTMLMP, the code is same. 
> 
> > WebCore/html/HTMLElement.cpp:784
> > +        if (!document()->shouldProcessNoscriptElement())
> 
> What is this bit?  How is it computed?
  I added a comment #5. 
  The bit(m_shouldProcessNoScriptElement) is computed by default as following in Doucment class constructor.

#if ENABLE(XHTMLMP)
    m_shouldProcessNoScriptElement = !(m_frame && m_frame->script()->canExecuteScripts(NotAboutToExecuteScript));
#endif
 It can be set by calling setShouldProcessNoscriptElement() called only in XMLDocumentParser.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list