diff --git a/mozilla/accessible/Makefile.in b/mozilla/accessible/Makefile.in index f7d363ef3ed..a6eab40ce24 100644 --- a/mozilla/accessible/Makefile.in +++ b/mozilla/accessible/Makefile.in @@ -43,7 +43,7 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = accessibility -DIRS = public src build +DIRS = public src build tests include $(topsrcdir)/config/rules.mk diff --git a/mozilla/accessible/tests/Makefile.in b/mozilla/accessible/tests/Makefile.in new file mode 100644 index 00000000000..b602f735b2f --- /dev/null +++ b/mozilla/accessible/tests/Makefile.in @@ -0,0 +1,53 @@ +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is +# Mozilla Foundation. +# Portions created by the Initial Developer are Copyright (C) 2008 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Alexander Surkov (original author) +# +# Alternatively, the contents of this file may be used under the terms of +# either of the GNU General Public License Version 2 or later (the "GPL"), +# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +DEPTH = ../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +MODULE = test_accessibility + +ifdef MOZ_MOCHITEST +DIRS += mochitest +endif + +include $(topsrcdir)/config/rules.mk + diff --git a/mozilla/accessible/tests/mochitest/Makefile.in b/mozilla/accessible/tests/mochitest/Makefile.in new file mode 100644 index 00000000000..a4bfd2684d3 --- /dev/null +++ b/mozilla/accessible/tests/mochitest/Makefile.in @@ -0,0 +1,53 @@ +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is +# Mozilla Foundation. +# Portions created by the Initial Developer are Copyright (C) 2008 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Alexander Surkov (original author) +# +# Alternatively, the contents of this file may be used under the terms of +# either of the GNU General Public License Version 2 or later (the "GPL"), +# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +DEPTH = ../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ +relativesrcdir = accessible + +include $(DEPTH)/config/autoconf.mk +include $(topsrcdir)/config/rules.mk + +_TEST_FILES =\ + test_bug368835.xul \ + $(NULL) + +libs:: $(_TEST_FILES) + $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/a11y/$(relativesrcdir) diff --git a/mozilla/accessible/tests/mochitest/test_bug368835.xul b/mozilla/accessible/tests/mochitest/test_bug368835.xul new file mode 100644 index 00000000000..8e90094f048 --- /dev/null +++ b/mozilla/accessible/tests/mochitest/test_bug368835.xul @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + Mozilla Bug 368835 + +

+ +
+    
+ + + + + + + + + +
+ diff --git a/mozilla/testing/mochitest/Makefile.in b/mozilla/testing/mochitest/Makefile.in index 216c9b8be7f..86718cecf8c 100644 --- a/mozilla/testing/mochitest/Makefile.in +++ b/mozilla/testing/mochitest/Makefile.in @@ -57,11 +57,15 @@ _SERV_FILES = \ runtests.py \ gen_template.pl \ server.js \ + harness-a11y.xul \ + harness-overlay.xul \ harness.xul \ browser-test-overlay.xul \ browser-test.js \ browser-harness.xul \ + redirect-a11y.html \ redirect.html \ + redirect.js \ $(topsrcdir)/netwerk/test/httpserver/httpd.js \ $(NULL) diff --git a/mozilla/testing/mochitest/harness-a11y.xul b/mozilla/testing/mochitest/harness-a11y.xul new file mode 100644 index 00000000000..63405a9ba71 --- /dev/null +++ b/mozilla/testing/mochitest/harness-a11y.xul @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/mozilla/testing/mochitest/harness-overlay.xul b/mozilla/testing/mochitest/harness-overlay.xul new file mode 100644 index 00000000000..aeac24f35d2 --- /dev/null +++ b/mozilla/testing/mochitest/harness-overlay.xul @@ -0,0 +1,109 @@ + + + + + + + + + +