[webkit-changes] [WebKit/WebKit] bf3c42: Use UUID::createVersion4Weak for Document constructor
Yusuke Suzuki
noreply at github.com
Mon Jan 22 21:45:34 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bf3c42ab2dd81e67d87363700fca15e9c24e92d0
https://github.com/WebKit/WebKit/commit/bf3c42ab2dd81e67d87363700fca15e9c24e92d0
Author: Yusuke Suzuki <ysuzuki at 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
More information about the webkit-changes
mailing list