Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8d2e7896295d7b73aaf7d2450ec35908326fbc55
https://github.com/WebKit/WebKit/commit/8d2e7896295d7b73aaf7d2450ec35908326fbc55
Author: Ahmad Saleem <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M Source/WebCore/loader/PolicyChecker.cpp
Log Message:
-----------
PolicyChecker.cpp has a dead #undef and leaks five macros into the unified
build
https://bugs.webkit.org/show_bug.cgi?id=322897
rdar://186149389
Reviewed by Chris Dumez.
The #undef block at the end of PolicyChecker.cpp did not match the
macros defined at the top of the file: it undef'd IS_ALLOWED, which is
never defined, while leaving PAGE_ID_WITH_THIS, FRAME_ID_WITH_THIS,
POLICYCHECKER_RELEASE_LOG_WITH_THIS, POLICYCHECKER_RELEASE_LOG_FORWARDABLE,
and POLICYCHECKER_RELEASE_LOG_FORWARDABLE_WITH_THIS defined. These leak
into subsequent translation units in the unified build.
Remove the dead #undef and undef all eight macros that are defined.
* Source/WebCore/loader/PolicyChecker.cpp:
Canonical link: https://commits.webkit.org/320313@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications