зеркало из https://github.com/mozilla/gecko-dev.git
de58806e45
Even when there is a valid popovertarget, per the spec, these relations must not be exposed in certain cases. This requires some special case code. The code for calculating the DETAILS relation for popover invokers has been encapsulated in its own function. We also use this to validate the reverse DETAILS_FOR relation on popovers. Normally, when pushing cached relations to the parent process, we use IDRefsIterator so that we don't push implicit reverse relations. For popover invokers, this wouldn't validate the other conditions. To avoid duplicate special case code in RemoteAccessible, we use RelationByType for the DETAILS relation instead of IDRefsIterator when pushing the cache. This leverages the LocalAccessible special case code for popover invokers. This is fine for the DETAILS relation because nothing ever exposes an implicit reverse DETAILS relation. Differential Revision: https://phabricator.services.mozilla.com/D199954 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |