Evil Firefox Error — “A parameter or an operation is not supported by the underlying object”

前端 未结 6 1668
忘了有多久
忘了有多久 2021-02-05 03:33

I\'m trying to figure out what is going on here. I\'ve been at it for hours now and can\'t seem to get a grip on why this is happening.

I\'m making a few AJAX calls, and

6条回答
  •  隐瞒了意图╮
    2021-02-05 04:10

    Okay, so after of hours of testing (and great discussion from @Dave and @danronmoon, I've finally figured out what's going on.

    The CORS (Cross-Domain Resource Sharing) calls I was making were set to 'async: false' -- (which I realize I did not include in my original post, as I thought it was inconsequential) this, seems to operate fine in all browsers except Firefox, where jQuery will bark at you and your ajax call will fail.

    Thank you all for your help and I hope this helps someone else!

提交回复
热议问题