Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a94a8a66a84945d4356362880cd19e17b2a0cc7b
      
https://github.com/WebKit/WebKit/commit/a94a8a66a84945d4356362880cd19e17b2a0cc7b
  Author: Chris Dumez <[email protected]>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    A 
LayoutTests/http/wpt/web-locks/lock-name-length-restriction.https-expected.txt
    A LayoutTests/http/wpt/web-locks/lock-name-length-restriction.https.html
    M Source/WebCore/Headers.cmake
    M Source/WebCore/Modules/web-locks/WebLock.h
    M Source/WebCore/Modules/web-locks/WebLockManager.cpp
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebKit/UIProcess/WebLockRegistryProxy.cpp

  Log Message:
  -----------
  Restrict the length of requested web locks names
https://bugs.webkit.org/show_bug.cgi?id=262920
rdar://116189077

Reviewed by Brent Fulgham.

Restrict the length of requested web locks names to prevent abuse.

* 
LayoutTests/http/wpt/web-locks/lock-name-length-restriction.https-expected.txt: 
Added.
* LayoutTests/http/wpt/web-locks/lock-name-length-restriction.https.html: Added.
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/web-locks/WebLock.h:
* Source/WebCore/Modules/web-locks/WebLockManager.cpp:
(WebCore::WebLockManager::request):
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebKit/UIProcess/WebLockRegistryProxy.cpp:
(WebKit::WebLockRegistryProxy::requestLock):

Originally-landed-as: 267815.246@safari-7617-branch (85aba6be5983). 
rdar://119577065
Canonical link: https://commits.webkit.org/272250@main


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

Reply via email to