Backed out changeset fbea533f8927 (bug 881997) for webgl conformance test failures
authorEd Morley <emorley@mozilla.com>
Wed, 10 Jul 2013 09:18:26 +0100
changeset 145536 e1eea117b2b05cdb2031f0fb56efe55ce07148c1
parent 145535 1adc72e64db00ee68a106b878251e11f4433c05a
child 145537 d030698ee3e83ef4ac3013b8f3ee02b8eca764e5
push idunknown
push userunknown
push dateunknown
bugs881997
milestone25.0a1
backs outfbea533f89278a364482449e81b5417be7c1c8f4
Backed out changeset fbea533f8927 (bug 881997) for webgl conformance test failures
content/canvas/test/webgl/moz.build
content/canvas/test/webgl/non-conf-tests/Makefile.in
content/canvas/test/webgl/non-conf-tests/moz.build
content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html
--- a/content/canvas/test/webgl/moz.build
+++ b/content/canvas/test/webgl/moz.build
@@ -1,7 +1,6 @@
 # -*- 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/.
 
-DIRS += ['non-conf-tests']
deleted file mode 100644
--- a/content/canvas/test/webgl/non-conf-tests/Makefile.in
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# 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
deleted file mode 100644
--- a/content/canvas/test/webgl/non-conf-tests/moz.build
+++ /dev/null
@@ -1,5 +0,0 @@
-# -*- 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/.
deleted file mode 100644
--- a/content/canvas/test/webgl/non-conf-tests/test_webgl_conformance.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE HTML>
-<title>WebGL test: 'webgl' context request</title>
-<script src="/MochiKit/MochiKit.js"></script>
-<script src="/tests/SimpleTest/SimpleTest.js"></script>
-<link rel="stylesheet" href="/tests/SimpleTest/test.css">
-<body>
-<canvas id="c"></canvas>
-<script>
-
-var canvas = document.getElementById('c');
-var gl = canvas.getContext('webgl');
-
-var isAndroid = /Android/.test(navigator.userAgent);
-var shouldBeConformant = !isAndroid;
-
-if (shouldBeConformant) {
-  ok(gl, 'Expected conformance on: ' + navigator.userAgent);
-} else {
-  ok(!gl, 'Unexpected conformance on: ' + navigator.userAgent);
-}
-
-</script>
-