Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1de8ffe151a71ac43691a8c3fca70992585af1ba
      
https://github.com/WebKit/WebKit/commit/1de8ffe151a71ac43691a8c3fca70992585af1ba
  Author: Timothy Hatcher <[email protected]>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M 
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm

  Log Message:
  -----------
  Adopt unsafeForgeSpan() for Web Extension arguments.
https://webkit.org/b/282353
rdar://problem/138945425

Reviewed by Brian Weinstein.

Use `std::span` from `unsafeForgeSpan()` to make the arguments access in the 
generated code safer.
This allows us to drop `WTF_ALLOW_UNSAFE_BUFFER_USAGE_BEGIN` in these generated 
files.

* 
Source/WebKit/WebProcess/Extensions/Bindings/Scripts/CodeGeneratorExtensions.pm:
(_generateImplementationFile):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to