-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Test fails in IE: TypeError: Unable to get property 'documentMode' of undefined or null reference #4931
Comments
what version of IE is this? |
@IgorMinar IE 8, 9 and 10. |
With my new VM I can verify this also for IE11. Looking into this... |
When you replace
To make your test happy, also provide
Here is an updated punk: http://plnkr.co/edit/DxlTmMddbiHT2xPifrwD?p=preview |
The code for For future reader: Setting the Will create a PR shortly. |
@tbosch thanks for looking in to that and for the detailed explanation. Now it makes sense to me. Looking forward to your pull request being merged to master. Thanks! |
Also adds `$sniffer.msieDocumentMode` property. Fixes angular#4931.
Also adds `$sniffer.msieDocumentMode` property. Closes angular#4931 Closes angular#5045
Also adds `$sniffer.msieDocumentMode` property. Closes angular#4931 Closes angular#5045
Hi, I get my test failing in all IE versions. AngularJS version is 1.2.1 stable.
Error message is
Here is a plunk: http://plnkr.co/edit/bwum5GA1HOm0xrzYHlBi?p=preview
It fails only when I use $interpolate service AND when I mock services in test:
Thank you
The text was updated successfully, but these errors were encountered: