Closed Bug 1187611 Opened 9 years ago Closed 9 years ago

Handle proxies in mozAccessible focus, window, canBeFocused, isFocused

Categories

(Core :: Disability Access APIs, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: lsocks, Assigned: lsocks)

Details

Attachments

(3 files, 1 obsolete file)

      No description provided.
Attached patch part 1 - focusSplinter Review
Assignee: nobody → lorien
Attachment #8638935 - Flags: review?(tbsaunde+mozbugs)
Attachment #8638936 - Flags: review?(tbsaunde+mozbugs)
Attachment #8638936 - Flags: review?(tbsaunde+mozbugs) → review+
Attachment #8638935 - Flags: review?(tbsaunde+mozbugs) → review+
Attached patch part 2 - window (obsolete) — Splinter Review
Attachment #8639034 - Flags: review?(tbsaunde+mozbugs)
Summary: Handle proxies in mozAccessible focus, window, canBeFocused → Handle proxies in mozAccessible focus, window, canBeFocused, isFocused
Comment on attachment 8639034 [details] [diff] [review]
part 2 - window

>+    docAcc = accWrap->Document();
>+  }
>+  else if (ProxyAccessible* proxy = [self getProxyAccessible]) {

braces

>+    Accessible* outerDoc = proxy->OuterDocOfRemoteBrowser();
>+    if (outerDoc)
>+      docAcc = outerDoc->Document();
>+  }
>   if (docAcc)

blank line please

>     nativeWindow = static_cast<NSWindow*>(docAcc->GetNativeWindow());
> 
>   NSAssert1(nativeWindow, @"Could not get native window for %@", self);

unrelated, but that seems bogus
Attachment #8639034 - Flags: review?(tbsaunde+mozbugs) → review+
carry r=tbsaunde
Attachment #8639034 - Attachment is obsolete: true
Attachment #8643068 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: