[w3c/webstorage] Is data considered to be `running` between the script's initial execution, and the firing of the timeout? (#6)

This comment was submitted by Josh Soref on 2015-07-02, see <a href="https://github.com/w3c/webstorage/issues/5">#5</a>:

> User agents should always avoid deleting data while a script that could access that data is running.

consider a script which does:

var global_state = window.localStorage.getItem("value");
function uses_global_state() { if (global_state == 5) { .... }}
window.setTimeout(uses_global_state, 2000000);

between the script's initial execution, and the firing of the timeout,
is the script considered to be `running`?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webstorage/issues/6

Received on Wednesday, 20 April 2016 16:53:25 UTC