You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
用zepto1.1.6发ajax在特定安卓机出现INVALID_STATE_ERR: DOM Exception 11异常 #6
If the state is not UNSENT or OPENED, throw an "InvalidStateError" exception and terminate these steps.
If the send() flag is set, throw an "InvalidStateError" exception and terminate these steps.
意味着规范里写着只要在send之前调用,open和withCredentials的顺序应该不会导致InvalidStateError才对。所以zepto这样写应该还是符合规范的,作者之所以不把open提前,原因可见https://github.com/madrobby/zepto/issues/921。
Activity
[-]用zepto1.1.6发ajax在特定安卓机出现异常[/-][+]用zepto1.1.6发ajax在特定安卓机出现INVALID_STATE_ERR: DOM Exception 11异常[/+]jiangyuan commentedon Oct 22, 2015
赞。
herbertliu commentedon Nov 18, 2015
good,支持疑难杂症的分享~
TabSpace commentedon Jan 12, 2016
提供一个经过验证的解决方案,不用修改Zepto.ajax的: