mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 17:15:26 +00:00
LibJS: Make FunctionPrototype's name empty per the spec
This commit is contained in:
committed by
Tim Ledbetter
parent
74614a10d1
commit
872a214f80
@@ -30,9 +30,8 @@ private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(to_string);
|
||||
JS_DECLARE_NATIVE_FUNCTION(symbol_has_instance);
|
||||
|
||||
// Totally unnecessary, but sadly still necessary.
|
||||
// TODO: Get rid of the pointless name() method.
|
||||
DeprecatedFlyString m_name { "FunctionPrototype" };
|
||||
// 20.2.3: The Function prototype object has a "name" property whose value is the empty String.
|
||||
DeprecatedFlyString m_name;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user