[webkit-changes] [WebKit/WebKit] 714cbd: Move Opaque Origin Identifier from SecurityOrigin ...

Matthew Finkel noreply at github.com
Thu Jan 26 09:51:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 714cbd04ecd4d8a57932d8e8d4f6af3a4f81dfe3
      https://github.com/WebKit/WebKit/commit/714cbd04ecd4d8a57932d8e8d4f6af3a4f81dfe3
  Author: Matthew Finkel <sysrqb at apple.com>
  Date:   2023-01-26 (Thu, 26 Jan 2023)

  Changed paths:
    M Source/WTF/wtf/Markable.h
    M Source/WebCore/page/SecurityOrigin.cpp
    M Source/WebCore/page/SecurityOrigin.h
    M Source/WebCore/page/SecurityOriginData.cpp
    M Source/WebCore/page/SecurityOriginData.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Move Opaque Origin Identifier from SecurityOrigin to SecurityOriginData
https://bugs.webkit.org/show_bug.cgi?id=251048
rdar://104578586

Reviewed by Chris Dumez.

This change should not make any noticable difference, but it will be needed in
later patches. In that use case, SecurityOriginData will be used in a hashmap
and that hashmap must correctly take the opaqueOriginIdentifier into account.

* Source/WTF/wtf/Markable.h:
(WTF::add):
* Source/WebCore/page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::SecurityOrigin):
(WebCore::SecurityOrigin::isSameOriginDomain const):
(WebCore::SecurityOrigin::isSameOriginAs const):
(WebCore::SecurityOrigin::create):
(WebCore::SecurityOrigin::equal const):
* Source/WebCore/page/SecurityOrigin.h:
(WebCore::SecurityOrigin::isOpaque const):
(WebCore::add):
* Source/WebCore/page/SecurityOriginData.cpp:
(WebCore::SecurityOriginData::securityOrigin const):
(WebCore::SecurityOriginData::isolatedCopy const):
(WebCore::SecurityOriginData::isolatedCopy):
(WebCore::operator==):
* Source/WebCore/page/SecurityOriginData.h:
(WebCore::SecurityOriginData::SecurityOriginData):
(WebCore::SecurityOriginData::createOpaque):
(WebCore::SecurityOriginData::isOpaque const):
(WebCore::SecurityOriginData::encode const):
(WebCore::SecurityOriginData::decode):
(WebCore::add):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list