Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ storage_key.window.js
File
storage_key.window.js
test/fixtures/wpt/webstorage/storage_key.window.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
[
"localStorage"
,
"sessionStorage"
].forEach(
function
(name) {
2
test(
function
() {
3
var
storage = window[name];
4
storage.clear();
Callers
nothing calls this directly
Calls
9
doTest
Function · 0.70
get_keys
Function · 0.70
forEach
Method · 0.65
clear
Method · 0.65
test
Function · 0.50
assert_equals
Function · 0.50
assert_array_equals
Function · 0.50
setItem
Method · 0.45
key
Method · 0.45
Tested by
no test coverage detected