Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#2152 fixed Checking object constructors for equality with "Array" function is inaccurate davidserduke
Description

Originally reported by [email protected]…, Dec 08, 2007

What steps will reproduce the problem?

  1. Create code on a page that uses a jQuery API whose behavior varies based on whether a parameter is an array
  1. Create an iframe in that page and load it with another page
  1. From the other page, use "parent" to invoke the function from step 1 with an array. Note that the function behaves as if the parameter is *not* an array.

What is the expected output? What do you see instead?

A legitimate red-blooded array constructed on a page should be treated as an array by jQuery code called on any other page reachable through the DOM. Things are just weird if it doesn't.

What version of the product are you using? On what operating system?

1.2.1 and the problem occurs on both Firefox and IE.

Please provide any additional information below.

There is a separate instance of the "Array" constructor in the global context ("window") for every page. Thus, checking to see if the "constructor" property of an object is equal to the function referenced by the "global" variable called "Array" will fail for arrays constructed on a different page.

(The same holds true of course for any other built-in type, but Array causes the most problems.)

The use of nested iframes within an application has its adherents and detractors, but it's not improper or "wrong". Seems to me that the framework should either handle the situation properly or else explicitly fail in some direct way.

See http://gutfullofbeer.net/arrays/a.html for an elementary illustration (which does not involve any jQuery code).

#2153 invalid env.js's implementation of XMLHttpRequest.open ignores async parameter davidserduke
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

#2203 duplicate Invalid Markup on dev.jquery.com scottgonzalez
Description

The pages on dev.jquery.com have two divs with id "content"

body > #jq-wrapper > #content
body > #jq-wrapper > #content > #main > #content

This is causing text to be cut-off on the right edge because of the styles applied to #content.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.