aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.py
AgeCommit message (Collapse)Author
2014-02-09enable test_sdl_audio_beeps in fastcompAlon Zakai
2014-02-09add -O1 testing to browser.test_cubegeom_procAlon Zakai
2014-02-08add test for getProcAddress that requires we allow collisions in the main ↵Alon Zakai
namespace with gl* functions
2014-02-05optimize out fround calls on clients that do not support froundAlon Zakai
2014-01-24Merge pull request #2035 from juj/html5_events1.9.4Alon Zakai
HTML5 Events API.
2014-01-24Rename library_events to library_html5 and other suggested renamings. Add ↵Jukka Jylänki
better support for reporting EMSCRIPTEN_RESULT_NOT_SUPPORTED for unsupported features.
2014-01-23rename filePackageURL to filePackagePrefixURLAlon Zakai
2014-01-23allow adding a custom prefix to file package downloads, so they can happen ↵Alon Zakai
from a different url; fixes #2049
2014-01-22Merge pull request #1905 from juj/glGetTexEnvAlon Zakai
Gl get tex env
2014-01-22fix some sdl typos that error on safe heap in asm mode, and add test ↵Alon Zakai
coverage; fixes #2044
2014-01-22Implement C-based events library for various HTML5 APIs.Jukka Jylänki
2014-01-22Add test for s3tc.c rendering when GL_FFP_ONLY flag is set.Jukka Jylänki
2014-01-14fix double start bug #1992 in browser as wellAlon Zakai
2014-01-14Add GLEW 1.10.0 emulationJari Vetoniemi
Includes library_glew.js that stubs the init functions, but also provides the other functions. GL/glew.h is now changed to work with GLEW_EXT_foo_bar constants, some missing constants that are in GLEW 1.10.0 are also provided. Otherwise it still uses SDL_opengl.h to provide function definitions and other constants. Linaro's GLEW (glew-oes) is also supported to some degree to make it easier to get ES1 and ES2 software using it running. What it lacks: - Some constants and function declarations that are in GLEW 1.10.0 might be missing. - The real glew-es fork also includes normal GL constants and function pointers, this does not. Tests ran: - tests/runner.py browser Real world example using this code (and upcomming glfw3 port) can be found here: http://cloudef.eu/glhck http://cloudef.eu/glhck/qb.html
2014-01-14Add test for glGetTexEnv implementation. Fix output of GL_TEXTURE_ENV_COLOR ↵Jukka Jylänki
color data from glGetTexEnvfv.
2014-01-07Merge branch 'add-libuuid' of github.com:fadams/emscripten into incomingAlon Zakai
Conflicts: tools/shared.py
2014-01-06changed != to !== in a couple of places. Added fix to prevent closure ↵Fraser Adams
minifying crypto randomBytes etc. this fix makes use of closure externs so I've added a closure-externs.js to hold the definitions and modified tools/shared.py closure_compiler method to point to closure-externs.js. I've added externs to fix minification of the ws library used in library_sockfs.js too
2014-01-03disable/update various browser tests for fastcompAlon Zakai
2014-01-03convert test_sdl_canvas to btestAlon Zakai
2014-01-02Added crypto quality random number generators for Node.js and browser ↵Fraser Adams
environment if available
2013-12-20update browser.test_preload_fileAlon Zakai
2013-12-20update tests for recent file packager changesAlon Zakai
2013-12-20Merge pull request #1635 from juj/emscripten_logAlon Zakai
emscripten_log() and emscripten_get_callstack()
2013-12-20Fix browser.test_emrun to utilize the EMSCRIPTEN_BROWSER env. variable like ↵Jukka Jylänki
the rest of the browser suite does, instead of always testing user default browser.
2013-12-20In browser.test_emrun, use --log_stdout and --log_stderr to capture run ↵Jukka Jylänki
output instead of python pipe, since on linux, spawning chrome browser would run into a mysterious issue where piping the emrun output would hang the python subprocess spawn.
2013-12-20Move emscripten-source-map.min.js to src/ since it is a non-tests file ↵Jukka Jylänki
needed by public use when user wants to emscripten_log with a C callstack. Remove redundant emscripten_demangle function.
2013-12-20Update emscripten_log to work with the handwritten JS demangler. Update tests.Jukka Jylänki
2013-12-20Add new functions emscripten_log() in emscripten.h which allows printing out ↵Jukka Jylänki
log messages with callstack information, and function emscripten_get_callstack(), which allows programmatically obtaining the current callstack.
2013-12-19Implement command line passing to work to emrun when --emrun is passed.Jukka Jylänki
2013-12-14Implemented --emrun linker flag to emcc, which is a helper that makes the ↵Jukka Jylänki
compilation output emrun-compatible.
2013-12-14Added test to check that emrun stdout, stderr and process exit code capture ↵Jukka Jylänki
work.
2013-12-02fix file preloading in workers and add testAlon Zakai
2013-11-26correct way of scrollinbg to bottomLu Wang
2013-11-18Add support for specifying a custom web browser to run in the browser test ↵Jukka Jylänki
harness via EMSCRIPTEN_BROWSER environment variable.
2013-11-18Clean up Windows-specific code in previous commits in the pull request.Jukka Jylänki
2013-11-17Fix test browser.test_chunked_synchronous_xhr on Windows. It failed due to a ↵Jukka Jylänki
name visibility issue in pickling, see http://stackoverflow.com/questions/8126654/using-multiprocessing-inside-decorator-generates-error-cant-pickle-function?rq=1 , which is fixed by hoisting the process start function to global scope.
2013-11-17Fix browser.test_freealut on Windows by implementing a CMake build path for ↵Jukka Jylänki
that library.
2013-11-17Fix test browser.test_sdl_image_compressed on Windows when the system does ↵Jukka Jylänki
not have Cygwin make, but does have MinGW32 make.
2013-11-17Adjust split.py tool logic for generating output filenames to not generate ↵Jukka Jylänki
the full absolute path names to the splitted filenames. This fixes a Windows problem where invalid path concatenations like 'somethingC:/projects/emscripten/hello_world.js' would be generated, and shortens the path structure to not contain redundant directory names. Fixes test browser.test_split_in_source_filenames on Windows.
2013-11-14Implement more complete glGetXXv() for GLES2 binary shader format and shader ↵Jukka Jylänki
compiler enums that WebGL will not implement for us. Fixes #1803.
2013-11-13Add unit test for EGL context creation and confirming that #1775 and #1793 work.Jukka Jylänki
2013-11-10[SDL] Joystick API implementation using HTML5 Gamepad APIJohn Vilk
Works in browsers that implement the working draft of the standard (current Chrome / Firefox stable): http://www.w3.org/TR/2012/WD-gamepad-20120529/#gamepad-interface ...and browsers that implement the editor's draft (current Firefox Nightly): https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html#idl-def-Gamepad Contains unit tests for both event types.
2013-11-02Add command line parameter --no-heap-copy that optimizes for small memory ↵Jukka Jylänki
footprint and fread() performance over the default behavior that copied VFS to HEAP, that is designed for mmap() performance. Adjust MEMFS node contentMode enum to reflect whether content is off the main HEAP or not. Note that this enum is not much used, so this has little effect. Add browser tests to check that fread() and mmap() work with and without --no-heap-copy.
2013-10-27simplify webgl context attributes test harness code a littleAlon Zakai
2013-10-27Merge branch 'webgl_context_attributes' of github.com:anlambert/emscripten ↵Alon Zakai
into incoming
2013-10-25Fix test browser.test_sdl_canvas_size on Linux and OSX.Jukka Jylänki
2013-10-24add tests for WebGL context attributes (antialiasing, depth, stencil) when ↵Antoine Lambert
they are enabled or disabled
2013-10-23Implement SDL_SetVideoMode(0,0, ...) to create the canvas in whatever size ↵Jukka Jylänki
the <canvas> was in, and not try to resize the canvas to 0x0 pixels. Derive a new test for that from sdl_ogl.c. Fixes #1059.
2013-10-14Merge branch 'glut_mouse_wheel' of github.com:anlambert/emscripten into incomingAlon Zakai
Conflicts: AUTHORS
2013-10-14Merge branch 'fix-rotozoom' of github.com:fhd/emscripten into incomingAlon Zakai