@@ -3012,9 +3012,9 @@ describe("$location", () => {
30123012 // $log.info("after", newUrl, oldUrl, $browser.url());
30133013 // });
30143014
3015- // expect($location.getBrowserUrl ()).toEqual("");
3015+ // expect($location.getUrl ()).toEqual("");
30163016 // $location.setUrl("/somePath");
3017- // expect($location.getBrowserUrl ()).toEqual("/somePath");
3017+ // expect($location.getUrl ()).toEqual("/somePath");
30183018 // expect($browser.url()).toEqual("http://server/");
30193019 // expect($log.info.logs).toEqual([]);
30203020
@@ -3032,7 +3032,7 @@ describe("$location", () => {
30323032 // "http://server/",
30333033 // "http://server/#!/somePath",
30343034 // ]);
3035- // expect($location.getBrowserUrl ()).toEqual("/somePath");
3035+ // expect($location.getUrl ()).toEqual("/somePath");
30363036 // expect($browser.url()).toEqual("http://server/#!/somePath");
30373037 // }));
30383038
@@ -3043,7 +3043,7 @@ describe("$location", () => {
30433043 // $log,
30443044 // ) => {
30453045 // expect($browser.url()).toEqual("http://server/");
3046- // expect($location.getBrowserUrl ()).toEqual("");
3046+ // expect($location.getUrl ()).toEqual("");
30473047
30483048 // $rootScope.$on("$locationChangeStart", (event, newUrl, oldUrl) => {
30493049 // $log.info("before", newUrl, oldUrl, $browser.url());
@@ -3053,9 +3053,9 @@ describe("$location", () => {
30533053 // throw new Error("location should have been canceled");
30543054 // });
30553055
3056- // expect($location.getBrowserUrl ()).toEqual("");
3056+ // expect($location.getUrl ()).toEqual("");
30573057 // $location.setUrl("/somePath");
3058- // expect($location.getBrowserUrl ()).toEqual("/somePath");
3058+ // expect($location.getUrl ()).toEqual("/somePath");
30593059 // expect($browser.url()).toEqual("http://server/");
30603060 // expect($log.info.logs).toEqual([]);
30613061
@@ -3068,7 +3068,7 @@ describe("$location", () => {
30683068 // "http://server/",
30693069 // ]);
30703070 // expect($log.info.logs[1]).toBeUndefined();
3071- // expect($location.getBrowserUrl ()).toEqual("");
3071+ // expect($location.getUrl ()).toEqual("");
30723072 // expect($browser.url()).toEqual("http://server/");
30733073 // }));
30743074
@@ -3110,7 +3110,7 @@ describe("$location", () => {
31103110 // "http://server/#!/redirectPath",
31113111 // ]);
31123112
3113- // expect($location.getBrowserUrl ()).toEqual("/redirectPath");
3113+ // expect($location.getUrl ()).toEqual("/redirectPath");
31143114 // expect($browser.url()).toEqual("http://server/#!/redirectPath");
31153115 // }));
31163116
@@ -3153,7 +3153,7 @@ describe("$location", () => {
31533153 // "http://server/#!/redirectPath",
31543154 // ]);
31553155
3156- // expect($location.getBrowserUrl ()).toEqual("/redirectPath");
3156+ // expect($location.getUrl ()).toEqual("/redirectPath");
31573157 // expect($browser.url()).toEqual("http://server/#!/redirectPath");
31583158 // }));
31593159
@@ -3203,7 +3203,7 @@ describe("$location", () => {
32033203 // "http://server/#!/redirectPath2",
32043204 // ]);
32053205
3206- // expect($location.getBrowserUrl ()).toEqual("/redirectPath2");
3206+ // expect($location.getUrl ()).toEqual("/redirectPath2");
32073207 // expect($browser.url()).toEqual("http://server/#!/redirectPath2");
32083208 // }));
32093209
@@ -3216,7 +3216,7 @@ describe("$location", () => {
32163216 // $rootScope.$apply(); // clear initial $locationChangeStart
32173217
32183218 // expect($browser.url()).toEqual("http://server/");
3219- // expect($location.getBrowserUrl ()).toEqual("");
3219+ // expect($location.getUrl ()).toEqual("");
32203220
32213221 // $rootScope.$on("$locationChangeStart", (event, newUrl, oldUrl) => {
32223222 // $log.info("start", newUrl, oldUrl);
@@ -3250,7 +3250,7 @@ describe("$location", () => {
32503250 // $rootScope.$apply();
32513251
32523252 // expect($browser.url()).toEqual("http://server/#!/somepath");
3253- // expect($location.getBrowserUrl ()).toEqual("/somepath");
3253+ // expect($location.getUrl ()).toEqual("/somepath");
32543254
32553255 // $rootScope.$on("$locationChangeStart", (event, newUrl, oldUrl) => {
32563256 // $log.info("start", newUrl, oldUrl);
@@ -3312,7 +3312,7 @@ describe("$location", () => {
33123312 // "http://server/#!/redirectPath",
33133313 // ]);
33143314
3315- // expect($location.getBrowserUrl ()).toEqual("/redirectPath");
3315+ // expect($location.getUrl ()).toEqual("/redirectPath");
33163316 // expect($browser.url()).toEqual("http://server/#!/redirectPath");
33173317 // }));
33183318
@@ -3355,7 +3355,7 @@ describe("$location", () => {
33553355 // "http://server/#!/redirectPath",
33563356 // ]);
33573357
3358- // expect($location.getBrowserUrl ()).toEqual("/redirectPath");
3358+ // expect($location.getUrl ()).toEqual("/redirectPath");
33593359 // expect($browser.url()).toEqual("http://server/#!/redirectPath");
33603360 // }));
33613361
0 commit comments