Update waitSync and the TIMEOUT_IGNORED constant to use signed integers.
authorMs2ger@igalia.com <Ms2ger@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Sep 2017 13:38:57 +0000 (13:38 +0000)
committerMs2ger@igalia.com <Ms2ger@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Sep 2017 13:38:57 +0000 (13:38 +0000)
commit3b23e36b7834c767edb77b827239019b13d006cc
tree747379b54e642f226f0502f92890144e12dc7724
parent5398f04b437024176d08b3133e319995280d6d7a
Update waitSync and the TIMEOUT_IGNORED constant to use signed integers.
https://bugs.webkit.org/show_bug.cgi?id=177239

Reviewed by Žan Doberšek.

This matches the specification.

Source/WebCore:

Test: fast/canvas/webgl/webgl2/constants.html

* html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::waitSync):
* html/canvas/WebGL2RenderingContext.h:
* html/canvas/WebGL2RenderingContext.idl:

LayoutTests:

* fast/canvas/webgl/webgl2/constants-expected.txt: Added.
* fast/canvas/webgl/webgl2/constants.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@222444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/webgl/webgl2/constants-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/webgl/webgl2/constants.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
Source/WebCore/html/canvas/WebGL2RenderingContext.h
Source/WebCore/html/canvas/WebGL2RenderingContext.idl