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

Issue 1005903005: Cap chrome.mdns.onServiceList listeners per extension at 10 (Closed)

Created:
5 years, 9 months ago by Red Daly
Modified:
5 years, 8 months ago
Reviewers:
mark a. foltz, benwells
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set max number of mdns listeners per extension to 10. BUG=451527 Committed: https://crrev.com/96ac2bf6fb4ef371d843155c50161fdf0e0dabf8 Cr-Commit-Position: refs/heads/master@{#323110}

Patch Set 1 : Add maxListeners limit in mdns.idl and corresponding browser test #

Total comments: 10

Patch Set 2 : Fix copyright, change test app name, and add extra assertion to unit test #

Patch Set 3 : Rebase onto HEAD and consolidate changes into one commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -4 lines) Patch
M chrome/browser/extensions/api/mdns/mdns_apitest.cc View 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/mdns.idl View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/mdns/api-packaged-apps/manifest.json View 1 1 chunk +9 lines, -3 lines 0 comments Download
A chrome/test/data/extensions/api_test/mdns/api-packaged-apps/register_too_many_listeners.js View 1 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Red Daly
On 2015/03/26 22:40:20, Red Daly wrote: > mailto:reddaly@chromium.org changed reviewers: > + mailto:benwells@chromium.org, mailto:mfoltz@chromium.org Please ...
5 years, 9 months ago (2015-03-26 22:41:48 UTC) #2
Red Daly
On 2015/03/26 22:41:48, Red Daly wrote: > On 2015/03/26 22:40:20, Red Daly wrote: > > ...
5 years, 9 months ago (2015-03-27 23:53:51 UTC) #5
mark a. foltz
https://codereview.chromium.org/1005903005/diff/40001/chrome/common/extensions/api/mdns.idl File chrome/common/extensions/api/mdns.idl (right): https://codereview.chromium.org/1005903005/diff/40001/chrome/common/extensions/api/mdns.idl#newcode33 chrome/common/extensions/api/mdns.idl:33: [supportsFilters=true, maxListeners=10] static void onServiceList(MDnsService[] services); Does this restrict ...
5 years, 8 months ago (2015-03-30 17:44:57 UTC) #6
Red Daly
https://codereview.chromium.org/1005903005/diff/40001/chrome/common/extensions/api/mdns.idl File chrome/common/extensions/api/mdns.idl (right): https://codereview.chromium.org/1005903005/diff/40001/chrome/common/extensions/api/mdns.idl#newcode33 chrome/common/extensions/api/mdns.idl:33: [supportsFilters=true, maxListeners=10] static void onServiceList(MDnsService[] services); On 2015/03/30 17:44:57, ...
5 years, 8 months ago (2015-03-30 20:28:34 UTC) #7
benwells
Do you just need me to look at the idl, or all of the patch?
5 years, 8 months ago (2015-03-30 22:44:50 UTC) #8
Red Daly
On 2015/03/30 22:44:50, benwells wrote: > Do you just need me to look at the ...
5 years, 8 months ago (2015-03-30 23:01:54 UTC) #9
benwells
idl lgtm
5 years, 8 months ago (2015-03-30 23:31:12 UTC) #10
mark a. foltz
lgtm
5 years, 8 months ago (2015-03-31 17:18:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903005/80001
5 years, 8 months ago (2015-03-31 19:39:43 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 8 months ago (2015-03-31 21:15:29 UTC) #15
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 21:17:03 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/96ac2bf6fb4ef371d843155c50161fdf0e0dabf8
Cr-Commit-Position: refs/heads/master@{#323110}

Powered by Google App Engine
This is Rietveld 408576698