File tree 2 files changed +4
-16
lines changed
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -1785,21 +1785,9 @@ describe('angular', function() {
1785
1785
protocol = 'browserext:' ; // Upcoming standard scheme.
1786
1786
}
1787
1787
1788
-
1789
- if ( protocol === 'ms-browser-extension:' ) {
1790
- // Support: Edge 13-15
1791
- // In Edge, URLs with protocol 'ms-browser-extension:' return "null" for the origin,
1792
- // therefore it's impossible to know if a script is same-origin.
1793
- it ( 'should not bootstrap for same-origin documents' , function ( ) {
1794
- expect ( allowAutoBootstrap ( createFakeDoc ( { src : protocol + '//something' } , protocol ) ) ) . toBe ( false ) ;
1795
- } ) ;
1796
-
1797
- } else {
1798
- it ( 'should bootstrap for same-origin documents' , function ( ) {
1799
-
1800
- expect ( allowAutoBootstrap ( createFakeDoc ( { src : protocol + '//something' } , protocol ) ) ) . toBe ( true ) ;
1801
- } ) ;
1802
- }
1788
+ it ( 'should bootstrap for same-origin documents' , function ( ) {
1789
+ expect ( allowAutoBootstrap ( createFakeDoc ( { src : protocol + '//something' } , protocol ) ) ) . toBe ( true ) ;
1790
+ } ) ;
1803
1791
1804
1792
it ( 'should not bootstrap for cross-origin documents' , function ( ) {
1805
1793
expect ( allowAutoBootstrap ( createFakeDoc ( { src : protocol + '//something-else' } , protocol ) ) ) . toBe ( false ) ;
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ describe('HTML', function() {
261
261
} ) ;
262
262
} ) ;
263
263
264
- if ( ! / E d g e \/ 1 6 / . test ( window . navigator . userAgent ) ) {
264
+ if ( ! / E d g e \/ ( 1 6 | 1 7 ) / . test ( window . navigator . userAgent ) ) {
265
265
// Skip test on Edge 16 due to browser bug.
266
266
it ( 'should throw on a form with an input named "nextSibling"' , function ( ) {
267
267
inject ( function ( $sanitize ) {
You can’t perform that action at this time.
0 commit comments