mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibJS: Revert ArrayIterator and RegExpStringIterator to manual iterators
This is a normative change in the ECMA-262 spec. See:
de62e8d
This did not actually seem to affect our implementation as we were not
using generators here to begin with. So this patch is basically just
adding spec comments.
This commit is contained in:
parent
107d0cafcf
commit
6b4b7a54de
Notes:
github-actions[bot]
2025-04-30 11:30:29 +00:00
Author: https://github.com/trflynn89
Commit: 6b4b7a54de
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4523
6 changed files with 108 additions and 51 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
virtual ~RegExpStringIterator() override = default;
|
||||
|
||||
Object& regexp_object() { return m_regexp_object; }
|
||||
Utf16String string() const { return m_string; }
|
||||
Utf16String const& string() const { return m_string; }
|
||||
bool global() const { return m_global; }
|
||||
bool unicode() const { return m_unicode; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue