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

Issue 653343002: Support Promise<T> syntax in the IDL parser. (Closed)

Created:
6 years, 2 months ago by yhirano
Modified:
6 years, 2 months ago
Reviewers:
Jens Widell, noelallen1
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Support Promise<T> syntax in the IDL parser. The Web IDL spec specifies Promise<T> syntax. This CL makes the IDL parser recognize the syntax. BUG=421539 Committed: https://crrev.com/6ce2b8e162baa9573aaa1819ac610ef854cca9f8 Cr-Commit-Position: refs/heads/master@{#300255}

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -102 lines) Patch
M tools/idl_parser/idl_lexer.py View 1 chunk +2 lines, -1 line 0 comments Download
M tools/idl_parser/idl_parser.py View 1 2 29 chunks +123 lines, -90 lines 0 comments Download
M tools/idl_parser/idl_ppapi_lexer.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/idl_parser/idl_ppapi_parser.py View 1 7 chunks +11 lines, -9 lines 0 comments Download
M tools/idl_parser/test_parser/interface_web.idl View 1 1 chunk +34 lines, -0 lines 0 comments Download
M tools/idl_parser/test_parser/struct_ppapi.idl View 1 2 chunks +4 lines, -0 lines 5 comments Download

Messages

Total messages: 16 (2 generated)
yhirano
6 years, 2 months ago (2014-10-15 07:05:41 UTC) #2
Jens Widell
LGTM Let's wait for Noel to have a look too. https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py File tools/idl_parser/idl_lexer.py (right): https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py#newcode97 ...
6 years, 2 months ago (2014-10-15 07:22:17 UTC) #3
noelallen1
I would have expected your test to fail. In any case, it's not complete in ...
6 years, 2 months ago (2014-10-15 18:12:32 UTC) #4
Jens Widell
https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py File tools/idl_parser/idl_lexer.py (right): https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py#newcode97 tools/idl_parser/idl_lexer.py:97: 'Promise' : 'PROMISE', On 2014/10/15 18:12:32, noelallen1 wrote: > ...
6 years, 2 months ago (2014-10-15 18:16:47 UTC) #5
noelallen1
Gotcha... Yes, PPAPI use PPAPI types, not JS types. So if you do remove 'Promise' ...
6 years, 2 months ago (2014-10-15 19:42:03 UTC) #6
yhirano
https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py File tools/idl_parser/idl_lexer.py (right): https://codereview.chromium.org/653343002/diff/1/tools/idl_parser/idl_lexer.py#newcode97 tools/idl_parser/idl_lexer.py:97: 'Promise' : 'PROMISE', On 2014/10/15 18:16:47, Jens Widell wrote: ...
6 years, 2 months ago (2014-10-16 05:25:47 UTC) #7
noelallen1
We just need to figure out why the use of Promise in the PPAPI test ...
6 years, 2 months ago (2014-10-16 17:03:05 UTC) #8
Jens Widell
https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl File tools/idl_parser/test_parser/struct_ppapi.idl (right): https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl#newcode55 tools/idl_parser/test_parser/struct_ppapi.idl:55: Promise z; On 2014/10/16 17:03:05, noelallen1 wrote: > Didn't ...
6 years, 2 months ago (2014-10-16 17:08:38 UTC) #9
noelallen1
https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl File tools/idl_parser/test_parser/struct_ppapi.idl (right): https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl#newcode55 tools/idl_parser/test_parser/struct_ppapi.idl:55: Promise z; On 2014/10/16 17:08:38, Jens Widell wrote: > ...
6 years, 2 months ago (2014-10-16 18:14:02 UTC) #10
Jens Widell
https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl File tools/idl_parser/test_parser/struct_ppapi.idl (right): https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl#newcode55 tools/idl_parser/test_parser/struct_ppapi.idl:55: Promise z; On 2014/10/16 18:14:02, noelallen1 wrote: > On ...
6 years, 2 months ago (2014-10-16 18:21:42 UTC) #11
noelallen1
lgtm https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl File tools/idl_parser/test_parser/struct_ppapi.idl (right): https://codereview.chromium.org/653343002/diff/40001/tools/idl_parser/test_parser/struct_ppapi.idl#newcode55 tools/idl_parser/test_parser/struct_ppapi.idl:55: Promise z; On 2014/10/16 18:21:42, Jens Widell wrote: ...
6 years, 2 months ago (2014-10-16 18:36:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653343002/40001
6 years, 2 months ago (2014-10-20 11:49:52 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-20 12:49:18 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-20 12:50:03 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6ce2b8e162baa9573aaa1819ac610ef854cca9f8
Cr-Commit-Position: refs/heads/master@{#300255}

Powered by Google App Engine
This is Rietveld 408576698