Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf3c42ab2dd81e67d87363700fca15e9c24e92d0
      
https://github.com/WebKit/WebKit/commit/bf3c42ab2dd81e67d87363700fca15e9c24e92d0
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M Source/WTF/wtf/UUID.cpp
    M Source/WTF/wtf/UUID.h
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/platform/ScriptExecutionContextIdentifier.h

  Log Message:
  -----------
  Use UUID::createVersion4Weak for Document constructor
https://bugs.webkit.org/show_bug.cgi?id=267897
rdar://121405807

Reviewed by Ryosuke Niwa.

We do not need cryptographically random values here. Use 
UUID::createVersion4Weak.

* Source/WTF/wtf/UUID.cpp:
(WTF::createVersion4UUIDString):
* Source/WTF/wtf/UUID.h:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::originIdentifierForPasteboard const):
(WebCore::Document::didInsertAttachmentElement):
* Source/WebCore/platform/ScriptExecutionContextIdentifier.h:
(WebCore::ProcessQualified<WTF::UUID>::generate):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to