diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-02-26 12:05:13 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-02-26 12:11:15 +0200 |
commit | 793eb176a0c777d91941cb17386de0f5da981bac (patch) | |
tree | 3cf9760bda0d588a05ebe9dec9b7bd4dd610b37b /tests/test_browser.py | |
parent | e2d05d569d7848d15ddd956e5c456d81f7bf9292 (diff) |
Add new fields to EmscriptenFullscreenChangeEvent structure that report the new pixel sizes of the fullscreen element, as well as the whole screen size. These can be used to read and adjust the rendering canvas size appropriately when transitioning between fullscreen modes. Thanks to Joel Croteau for the suggestion at https://groups.google.com/forum/#!topic/emscripten-discuss/qaTrOXWv1Oc .
Bump version to 1.12.3 to update the cache after change to struct_info.json.
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r-- | tests/test_browser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index f2e17ea0..62d3f257 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -1846,6 +1846,9 @@ Module["preRun"].push(function () { def test_html5(self): self.btest(path_from_root('tests', 'test_html5.c'), expected='0') + def test_html5_fullscreen(self): + self.btest(path_from_root('tests', 'test_html5_fullscreen.c'), expected='0') + def test_codemods(self): for opt_level in [0, 2]: print 'opt level', opt_level |