summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-09-05 12:21:48 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commitcb151321463b133fbdfff57c0ab25da067e66410 (patch)
tree4d7e608146dffb62cfe56ae1455c17d4b8d3fd3d /Userland/Libraries/LibJS/Runtime/SetConstructor.cpp
parente97cc671eaff2830fc1481f932378727c4136f55 (diff)
downloadserenity-cb151321463b133fbdfff57c0ab25da067e66410.zip
LibWeb: Always allow scripting in workers for now
Workers don't have a document, so we can't ask them if scripting is enabled or not. This is not the right long-term fix, but it fixes an assertion when trying to query the missing responsible document of a web worker.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/SetConstructor.cpp')
0 files changed, 0 insertions, 0 deletions