Respond icon indicating copy to clipboard operation
Respond copied to clipboard

Ran into another Firefox 3.0 bug with the cross-domain proxy.

Open jaydiablo opened this issue 13 years ago • 4 comments

FX 3.0 spits out an error if link.styleSheet is undefined. Checking if undefined and then setting to empty object before rawCssText gets set.

jaydiablo avatar Sep 13 '11 16:09 jaydiablo

Sorry, I'm a little confused. Are you trying to use the proxy with FF3, or is FF3 choking on this code regardless?

doctyper avatar Sep 27 '11 23:09 doctyper

I believe it only happens when using the proxy (since that JS file shouldn't be loaded unless using the proxy). Not able to test that in the particular use-case I had, as the proxy was needed for respond.js to work at all (since we were doing cross-domain css files).

jaydiablo avatar Sep 27 '11 23:09 jaydiablo

Two options here:

  1. Go this route, patch FF3 bug.
  2. Take care of this and further incompatibilities by wrapping respond.js in an IE conditional.

@scottjehl, @paulirish, any reason not to use a conditional?

doctyper avatar Nov 07 '11 00:11 doctyper

If you wrap respond.js in a conditional, won't that keep it from being used for other browsers that don't support media queries that aren't IE (like firefox 3.0 and below, for example)?

jaydiablo avatar Nov 07 '11 00:11 jaydiablo