зеркало из https://github.com/mozilla/pjs.git
Bug 416782. Rename isLocallyAvailable to mozIsLocallyAvailable because it's not part of any spec (yet). r+sr=jst
This commit is contained in:
Родитель
8988e3d454
Коммит
93fae3b503
|
@ -40,7 +40,7 @@
|
|||
interface nsIDOMOfflineResourceList;
|
||||
interface nsIDOMLoadStatusList;
|
||||
|
||||
[scriptable, uuid(4de9dbd5-0eff-47aa-8520-c062c6933d6a)]
|
||||
[scriptable, uuid(f8bbf8c3-c47b-465a-a221-22824449f689)]
|
||||
interface nsIDOMClientInformation : nsISupports
|
||||
{
|
||||
/**
|
||||
|
@ -52,7 +52,7 @@ interface nsIDOMClientInformation : nsISupports
|
|||
void registerContentHandler(in DOMString mimeType, in DOMString uri, in DOMString title);
|
||||
void registerProtocolHandler(in DOMString protocol, in DOMString uri, in DOMString title);
|
||||
|
||||
boolean isLocallyAvailable(in DOMString uri, in boolean whenOffline);
|
||||
boolean mozIsLocallyAvailable(in DOMString uri, in boolean whenOffline);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -9340,9 +9340,9 @@ nsNavigator::RegisterProtocolHandler(const nsAString& aProtocol,
|
|||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNavigator::IsLocallyAvailable(const nsAString &aURI,
|
||||
PRBool aWhenOffline,
|
||||
PRBool *aIsAvailable)
|
||||
nsNavigator::MozIsLocallyAvailable(const nsAString &aURI,
|
||||
PRBool aWhenOffline,
|
||||
PRBool *aIsAvailable)
|
||||
{
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
nsresult rv = NS_NewURI(getter_AddRefs(uri), aURI);
|
||||
|
|
Загрузка…
Ссылка в новой задаче