[webkit-changes] [WebKit/WebKit] cf7b17: Fix hasRareData() check in Element

Chirag Shah noreply at github.com
Fri Oct 28 22:02:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf7b17d7b271c61e6175cf6f6b5d5ae049b1a815
      https://github.com/WebKit/WebKit/commit/cf7b17d7b271c61e6175cf6f6b5d5ae049b1a815
  Author: Chirag M Shah <chirag_m_shah at apple.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M Source/WebCore/dom/Element.cpp

  Log Message:
  -----------
  Fix hasRareData() check in Element

https://bugs.webkit.org/show_bug.cgi?id=247215

We should be calling hasRareData() on the element parameter instead of
this, so that we don't trip over the security assertion.

Reviewed by Ryosuke Niwa.

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::attributeChanged):

Canonical link: https://commits.webkit.org/256125@main




More information about the webkit-changes mailing list