Bug 559562. Fix Windows a11y test using obsolete getter syntax.

This commit is contained in:
Robert Sayre 2010-04-15 10:52:25 -04:00
Родитель b01ec5c927
Коммит 07a6b27a70
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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,