Skip to content

Commit

Permalink
Backed out 2 changesets (bug 1800048) for causing failures at browser…
Browse files Browse the repository at this point in the history
…_caching_relations_002.js. CLOSED TREE

Backed out changeset 9d0e9bd86e73 (bug 1800048)
Backed out changeset 59b83f2de870 (bug 1800048)
  • Loading branch information
Butkovits Atila committed Nov 11, 2022
1 parent d34b540 commit ac79dba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions accessible/base/RelationTypeMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ RELATIONTYPE(ERRORMSG, "error", ATK_RELATION_ERROR_MESSAGE, NAVRELATION_ERROR,
RELATIONTYPE(ERRORMSG_FOR, "error for", ATK_RELATION_ERROR_FOR,
NAVRELATION_ERROR_FOR, IA2_RELATION_ERROR_FOR)

RELATIONTYPE(LINKS_TO, "links to", ATK_RELATION_NULL, NAVRELATION_LINKS_TO,
IA2_RELATION_NULL)
RELATIONTYPE(LINKS_TO, "links to", ATK_RELATION_LINKS_TO, NAVRELATION_LINKS_TO,
IA2_RELATION_LINKS_TO)
9 changes: 1 addition & 8 deletions accessible/tests/browser/e10s/browser_caching_relations.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,7 @@ addAccessibleTask(

await testCachedRelation(link, RELATION_LINKS_TO, item2);
},
{
chrome: true,
// IA2 doesn't have a LINKS_TO relation and Windows non-cached
// RemoteAccessible uses IA2, so we can't run these tests in this case.
topLevel: !isWinNoCache,
iframe: !isWinNoCache,
remoteIframe: !isWinNoCache,
}
{ chrome: true, iframe: true, remoteIframe: true }
);

/*
Expand Down
2 changes: 2 additions & 0 deletions other-licenses/atk-1.0/atk/atkrelationtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ G_BEGIN_DECLS
*@ATK_RELATION_ERROR_FOR: Reciprocal of %ATK_RELATION_ERROR_MESSAGE. Indicates that this object
* contains an error message describing an invalid condition in the target object(s). @Since:
* ATK_2.26.
*@ATK_RELATION_LINKS_TO: For an anchor link, indicates the element that the link is anchored to.
*@ATK_RELATION_LAST_DEFINED: Not used, this value indicates the end of the enumeration.
*
*Describes the type of the relation
Expand Down Expand Up @@ -107,6 +108,7 @@ typedef enum
ATK_RELATION_DETAILS_FOR,
ATK_RELATION_ERROR_MESSAGE,
ATK_RELATION_ERROR_FOR,
ATK_RELATION_LINKS_TO,
ATK_RELATION_LAST_DEFINED
} AtkRelationType;

Expand Down
3 changes: 3 additions & 0 deletions other-licenses/ia2/AccessibleRelation.idl
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ const WCHAR *const IA2_RELATION_ERROR = L"error";
/** This object is the error message for the target object. */
const WCHAR *const IA2_RELATION_ERROR_FOR = L"errorFor";

/** The target object is the anchor referenced by this link. */
const WCHAR *const IA2_RELATION_LINKS_TO = L"linksTo";

///@}

/** This interface gives access to an object's set of relations.
Expand Down

0 comments on commit ac79dba

Please sign in to comment.