-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
isCrossOrigin test Fail on IE 11 #3100
Comments
Sounds like we should just remove that particular check then. I did try and make sure it worked across all browsers and it passes locally. |
Karma launch IE and not Edge (don't really know why). I'm not sure what the test is use for as it is a security enforced by the browser and the player shouldn't really have to check for it. |
It probably isn't launching edge because we don't have the karma edge launcher installed. As for the security aspect, this is a test to make sure that the |
Also, you have a newer version of IE11 than I do, which may or may not be the issue. |
Closing this issue due to lack of activity. If it is still a problem and we get more information and a reduced test case, we will happily re-open the issue. |
I tried to reproduce this issue, as the test fails for me as well (two different machines with Win10x64 and IE11). As isCrossOrigin tests the protocol as well it seems obvious, that Adding the following to parseUrl right before the return would fix it: if (details.protocol === ''){
details.protocol = window.location.protocol;
} I am not sure what causes this, but this makes the test pass. |
…ionals and expanded from (details.protocol === '') to (!details.protocol) Both implement suggestions from @misteroneill .
When trying to build on windows 10, I get this output with Karma tests:
The text was updated successfully, but these errors were encountered: