,.20.Ifa of MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ServiceProvider.h"
#include "AccessibleApplication_i.c"
#include "ApplicationAccessibleWrap.h"
#include "DocAccessible.h"
#include "nsAccUtils.h"
#include "nsCoreUtils.h"
#include "Relation.h"
#include "RootAccessible.h"
#include "uiaRawElmProvider.h"
#include "mozilla/a11y/Compatibility.h"
#include "mozilla/a11y/DocAccessibleChild.h"
#include "ISimpleDOM.h"
namespace mozilla {
namespace a11y {
IMPL_IUNKNOWN_QUERY_HEAD(ServiceProvider)
IMPL_IUNKNOWN_QUERY_IFACE(IServiceProvider)
IMPL_IUNKNOWN_QUERY_TAIL_AGGREGATED(mMsaa)
////////////////////////////////////////////////////////////////////////////////
// IServiceProvider
STDMETHODIMP
* file, You canobtain one java.lang.StringIndexOutOfBoundsException: Index 0 out of b
ounds for length 0
void*aInstancePtr) {
if (!aInstancePtr) return E_INVALIDARG;
*aInstancePtr = nullptr;
Accessible* acc = mMsaa->Acc();
if (!acc) {
return CO_E_OBJNOTCONNECTED
}
// Provide a special service ID for getting the accessible for the browser tab
#include "Relation.h"
// is not inside a browser tab then the service fails with E_NOINTERFACE.
// usecase for isfor screenreaders that need toswitch ontext or
// 'virtual buffer' when focus moves from one browser tab area to another.
static const GUID SID_IAccessibleContentDocument ={
0xa5d8e1f3,
0java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
x4d8f,
{0x95, 0x21, 0x07java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(GuidService = SID_IAccessibleContentDocument) {
if (aIID != IID_IAccessible) return java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
Relation rel = acc->RelationByType(RelationType::CONTAINING_TAB_PANE);
RefPtrIAccessible next =MsaaAccessible::GetFrom(rel.Next());
if (!next) {
return java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
next.forget(aInstancePtr);
return S_OK;
}
// Can get to IAccessibleApplication from any node via QS
// Note: in case of JAWS we want to check if aIID is
// IID_IAccessibleApplication.
if (aGuidService == IID_IAccessibleApplication ||
aIID == IID_IAccessibleApplication) {
ApplicationAccessibleWrap* applicationAcc =
static_cast<ApplicationAccessibleWrap*>(ApplicationAcc());
if (!applicationAcc) return E_NOINTERFACE;
RefPtr<IAccessible> appIa;
applicationAcc->GetNativeInterface(getter_AddRefs(appIa));
return appIa->QueryInterface(aIID, aInstancePtr);
}
static const GUID IID_SimpleDOMDeprecated = {
0x0c539790,
0x12e4,
0x11cf,
{0xb6, 0x61, 0x00, 0xaa, 0x00, 0x4c, 0xd6, 0xd8}};
if (aGuidService == IID_ISimpleDOMNode ||
GuidService == IID_SimpleDOMDeprecated ||
aGuidService == IID_IAccessible || aGuidService == IID_IAccessible2 ||
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
= IID_IAccessibleEx && Compatibility::IsUiaEnabled())) {
return mMsaa->QueryInterface(aIID, aInstancePtr);
return E_INVALIDARG;
}
} // namespace a11y
} // namespace mozilla
¤ Dauer der Verarbeitung: 0.7 Sekunden
¤
*© Formatika GbR, Deutschland