summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-08 11:17:43 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-08 11:19:27 +0200
commite90ccf6a2007defe2778be247c8a4ffc6c91163a (patch)
tree5d1f8880d8dc09500fc2da1c526f10e5632f4e16 /Userland/Applications
parentef371596a4e0103ff4ef818122bd13175e2cde5e (diff)
downloadserenity-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