summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-09-12 15:02:04 +0100
committerAndreas Kling <kling@serenityos.org>2021-09-12 16:11:48 +0200
commit8ddce2faaff8405fc1435749631d1926767f9826 (patch)
treee79827164a83931a4324064a475dac3c62480d42 /Userland/Services/WebContent
parentf58f58fb774d96d6fe1b1b9350bef233d4814967 (diff)
downloadserenity-8ddce2faaff8405fc1435749631d1926767f9826.zip
LibWeb: Don't assert if reconsuming on an empty TokenStream
This fixes #9978. When a TokenStream is empty, reading its `current_token()` still returns a token (for EOF) so it makes sense to allow users to `reconsume_current_input_token()` that token, so they do not have to handle that themselves. Instead of VERIFY()ing, we can just no-op when reconsuming token 0.
Diffstat (limited to 'Userland/Services/WebContent')
0 files changed, 0 insertions, 0 deletions