dynamic getSyncParameter(WebGLSync sync, int pname) => js_util.callMethod(this, 'getSyncParameter', [sync, pname]);