зеркало из https://github.com/mozilla/gecko-dev.git
4a0ed4f097
1. When creating a DocAccessibleParent for an embedded document in an OOP iframe, it's possible that the embedder accessible hasn't been set yet. This can occur if the iframe is initially hidden. Previously, we incorrectly set the document up as a top level document (e.g. tab document) in this case. Now, we set up the document as top level in its content process, set up the proxy, etc. The document will be added to its child document later when the embedder is set. 2. When setting the embedder accessible for an OOP iframe, check if the embedded DocAccessibleParent already exists. This can happen if an iframe is hidden and then shown or an iframe is reflowed by layout. If it already exists, add the embedded (child) document to its embedder. 3. Mac's implementation of ProxyCreated requires that AddChildDoc be called *before* ProxyCreated so it can invalidate the native children of the parent. Because it's possible for an OOP iframe document to be added to its embedder after the document is created, we can't satisfy this requirement for OOP iframe documents. Therefore, we now allow a null parent in Mac's ProxyCreated and use the reorder event fired later to invalidate the native children. Differential Revision: https://phabricator.services.mozilla.com/D51357 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ARIAGridAccessibleWrap.h | ||
AccessibleWrap.h | ||
AccessibleWrap.mm | ||
ApplicationAccessibleWrap.h | ||
DocAccessibleWrap.h | ||
DocAccessibleWrap.mm | ||
HTMLTableAccessibleWrap.h | ||
HyperTextAccessibleWrap.h | ||
ImageAccessibleWrap.h | ||
MacUtils.h | ||
MacUtils.mm | ||
Platform.mm | ||
RootAccessibleWrap.h | ||
RootAccessibleWrap.mm | ||
TextLeafAccessibleWrap.h | ||
XULListboxAccessibleWrap.h | ||
XULMenuAccessibleWrap.h | ||
XULTreeGridAccessibleWrap.h | ||
moz.build | ||
mozAccessible.h | ||
mozAccessible.mm | ||
mozAccessibleProtocol.h | ||
mozActionElements.h | ||
mozActionElements.mm | ||
mozDocAccessible.h | ||
mozDocAccessible.mm | ||
mozHTMLAccessible.h | ||
mozHTMLAccessible.mm | ||
mozTableAccessible.h | ||
mozTableAccessible.mm | ||
mozTextAccessible.h | ||
mozTextAccessible.mm |