1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

LibJS: Fix that windows style line endings were not ignored or converted

These are tested by test262 but the current test262-runner reads the
files in python which automatically converts \r\n to \n.
This meant that we passed the tests while we should not have.
This commit is contained in:
davidot 2021-09-01 18:34:19 +02:00 committed by Linus Groh
parent f2512071f2
commit 3fee7b0d0b
4 changed files with 51 additions and 1 deletions

View file

@ -237,6 +237,7 @@ public:
LegacyOctalEscapeSequence,
};
String string_value(StringValueStatus& status) const;
String raw_template_value() const;
bool is_identifier_name() const;
bool trivia_contains_line_terminator() const;