MCPcopy Index your code
hub / github.com/nodejs/node / step4

Function step4

test/fixtures/wpt/webstorage/event_basic.js:78–93  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

76 }
77
78 function step4(msg)
79 {
80 if(msg != undefined) {
81 assert_unreached(msg);
82 }
83 assert_equals(storageEventList.length, 6);
84 assert_equals(storageEventList[5].storageAreaString, storageString,
85 "Storage event came from wrong storage type.");
86 assert_equals(storageEventList[5].key, "FOO");
87 assert_equals(storageEventList[5].oldValue, "BAR");
88 assert_equals(storageEventList[5].newValue, null);
89
90 storage.removeItem('FU');
91
92 runAfterNStorageEvents(t.step_func(step5), 7);
93 }
94
95 function step5(msg)
96 {

Callers

nothing calls this directly

Calls 4

runAfterNStorageEventsFunction · 0.85
assert_unreachedFunction · 0.50
assert_equalsFunction · 0.50
removeItemMethod · 0.45

Tested by

no test coverage detected