"while a JavaScript event loop is running." is probably not intended #456
Labels
Agenda+
Status: Consensus to write
We have TAG consensus about the principle but someone needs to write it (see "To Write" project)
Milestone
https://w3ctag.github.io/design-principles/#js-rtc
An event loop is running from the creation of an agent, and it doesn't stop until the agent is destroyed. By this definition, data can never really update.
This should probably be reworded in terms of running scripts and callback invoking.
It might be worth calling out that
new Date()
,Date.now()
,performance.now()
are accepted breakages of this rule.In fact, it's interesting to compare
performance.now()
todocument.timeline.currentTime
, as the former breaks run-to-completion, whereas the latter is stable for the whole frame (beyond a single callback).The text was updated successfully, but these errors were encountered: