This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
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 ) ;
You can’t perform that action at this time.
0 commit comments