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

Issue 2915813003: [Extensions Bindings] Accept null callbacks while ignoring schema (Closed)

Created:
3 years, 6 months ago by Devlin
Modified:
3 years, 6 months ago
Reviewers:
lazyboy, jbroman
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions Bindings] Accept null callbacks while ignoring schema For legacy reasons, we have the method ConvertArgumentsIgnorningSchema, which still needs to take into account the callback method as the final parameter. Accept a null callback for these cases, and unittests for the same. This fixes some of the context menus browser tests with native bindings. Also update the context menus handler bindings. BUG=629431 Review-Url: https://codereview.chromium.org/2915813003 Cr-Commit-Position: refs/heads/master@{#478398} Committed: https://chromium.googlesource.com/chromium/src/+/e118f4d92ff6564c75fea95c07864a483cc42f29

Patch Set 1 #

Total comments: 4

Patch Set 2 : jbroman's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -5 lines) Patch
M extensions/renderer/api_signature.cc View 1 1 chunk +7 lines, -4 lines 0 comments Download
M extensions/renderer/api_signature_unittest.cc View 1 2 chunks +67 lines, -0 lines 0 comments Download
M extensions/renderer/resources/context_menus_handlers.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (14 generated)
Devlin
And a short one for y'all. :)
3 years, 6 months ago (2017-06-03 01:18:07 UTC) #7
jbroman
lgtm https://codereview.chromium.org/2915813003/diff/1/extensions/renderer/api_signature.cc File extensions/renderer/api_signature.cc (right): https://codereview.chromium.org/2915813003/diff/1/extensions/renderer/api_signature.cc#newcode322 extensions/renderer/api_signature.cc:322: DCHECK(value->IsFunction() || value->IsUndefined() || value->IsNull()); This DCHECK implies ...
3 years, 6 months ago (2017-06-05 18:16:32 UTC) #8
lazyboy
lgtm
3 years, 6 months ago (2017-06-05 18:26:16 UTC) #9
Devlin
https://codereview.chromium.org/2915813003/diff/1/extensions/renderer/api_signature.cc File extensions/renderer/api_signature.cc (right): https://codereview.chromium.org/2915813003/diff/1/extensions/renderer/api_signature.cc#newcode322 extensions/renderer/api_signature.cc:322: DCHECK(value->IsFunction() || value->IsUndefined() || value->IsNull()); On 2017/06/05 18:16:32, jbroman ...
3 years, 6 months ago (2017-06-09 20:26:31 UTC) #14
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/2915813003/20001
3 years, 6 months ago (2017-06-09 20:26:54 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 20:32:39 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/e118f4d92ff6564c75fea95c0786...

Powered by Google App Engine
This is Rietveld 408576698