This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8904 - synchronous version of fetch algorithm
Summary: synchronous version of fetch algorithm
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Linux
: P1 critical
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
: 8911 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-09 10:04 UTC by Anne
Modified: 2010-10-04 14:56 UTC (History)
5 users (show)

See Also:


Attachments

Description Anne 2010-02-09 10:04:36 UTC
It would be nice if the fetch algorithm could be passed a parameter to let it make fully synchronous requests with no tasks queued. This would allow me to use it for synchronous XMLHttpRequest.

It would be nice all network related activity could be explained via the fetch algorithm rather than a bunch of algorithms looking very similar.

(I marked it as P1/critical so I could continue to work on XMLHttpRequest somewhat sooner.)
Comment 1 Anne 2010-02-10 08:59:49 UTC
Actually, why can "pause" not be used for this? The specification itself states:

> Pause until either any applicable style sheets
> have been fetched and applied, or the user agent
> has timed out and decided to not wait for those
> style sheets.

... so either that is a bug or it is suitable enough for XMLHttpRequest.
Comment 2 Ian 'Hixie' Hickson 2010-02-14 11:14:30 UTC
*** Bug 8911 has been marked as a duplicate of this bug. ***
Comment 3 Ian 'Hixie' Hickson 2010-02-15 23:39:11 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.