Bug Tracker

Ticket #2153 (new bug)

Opened 11 months ago

env.js's implementation of XMLHttpRequest.open ignores async parameter

Reported by: davidserduke Assigned to: anonymous
Type: bug Priority: minor
Milestone: 1.2.2 Component: build
Version: 1.2.1 Keywords:
Cc: Needs: Review

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

Attachments

Note: See TracTickets for help on using tickets.