Skip to main content

Bug Tracker

Side navigation

#3637 closed bug ()

Opened November 23, 2008 05:00PM UTC

Closed November 11, 2010 11:09PM UTC

Local scripts loaded using getScript isn't available (directly) in Firefox 3

Reported by: sandstrom Owned by:
Priority: major Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: firefox, getscript Cc: sandstrom
Blocked by: Blocking:

Local scripts loaded using getScript isn't available (directly) in Firefox 3.

See these three threads for discussions on the problem:$.getScript-in-Firefox-3-td18108981s27240.html (at the end)

// this is one way of fixing the problem

$.getScript = function(url, callback){

if ($.browser.mozilla) {

var _callback = callback;

callback = function () {



}, 50);




type: "GET",

url: url,

success: callback,

dataType: "script",

cache: cache



Attachments (0)
Change History (5)

Changed November 25, 2008 11:38AM UTC by flesler comment:1

cc: → sandstrom
need: ReviewTest Case

Ok, I read the article. Nothing close to a solution is presented.

The best we can do is keep that article alive and get to a fix.

We need, at least, a minimalistic test case to reproduce the problem.

Changed February 15, 2009 06:41PM UTC by dmethvin comment:2

Another thought: if this is a race condition of some kind (onload event firing while the script is still being evaluated), it might help to try loading a very large test script.

Changed April 30, 2009 02:34PM UTC by drawrof comment:3

Just wanted to note that this still occurs in Jquery 1.3.2. A fix is available in one of the links that the OP posted, which basically amounts to forcing all $.getScript requests to be processed as if they were cross-domain requests.

Changed October 14, 2010 03:14AM UTC by snover comment:4

status: newpending

This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:5

status: pendingclosed

Automatically closed due to 14 days of inactivity.