2011-01-05 20:54:31 -08:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Mozilla Foundation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2010
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
|
|
|
#include "GfxInfo.h"
|
|
|
|
#include "nsUnicharUtils.h"
|
|
|
|
#include "mozilla/FunctionTimer.h"
|
|
|
|
#include "prenv.h"
|
|
|
|
#include "prprf.h"
|
|
|
|
#include "EGLUtils.h"
|
2011-11-03 07:50:40 -07:00
|
|
|
#include "nsHashKeys.h"
|
2011-01-05 20:54:31 -08:00
|
|
|
|
2011-01-05 20:54:32 -08:00
|
|
|
#include "AndroidBridge.h"
|
|
|
|
|
2011-05-23 09:54:47 -07:00
|
|
|
#if defined(MOZ_CRASHREPORTER)
|
2011-01-05 20:54:31 -08:00
|
|
|
#include "nsExceptionHandler.h"
|
|
|
|
#include "nsICrashReporter.h"
|
|
|
|
#define NS_CRASHREPORTER_CONTRACTID "@mozilla.org/toolkit/crash-reporter;1"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
using namespace mozilla::widget;
|
|
|
|
|
2011-12-14 21:04:35 -08:00
|
|
|
#ifdef DEBUG
|
|
|
|
NS_IMPL_ISUPPORTS_INHERITED1(GfxInfo, GfxInfoBase, nsIGfxInfoDebug)
|
|
|
|
#endif
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
/* GetD2DEnabled and GetDwriteEnabled shouldn't be called until after gfxPlatform initialization
|
|
|
|
* has occurred because they depend on it for information. (See bug 591561) */
|
|
|
|
nsresult
|
2011-09-28 23:19:26 -07:00
|
|
|
GfxInfo::GetD2DEnabled(bool *aEnabled)
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
nsresult
|
2011-09-28 23:19:26 -07:00
|
|
|
GfxInfo::GetDWriteEnabled(bool *aEnabled)
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-06-24 10:41:18 -07:00
|
|
|
nsresult
|
2011-09-28 23:19:26 -07:00
|
|
|
GfxInfo::GetAzureEnabled(bool *aEnabled)
|
2011-06-24 10:41:18 -07:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-14 04:57:17 -08:00
|
|
|
/* readonly attribute DOMString DWriteVersion; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetDWriteVersion(nsAString & aDwriteVersion)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
2011-05-10 17:30:20 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* readonly attribute DOMString cleartypeParameters; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetCleartypeParameters(nsAString & aCleartypeParams)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
2011-01-14 04:57:17 -08:00
|
|
|
}
|
|
|
|
|
2011-01-19 17:33:51 -08:00
|
|
|
nsresult
|
2011-01-05 20:54:31 -08:00
|
|
|
GfxInfo::Init()
|
|
|
|
{
|
2011-12-14 21:03:03 -08:00
|
|
|
mAdapterDescription.AssignASCII(mozilla::gl::GetVendor());
|
|
|
|
if (mozilla::AndroidBridge::Bridge()) {
|
|
|
|
nsAutoString str;
|
|
|
|
|
|
|
|
mAdapterDescription.Append(NS_LITERAL_STRING(", Model: '"));
|
|
|
|
if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "MODEL", str)) {
|
|
|
|
mAdapterDeviceID = str;
|
|
|
|
mAdapterDescription.Append(str);
|
|
|
|
}
|
|
|
|
|
|
|
|
mAdapterDescription.Append(NS_LITERAL_STRING("', Product: '"));
|
|
|
|
if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "PRODUCT", str))
|
|
|
|
mAdapterDescription.Append(str);
|
|
|
|
|
|
|
|
mAdapterDescription.Append(NS_LITERAL_STRING("', Manufacturer: '"));
|
|
|
|
if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "MANUFACTURER", str))
|
|
|
|
mAdapterDescription.Append(str);
|
|
|
|
|
|
|
|
mAdapterDescription.Append(NS_LITERAL_STRING("', Hardware: '"));
|
|
|
|
PRInt32 version; // the HARDWARE field isn't available on Android SDK < 8
|
|
|
|
if (!mozilla::AndroidBridge::Bridge()->GetStaticIntField("android/os/Build$VERSION", "SDK_INT", &version))
|
|
|
|
version = 0;
|
|
|
|
|
|
|
|
if (version >= 8 && mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "HARDWARE", str)) {
|
|
|
|
if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "HARDWARE", str)) {
|
|
|
|
mAdapterVendorID = str;
|
|
|
|
mAdapterDescription.Append(str);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mAdapterDescription.Append(NS_LITERAL_STRING("'"));
|
|
|
|
mAndroidSDKVersion = version;
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:03:11 -08:00
|
|
|
AddOpenGLCrashReportAnnotations();
|
|
|
|
|
2011-01-19 17:33:51 -08:00
|
|
|
return GfxInfoBase::Init();
|
2011-01-05 20:54:31 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* readonly attribute DOMString adapterDescription; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDescription(nsAString & aAdapterDescription)
|
|
|
|
{
|
2011-12-14 21:03:03 -08:00
|
|
|
aAdapterDescription = mAdapterDescription;
|
2011-01-05 20:54:31 -08:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-08-12 06:46:41 -07:00
|
|
|
/* readonly attribute DOMString adapterDescription2; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDescription2(nsAString & aAdapterDescription)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
/* readonly attribute DOMString adapterRAM; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterRAM(nsAString & aAdapterRAM)
|
|
|
|
{
|
|
|
|
aAdapterRAM.AssignLiteral("");
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-08-12 06:46:41 -07:00
|
|
|
/* readonly attribute DOMString adapterRAM2; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterRAM2(nsAString & aAdapterRAM)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
/* readonly attribute DOMString adapterDriver; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriver(nsAString & aAdapterDriver)
|
|
|
|
{
|
|
|
|
aAdapterDriver.AssignLiteral("");
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-08-12 06:46:41 -07:00
|
|
|
/* readonly attribute DOMString adapterDriver2; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriver2(nsAString & aAdapterDriver)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
/* readonly attribute DOMString adapterDriverVersion; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriverVersion(nsAString & aAdapterDriverVersion)
|
|
|
|
{
|
2011-12-14 21:03:03 -08:00
|
|
|
aAdapterDriverVersion.Truncate(0);
|
|
|
|
aAdapterDriverVersion.AppendInt(mAndroidSDKVersion);
|
2011-01-05 20:54:31 -08:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-08-12 06:46:41 -07:00
|
|
|
/* readonly attribute DOMString adapterDriverVersion2; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriverVersion2(nsAString & aAdapterDriverVersion)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
/* readonly attribute DOMString adapterDriverDate; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriverDate(nsAString & aAdapterDriverDate)
|
|
|
|
{
|
|
|
|
aAdapterDriverDate.AssignLiteral("");
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-08-12 06:46:41 -07:00
|
|
|
/* readonly attribute DOMString adapterDriverDate2; */
|
|
|
|
NS_IMETHODIMP
|
|
|
|
GfxInfo::GetAdapterDriverDate2(nsAString & aAdapterDriverDate)
|
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
/* readonly attribute DOMString adapterVendorID; */
|
2011-01-05 20:54:31 -08:00
|
|
|
NS_IMETHODIMP
|
2011-12-14 21:03:01 -08:00
|
|
|
GfxInfo::GetAdapterVendorID(nsAString & aAdapterVendorID)
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
2011-12-14 21:03:03 -08:00
|
|
|
aAdapterVendorID = mAdapterVendorID;
|
2011-01-05 20:54:31 -08:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
/* readonly attribute DOMString adapterVendorID2; */
|
2011-08-12 06:46:41 -07:00
|
|
|
NS_IMETHODIMP
|
2011-12-14 21:03:01 -08:00
|
|
|
GfxInfo::GetAdapterVendorID2(nsAString & aAdapterVendorID)
|
2011-08-12 06:46:41 -07:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
/* readonly attribute DOMString adapterDeviceID; */
|
2011-01-05 20:54:31 -08:00
|
|
|
NS_IMETHODIMP
|
2011-12-14 21:03:01 -08:00
|
|
|
GfxInfo::GetAdapterDeviceID(nsAString & aAdapterDeviceID)
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
2011-12-14 21:03:03 -08:00
|
|
|
aAdapterDeviceID = mAdapterDeviceID;
|
2011-01-05 20:54:31 -08:00
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
/* readonly attribute DOMString adapterDeviceID2; */
|
2011-08-12 06:46:41 -07:00
|
|
|
NS_IMETHODIMP
|
2011-12-14 21:03:01 -08:00
|
|
|
GfxInfo::GetAdapterDeviceID2(nsAString & aAdapterDeviceID)
|
2011-08-12 06:46:41 -07:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* readonly attribute boolean isGPU2Active; */
|
|
|
|
NS_IMETHODIMP
|
2011-09-28 23:19:26 -07:00
|
|
|
GfxInfo::GetIsGPU2Active(bool* aIsGPU2Active)
|
2011-08-12 06:46:41 -07:00
|
|
|
{
|
|
|
|
return NS_ERROR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2011-01-05 20:54:31 -08:00
|
|
|
void
|
2011-11-01 08:00:09 -07:00
|
|
|
GfxInfo::AddOpenGLCrashReportAnnotations()
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
2011-05-23 09:54:47 -07:00
|
|
|
#if defined(MOZ_CRASHREPORTER)
|
2011-12-14 21:03:01 -08:00
|
|
|
nsAutoString adapterDescriptionString, deviceID, vendorID;
|
|
|
|
nsCAutoString narrowDeviceID, narrowVendorID;
|
2011-01-05 20:54:31 -08:00
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
GetAdapterDeviceID(deviceID);
|
|
|
|
GetAdapterVendorID(vendorID);
|
2011-11-01 08:00:09 -07:00
|
|
|
GetAdapterDescription(adapterDescriptionString);
|
2011-01-05 20:54:31 -08:00
|
|
|
|
2011-12-14 21:03:01 -08:00
|
|
|
narrowDeviceID = NS_ConvertUTF16toUTF8(deviceID);
|
|
|
|
narrowVendorID = NS_ConvertUTF16toUTF8(vendorID);
|
2011-01-05 20:54:31 -08:00
|
|
|
|
|
|
|
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("AdapterVendorID"),
|
2011-12-14 21:03:01 -08:00
|
|
|
narrowVendorID);
|
2011-01-05 20:54:31 -08:00
|
|
|
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("AdapterDeviceID"),
|
2011-12-14 21:03:01 -08:00
|
|
|
narrowDeviceID);
|
2011-01-05 20:54:31 -08:00
|
|
|
|
|
|
|
/* Add an App Note for now so that we get the data immediately. These
|
|
|
|
* can go away after we store the above in the socorro db */
|
|
|
|
nsCAutoString note;
|
|
|
|
/* AppendPrintf only supports 32 character strings, mrghh. */
|
2011-12-14 21:03:01 -08:00
|
|
|
note.Append("AdapterVendorID: ");
|
|
|
|
note.Append(narrowVendorID);
|
|
|
|
note.Append(", AdapterDeviceID: ");
|
|
|
|
note.Append(narrowDeviceID);
|
|
|
|
note.Append(".\n");
|
2011-11-01 08:00:09 -07:00
|
|
|
note.AppendPrintf("AdapterDescription: '%s'.", NS_ConvertUTF16toUTF8(adapterDescriptionString).get());
|
2011-01-05 20:54:31 -08:00
|
|
|
note.Append("\n");
|
|
|
|
|
|
|
|
CrashReporter::AppendAppNotesToCrashReport(note);
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2011-12-14 21:02:59 -08:00
|
|
|
const nsTArray<GfxDriverInfo>&
|
2011-11-03 07:50:40 -07:00
|
|
|
GfxInfo::GetGfxDriverInfo()
|
|
|
|
{
|
2011-12-14 21:03:06 -08:00
|
|
|
if (!mDriverInfo->Length()) {
|
|
|
|
/* The following entry, when uncommented, will allow us to whitelist a
|
|
|
|
* specific device. See the long comment in GetFeatureStatusImpl for more
|
|
|
|
* info. */
|
|
|
|
// APPEND_TO_DRIVER_BLOCKLIST( DRIVER_OS_ALL,
|
|
|
|
// my_vendor_id, my_device_id,
|
|
|
|
// nsIGfxInfo::FEATURE_OPENGL_LAYERS, nsIGfxInfo::FEATURE_NO_INFO,
|
|
|
|
// DRIVER_LESS_THAN, GfxDriverInfo::allDevices );
|
|
|
|
APPEND_TO_DRIVER_BLOCKLIST2( DRIVER_OS_ALL,
|
|
|
|
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorAll), GfxDriverInfo::allDevices,
|
|
|
|
nsIGfxInfo::FEATURE_OPENGL_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
|
|
|
|
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions );
|
|
|
|
}
|
2011-12-14 21:02:59 -08:00
|
|
|
return *mDriverInfo;
|
2011-11-03 07:50:40 -07:00
|
|
|
}
|
|
|
|
|
2011-01-19 17:30:12 -08:00
|
|
|
nsresult
|
2011-11-03 07:50:40 -07:00
|
|
|
GfxInfo::GetFeatureStatusImpl(PRInt32 aFeature,
|
|
|
|
PRInt32 *aStatus,
|
|
|
|
nsAString & aSuggestedDriverVersion,
|
2011-12-14 21:02:59 -08:00
|
|
|
const nsTArray<GfxDriverInfo>& aDriverInfo,
|
2011-11-03 07:50:40 -07:00
|
|
|
OperatingSystem* aOS /* = nsnull */)
|
2011-01-05 20:54:31 -08:00
|
|
|
{
|
2011-12-14 21:03:08 -08:00
|
|
|
NS_ENSURE_ARG_POINTER(aStatus);
|
2011-10-17 07:59:28 -07:00
|
|
|
aSuggestedDriverVersion.SetIsVoid(true);
|
2011-12-14 21:03:08 -08:00
|
|
|
*aStatus = nsIGfxInfo::FEATURE_STATUS_UNKNOWN;
|
2011-11-03 07:50:40 -07:00
|
|
|
OperatingSystem os = DRIVER_OS_ANDROID;
|
2011-12-14 21:03:08 -08:00
|
|
|
if (aOS)
|
|
|
|
*aOS = os;
|
2011-11-03 07:50:40 -07:00
|
|
|
|
2011-12-14 21:03:08 -08:00
|
|
|
// Don't evaluate special cases when evaluating the downlaoded blocklist.
|
|
|
|
if (!aDriverInfo.Length()) {
|
|
|
|
if (aFeature == FEATURE_OPENGL_LAYERS) {
|
|
|
|
/* The following code is an old way to whitelist devices when we're ready.
|
|
|
|
* It is staying here for reference. The best way to do this now is to add
|
|
|
|
* an entry in the list above. There is a dummy entry which will whitelist a
|
|
|
|
* device when uncommented and device/vendor IDs are inserted. It is
|
|
|
|
* preferred that we stop whitelisting and instead go to blocklisting, where
|
|
|
|
* everything is assumed to be okay as long as it's not in the blocklist. */
|
|
|
|
// nsAutoString str;
|
|
|
|
// /* Whitelist Galaxy S phones */
|
|
|
|
// if (mozilla::AndroidBridge::Bridge()->GetStaticStringField("android/os/Build", "HARDWARE", str)) {
|
|
|
|
// if (str != NS_LITERAL_STRING("smdkc110")) {
|
|
|
|
// status = FEATURE_BLOCKED_DEVICE;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
}
|
2011-01-11 20:50:45 -08:00
|
|
|
}
|
|
|
|
|
2011-12-14 21:02:59 -08:00
|
|
|
return GfxInfoBase::GetFeatureStatusImpl(aFeature, aStatus, aSuggestedDriverVersion, aDriverInfo, &os);
|
2011-01-05 20:54:31 -08:00
|
|
|
}
|
2011-12-14 21:04:35 -08:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
|
|
|
// Implement nsIGfxInfoDebug
|
|
|
|
|
|
|
|
/* void spoofVendorID (in DOMString aVendorID); */
|
|
|
|
NS_IMETHODIMP GfxInfo::SpoofVendorID(const nsAString & aVendorID)
|
|
|
|
{
|
|
|
|
mAdapterVendorID = aVendorID;
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* void spoofDeviceID (in unsigned long aDeviceID); */
|
|
|
|
NS_IMETHODIMP GfxInfo::SpoofDeviceID(const nsAString & aDeviceID)
|
|
|
|
{
|
|
|
|
mAdapterDeviceID = aDeviceID;
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* void spoofDriverVersion (in DOMString aDriverVersion); */
|
|
|
|
NS_IMETHODIMP GfxInfo::SpoofDriverVersion(const nsAString & aDriverVersion)
|
|
|
|
{
|
|
|
|
mDriverVersion = aDriverVersion;
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* void spoofOSVersion (in unsigned long aVersion); */
|
|
|
|
NS_IMETHODIMP GfxInfo::SpoofOSVersion(PRUint32 aVersion)
|
|
|
|
{
|
|
|
|
return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|