This repository has been archived by the owner on Sep 19, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't error out trying to access cross-origin functions when document…
….domain got set. Setting document.domain changes the origin of the current document to be different to the origin it had before. This invalidates the cache of origins, so in this case we need to catch the error and make sure we don't try to call a cross-origin function.
- Loading branch information