forked from mirrors/gecko-dev
Bug 1871361 - Fix typo "recieved" in accessibility code. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D197062
This commit is contained in:
parent
46594b94f3
commit
c1463070d9
3 changed files with 4 additions and 4 deletions
|
|
@ -1179,7 +1179,7 @@ nsTArray<bool> RemoteAccessible::PreProcessRelations(AccAttributes* aFields) {
|
|||
newRelationTargets && newRelationTargets->Length();
|
||||
|
||||
// Remove existing implicit relations if we need to perform an update, or
|
||||
// if we've recieved a DeleteEntry(). Only do this if mCachedFields is
|
||||
// if we've received a DeleteEntry(). Only do this if mCachedFields is
|
||||
// initialized. If mCachedFields is not initialized, we still need to
|
||||
// construct the update array so we correctly handle reverse rels in
|
||||
// PostProcessRelations.
|
||||
|
|
|
|||
|
|
@ -875,7 +875,7 @@ struct RoleDescrComparator {
|
|||
// so we verify a child exists, and then query that child below.
|
||||
NSArray* children = [self moxChildren];
|
||||
MOZ_ASSERT([children count] == 1 && children[0],
|
||||
"A11yUtil event recieved, but no announcement found?");
|
||||
"A11yUtil event received, but no announcement found?");
|
||||
|
||||
mozAccessible* announcement = children[0];
|
||||
NSString* key;
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ function waitForEvent(eventType, matchCriteria, message) {
|
|||
Services.obs.removeObserver(this, "accessible-event");
|
||||
ok(
|
||||
true,
|
||||
`${message ? message + ": " : ""}Recieved ${eventTypeToString(
|
||||
`${message ? message + ": " : ""}Received ${eventTypeToString(
|
||||
eventType
|
||||
)} event`
|
||||
);
|
||||
|
|
@ -215,7 +215,7 @@ class UnexpectedEvents {
|
|||
* @param {Array} events a list of events to wait (same format as
|
||||
* waitForEvent arguments)
|
||||
* @param {String} message Message to prepend to logging.
|
||||
* @param {Boolean} ordered Events need to be recieved in given order.
|
||||
* @param {Boolean} ordered Events need to be received in given order.
|
||||
* @param {Object} invokerOrWindow a local window or a special content invoker
|
||||
* it takes a list of arguments and a task
|
||||
* function.
|
||||
|
|
|
|||
Loading…
Reference in a new issue