diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-15 14:10:16 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-15 14:14:02 +0100 |
commit | 9f02afd8fea1501f262fa03bff56c6fde3a82c6f (patch) | |
tree | a00f2cf6c7262944975fa1474afea37ef21b654b /Userland/Libraries/LibWeb/HTML | |
parent | 4708a65160f913e46efdf263d371723280a9c7d3 (diff) | |
download | serenity-9f02afd8fea1501f262fa03bff56c6fde3a82c6f.zip |
LibWeb: Don't delay document load event forever with cached CSS imports
If we try to @import a stylesheet that was already cached, we'll get a
synchronous resource_did_load() callback. Because of this, it's
necessary to set up the document load event delayer *before* calling
set_resource(), as otherwise we'd be stuck without a load event forever.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML')
0 files changed, 0 insertions, 0 deletions