Add pref to force WebGL context creation failure

The pref `webgl.testing.context_creation_error` will cause creation of a new WebGLRenderingContext to fail, iff set to true.
Also update test expectation of `context_creation_error.html` to pass.
This commit is contained in:
Benjamin Dahse 2017-06-06 19:18:40 +02:00
parent 2da8eb0342
commit c034d99880
5 changed files with 10 additions and 8 deletions

View file

@ -66,5 +66,6 @@
"shell.homepage": "https://servo.org",
"shell.keep_screen_on.enabled": false,
"shell.native-orientation": "both",
"shell.native-titlebar.enabled": true
"shell.native-titlebar.enabled": true,
"webgl.testing.context_creation_error": false
}