REGRESSION (r243137): SVGViewElement.viewTarget should not return a new object
authorsaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 21 Apr 2019 00:03:44 +0000 (00:03 +0000)
committersaid@apple.com <said@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 21 Apr 2019 00:03:44 +0000 (00:03 +0000)
commit000bf44644a218e6d831cca59f8df4f844a652ef
tree245ce7dc805ed87b9dead448e5d529788d4dedec
parenta0ea7e267ea120c3d2bf65a5fc3cd6ef6d11ce8a
REGRESSION (r243137): SVGViewElement.viewTarget should not return a new object
https://bugs.webkit.org/show_bug.cgi?id=197137

Reviewed by Darin Adler.

Source/WebCore:

All the DOM objects accessing the viewTarget of the same SVGViewElement
should hold a Ref pointer to the same SVGStringList property.

Test: svg/dom/SVGViewElement-viewTarget.html

* svg/SVGViewElement.idl:

LayoutTests:

* svg/dom/SVGViewElement-viewTarget-expected.txt: Added.
* svg/dom/SVGViewElement-viewTarget.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/dom/SVGViewElement-viewTarget-expected.txt [new file with mode: 0644]
LayoutTests/svg/dom/SVGViewElement-viewTarget.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/SVGViewElement.idl