|
62 | 62 | EMCC_CORES=4 python3 emscripten/embuilder.py build ALL
|
63 | 63 | python3 emscripten/tests/runner.py test_hello_world
|
64 | 64 | mkdir tmp-firefox-profile/
|
65 |
| - echo 'user_pref("javascript.options.shared_memory", true);' >> tmp-firefox-profile/user.js |
| 65 | + cat > tmp-firefox-profile/user.js <<EOF |
| 66 | + user_pref("gfx.offscreencanvas.enabled", true); |
| 67 | + user_pref("javascript.options.shared_memory", true); |
| 68 | + EOF |
66 | 69 |
|
67 | 70 | # Set up X and Openbox config (if we move to a headless browser, this may not be needed).
|
68 | 71 | mkdir -p .config/X11
|
@@ -143,7 +146,11 @@ jobs:
|
143 | 146 | # initial position of the mouse pointer relative to the canvas.
|
144 | 147 | # browser.test_html5_webgl_create_context is skipped because
|
145 | 148 | # anti-aliasing is not well supported.
|
146 |
| - - TEST_TARGET=browser skip:browser.test_sdl_ttf_render_text_solid skip:browser.test_sdl2_mouse skip:browser.test_html5_webgl_create_context |
| 149 | + # browser.test_webgl_offscreen_canvas_in_pthread and |
| 150 | + # browser.test_webgl_offscreen_canvas_in_mainthread_after_pthread |
| 151 | + # are crashing Firefox (bugzil.la/1281796). The former case is |
| 152 | + # further blocked by issue #6897. |
| 153 | + - TEST_TARGET=browser skip:browser.test_sdl_ttf_render_text_solid skip:browser.test_sdl2_mouse skip:browser.test_html5_webgl_create_context skip:browser.test_webgl_offscreen_canvas_in_pthread skip:browser.test_webgl_offscreen_canvas_in_mainthread_after_pthread |
147 | 154 | # TODO: use Firefox headless mode when https://bugzil.la/1375585 resolves
|
148 | 155 | - TEST_DEPENDENCY=dbus-x11 firefox menu openbox xinit xserver-xorg xserver-xorg-video-dummy
|
149 | 156 | - EMSCRIPTEN_BROWSER=firefox -profile tmp-firefox-profile/
|
|
0 commit comments