Bug Tracker

Modify

Ticket #2153 (closed bug: invalid)

Opened 6 years ago

Last modified 4 years ago

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?

  1. 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

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.