Changeset 91269 in webkit


Ignore:
Timestamp:
Jul 19, 2011 10:26:12 AM (13 years ago)
Author:
rwlbuis@webkit.org
Message:

2011-07-19 Rob Buis <rbuis@rim.com>

https://bugs.webkit.org/show_bug.cgi?id=64673
REGRESSION (Safari 5.0.5 - ToT): crash in SVG test http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/styling-pres-02-f.html

Reviewed by Nikolas Zimmermann.

Prevent calling back to the owning SVGTRefElement upon handling DOMSubtreeModified events.

Test: svg/W3C-SVG-1.1-SE/styling-pres-02-f.svg

  • svg/SVGTRefElement.cpp: (WebCore::SubtreeModificationEventListener::handleEvent):
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r91267 r91269  
     12011-07-19  Rob Buis  <rbuis@rim.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=64673
     4        REGRESSION (Safari 5.0.5 - ToT): crash in SVG test http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/styling-pres-02-f.html
     5
     6        Reviewed by Nikolas Zimmermann.
     7
     8        * platform/mac/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.png: Added.
     9        * platform/mac/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt: Added.
     10        * svg/W3C-SVG-1.1-SE/styling-pres-02-f.svg: Added.
     11
    1122011-07-19  Chris Fleizach  <cfleizach@apple.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r91268 r91269  
     12011-07-19  Rob Buis  <rbuis@rim.com>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=64673
     4        REGRESSION (Safari 5.0.5 - ToT): crash in SVG test http://dev.w3.org/SVG/profiles/1.1F2/test/harness/htmlObjectApproved/styling-pres-02-f.html
     5
     6        Reviewed by Nikolas Zimmermann.
     7
     8        Prevent calling back to the owning SVGTRefElement upon handling DOMSubtreeModified events.
     9
     10        Test: svg/W3C-SVG-1.1-SE/styling-pres-02-f.svg
     11
     12        * svg/SVGTRefElement.cpp:
     13        (WebCore::SubtreeModificationEventListener::handleEvent):
     14
    1152011-07-19  Tony Chang  <tony@chromium.org>
    216
  • trunk/Source/WebCore/svg/SVGTRefElement.cpp

    r90680 r91269  
    102102void SubtreeModificationEventListener::handleEvent(ScriptExecutionContext*, Event* event)
    103103{
    104     if (event->type() == eventNames().DOMSubtreeModifiedEvent)
     104    if (event->type() == eventNames().DOMSubtreeModifiedEvent && m_trefElement != event->target())
    105105        m_trefElement->updateReferencedText();
    106106}
Note: See TracChangeset for help on using the changeset viewer.