mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
a7316d3641
This commit effectively just does a bulk update of this function to the spec. Since there have been so many spec changes, no specific change was made in mind, and many FIXMEs have been left for where we are still out of date. These changes also appear to include a normative change to the temporal spec which was previously resulting in timeouts for some tests, and is now resulting in a timeout. Furthermore, this also resolves some crashes by protecting against division by zero, instead throwing a RangeError. This can only happen when a custom calender is provided which returns funky values. See: https://github.com/tc39/proposal-temporal/commit/ed85e9 Diff Tests: +8 ✅ -4 💀 -4 💥️ |
||
---|---|---|
.. | ||
Bytecode | ||
Contrib/Test262 | ||
Heap | ||
JIT | ||
Runtime | ||
Tests | ||
AST.cpp | ||
AST.h | ||
CMakeLists.txt | ||
Console.cpp | ||
Console.h | ||
CyclicModule.cpp | ||
CyclicModule.h | ||
Forward.h | ||
Lexer.cpp | ||
Lexer.h | ||
MarkupGenerator.cpp | ||
MarkupGenerator.h | ||
Module.cpp | ||
Module.h | ||
ModuleLoading.h | ||
Parser.cpp | ||
Parser.h | ||
ParserError.cpp | ||
ParserError.h | ||
Position.h | ||
Print.cpp | ||
Print.h | ||
SafeFunction.h | ||
Script.cpp | ||
Script.h | ||
SourceCode.cpp | ||
SourceCode.h | ||
SourceRange.h | ||
SourceTextModule.cpp | ||
SourceTextModule.h | ||
SyntaxHighlighter.cpp | ||
SyntaxHighlighter.h | ||
SyntheticModule.cpp | ||
SyntheticModule.h | ||
Token.cpp | ||
Token.h |