mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS: Allow constructing generator from function with null "prototype"
Fixes 4 test262 tests and simplifies some upcoming stuff.
This commit is contained in:
committed by
Andreas Kling
parent
acce880359
commit
d8f5971ddf
Notes:
github-actions[bot]
2025-11-17 22:44:21 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/d8f5971ddf4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6845
@@ -44,7 +44,7 @@ public:
|
||||
Optional<String> const& generator_brand() const { return m_generator_brand; }
|
||||
|
||||
private:
|
||||
AsyncGenerator(Realm&, Object& prototype, NonnullOwnPtr<ExecutionContext>);
|
||||
AsyncGenerator(Realm&, Object* prototype, NonnullOwnPtr<ExecutionContext>);
|
||||
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user