From 539f7b5ac42a1ca13ff9d40c7a3254c9215059d1 Mon Sep 17 00:00:00 2001 From: Valentin Gosu Date: Tue, 6 May 2014 17:14:04 -0400 Subject: [PATCH] Bug 1005578 - Change nsIURI object from nsStandardURL to nsJSURI when calling url.href. r=bz --- dom/base/URL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/URL.cpp b/dom/base/URL.cpp index 585dda68502e..13f1c1d71bec 100644 --- a/dom/base/URL.cpp +++ b/dom/base/URL.cpp @@ -231,7 +231,7 @@ URL::SetHref(const nsAString& aHref, ErrorResult& aRv) return; } - aRv = mURI->SetSpec(href); + mURI = uri; UpdateURLSearchParams(); }