aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/browserSpecs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/browserSpecs.js')
-rw-r--r--test/ng/browserSpecs.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ng/browserSpecs.js b/test/ng/browserSpecs.js
index bd3feed7..55b8167c 100644
--- a/test/ng/browserSpecs.js
+++ b/test/ng/browserSpecs.js
@@ -462,6 +462,12 @@ describe('browser', function() {
it('should return $browser to allow chaining', function() {
expect(browser.url('http://any.com')).toBe(browser);
});
+
+
+ it('should decode single quotes to work around FF bug 407273', function() {
+ fakeWindow.location.href = "http://ff-bug/?single%27quote";
+ expect(browser.url()).toBe("http://ff-bug/?single'quote");
+ });
});
describe('urlChange', function() {