зеркало из https://github.com/mozilla/gecko-dev.git
Bug 559562. Fix Windows a11y test using obsolete getter syntax.
This commit is contained in:
Родитель
b01ec5c927
Коммит
07a6b27a70
|
@ -39,14 +39,14 @@
|
|||
function switchTabSelectChecker(aInvoker)
|
||||
{
|
||||
this.type = "select";
|
||||
this.target getter = function() { return aInvoker.getTabsElm(); }
|
||||
Object.defineProperty(this, "target", { get: function() { return aInvoker.getTabsElm(); }});
|
||||
this.getID = function() { return "switch tab, select event"; }
|
||||
}
|
||||
|
||||
function switchTabFocusChecker(aInvoker)
|
||||
{
|
||||
this.type = gOpenerWnd.EVENT_FOCUS;
|
||||
this.target getter = function() { return aInvoker.getContentDoc(); }
|
||||
Object.defineProperty(this, "target", { get: function() { return aInvoker.getContentDoc(); }});
|
||||
this.check = function(aEvent)
|
||||
{
|
||||
is(gOpenerWnd.getAccessible(document).name, "about:mozilla" + aEvent.accessible.name,
|
||||
|
|
Загрузка…
Ссылка в новой задаче