diff options
Diffstat (limited to 'tests/wpt/webgl/tools/unit2.patch')
-rw-r--r-- | tests/wpt/webgl/tools/unit2.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/wpt/webgl/tools/unit2.patch b/tests/wpt/webgl/tools/unit2.patch new file mode 100644 index 00000000000..7678d4ae72a --- /dev/null +++ b/tests/wpt/webgl/tools/unit2.patch @@ -0,0 +1,25 @@ +diff --git a/conformance-suites/1.0.3/conformance/more/unit.js b/conformance-suits/1.0.3/conformance/more/unit.js +index 742f8d7b9d..428c164699 100644 +--- a/conformance-suites/1.0.3/conformance/more/unit.js ++++ b/conformance-suites/1.0.3/conformance/more/unit.js +@@ -53,6 +53,10 @@ if (window.internals) { + window.internals.settings.setWebGLErrorsToConsoleEnabled(false); + } + ++if (window.async_test) { ++ var __overall_test = async_test('Overall test'); ++} ++ + /* -- end platform specific code --*/ + Tests = { + autorun : true, +@@ -907,6 +911,9 @@ function notifyFinishedToHarness() { + if (window.parent.webglTestHarness) { + window.parent.webglTestHarness.notifyFinished(window.location.pathname); + } ++ if (window.__overall_test) { ++ window.__overall_test.done(); ++ } + } + + function initTests() { |