diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-07-14 09:11:34 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-14 17:16:39 +0200 |
commit | f7acd6aca52f16076232d3a95eccbe3f896252cb (patch) | |
tree | c00558342959d890a806ee0c830f8d5b670d019b /Meta/run.sh | |
parent | 22ab512f39f02338bfbb6b2260eb21eed3a5eaf3 (diff) | |
download | serenity-f7acd6aca52f16076232d3a95eccbe3f896252cb.zip |
LibWeb: Handle when the last selected node does not contain text
If the text-for-rendering of the last selected node is empty, the select
all implementation would end up setting the index to -1. This value is
used directly for a substring length in the copy text implementation,
thus would cause a failed assertion.
Diffstat (limited to 'Meta/run.sh')
0 files changed, 0 insertions, 0 deletions