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

Issue 101623003: PPAPI idl parser was missing error handler (Closed)

Created:
7 years ago by Habib Virji
Modified:
7 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

PPAPI idl parser was missing error handler YACC parser used by PPAPI idl parser needs error function for each keyword to handle error. Due to missing error function for dictionary object, yacc parser was deleting all data in the stack including start of the file and when it restarts and reach end of file, since start of file is missing it goes in endless loop. R=noelallen@chromium.org,sehr@chromoium.org,nbarth@chromium.org BUG=320921 TEST=Add new dictionary object in idl file with missing semicolon, compilation will fail. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239965

Patch Set 1 #

Patch Set 2 : PPAPI dictionary error handling support #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/generators/idl_parser.py View 1 chunk +8 lines, -0 lines 0 comments Download
A ppapi/generators/test_parser/dictionary.idl View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Habib Virji
7 years ago (2013-12-06 09:50:41 UTC) #1
Habib Virji
With the proposed patch error is generated error during compilation of idl. Following error is ...
7 years ago (2013-12-06 09:58:34 UTC) #2
noelallen_use_chromium
Hmmm, there should be an accompanying test in ppapi/generators/test_parser/dictionary.idl You could just add the file, ...
7 years ago (2013-12-07 00:31:17 UTC) #3
Habib Virji
Thanks for reviewing will add tests on ppapi side and investigate adding tests in json ...
7 years ago (2013-12-07 10:09:42 UTC) #4
Nils Barth (inactive)
Thanks Habib! Looks like you've correctly diagnosed the problem, and fix looks fine, pending tests ...
7 years ago (2013-12-09 01:34:05 UTC) #5
Habib Virji
On 2013/12/07 00:31:17, noelallen wrote: > Hmmm, there should be an accompanying test in > ...
7 years ago (2013-12-09 11:18:07 UTC) #6
Habib Virji
On 2013/12/09 01:34:05, Nils Barth wrote: > Thanks Habib! > Looks like you've correctly diagnosed ...
7 years ago (2013-12-09 11:20:02 UTC) #7
noelallen1
Great, thanks very much! LGTM
7 years ago (2013-12-09 17:45:34 UTC) #8
Habib Virji
On 2013/12/09 17:45:34, noelallen1 wrote: > Great, thanks very much! > LGTM Thanks Noel, can ...
7 years ago (2013-12-10 09:54:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/101623003/20001
7 years ago (2013-12-10 23:53:50 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-11 02:25:42 UTC) #11
Message was sent while issue was closed.
Change committed as 239965

Powered by Google App Engine
This is Rietveld 408576698