CSE 361: Web Security

•JavaScript in an execution context (e.g., a Web document) is single-threaded •Concurrency is event-driven • Do something, yield process, wait for wake-up • e.g., implemented by setTimeout with (potentially anonymous) callback function • loading the same page twice might not execute instructions in the same order 14 ................
................