bug 1262980 - expose the table interface on proxies r=dbolter
authorTrevor Saunders <tbsaunde@tbsaunde.org>
Thu, 07 Apr 2016 16:24:21 -0400
changeset 316041 d6b8e3e0fb9b0b489031b34230d2f90b63550534
parent 316040 763d665dfc27a2ef4798f7baa9bb6dd0739e5cf5
child 316042 e91dafc1450e6174d57f48d3633a4f351325d720
push id9480
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 17:12:58 +0000
treeherdermozilla-aurora@0d6a91c76a9e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbolter
bugs1262980
milestone48.0a1
bug 1262980 - expose the table interface on proxies r=dbolter
accessible/ipc/DocAccessibleChild.cpp
--- a/accessible/ipc/DocAccessibleChild.cpp
+++ b/accessible/ipc/DocAccessibleChild.cpp
@@ -35,16 +35,20 @@ InterfacesFor(Accessible* aAcc)
     interfaces |= Interfaces::HYPERLINK;
 
   if (aAcc->HasNumericValue())
     interfaces |= Interfaces::VALUE;
 
   if (aAcc->IsImage())
     interfaces |= Interfaces::IMAGE;
 
+  if (aAcc->IsTable()) {
+    interfaces |= Interfaces::TABLE;
+  }
+
   if (aAcc->IsTableCell())
     interfaces |= Interfaces::TABLECELL;
 
   if (aAcc->IsDoc())
     interfaces |= Interfaces::DOCUMENT;
 
   if (aAcc->IsSelect()) {
     interfaces |= Interfaces::SELECTION;