diff --git a/mozilla/content/html/document/test/test_bug172261.html b/mozilla/content/html/document/test/test_bug172261.html
index 2744445a2b2..66c12cc6bec 100644
--- a/mozilla/content/html/document/test/test_bug172261.html
+++ b/mozilla/content/html/document/test/test_bug172261.html
@@ -55,7 +55,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=172261
function doTest() {
is($("test").contentDocument.domain, document.domain,
"Domains should match 2");
- is($("test").contentDocument.location.href == location.href,
+ is($("test").contentDocument.location.href, location.href,
"Locations should match");
is(callable, true, "Subframe should be able to call us");
SimpleTest.finish();