Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 83856b58009e613e7f6bed5bfd459a6478021e59
https://github.com/WebKit/WebKit/commit/83856b58009e613e7f6bed5bfd459a6478021e59
Author: Anne van Kesteren <[email protected]>
Date: 2026-10-09 (Fri, 09 Oct 2026)
Changed paths:
M Source/WebCore/bindings/js/SerializedScriptValue.cpp
Log Message:
-----------
Use the generated exposure check for the remaining serialization tags
https://bugs.webkit.org/show_bug.cgi?id=326960
rdar://189592354
Reviewed by Youenn Fablet.
Move File, FileList, ImageData, Blob, the geometry types, ImageBitmap,
OffscreenCanvas, MessagePort, RTCDataChannel, DOMException, and
QuotaExceededError to isInterfaceExposedInGlobalObject() from
322979@main, like the other serialization tags. Their generated exposure
checks were only consulted in AudioWorkletGlobalScope.
Every global object that can deserialize these types already exposes
them, so this only matters when a setting that gates the interface is
disabled where the value is received. This is covered by existing tests.
Remove isInterfaceExposed(), which no longer has any users.
Canonical link: https://commits.webkit.org/323229@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications