aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-08 14:42:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-08 14:42:36 -0700
commitdeacea7d360ec2db1f47a447b6da55f5dca098a6 (patch)
treed97eba4131ab6f535f637088fc01d09d028bca7b /tests/test_browser.py
parent649f00422986e1e41551bcb49568adcb7897faa6 (diff)
initial setup for proxying: add option and generate separate html and js
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r--tests/test_browser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py
index 3ac640f1..59c50aca 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -627,6 +627,9 @@ If manually bisecting:
Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'sdl_canvas.c'), '-o', 'page.html', '-s', 'LEGACY_GL_EMULATION=1']).communicate()
self.run_browser('page.html', '', '/report_result?1')
+ def test_sdl_canvas_proxy(self):
+ self.btest('sdl_canvas.c', '1', args=['--proxy-to-worker'])
+
def test_sdl_key(self):
open(os.path.join(self.get_dir(), 'pre.js'), 'w').write('''
Module.postRun = function() {