[Author: oshlack]
commitf889f18cbcf1d384f5460fdcec9c60edfb476454
authorgears.daemon <gears.daemon@fe895e04-df30-0410-9975-d76d301b4276>
Wed, 13 Feb 2008 00:00:39 +0000 (13 00:00 +0000)
committergears.daemon <gears.daemon@fe895e04-df30-0410-9975-d76d301b4276>
Wed, 13 Feb 2008 00:00:39 +0000 (13 00:00 +0000)
tree3af92ccea6e22837f31defb1b78d6f962f1ba514
parent2c07ef9412aa214d332cd4b69bc38a50c1163b4f
[Author: oshlack]

Fix failing HTTPRequest test when running on browsers that have never
been to www.google.com and are outside the US or have not disabled
the google.com country redirect.

The test checks for a 302 from www.google.com and ensures the location
header is "http://www.google.com", however in countries outside the US
the test can fail because the location header is e.g.
"http://www.google.com.au". This fix changes the URL to use
"www.google.com/ncr" to disable country redirects.

Sorry for being nitty but it looks ugly for us devs here in Australia :-)

PRESUBMIT=passed
R=cprince
CC=google-gears-eng@googlegroups.com
APPROVED=cprince
DELTA=3  (1 added, 0 deleted, 2 changed)
OCL=6428497
SCL=6434294

git-svn-id: https://google-gears.googlecode.com/svn/trunk@914 fe895e04-df30-0410-9975-d76d301b4276
gears/test/testcases/httprequest_tests.js