Closed
Bug 457231
Opened 17 years ago
Closed 17 years ago
java script error in file nsUrlClassifierLib.js
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 447648
People
(Reporter: nimeshbhuva, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2) Gecko/2008091620 Firefox/3.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2) Gecko/2008091620 Firefox/3.0.2
I have set about:blank as my home page. When ever my page is blank and I clean the data at that time it shows me error in Error Console
key is null
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsUrlClassifierLib.js
Line no: 1173.
The error prone method is
PROT_UrlCryptoKeyManager.prototype.unUrlSafe
I have found work around by putting a condition in it.
//Original
PROT_UrlCryptoKeyManager.prototype.unUrlSafe = function(key)
{
return key;
}
//Replaced Method
PROT_UrlCryptoKeyManager.prototype.unUrlSafe = function(key)
{
if(key != null)
{
return key.replace("-", "+").replace("_", "/");
}
return key;
}
Reproducible: Always
Steps to Reproduce:
1. Set home page as about:blank
2. Open new tab or click on Home icon
3. Go to Tools > Clear Private Data
4. See the error console
Actual Results:
The error in Error Console.
Expected Results:
There should be any error.
Reporter | ||
Updated•17 years ago
|
Version: unspecified → 3.0 Branch
Reporter | ||
Comment 1•17 years ago
|
||
The replaced method is
PROT_UrlCryptoKeyManager.prototype.unUrlSafe = function(key)
{
if(key == null)
{
return key;
}
return key.replace("-", "+").replace("_", "/");
}
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•