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

前端 未结 6 1673
忘了有多久
忘了有多久 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:15

    Yes, it is a CORS problem caused by using ajax. But as user320550 asks, what if you NEED to use the property 'async:false'? I found that using the 'withCredentials:false' property as a workaround fixes the issue on firefox and doesn't affect other browsers.

提交回复
热议问题