MCPcopy 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

doTestFunction · 0.70
get_keysFunction · 0.70
forEachMethod · 0.65
clearMethod · 0.65
testFunction · 0.50
assert_equalsFunction · 0.50
assert_array_equalsFunction · 0.50
setItemMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected