Description[Webgl-blink] Add test function to force fail the webgl-context.
In order to test whether the GPU(Vendor,Renderer,Driver info)
is getting fetched properly when creating the context,
we need to provide a function to force fail the context on
creation, which can be used by test-runner.
This patch implements the forceNextWebGLContextCreationToFail.
Test-runner can use this further.
test-runner-cl which uses forceNextWebGLContextCreationToFail
@https://codereview.chromium.org/706193003/
BUG=412440
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185272
Patch Set 1 #Patch Set 2 : Adding Layout test code. #Patch Set 3 : Adding layout tests. #Patch Set 4 : Changed webgl-error-response.html #Patch Set 5 : added test case #
Total comments: 6
Patch Set 6 : Removed the bolean argument in test function. #Patch Set 7 : Upload layout test in seperate patch #
Total comments: 4
Patch Set 8 : Moving the test function to test section. #
Total comments: 3
Patch Set 9 : Set forcefail flag to false before dispatching context error event. #Patch Set 10 : Remove decleration from webwidget. #
Messages
Total messages: 24 (6 generated)
|