Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4e04f1a26a82b2864243e22e78cb142e38d0e1f2
      
https://github.com/WebKit/WebKit/commit/4e04f1a26a82b2864243e22e78cb142e38d0e1f2
  Author: Matthew Finkel <[email protected]>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp
    M Source/WebCore/html/DOMFormData.cpp
    M Source/WebCore/html/DOMFormData.h
    M Source/WebCore/html/DOMFormData.idl
    M Source/WebCore/html/FormAssociatedCustomElement.cpp
    M Source/WebCore/loader/FormSubmission.cpp

  Log Message:
  -----------
  Make DOMFormData a subclass of ContextDestructionObserver
https://bugs.webkit.org/show_bug.cgi?id=251167
rdar://104659126

Reviewed by Chris Dumez.

We make DOMFormData inherit from ContextDestructionObserver so we have easier
access to the context. We'll use this in later patches when we must obtain the
relevant top-level origin from the context.

* Source/WebCore/Modules/fetch/FetchBodyConsumer.cpp:
(WebCore::FetchBodyConsumer::packageFormData):
* Source/WebCore/html/DOMFormData.cpp:
(WebCore::DOMFormData::DOMFormData):
(WebCore::DOMFormData::create):
(WebCore::DOMFormData::clone const):
* Source/WebCore/html/DOMFormData.h:
* Source/WebCore/html/DOMFormData.idl:
* Source/WebCore/html/FormAssociatedCustomElement.cpp:
(WebCore::FormAssociatedCustomElement::restoreFormControlState):
* Source/WebCore/loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to