ladybird/Userland/Libraries/LibJS/Runtime
Shannon Booth ee35e93eb2 LibJS: Early return from Date string parsing on empty string
Loading Ladybird on Github results in 37 debug logs about being unable
to parse an empty Date string. This log is intended to catch Date
formats we do not support to detect web compatability problems, which
makes this case not particuarly useful to log.

Instead of trying to parse all of the different date formats and
logging that the string is not valid, let's just return NAN immediately.
2024-10-13 10:12:56 +02:00
..
Intl LibJS: Remove the InitializeNumberFormat AO 2024-08-15 17:21:00 -04:00
Temporal LibJS: Impose limits on a valid duration 2024-08-14 11:48:08 +02:00
AbstractOperations.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
AbstractOperations.h LibJS: Introduce the CanonicalizeKeyedCollectionKey AO 2024-07-13 19:57:31 +02:00
Accessor.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Accessor.h
Agent.cpp
Agent.h
AggregateError.cpp
AggregateError.h
AggregateErrorConstructor.cpp
AggregateErrorConstructor.h
AggregateErrorPrototype.cpp
AggregateErrorPrototype.h
ArgumentsObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ArgumentsObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Array.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Array.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ArrayBuffer.cpp LibJS: Mark a call to DetachArrayBuffer as infallible 2024-08-20 12:24:49 -04:00
ArrayBuffer.h LibJS: Update spec steps/links for the ArrayBuffer transfer proposal 2024-08-20 12:24:49 -04:00
ArrayBufferConstructor.cpp
ArrayBufferConstructor.h
ArrayBufferPrototype.cpp LibJS: Update spec steps/links for the ArrayBuffer transfer proposal 2024-08-20 12:24:49 -04:00
ArrayBufferPrototype.h LibJS: Update spec steps/links for the ArrayBuffer transfer proposal 2024-08-20 12:24:49 -04:00
ArrayConstructor.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ArrayConstructor.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ArrayIterator.cpp
ArrayIterator.h
ArrayIteratorPrototype.cpp
ArrayIteratorPrototype.h
ArrayPrototype.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ArrayPrototype.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
AsyncFromSyncIterator.cpp
AsyncFromSyncIterator.h
AsyncFromSyncIteratorPrototype.cpp
AsyncFromSyncIteratorPrototype.h
AsyncFunctionConstructor.cpp
AsyncFunctionConstructor.h
AsyncFunctionDriverWrapper.cpp
AsyncFunctionDriverWrapper.h
AsyncFunctionPrototype.cpp
AsyncFunctionPrototype.h
AsyncGenerator.cpp Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
AsyncGenerator.h Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
AsyncGeneratorFunctionConstructor.cpp
AsyncGeneratorFunctionConstructor.h
AsyncGeneratorFunctionPrototype.cpp
AsyncGeneratorFunctionPrototype.h
AsyncGeneratorPrototype.cpp LibJS: Remove unused target field from Completion 2024-05-10 15:03:24 +00:00
AsyncGeneratorPrototype.h
AsyncGeneratorRequest.h
AsyncIteratorPrototype.cpp
AsyncIteratorPrototype.h
AtomicsObject.cpp
AtomicsObject.h
BigInt.cpp
BigInt.h
BigIntConstructor.cpp Everywhere: Use east const in more places 2024-04-19 06:31:19 -04:00
BigIntConstructor.h
BigIntObject.cpp
BigIntObject.h
BigIntPrototype.cpp LibJS+LibLocale: Begin replacing number formatting with ICU 2024-06-10 13:51:51 +02:00
BigIntPrototype.h
BooleanConstructor.cpp
BooleanConstructor.h
BooleanObject.cpp
BooleanObject.h
BooleanPrototype.cpp
BooleanPrototype.h
BoundFunction.cpp LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
BoundFunction.h
ByteLength.h
CanonicalIndex.h
ClassFieldDefinition.h
CommonPropertyNames.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Completion.cpp LibJS: Remove unused target field from Completion 2024-05-10 15:03:24 +00:00
Completion.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ConsoleObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ConsoleObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ConsoleObjectPrototype.cpp LibJS: Set empty prototype for console object 2024-08-12 17:21:01 +01:00
ConsoleObjectPrototype.h LibJS: Set empty prototype for console object 2024-08-12 17:21:01 +01:00
DataView.cpp
DataView.h
DataViewConstructor.cpp
DataViewConstructor.h
DataViewPrototype.cpp
DataViewPrototype.h
Date.cpp LibJS: Add a non-BigInt overload of GetNamedTimeZoneOffsetNanoseconds 2024-09-03 19:26:04 +02:00
Date.h LibJS: Add a non-BigInt overload of GetNamedTimeZoneOffsetNanoseconds 2024-09-03 19:26:04 +02:00
DateConstructor.cpp LibJS: Early return from Date string parsing on empty string 2024-10-13 10:12:56 +02:00
DateConstructor.h
DatePrototype.cpp LibJS: Add a non-BigInt overload of GetNamedTimeZoneOffsetNanoseconds 2024-09-03 19:26:04 +02:00
DatePrototype.h
DeclarativeEnvironment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DeclarativeEnvironment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DisposableStack.cpp
DisposableStack.h
DisposableStackConstructor.cpp
DisposableStackConstructor.h
DisposableStackPrototype.cpp
DisposableStackPrototype.h
ECMAScriptFunctionObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ECMAScriptFunctionObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Environment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Environment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
EnvironmentCoordinate.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Error.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Error.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ErrorConstructor.cpp
ErrorConstructor.h
ErrorPrototype.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ErrorPrototype.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ErrorTypes.cpp
ErrorTypes.h LibJS: Implement the latest Intl.DurationFormat proposal 2024-06-14 07:59:42 +02:00
ExecutionContext.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ExecutionContext.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
FinalizationRegistry.cpp LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
FinalizationRegistry.h LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
FinalizationRegistryConstructor.cpp
FinalizationRegistryConstructor.h
FinalizationRegistryPrototype.cpp LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
FinalizationRegistryPrototype.h
FunctionConstructor.cpp LibJS+LibWeb: Pass function metadata collected in parsing using a struct 2024-05-23 09:53:31 +02:00
FunctionConstructor.h
FunctionEnvironment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
FunctionEnvironment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
FunctionKind.h
FunctionObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
FunctionObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
FunctionPrototype.cpp
FunctionPrototype.h
GeneratorFunctionConstructor.cpp
GeneratorFunctionConstructor.h
GeneratorFunctionPrototype.cpp
GeneratorFunctionPrototype.h
GeneratorObject.cpp LibJS/Bytecode: Flatten bytecode to a contiguous representation 2024-05-07 09:15:40 +02:00
GeneratorObject.h LibJS: Merge CallFrame into ExecutionContext 2024-05-02 07:26:13 +02:00
GeneratorPrototype.cpp LibJS: Remove unused target field from Completion 2024-05-10 15:03:24 +00:00
GeneratorPrototype.h
GlobalEnvironment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
GlobalEnvironment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
GlobalObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
GlobalObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
IndexedProperties.cpp LibJS/Bytecode: Inline indexed property access in GetByVal better 2024-05-09 09:12:13 +02:00
IndexedProperties.h LibJS/Bytecode: Inline indexed property access in GetByVal better 2024-05-09 09:12:13 +02:00
Intrinsics.cpp Revert "LibJS: Cache the shape for normal ECMAScriptFunctionObject prototypes" 2024-09-28 19:41:30 +02:00
Intrinsics.h Revert "LibJS: Cache the shape for normal ECMAScriptFunctionObject prototypes" 2024-09-28 19:41:30 +02:00
Iterator.cpp LibJS: Implement Iterator.prototype [ @@toStringTag ] according to spec 2024-07-18 14:49:25 +02:00
Iterator.h LibJS: Implement Iterator.prototype [ @@toStringTag ] according to spec 2024-07-18 14:49:25 +02:00
IteratorConstructor.cpp
IteratorConstructor.h
IteratorHelper.cpp LibJS: Use HeapFunction for IteratorHelper 2024-08-18 11:15:08 +02:00
IteratorHelper.h LibJS: Use the IteratorStepValue AO in Iterator prototypes 2024-08-27 13:00:37 -04:00
IteratorHelperPrototype.cpp LibJS: Change generator state enum casing in IteratorHelperPrototype 2024-08-27 13:00:37 -04:00
IteratorHelperPrototype.h
IteratorPrototype.cpp LibJS: Use the IteratorStepValue AO in Iterator prototypes 2024-08-27 13:00:37 -04:00
IteratorPrototype.h LibJS: Implement Iterator.prototype.constructor according to spec 2024-07-18 14:49:25 +02:00
JobCallback.cpp LibJS: Add missing Base::visit_edges() in JobCallback 2024-04-02 15:56:05 +02:00
JobCallback.h LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
JSONObject.cpp AK+Everywhere: Remove JsonValue APIs with implicit default values 2024-01-21 15:47:53 -07:00
JSONObject.h
KeyedCollections.cpp LibJS: Introduce the CanonicalizeKeyedCollectionKey AO 2024-07-13 19:57:31 +02:00
KeyedCollections.h LibJS: Introduce the CanonicalizeKeyedCollectionKey AO 2024-07-13 19:57:31 +02:00
Map.cpp LibJS: Suppress LibJSGCVerifier warning about Map::m_keys 2024-04-07 18:01:50 +02:00
Map.h
MapConstructor.cpp
MapConstructor.h
MapIterator.cpp
MapIterator.h
MapIteratorPrototype.cpp
MapIteratorPrototype.h
MapPrototype.cpp LibJS: Introduce the CanonicalizeKeyedCollectionKey AO 2024-07-13 19:57:31 +02:00
MapPrototype.h
MathObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MathObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ModuleEnvironment.cpp
ModuleEnvironment.h
ModuleNamespaceObject.cpp LibJS: Add PropertyLookupPhase enum to distinguish Object [[Get]] calls 2024-05-04 21:42:59 +02:00
ModuleNamespaceObject.h LibJS: Add PropertyLookupPhase enum to distinguish Object [[Get]] calls 2024-05-04 21:42:59 +02:00
ModuleRequest.h
NativeFunction.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NativeFunction.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NumberConstructor.cpp LibJS: Add missing ValueInlines.h include for Value::to_numeric 2024-07-07 11:32:57 +02:00
NumberConstructor.h
NumberObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NumberObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NumberPrototype.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NumberPrototype.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Object.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Object.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectConstructor.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectConstructor.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectEnvironment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectEnvironment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectPrototype.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ObjectPrototype.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
PrimitiveString.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
PrimitiveString.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
PrivateEnvironment.cpp LibJS: Stop using execute_ast_node() for class property evaluation 2024-05-12 19:10:25 +02:00
PrivateEnvironment.h LibJS: Stop using execute_ast_node() for class property evaluation 2024-05-12 19:10:25 +02:00
Promise.cpp LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
Promise.h
PromiseCapability.cpp
PromiseCapability.h
PromiseConstructor.cpp LibJS: Implement Promise.try() 2024-04-09 10:18:35 +02:00
PromiseConstructor.h LibJS: Implement Promise.try() 2024-04-09 10:18:35 +02:00
PromiseJobs.cpp LibJS: Fix GC leaks in promise reaction job setup 2024-04-23 12:50:40 +02:00
PromiseJobs.h LibJS: Make PromiseJob store callback as a HeapFunction 2024-03-26 05:47:24 +01:00
PromisePrototype.cpp LibJS: Don't create Handles in Promise.finally() 2024-04-03 18:14:33 +02:00
PromisePrototype.h
PromiseReaction.cpp LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
PromiseReaction.h LibJS+LibWeb: Change JobCallback to be GC-allocated 2024-03-16 14:27:06 +01:00
PromiseResolvingElementFunctions.cpp LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
PromiseResolvingElementFunctions.h LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
PromiseResolvingFunction.cpp
PromiseResolvingFunction.h
PropertyAttributes.h LibJS: Add the [[Unimplemented]] attribute 2024-06-11 16:33:30 +02:00
PropertyDescriptor.cpp
PropertyDescriptor.h LibJS: Add the [[Unimplemented]] attribute 2024-06-11 16:33:30 +02:00
PropertyKey.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
PrototypeObject.h
ProxyConstructor.cpp
ProxyConstructor.h
ProxyObject.cpp LibJS: Manually limit the recursion depth in Proxy 2024-05-11 13:00:46 +02:00
ProxyObject.h LibJS: Add PropertyLookupPhase enum to distinguish Object [[Get]] calls 2024-05-04 21:42:59 +02:00
Realm.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Realm.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Reference.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Reference.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ReflectObject.cpp
ReflectObject.h
RegExpConstructor.cpp
RegExpConstructor.h
RegExpLegacyStaticProperties.cpp
RegExpLegacyStaticProperties.h
RegExpObject.cpp LibWeb: Add missing visit_edges implementation to RegExpObject 2024-04-06 06:59:36 +02:00
RegExpObject.h LibWeb: Add missing visit_edges implementation to RegExpObject 2024-04-06 06:59:36 +02:00
RegExpPrototype.cpp
RegExpPrototype.h
RegExpStringIterator.cpp
RegExpStringIterator.h
RegExpStringIteratorPrototype.cpp
RegExpStringIteratorPrototype.h
Set.cpp LibJS: Update specification steps for the Set Methods proposal 2024-07-13 19:57:31 +02:00
Set.h LibJS: Update specification steps for the Set Methods proposal 2024-07-13 19:57:31 +02:00
SetConstructor.cpp LibJS: Use IteratorStepValue in ECMA-262 2024-02-03 14:07:26 -05:00
SetConstructor.h
SetIterator.cpp
SetIterator.h
SetIteratorPrototype.cpp
SetIteratorPrototype.h
SetPrototype.cpp LibJS: Update specification steps for the Set Methods proposal 2024-07-13 19:57:31 +02:00
SetPrototype.h LibJS: Update specification steps for the Set Methods proposal 2024-07-13 19:57:31 +02:00
ShadowRealm.cpp LibJS: Remove two unused members from ExecutionContext 2024-05-31 16:31:33 +02:00
ShadowRealm.h
ShadowRealmConstructor.cpp LibJS: Remove two unused members from ExecutionContext 2024-05-31 16:31:33 +02:00
ShadowRealmConstructor.h
ShadowRealmPrototype.cpp
ShadowRealmPrototype.h
Shape.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Shape.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SharedArrayBufferConstructor.cpp
SharedArrayBufferConstructor.h
SharedArrayBufferPrototype.cpp LibJS: Implement missing checks for SharedArrayBuffer values 2023-12-29 09:25:41 +01:00
SharedArrayBufferPrototype.h
StringConstructor.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StringConstructor.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StringIterator.cpp
StringIterator.h
StringIteratorPrototype.cpp
StringIteratorPrototype.h
StringObject.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StringObject.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StringOrSymbol.h AK+LibJS: Remove null state from DeprecatedFlyString :^) 2024-02-24 15:06:52 -07:00
StringPrototype.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StringPrototype.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SuppressedError.cpp
SuppressedError.h
SuppressedErrorConstructor.cpp
SuppressedErrorConstructor.h
SuppressedErrorPrototype.cpp
SuppressedErrorPrototype.h
Symbol.cpp
Symbol.h
SymbolConstructor.cpp
SymbolConstructor.h
SymbolObject.cpp
SymbolObject.h
SymbolPrototype.cpp
SymbolPrototype.h
TypedArray.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TypedArray.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TypedArrayConstructor.cpp
TypedArrayConstructor.h
TypedArrayPrototype.cpp LibJS: Add fast paths in TypedArrayPrototype.fill() 2024-05-13 17:29:37 +02:00
TypedArrayPrototype.h
Uint8Array.cpp LibJS: Implement Uint8Array.prototype.setFromHex 2024-09-03 17:43:03 +02:00
Uint8Array.h LibJS: Implement Uint8Array.prototype.setFromHex 2024-09-03 17:43:03 +02:00
Utf16String.cpp
Utf16String.h
Value.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Value.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ValueInlines.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ValueTraits.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
VM.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
VM.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
WeakContainer.cpp
WeakContainer.h
WeakMap.cpp
WeakMap.h
WeakMapConstructor.cpp
WeakMapConstructor.h
WeakMapPrototype.cpp
WeakMapPrototype.h
WeakRef.cpp
WeakRef.h
WeakRefConstructor.cpp
WeakRefConstructor.h
WeakRefPrototype.cpp
WeakRefPrototype.h
WeakSet.cpp
WeakSet.h LibJSGCVerifier: Support marking GCPtr members as raw references 2024-04-06 06:59:36 +02:00
WeakSetConstructor.cpp LibJS: Use IteratorStepValue in ECMA-262 2024-02-03 14:07:26 -05:00
WeakSetConstructor.h
WeakSetPrototype.cpp
WeakSetPrototype.h
WrapForValidIteratorPrototype.cpp LibJS: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
WrapForValidIteratorPrototype.h LibJS: Add calls to JS_{DECLARE,DEFINE}_ALLOCATOR() 2024-04-09 09:13:06 +02:00
WrappedFunction.cpp LibJS: Remove two unused members from ExecutionContext 2024-05-31 16:31:33 +02:00
WrappedFunction.h