1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 {
tbarzic
2017/05/09 01:28:36
generate public - private key pair (e.g. I think p
generate public - private key pair (e.g. I think packing the test extension in
chrome://extensions should do the job), and set "key" here - this will force a
specific extension ID for the test app, then in C++ you can add
--whitelisted-extension-id <extension-id> flag to the command line (in
SetUpCommandLine override of the test class). This will get you around the
whitelist restriction on the API in tests :)
or you can steal the key for some other private API test extension ;)
On 2017/05/09 01:28:36, tbarzic wrote:
> generate public - private key pair (e.g. I think packing the test extension in
> chrome://extensions should do the job), and set "key" here - this will force a
> specific extension ID for the test app, then in C++ you can add
> --whitelisted-extension-id <extension-id> flag to the command line (in
> SetUpCommandLine override of the test class). This will get you around the
> whitelist restriction on the API in tests :)
>
> or you can steal the key for some other private API test extension ;)
Done.
5 "manifest_version": 2,
6 "name": "Test mediaPerceptionPrivate API's MediaPerceptionDetection event list
ener",
Issue 2858353002: MediaPerceptionPrivate API impl and testing.
(Closed)
Created 3 years, 7 months ago by Luke Sorenson
Modified 3 years, 7 months ago
Reviewers: rkc, mattfrazier, weigua, Simon Que, bmayer, tbarzic, rkc1, stevenjb, Devlin
Base URL:
Comments: 331