Changeset 258731 in webkit


Ignore:
Timestamp:
Mar 19, 2020 2:57:00 PM (4 years ago)
Author:
Andres Gonzalez
Message:

URL needs to be isolatedCopied when cached in AXIsolatedObject.
https://bugs.webkit.org/show_bug.cgi?id=209298

Reviewed by Chris Fleizach.

AXIsolatedObject needs to isolatedCopy the URL property in order to use
it on the secondary thread.

  • accessibility/isolatedtree/AXIsolatedObject.cpp:

(WebCore::AXIsolatedObject::initializeAttributeData):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r258728 r258731  
     12020-03-19  Andres Gonzalez  <andresg_22@apple.com>
     2
     3        URL needs to be isolatedCopied when cached in AXIsolatedObject.
     4        https://bugs.webkit.org/show_bug.cgi?id=209298
     5
     6        Reviewed by Chris Fleizach.
     7
     8        AXIsolatedObject needs to isolatedCopy the URL property in order to use
     9        it on the secondary thread.
     10
     11        * accessibility/isolatedtree/AXIsolatedObject.cpp:
     12        (WebCore::AXIsolatedObject::initializeAttributeData):
     13
    1142020-03-19  Takashi Komori  <Takashi.Komori@sony.com>
    215
  • trunk/Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp

    r258712 r258731  
    193193    setProperty(AXPropertyName::ComputedRoleString, object.computedRoleString());
    194194    setProperty(AXPropertyName::ValueAutofillButtonType, static_cast<int>(object.valueAutofillButtonType()));
    195     setProperty(AXPropertyName::URL, object.url());
     195    setProperty(AXPropertyName::URL, object.url().isolatedCopy());
    196196    setProperty(AXPropertyName::AccessKey, object.accessKey());
    197197    setProperty(AXPropertyName::ActionVerb, object.actionVerb());
Note: See TracChangeset for help on using the changeset viewer.