Ticket #2153 (closed bug: invalid)
env.js's implementation of XMLHttpRequest.open ignores async parameter
| Reported by: | davidserduke | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | build | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Originally reported by mikesamuel, Jan 08 (2 days ago) at the Google Issues forum:
At http://jqueryjs.googlecode.com/svn/trunk/jquery/build/runtest/env.js
Line 571
if (async)
this.async = true;
Line 690:
async: true,
async is initialized to true and only ever set to true. There is additional code that switches on async, so the flag is significant.
What steps will reproduce the problem?
- set document.location which calls XMLHttpRequest with async unspecified
What is the expected output? What do you see instead? document is created asynchronously on a separate thread.
What version of the product are you using? On what operating system? The version from trunk revision 4373
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

This should be discussed in the env-js group: http://groups.google.com/group/envjs