Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Issue 2181193002: Revert of current program can be null in ES2/ES3 contexts. (Closed)

Created:
4 years, 4 months ago by Mark P
Modified:
4 years, 4 months ago
Reviewers:
yunchao, Zhenyao Mo, piman
CC:
chromium-reviews, piman+watch_chromium.org, yunchao
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of current program can be null in ES2/ES3 contexts. (patchset #2 id:20001 of https://codereview.chromium.org/2174173002/ ) Reason for revert: Caused webkit test failure on WebKit Win7 (dbg) https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win7%20%28dbg%29/builds/6624 unexpected_failures: printing/webgl-oversized-printing.html virtual/threaded/printing/webgl-oversized-printing.html https://storage.googleapis.com/chromium-layout-test-archives/WebKit_Win7__dbg_/6624/layout-test-results/results.html --- --- E:\b\rr\tmpymgexl\w\layout-test-results\printing/webgl-oversized-printing-expected.txt +++ E:\b\rr\tmpymgexl\w\layout-test-results\printing/webgl-oversized-printing-actual.txt @@ -1,5 +1,5 @@ -PASS successfullyParsed is true +CONSOLE ERROR: line 13: Uncaught TypeError: Cannot read property 'clearColor' of null +FAIL successfullyParsed should be true. Was false. TEST COMPLETE -PASS Printed without crashing. --- --- --- E:\b\rr\tmpymgexl\w\layout-test-results\virtual/threaded/printing/webgl-oversized-printing-expected.txt +++ E:\b\rr\tmpymgexl\w\layout-test-results\virtual/threaded/printing/webgl-oversized-printing-actual.txt @@ -1,5 +1,5 @@ -PASS successfullyParsed is true +CONSOLE ERROR: line 13: Uncaught TypeError: Cannot read property 'clearColor' of null +FAIL successfullyParsed should be true. Was false. TEST COMPLETE -PASS Printed without crashing. --- Original issue's description: > current program can be null in ES2/ES3 contexts. > > They are only required to be non null in WebGL. > > This also did some clean up and a minor optimization. > > BUG=630802 > TEST=fuzzer case in the bug > [email protected] > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel > > Committed: https://crrev.com/14ef40159115ca5059907835a34bcd1667af7631 > Cr-Commit-Position: refs/heads/master@{#407659} [email protected],[email protected],[email protected] # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=630802 Committed: https://crrev.com/e9c2cd979c8114b75bbc2640a43a1371d64f502b Cr-Commit-Position: refs/heads/master@{#407711}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -85 lines) Patch
M gpu/command_buffer/service/context_state.h View 2 chunks +18 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +17 lines, -29 lines 0 comments Download
M gpu/command_buffer/service/program_manager.h View 3 chunks +16 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 3 chunks +17 lines, -17 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.h View 2 chunks +15 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/vertex_attrib_manager.cc View 2 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Mark P
Created Revert of current program can be null in ES2/ES3 contexts.
4 years, 4 months ago (2016-07-26 04:43:06 UTC) #2
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/2181193002/1
4 years, 4 months ago (2016-07-26 04:43:13 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-26 04:44:06 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e9c2cd979c8114b75bbc2640a43a1371d64f502b Cr-Commit-Position: refs/heads/master@{#407711}
4 years, 4 months ago (2016-07-26 04:46:52 UTC) #7
Zhenyao Mo
Are you sure it's caused by this CL? This CL affects WebGL2, which is still ...
4 years, 4 months ago (2016-07-26 04:50:15 UTC) #8
Mark P
On 2016/07/26 04:50:15, Zhenyao Mo wrote: > Are you sure it's caused by this CL? ...
4 years, 4 months ago (2016-07-26 05:03:17 UTC) #9
Zhenyao Mo
On 2016/07/26 05:03:17, Mark P (no metrics til 7-26) wrote: > On 2016/07/26 04:50:15, Zhenyao ...
4 years, 4 months ago (2016-07-26 05:08:35 UTC) #10
Zhenyao Mo
4 years, 4 months ago (2016-07-26 05:09:12 UTC) #11
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2186473002/ by [email protected].

The reason for reverting is: I don't think this is related.  See
crbug.com/631316 and here the conversion between me and Mark..

Powered by Google App Engine
This is Rietveld 408576698