ladybird/Meta
Shannon Booth cc871620e6 LibWeb/Bindings: Preserve object EventHandler assignments
EventHandler attributes are nullable callback function attributes with
[LegacyTreatNonObjectAsNull]. Assigning a non-object value should
produce null, but assigning an object value should preserve that object
as the callback value, even when the object is not callable.

Previously, object values such as `{ handleEvent() {} }` could pass the
nullable conversion and then be converted to null by the inner callback
function conversion. This made MessagePort.onmessage in the fixed test
return null after such an assignment.

Handle the non-object-to-null rule in nullable conversion, and let the
legacy callback conversion wrap object values without rejecting them for
not being callable.

Fixes a regression in the python port of the IDL generator.
2026-06-11 21:33:58 +02:00
..
CMake LibImageDecoders: Decode GIFs using wuffs 2026-06-10 20:29:11 +02:00
Debuggers Meta: Restore serenity_gdb.py 2026-05-28 14:33:25 +01:00
Docker/ci Meta: Revert to a stable rust compiler 2026-06-02 20:12:41 +02:00
Generators LibWeb/Bindings: Preserve object EventHandler assignments 2026-06-11 21:33:58 +02:00
Lagom LibGfx: Split image decoders into a separate library 2026-06-10 11:55:48 +02:00
Linters LibMedia: Implement audio time stretching with WSOLA 2026-06-06 19:58:17 -05:00
Utils Meta: Enable Gtk UI on macOS 2026-06-09 17:10:31 +02:00
debug.plist CMake: Add a command for codesigning with the get-task-allow entitlement 2024-07-02 16:57:51 -06:00
gc-heap-explorer.html Meta: Simplify GC heap explorer's class list rendering 2026-03-01 21:50:51 +01:00
import-v8-regexp-tests.py Tests+Meta: Reimport V8 regexp tests 2026-05-26 10:00:22 +02:00
import-webkit-regexp-tests.py Tests+Meta: Reimport WebKit regexp tests 2026-05-26 10:00:22 +02:00
import-wpt-test.py Meta: Handle legacy-encoded WPT files in import-wpt-test.py 2026-05-23 11:57:33 +02:00
ladybird.py Meta: Remove obsolete Lagom host-tools build 2026-06-08 01:11:40 +02:00
lint-ci.sh Meta: Revert to a stable rust compiler 2026-06-02 20:12:41 +02:00
lint-commit.sh Meta: Allow a couple of extra characters in long URLs in commit messages 2026-01-10 20:25:16 +01:00
refresh-ladybird-qtcreator.sh Documentation+Meta: Remove references to nonexistent Toolchain directory 2026-04-21 06:56:32 -04:00
watch_wpt_progress.sh Meta: Make WPT.sh run nproc/2 testrunners in parallel 2025-05-07 15:48:21 +01:00
wpt-bisect-helper.sh Meta: Add WPT.sh bisect for finding WPT regressions automatically 2025-07-17 10:51:12 +02:00
WPT.sh Meta: Move utility scripts to a subfolder 2026-04-23 12:36:08 -04:00