Skip to content

Commit dbab159

Browse files
committed
x
1 parent ad5f737 commit dbab159

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repository = "https://github.com/denoland/deno"
4646

4747
[workspace.dependencies]
4848
deno_ast = { version = "=0.43.3", features = ["transpiling"] }
49-
deno_core = { version = "0.321.0" }
49+
deno_core = { version = "0.322.0" }
5050

5151
deno_bench_util = { version = "0.172.0", path = "./bench_util" }
5252
deno_config = { version = "=0.39.2", features = ["workspace", "sync"] }
@@ -336,4 +336,4 @@ opt-level = 3
336336
opt-level = 3
337337

338338
[patch.crates-io]
339-
deno_core = { git = "https://github.com/littledivy/deno_core", branch = "required_args" }
339+
deno_core = { git = "https://github.com/littledivy/deno_core", branch = "string_validation" }

ext/webstorage/01_webstorage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function createStorage(persistent) {
5757
configurable: true,
5858
});
5959
}
60+
console.log("set", key, value);
6061
target.setItem(key, value);
6162
return true;
6263
},

ext/webstorage/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ impl Storage {
191191
state: &mut OpState,
192192
#[string] key: &str,
193193
) -> Result<Option<String>, WebStorageError> {
194+
println!("get_item {}", key);
194195
let conn = get_webstorage(state, self.persistent)?;
195196

196197
let mut stmt =

test.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var storage = localStorage;
2+
storage.clear();
3+
4+
const key = 9;
5+
const value = "value for " + storage.name;
6+
const expected = value;
7+
8+
storage[key] = value;
9+
10+
console.log(storage.getItem(key));

0 commit comments

Comments
 (0)