Changeset 244503 in webkit


Ignore:
Timestamp:
Apr 22, 2019 11:17:33 AM (5 years ago)
Author:
Said Abou-Hallawa
Message:

Mark SVGStringList properties '[SameObject]' in the IDL files
Followup to https://bugs.webkit.org/show_bug.cgi?id=197137

Patch by Said Abou-Hallawa <Said Abou-Hallawa> on 2019-04-22
Reviewed by Darin Adler.

The SVG elements do not create tear-off wrappers for SVGStrigList DOM
objects anymore. Instead they return Ref pointers to the same RefCounted
objects. So they should be marked '[SameObject]' in their IDL files.

  • svg/SVGTests.idl:
  • svg/SVGViewElement.idl:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r244499 r244503  
     12019-04-22  Said Abou-Hallawa  <said@apple.com>
     2
     3        Mark SVGStringList properties '[SameObject]' in the IDL files
     4        Followup to https://bugs.webkit.org/show_bug.cgi?id=197137
     5
     6        Reviewed by Darin Adler.
     7
     8        The SVG elements do not create tear-off wrappers for SVGStrigList DOM
     9        objects anymore. Instead they return Ref pointers to the same RefCounted
     10        objects. So they should be marked '[SameObject]' in their IDL files.
     11
     12        * svg/SVGTests.idl:
     13        * svg/SVGViewElement.idl:
     14
    1152019-04-22  Commit Queue  <commit-queue@webkit.org>
    216
  • trunk/Source/WebCore/svg/SVGTests.idl

    r243130 r244503  
    2929    SuppressToJSObject,
    3030] interface SVGTests {
    31     readonly attribute SVGStringList requiredFeatures;
    32     readonly attribute SVGStringList requiredExtensions;
    33     readonly attribute SVGStringList systemLanguage;
     31    [SameObject] readonly attribute SVGStringList requiredFeatures;
     32    [SameObject] readonly attribute SVGStringList requiredExtensions;
     33    [SameObject] readonly attribute SVGStringList systemLanguage;
    3434
    3535    // FIXME: Using "undefined" as default parameter value is wrong.
  • trunk/Source/WebCore/svg/SVGViewElement.idl

    r244491 r244503  
    2525
    2626interface SVGViewElement : SVGElement {
    27     readonly attribute SVGStringList viewTarget;
     27    [SameObject] readonly attribute SVGStringList viewTarget;
    2828};
    2929
Note: See TracChangeset for help on using the changeset viewer.