| This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL. |
| |
| Test: ../../resources/webgl_test_files/conformance2/buffers/buffer-data-and-buffer-sub-data-sub-source.html |
| [ 1: PASS ] WebGL context exists |
| [ 2: PASS ] [object WebGLBuffer] is non-null. |
| [ 3: PASS ] getError was expected value: NO_ERROR : |
| [ 4: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 5: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 6: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 7: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 8: FAIL ] expected data at 0: 2, got 0 |
| [ 9: FAIL ] expected data at 1: 3, got 0 |
| [ 10: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 11: PASS ] buffer data uploaded correctly |
| [ 12: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 13: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 14: PASS ] [object WebGLBuffer] is non-null. |
| [ 15: PASS ] getError was expected value: NO_ERROR : |
| [ 16: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 17: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 18: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 19: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 20: FAIL ] expected data at 0: 2, got 0 |
| [ 21: FAIL ] expected data at 1: 3, got 0 |
| [ 22: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 23: PASS ] buffer data uploaded correctly |
| [ 24: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 25: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 26: PASS ] [object WebGLBuffer] is non-null. |
| [ 27: PASS ] getError was expected value: NO_ERROR : |
| [ 28: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 29: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 30: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 31: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 32: FAIL ] expected data at 0: 2, got 0 |
| [ 33: FAIL ] expected data at 1: 3, got 0 |
| [ 34: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 35: PASS ] buffer data uploaded correctly |
| [ 36: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 37: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 38: PASS ] [object WebGLBuffer] is non-null. |
| [ 39: PASS ] getError was expected value: NO_ERROR : |
| [ 40: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 41: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 42: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 43: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 44: FAIL ] expected data at 0: 2, got 0 |
| [ 45: FAIL ] expected data at 1: 3, got 0 |
| [ 46: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 47: PASS ] buffer data uploaded correctly |
| [ 48: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 49: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 50: PASS ] [object WebGLBuffer] is non-null. |
| [ 51: PASS ] getError was expected value: NO_ERROR : |
| [ 52: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 53: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 54: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 55: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 56: FAIL ] expected data at 0: 2, got 0 |
| [ 57: FAIL ] expected data at 1: 3, got 0 |
| [ 58: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 59: PASS ] buffer data uploaded correctly |
| [ 60: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 61: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 62: PASS ] [object WebGLBuffer] is non-null. |
| [ 63: PASS ] getError was expected value: NO_ERROR : |
| [ 64: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 65: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 66: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 67: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 68: FAIL ] expected data at 0: 2, got 0 |
| [ 69: FAIL ] expected data at 1: 3, got 0 |
| [ 70: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 71: PASS ] buffer data uploaded correctly |
| [ 72: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 73: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 74: PASS ] [object WebGLBuffer] is non-null. |
| [ 75: PASS ] getError was expected value: NO_ERROR : |
| [ 76: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 77: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 78: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 79: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 80: FAIL ] expected data at 0: 2, got 0 |
| [ 81: FAIL ] expected data at 1: 3, got 0 |
| [ 82: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 83: PASS ] buffer data uploaded correctly |
| [ 84: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 85: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 86: PASS ] [object WebGLBuffer] is non-null. |
| [ 87: PASS ] getError was expected value: NO_ERROR : |
| [ 88: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 89: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 90: PASS ] getError was expected value: INVALID_VALUE : calling bufferData when srcOffset + length is larger than source size |
| [ 91: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source should succeed |
| [ 92: FAIL ] expected data at 0: 2, got 0 |
| [ 93: FAIL ] expected data at 1: 3, got 0 |
| [ 94: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : calling bufferData with valid sub source should succeed |
| [ 95: PASS ] buffer data uploaded correctly |
| [ 96: PASS ] getError was expected value: NO_ERROR : calling bufferData with valid sub source of size 0 should succeed |
| [ 97: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 98: PASS ] [object WebGLBuffer] is non-null. |
| [ 99: PASS ] getError was expected value: NO_ERROR : |
| [ 100: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 101: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 102: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 103: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 104: FAIL ] expected data at 0: 2, got 0 |
| [ 105: FAIL ] expected data at 1: 3, got 0 |
| [ 106: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 107: PASS ] buffer data uploaded correctly |
| [ 108: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 109: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 110: PASS ] [object WebGLBuffer] is non-null. |
| [ 111: PASS ] getError was expected value: NO_ERROR : |
| [ 112: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 113: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 114: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 115: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 116: FAIL ] expected data at 0: 2, got 0 |
| [ 117: FAIL ] expected data at 1: 3, got 0 |
| [ 118: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 119: PASS ] buffer data uploaded correctly |
| [ 120: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 121: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 122: PASS ] [object WebGLBuffer] is non-null. |
| [ 123: PASS ] getError was expected value: NO_ERROR : |
| [ 124: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 125: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 126: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 127: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 128: FAIL ] expected data at 0: 2, got 0 |
| [ 129: FAIL ] expected data at 1: 3, got 0 |
| [ 130: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 131: PASS ] buffer data uploaded correctly |
| [ 132: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 133: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 134: PASS ] [object WebGLBuffer] is non-null. |
| [ 135: PASS ] getError was expected value: NO_ERROR : |
| [ 136: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 137: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 138: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 139: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 140: FAIL ] expected data at 0: 2, got 0 |
| [ 141: FAIL ] expected data at 1: 3, got 0 |
| [ 142: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 143: PASS ] buffer data uploaded correctly |
| [ 144: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 145: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 146: PASS ] [object WebGLBuffer] is non-null. |
| [ 147: PASS ] getError was expected value: NO_ERROR : |
| [ 148: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 149: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 150: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 151: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 152: FAIL ] expected data at 0: 2, got 0 |
| [ 153: FAIL ] expected data at 1: 3, got 0 |
| [ 154: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 155: PASS ] buffer data uploaded correctly |
| [ 156: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 157: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 158: PASS ] [object WebGLBuffer] is non-null. |
| [ 159: PASS ] getError was expected value: NO_ERROR : |
| [ 160: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 161: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 162: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 163: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 164: FAIL ] expected data at 0: 2, got 0 |
| [ 165: FAIL ] expected data at 1: 3, got 0 |
| [ 166: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 167: PASS ] buffer data uploaded correctly |
| [ 168: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 169: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 170: PASS ] [object WebGLBuffer] is non-null. |
| [ 171: PASS ] getError was expected value: NO_ERROR : |
| [ 172: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 173: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 174: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 175: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 176: FAIL ] expected data at 0: 2, got 0 |
| [ 177: FAIL ] expected data at 1: 3, got 0 |
| [ 178: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 179: PASS ] buffer data uploaded correctly |
| [ 180: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 181: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 182: PASS ] [object WebGLBuffer] is non-null. |
| [ 183: PASS ] getError was expected value: NO_ERROR : |
| [ 184: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 185: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 186: PASS ] getError was expected value: INVALID_VALUE : calling bufferSubData when srcOffset + length is larger than source size |
| [ 187: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 188: FAIL ] expected data at 0: 2, got 0 |
| [ 189: FAIL ] expected data at 1: 3, got 0 |
| [ 190: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source should succeed |
| [ 191: PASS ] buffer data uploaded correctly |
| [ 192: PASS ] getError was expected value: NO_ERROR : calling bufferSubData with valid sub source of size 0 should succeed |
| [ 193: PASS ] getError was expected value: NO_ERROR : no GL error |
| [ 194: PASS ] successfullyParsed is true |
| [ FAIL ] 40 failures reported |
| |