W3C home > Mailing lists > Public > public-html@w3.org > May 2015

Re: Navigation Task

From: Michael[tm] Smith <mike@w3.org>
Date: Tue, 19 May 2015 14:10:01 +0900
To: Essam K <essam.k@outlook.com>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <20150519051001.GY7733@sideshowbarker.net>
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.


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

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

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:13 UTC