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

Issue 2445223003: [Extensions Bindings] Add more utility functions (Closed)

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

Description

[Extensions Bindings] Add more utility functions Add utility functions for safely running JS functions and for retrieving properties from objects. In addition to trimming down some tests by taking some of the repetetive calls, this ensures we always use the non-deprecated versions of these calls (where before sometimes we were using the incorrect ones). BUG=653596 Committed: https://crrev.com/1e1f6dcee410a2874d04f2b0188b480983a8bfe2 Cr-Commit-Position: refs/heads/master@{#427467}

Patch Set 1 #

Total comments: 6

Patch Set 2 : lazyboy's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -37 lines) Patch
M extensions/renderer/api_binding_test_util.h View 1 chunk +55 lines, -0 lines 0 comments Download
M extensions/renderer/api_binding_test_util.cc View 1 2 chunks +108 lines, -0 lines 0 comments Download
M extensions/renderer/api_binding_unittest.cc View 4 chunks +6 lines, -21 lines 0 comments Download
M extensions/renderer/api_request_handler_unittest.cc View 5 chunks +4 lines, -16 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (12 generated)
Devlin
Hey lazyboy@, jbroman's out for the week I think, but I figure this could be ...
4 years, 1 month ago (2016-10-25 18:57:27 UTC) #6
lazyboy
lgtm https://codereview.chromium.org/2445223003/diff/1/extensions/renderer/api_binding_test_util.cc File extensions/renderer/api_binding_test_util.cc (right): https://codereview.chromium.org/2445223003/diff/1/extensions/renderer/api_binding_test_util.cc#newcode22 extensions/renderer/api_binding_test_util.cc:22: // throw, |out_error| with the thrown error. nit: ...
4 years, 1 month ago (2016-10-25 20:09:07 UTC) #7
Devlin
https://codereview.chromium.org/2445223003/diff/1/extensions/renderer/api_binding_test_util.cc File extensions/renderer/api_binding_test_util.cc (right): https://codereview.chromium.org/2445223003/diff/1/extensions/renderer/api_binding_test_util.cc#newcode22 extensions/renderer/api_binding_test_util.cc:22: // throw, |out_error| with the thrown error. On 2016/10/25 ...
4 years, 1 month ago (2016-10-25 20:55:52 UTC) #10
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/2445223003/20001
4 years, 1 month ago (2016-10-25 20:56:32 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 21:04:52 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 21:08:03 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e1f6dcee410a2874d04f2b0188b480983a8bfe2
Cr-Commit-Position: refs/heads/master@{#427467}

Powered by Google App Engine
This is Rietveld 408576698