1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:05:08 +00:00
serenity/Userland/Libraries/LibJS
Timothy Flynn e0d26fff8c LibJS: Replace strings with the search value coerced to a string
This only causes 1 new test262 test to pass. Other tests that rely on
this coercion fail due to receiving an unexpected value for 'this' when
invoking a functional replacement. For example:

    String/prototype/replaceAll/replaceValue-call-matching-empty.js

Receives 'undefined' for 'this' in the functional replacement invocation
but is expected to receive the global 'this'.
2021-07-06 22:33:17 +01:00
..
Bytecode LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
Heap LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
Runtime LibJS: Replace strings with the search value coerced to a string 2021-07-06 22:33:17 +01:00
Tests LibJS: Replace strings with the search value coerced to a string 2021-07-06 22:33:17 +01:00
AST.cpp LibJS: Remove Object::is_array() in favor of Value::is_array() and RTTI 2021-07-06 14:26:18 +01:00
AST.h Revert "LibJS: Don't hoist functions under certain circumstances" 2021-07-06 13:25:37 +01:00
CMakeLists.txt LibJS: Rewrite most of Object for spec compliance :^) 2021-07-04 22:07:36 +01:00
Console.cpp LibJS: Rename CallFrame => ExecutionContext 2021-06-24 19:28:00 +02:00
Console.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibJS: Implement most of String.prototype.replaceAll 2021-07-05 01:10:43 +01:00
Interpreter.cpp LibJS: Remove the non-standard put helper and replace it's usages 2021-07-06 14:20:30 +01:00
Interpreter.h LibJS: Drop "Record" suffix from all the *Environment record classes 2021-07-01 12:28:57 +02:00
Lexer.cpp LibJS: Make a slash after a curly close mean not-division 2021-07-02 14:59:03 +02:00
Lexer.h LibJS+LibCrypto: Allow '_' as a numeric literal separator :^) 2021-06-26 16:30:35 +02:00
MarkupGenerator.cpp LibJS: Remove Object::is_array() in favor of Value::is_array() and RTTI 2021-07-06 14:26:18 +01:00
MarkupGenerator.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Parser.cpp Revert "LibJS: Don't hoist functions under certain circumstances" 2021-07-06 13:25:37 +01:00
Parser.h Revert "LibJS: Don't hoist functions under certain circumstances" 2021-07-06 13:25:37 +01:00
SourceRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp LibJS+LibCrypto: Allow '_' as a numeric literal separator :^) 2021-06-26 16:30:35 +02:00
Token.h Everywhere: Use s.unverwerth@serenityos.org :^) 2021-05-29 12:30:08 +01:00