This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ function $SceProvider() {
731
731
$parse , $sniffer , $sceDelegate ) {
732
732
// Prereq: Ensure that we're not running in IE8 quirks mode. In that mode, IE allows
733
733
// the "expression(javascript expression)" syntax which is insecure.
734
- if ( enabled && $sniffer . msie && $sniffer . msieDocumentMode < 8 ) {
734
+ if ( enabled && $sniffer . msie < 8 ) {
735
735
throw $sceMinErr ( 'iequirks' ,
736
736
'Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks ' +
737
737
'mode. You can fix this by adding the text <!doctype html> to the top of your HTML ' +
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ function $SnifferProvider() {
22
22
int ( ( / a n d r o i d ( \d + ) / . exec ( lowercase ( ( $window . navigator || { } ) . userAgent ) ) || [ ] ) [ 1 ] ) ,
23
23
boxee = / B o x e e / i. test ( ( $window . navigator || { } ) . userAgent ) ,
24
24
document = $document [ 0 ] || { } ,
25
- documentMode = document . documentMode ,
26
25
vendorPrefix ,
27
26
vendorRegex = / ^ ( M o z | w e b k i t | O | m s ) (? = [ A - Z ] ) / ,
28
27
bodyStyle = document . body && document . body . style ,
@@ -86,8 +85,7 @@ function $SnifferProvider() {
86
85
transitions : transitions ,
87
86
animations : animations ,
88
87
android : android ,
89
- msie : msie ,
90
- msieDocumentMode : documentMode
88
+ msie : msie
91
89
} ;
92
90
} ] ;
93
91
}
You can’t perform that action at this time.
0 commit comments