style(test): fix style in one test
This commit is contained in:
@@ -1122,7 +1122,7 @@ describe('parser', function() {
|
||||
it('should prevent the exploit', function() {
|
||||
try {
|
||||
scope.$eval('(1)[{0: "__proto__", 1: "__proto__", 2: "__proto__", 3: "safe", length: 4, toString: [].pop}].foo = 1');
|
||||
} catch(e) { /* ignore */ };
|
||||
} catch(e) { /* ignore */ }
|
||||
if (!msie || msie > 10) {
|
||||
expect((1)['__proto__'].foo).toBeUndefined();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user