diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-08 11:17:43 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-08 11:19:27 +0200 |
commit | e90ccf6a2007defe2778be247c8a4ffc6c91163a (patch) | |
tree | 5d1f8880d8dc09500fc2da1c526f10e5632f4e16 /Userland/Applications | |
parent | ef371596a4e0103ff4ef818122bd13175e2cde5e (diff) | |
download | serenity-e90ccf6a2007defe2778be247c8a4ffc6c91163a.zip |
LibWeb: Make BrowsingContext::m_top_level_browsing_context a WeakPtr
At the moment, nested browsing contexts expect that there's always a
top-level browsing context at some higher level. That's okay, but let's
keep the top-level pointer in a WeakPtr to make it easier to catch
mistakes (as this turns UAF into a null dereference.)
Diffstat (limited to 'Userland/Applications')
0 files changed, 0 insertions, 0 deletions