New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOM Exception 18 on navigate() in Safari 9.1 #4029
Comments
The apple developer forum link you posted seems to suggest this issue is with safari. What do you want backbone to do about this? |
backbone needs to workaround the browser bug. |
Is there a workaround you're aware of @zowers? Does this bug only occur if navigate is called 100 times synchronously or will it happen if its called 100 times in general? |
to workaround I had to wrap navigate in a |
why is it won't fix? |
I placed that there because reading the safari bug I did not see an acceptable solution. Using a try/catch and not changing the route after the 100th change is not acceptable IMO |
Agreed. That's a silent failure, which is worse than the current behavior. |
probably navigate should fallback to hash in case of error |
today safari 9.1.1 with the fix got released |
closed? hoping people will get the update soon? |
This is a bug in Safari without much we can do. Given that 9.1 has only been out for 2 months, I think we're safe not doing anything and letting people update. |
SecurityError: DOM Exception 18 is thrown by Safari (iOS and OSX) from the moment
pushState()
is called 100 times.https://forums.developer.apple.com/thread/36650
fiddle: https://jsfiddle.net/n3uxkyhr/5/
fails with:
The text was updated successfully, but these errors were encountered: