Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ea721e9383ae4863df1af7a8810b0bdf5f37eade
https://github.com/WebKit/WebKit/commit/ea721e9383ae4863df1af7a8810b0bdf5f37eade
Author: Gavin Phillips <[email protected]>
Date: 2025-09-22 (Mon, 22 Sep 2025)
Changed paths:
M Source/WebKit/Scripts/generate-serializers.py
M Source/WebKit/Scripts/webkit/tests/Makefile
A Source/WebKit/Scripts/webkit/tests/TestInvalidAttributes.serialization.in
M Source/WebKit/Shared/cf/CFTypes.serialization.in
Log Message:
-----------
generate-serializers should fail generation if an attribute isn't recognized
https://bugs.webkit.org/show_bug.cgi?id=299185
rdar://160944292
Reviewed by Alex Christensen.
Previously generate-serializers.py would just continue silently if it didn't
recognize
an attribute. This can lead to errors either later in compilation or in the
runtime
behavior. Instead, this change cause us to hard error on generation.
* Source/WebKit/Scripts/generate-serializers.py:
(SerializedType.__init__):
* Source/WebKit/Scripts/webkit/tests/Makefile:
* Source/WebKit/Scripts/webkit/tests/TestInvalidAttributes.serialization.in:
Added.
* Source/WebKit/Shared/cf/CFTypes.serialization.in:
Canonical link: https://commits.webkit.org/300314@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