gecko-dev/accessible/interfaces
Nika Layzell 7ced96212e Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana
We'll probably want to do something more accurate in the future with a
custom clang static analysis pass which validates that XPIDL interfaces
have the expected vtable and struct layout, however doing so would be
more involved than the string matching done in this patch.

In addition to checking for extra virtual methods, we'll likely also
want to check for data members on interfaces, and reject them unless the
class is marked as `[builtinclass]` in addition to some other attribute
which we'll need to add to prevent them from being implemented in Rust
(as c++ data members will not be reflected by the rust macro).

There were 2 instances of a comment which contained the word 'virtual'
within a CDATA block. These comments were moved out of the CDATA block
to avoid triggering the error.

Differential Revision: https://phabricator.services.mozilla.com/D151068
2022-07-06 14:53:06 +00:00
..
gecko
ia2
msaa
moz.build
nsIAccessibilityService.idl
nsIAccessible.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsIAccessibleAnnouncementEvent.idl
nsIAccessibleApplication.idl
nsIAccessibleCaretMoveEvent.idl Bug 1713050 - P2: Add granularity to a11y caret move events. r=morgan 2022-03-16 05:56:25 +00:00
nsIAccessibleDocument.idl
nsIAccessibleEditableText.idl
nsIAccessibleEvent.idl Bug 1747749 - Introduce inner reorder event. r=Jamie 2022-01-04 17:41:41 +00:00
nsIAccessibleHideEvent.idl
nsIAccessibleHyperLink.idl
nsIAccessibleHyperText.idl
nsIAccessibleImage.idl
nsIAccessibleMacInterface.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsIAccessibleObjectAttributeChangedEvent.idl
nsIAccessiblePivot.idl
nsIAccessibleRelation.idl
nsIAccessibleRole.idl
nsIAccessibleScrollingEvent.idl
nsIAccessibleSelectable.idl
nsIAccessibleStateChangeEvent.idl
nsIAccessibleStates.idl
nsIAccessibleTable.idl
nsIAccessibleTableChangeEvent.idl
nsIAccessibleText.idl
nsIAccessibleTextChangeEvent.idl
nsIAccessibleTextRange.idl Bug 1741793 part 1: Remove TextRange stuff that was never implemented. r=eeejay 2022-02-26 23:01:54 +00:00
nsIAccessibleTextSelectionChangeEvent.idl
nsIAccessibleTypes.idl
nsIAccessibleValue.idl
nsIAccessibleVirtualCursorChangeEvent.idl