From 3312535c9df21c58b20da3316774549cbc38eefd Mon Sep 17 00:00:00 2001 From: Jeff Gilbert Date: Tue, 9 Jul 2013 17:46:25 -0700 Subject: [PATCH] Bug 881997 - Test to assure that conformance is only exposed on our conformant products. - r=dzbarsky --- content/canvas/test/webgl/moz.build | 1 + .../test/webgl/non-conf-tests/Makefile.in | 18 +++++++++++++++ .../test/webgl/non-conf-tests/moz.build | 5 ++++ .../test_webgl_conformance.html | 23 +++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 content/canvas/test/webgl/non-conf-tests/Makefile.in create mode 100644 content/canvas/test/webgl/non-conf-tests/moz.build create mode 100644 content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html diff --git a/content/canvas/test/webgl/moz.build b/content/canvas/test/webgl/moz.build index 895d11993cf..3d5c1e93c6e 100644 --- a/content/canvas/test/webgl/moz.build +++ b/content/canvas/test/webgl/moz.build @@ -4,3 +4,4 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +DIRS += ['non-conf-tests'] diff --git a/content/canvas/test/webgl/non-conf-tests/Makefile.in b/content/canvas/test/webgl/non-conf-tests/Makefile.in new file mode 100644 index 00000000000..4f97d3bb43e --- /dev/null +++ b/content/canvas/test/webgl/non-conf-tests/Makefile.in @@ -0,0 +1,18 @@ +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +DEPTH = @DEPTH@ +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ +relativesrcdir = @relativesrcdir@ + +include $(DEPTH)/config/autoconf.mk + +MOCHITEST_FILES = \ + test_webgl_conformance.html \ + $(NULL) + +include $(topsrcdir)/config/rules.mk diff --git a/content/canvas/test/webgl/non-conf-tests/moz.build b/content/canvas/test/webgl/non-conf-tests/moz.build new file mode 100644 index 00000000000..c271ec3908c --- /dev/null +++ b/content/canvas/test/webgl/non-conf-tests/moz.build @@ -0,0 +1,5 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html b/content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html new file mode 100644 index 00000000000..fa15e0e3dac --- /dev/null +++ b/content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html @@ -0,0 +1,23 @@ + +WebGL test: 'webgl' context request + + + + + + +