From ce0fbc6a7763982abf6e3f2183e1fd49e3f548fb Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 11 Apr 2011 10:20:42 -0700 Subject: fix e2e runner's navigateTo when url contains # fragment --- src/scenario/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/scenario/Application.js b/src/scenario/Application.js index 9d05aad0..988dae90 100644 --- a/src/scenario/Application.js +++ b/src/scenario/Application.js @@ -50,7 +50,7 @@ angular.scenario.Application.prototype.getWindow_ = function() { angular.scenario.Application.prototype.checkUrlStatus_ = function(url, callback) { var self = this; _jQuery.ajax({ - url: url, + url: url.replace(/#.*/, ''), //IE encodes and sends the url fragment, so we must strip it type: 'HEAD', complete: function(request) { if (request.status < 200 || request.status >= 300) { -- cgit v1.2.3