mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb/WebIDL: Bring IDL::construct() up to date with the spec
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
As with a few other functions in this file, this is a combination of the current spec, and a PR that integrates shadow realms.
This commit is contained in:
parent
1b7b531d61
commit
3d630e676e
Notes:
github-actions[bot]
2025-06-10 09:58:05 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3d630e676e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5040
Reviewed-by: https://github.com/gmta ✅
2 changed files with 31 additions and 22 deletions
|
@ -36,7 +36,7 @@ JS::Completion invoke_callback(CallbackType& callback, Optional<JS::Value> this_
|
|||
|
||||
GC::Ref<Promise> invoke_promise_callback(CallbackType& callback, Optional<JS::Value> this_argument, ReadonlySpan<JS::Value> args);
|
||||
|
||||
JS::Completion construct(CallbackType& callback, ReadonlySpan<JS::Value> args);
|
||||
JS::Completion construct(CallbackType& callable, ReadonlySpan<JS::Value> args);
|
||||
|
||||
// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart
|
||||
double integer_part(double n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue