Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19570fa4f1cb059d95e03568e7514671d01b0743
      
https://github.com/WebKit/WebKit/commit/19570fa4f1cb059d95e03568e7514671d01b0743
  Author: Fujii Hironori <[email protected]>
  Date:   2026-04-20 (Mon, 20 Apr 2026)

  Changed paths:
    M Source/JavaScriptCore/API/glib/JSCContext.cpp
    M Source/WTF/wtf/glib/GSpanExtras.h
    M Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.cpp
    M Source/WebKit/Platform/IPC/glib/ArgumentCodersGlib.h
    M Source/WebKit/UIProcess/API/glib/WebKitUserContent.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
    M Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp

  Log Message:
  -----------
  [GLib] WTF::span(char**) should return an empty span for null
https://bugs.webkit.org/show_bug.cgi?id=312765

Reviewed by Adrian Perez de Castro.

WTF::span(NSData*) returns an empty span for null.
Likewise, changed other WTF::span() overloades for GLib types.
- WTF::span(GByteArray*)
- WTF::span(char**)
- WTF::span(cosnt char* const*)

* Source/JavaScriptCore/API/glib/JSCContext.cpp:
(jscContextGValueToJSValue):
* Source/WTF/wtf/glib/GSpanExtras.h:
(WTF::span):
(WTF::std::span<T>span): Deleted.
* Source/WebCore/platform/graphics/gstreamer/eme/GStreamerEMEUtilities.cpp:
(WebCore::ProtectionSystemEvents::ProtectionSystemEvents):
* Source/WebKit/Platform/IPC/glib/ArgumentCodersGlib.h:
* Source/WebKit/UIProcess/API/glib/WebKitUserContent.cpp:
(toStringVector):
* Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp:
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
* Source/WebKit/UIProcess/wpe/WebPasteboardProxyWPE.cpp:
(WebKit::clipboardFormats):
(WebKit::WebPasteboardProxy::typesSafeForDOMToReadAndWrite):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to