Changeset 142548 in webkit


Ignore:
Timestamp:
Feb 11, 2013 4:36:45 PM (11 years ago)
Author:
schenney@chromium.org
Message:

SVG DOM manipulation crash
https://bugs.webkit.org/show_bug.cgi?id=108709

Reviewed by Eric Seidel.

Adding a test for the case where an SVG <use> tree is rebuild due to
one event listener and a subsequent listener tries to access it. This
does not crash in WebKit but has caused problems in browser code where
the listener tries to access and use toNode on the target of the
event. The test prevents regressions and gives automated security
tests something to work on.

  • svg/custom/use-listener-append-crash-expected.txt: Added.
  • svg/custom/use-listener-append-crash.html: Added.
Location:
trunk/LayoutTests
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r142544 r142548  
     12013-02-11  Stephen Chenney  <schenney@chromium.org>
     2
     3        SVG DOM manipulation crash
     4        https://bugs.webkit.org/show_bug.cgi?id=108709
     5
     6        Reviewed by Eric Seidel.
     7
     8        Adding a test for the case where an SVG <use> tree is rebuild due to
     9        one event listener and a subsequent listener tries to access it. This
     10        does not crash in WebKit but has caused problems in browser code where
     11        the listener tries to access and use toNode on the target of the
     12        event. The test prevents regressions and gives automated security
     13        tests something to work on.
     14
     15        * svg/custom/use-listener-append-crash-expected.txt: Added.
     16        * svg/custom/use-listener-append-crash.html: Added.
     17
    1182013-02-11  Filip Pizlo  <fpizlo@apple.com>
    219
Note: See TracChangeset for help on using the changeset viewer.