-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(ext/webstorage): use object wrap for Storage
#26931
base: main
Are you sure you want to change the base?
Conversation
Storage
Storage
Storage
@@ -9789,7 +9789,7 @@ | |||
"event_constructor.window.html": false, | |||
"event_initstorageevent.window.html": false, | |||
"missing_arguments.window.html": true, | |||
"storage_builtins.window.html": true, | |||
"storage_builtins.window.html": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test checks if
Storage.prototype.setItem == localStorage.setItem
but our Proxy needs to create a new instance via .bind
because receiver holds cppgc object.
#[required(1)] | ||
#[string] | ||
fn key( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[arguments = { required(1) }, return = string]
#[fast] | ||
#[required(2)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[fast, webidl = { required(2) }]
Depends on:
#[required(<count>)]
deno_core#976String(V)
for non-strings deno_core#980