Files
serenity/Userland/Libraries/LibWeb/CSS/MediaQueryList.cpp
Timothy Flynn ba539d6b09 LibWeb: Guard MediaQueryList event listener removal against null
A recently imported WPT test has a subtest that effectively does the
following:

    const mql = window.matchMedia("");
    mql.removeListener(null);

(cherry picked from commit 3e5476c9e09055104fc64d294da39aa1bfccac09)
2024-11-13 19:32:02 -05:00

3.4 KiB