Re: Navigation Task

Essam K <essam.k@outlook.com>, 2015-05-18 21:04 +0000:
> Archived-At: <http://www.w3.org/mid/BAY181-W1859CFBDA3CDE8169C5F9FF0C40@phx.gbl>
> 
> Hi,
> When a user navigates to a new resource the user agent is supposed to run
> navigation algorithm mentioned in
> http://www.w3.org/TR/html5/browsers.html#navigating-across-documents.  In
> that case is the user agent responsible for creating a task that will run
> the navigation algorithm and push it into the queue or it will run the
> algorithm synchronously? 

It runs through the steps of the algorithm synchronously. If the requirement
were instead to queue a task to run the steps, the spec would explicitly
state something like “queue a task to run the following steps”or whatever
the exact wording is that it uses for such things in other places.

The spec is very consistent and careful about saying exactly what it means.
If it doesn’t say “queue a task” at some point, then you can be confident
it really means that no task is queued. It’s not an oversight.

  —Mike

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Tuesday, 19 May 2015 05:10:25 UTC