SlexAxton/yepnope.js — Issue #85: Content-Disposition timeout in Firefox
Author: mdavidn
Created: 2012-01-31 23:56:29+00:00
State: open

Sending the `Content-Disposition` header with a script triggers a timeout using Yepnope.js and Firefox 9.0.1.

yepnope({
load: "http://www.googletagservices.com/tag/js/gpt.js",
// 10 second delay before either callback
callback: function () { console.log("callback", arguments); },
complete: function () { console.log("complete", arguments); }
});

http://jsfiddle.net/PVXxg/

Removing the header (using a proxy) eliminates the 10 second delay. Unfortunately, headers are sometimes out of my control, as in above DoubleClick example.

This is almost certainly a Gecko bug, but documenting the issue here seemed worthwhile.