Typo fix. s/Permision/Permission/ in _checkAndGetURI()'s throw(). Found by Tomcat.

This commit is contained in:
reed@reedloden.com 2008-04-02 19:45:31 -07:00
parent 6132a1f02e
commit 5391d06003

View File

@ -366,7 +366,7 @@ WebContentConverterRegistrar.prototype = {
if ((!pb.prefHasUserValue(PREF_ALLOW_DIFFERENT_HOST) ||
!pb.getBoolPref(PREF_ALLOW_DIFFERENT_HOST)) &&
aContentWindow.location.hostname != uri.host)
throw("Permision denied to add " + uri.spec + " as a content or protocol handler");
throw("Permission denied to add " + uri.spec + " as a content or protocol handler");
// If the uri doesn't contain '%s', it won't be a good handler
if (uri.spec.indexOf("%s") < 0)