gecko-dev/accessible/xpcom
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
..
AccEventGen.py
AccEvents.conf
moz.build Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
nsAccessibleRelation.cpp
nsAccessibleRelation.h
xpcAccessibilityService.cpp Bug 1725145 - header files fixes in the hybrid build env. r=valentin 2021-08-22 10:21:55 +00:00
xpcAccessibilityService.h
xpcAccessible.cpp Bug 1774393: Support BoundsInCSSPixels for cached RemoteAccessible. r=morgan 2022-06-16 01:03:26 +00:00
xpcAccessible.h Bug 1757661: Make cached fields accessible in tests directly r=eeejay 2022-03-14 19:52:50 +00:00
xpcAccessibleApplication.cpp
xpcAccessibleApplication.h Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan 2021-03-09 04:09:03 +00:00
xpcAccessibleDocument.cpp Bug 1756728 part 2: Support retrieving the URL for cached remote documents. r=morgan 2022-06-01 00:34:17 +00:00
xpcAccessibleDocument.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
xpcAccessibleGeneric.cpp Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
xpcAccessibleGeneric.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
xpcAccessibleHyperLink.cpp Bug 1754360: Move EndOffset to base Accessible. r=eeejay 2022-02-11 02:37:13 +00:00
xpcAccessibleHyperLink.h Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan 2021-03-09 04:09:03 +00:00
xpcAccessibleHyperText.cpp Bug 1766546: Implement SetCaretOffset for cached Windows RemoteAccessible. r=morgan 2022-06-01 19:34:09 +00:00
xpcAccessibleHyperText.h Bug 1733514 part 4: Add xpcAccessibleHyperText::Intl and use it for methods which are supported by HyperTextAccessibleBase. r=eeejay 2021-10-12 23:43:08 +00:00
xpcAccessibleImage.cpp Bug 1763214: Convert ImagePosition, ImageSize to use cached bounds r=Jamie 2022-04-28 17:03:49 +00:00
xpcAccessibleImage.h Bug 1763214: Convert ImagePosition, ImageSize to use cached bounds r=Jamie 2022-04-28 17:03:49 +00:00
xpcAccessibleMacInterface.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
xpcAccessibleMacInterface.mm Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
xpcAccessibleSelectable.cpp Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
xpcAccessibleSelectable.h Bug 1755383 - P1: Move SelectAccessible methods to Accessible. r=morgan 2022-02-16 18:42:53 +00:00
xpcAccessibleTable.cpp Bug 1735970 part 13: Support TableAccessibleBase and TableCellAccessibleBase in XPCOM. r=morgan 2022-04-01 09:50:00 +00:00
xpcAccessibleTable.h Bug 1735970 part 13: Support TableAccessibleBase and TableCellAccessibleBase in XPCOM. r=morgan 2022-04-01 09:50:00 +00:00
xpcAccessibleTableCell.cpp Bug 1735970 part 13: Support TableAccessibleBase and TableCellAccessibleBase in XPCOM. r=morgan 2022-04-01 09:50:00 +00:00
xpcAccessibleTableCell.h Bug 1735970 part 13: Support TableAccessibleBase and TableCellAccessibleBase in XPCOM. r=morgan 2022-04-01 09:50:00 +00:00
xpcAccessibleTextRange.cpp Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
xpcAccessibleTextRange.h Bug 1741793 part 2: Update TextPoint/Range to use base Accessible. r=eeejay 2022-02-26 23:01:54 +00:00
xpcAccessibleValue.cpp Bug 1727643 - P4: Make use of new common methods in platforms and XPCOM. r=morgan 2021-08-26 19:40:06 +00:00
xpcAccessibleValue.h Bug 1695765 - Use Accessible base type in XPCOM instead of AccessibleOrProxy. r=morgan 2021-03-09 04:09:03 +00:00