Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Issue 2322943002: Generate INVALID_OPERATION error when attempting to bind a deleted object (Closed)

Created:
4 years, 3 months ago by Jiawei
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generate INVALID_OPERATION error when attempting to bind a deleted object According to the new spec, a INVALID_OPERATION error should be generated when attemping to call bind* function on a delete object and the origin binding should be keeped, including buffers, textures, renderbuffers and framebuffers. BUG=chromium:644957 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/ef7630800e91abbb104e76515b92e682e189ca1e Cr-Commit-Position: refs/heads/master@{#417875}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix a typo and update conformance expectations #

Patch Set 3 : Expect fail to CTS tests that does not meet spec #

Patch Set 4 : Expect fail to more related tests #

Patch Set 5 : Format cl #

Patch Set 6 : Solve merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -19 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_conformance_expectations.py View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 3 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 5 4 chunks +16 lines, -9 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Jiawei
4 years, 3 months ago (2016-09-08 08:49:59 UTC) #3
qiankun
LGTM. others: PTAL
4 years, 3 months ago (2016-09-08 08:59:05 UTC) #5
qiankun
LGTM. others: PTAL
4 years, 3 months ago (2016-09-08 08:59:06 UTC) #6
qiankun
https://codereview.chromium.org/2322943002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2322943002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode1552 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1552: synthesizeGLError(GL_INVALID_OPERATION, "bindBuffer", "attempt to bind a deleted renderbuffer"); typo: ...
4 years, 3 months ago (2016-09-08 09:01:00 UTC) #7
Zhenyao Mo
On 2016/09/08 09:01:00, qiankun wrote: > https://codereview.chromium.org/2322943002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp > (right): > > https://codereview.chromium.org/2322943002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode1552 ...
4 years, 3 months ago (2016-09-08 15:55:02 UTC) #8
yunchao
Jiawei, the conformance test has been rolled into Chromium project. Please update the webgl conformance ...
4 years, 3 months ago (2016-09-08 18:38:05 UTC) #9
Ken Russell (switch to Gerrit)
This LGTM. I think we should land this ASAP to not have the code in ...
4 years, 3 months ago (2016-09-09 18:50:26 UTC) #17
Zhenyao Mo
On 2016/09/09 18:50:26, Ken Russell wrote: > This LGTM. I think we should land this ...
4 years, 3 months ago (2016-09-09 18:52:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2322943002/80001
4 years, 3 months ago (2016-09-09 18:52:56 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/266187) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 3 months ago (2016-09-09 18:55:36 UTC) #22
Ken Russell (switch to Gerrit)
On 2016/09/09 18:55:36, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 3 months ago (2016-09-09 20:14:36 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2322943002/100001
4 years, 3 months ago (2016-09-12 04:27:51 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-12 06:03:49 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 06:06:33 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ef7630800e91abbb104e76515b92e682e189ca1e
Cr-Commit-Position: refs/heads/master@{#417875}

Powered by Google App Engine
This is Rietveld 408576698