mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
bug 438784 - URL of loaded page no longer exposed as the accValue for the Doc accessible, r=surkov
This commit is contained in:
parent
4dad566903
commit
ae73e2fa31
@ -333,6 +333,12 @@ __try {
|
||||
if (NS_FAILED(xpAccessible->GetValue(value)))
|
||||
return E_FAIL;
|
||||
|
||||
// see bug 438784: Need to expose URL on doc's value attribute.
|
||||
// For this, reverting part of fix for bug 425693 to make this MSAA method
|
||||
// behave IAccessible2-style.
|
||||
if (value.IsEmpty())
|
||||
return S_FALSE;
|
||||
|
||||
*pszValue = ::SysAllocStringLen(value.get(), value.Length());
|
||||
if (!*pszValue)
|
||||
return E_OUTOFMEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user