Commit 303d1a2a authored by asargent@chromium.org's avatar asargent@chromium.org

Adding files for http://codereview.chromium.org/6992047/

The changes for the codereview.chromium.org/6992047 include some added binary
test files, which don't work with try jobs. I'm submitting them in this
separate CL in order to be able to run try jobs.

BUG=none
TEST=none

TBR=mpcomplete@chromium.org

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86692 0039d316-1c4b-4281-b951-d872f2087c98
parent 007efd3b
<script src="common.js"></script>
<script src="localized.js"></script>
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// The id of the extension in localized_extension.crx.
var localizedId = "oolblhbomdbcpmafphaodhjfcgbihcdg";
var tests = [
// This tests an install passing a localized name.
function localizeName() {
// See things through all the way to a successful install.
listenOnce(chrome.management.onInstalled, callbackPass(function(info) {
assertEq(info.id, localizedId);
}));
var manifest = getManifest('localized_extension/manifest.json');
var messages = getManifest('localized_extension/_locales/fr/messages.json');
getIconData(function(icon) {
// Begin installing.
chrome.webstorePrivate.beginInstallWithManifest2(
{ 'id':localizedId, 'iconData': icon, 'manifest': manifest,
'localizedName': 'Le Title', 'locale': 'fr' },
callbackPass(function(result) {
assertEq(result, "");
chrome.webstorePrivate.completeInstall(localizedId, callbackPass());
}));
});
}
];
runTests(tests);
-----BEGIN PRIVATE KEY-----
MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAMWHeR/rCAn3Bk8NV
Rbet1j7x6pZ8u80IJDw26ejxnwDL1iQc8GFbcejNxDNZOa+j82dniqL25sQfoP8KZ
7p9EoT6iK+YoLQDxeZCskEK+lxe2e6h+51qEN8ASAHpq6KJ2kIruClixl/0rWrMIp
w8KiYNoYxZhHy7nMgu8RQD2bvAgMBAAECgYANi4Kky6sbc9L87L8e+Fq+QVWpus1L
1dk91yZY0oQz0MwYWJ93b7zdabXG8y6uG/ckdGB6Lmj6syDZ0BrSiNx1cRlz5DSH2
kGpSTrYRj4/c5s8E7VESTbvqa9GersHjD7VVm7t0gcgzkEENS6Xqi+qxS1d0iQdXN
8VLXHAn9g9kQJBAOe/N4mWu0D3fmQt2WYFbL+O7ujWphrvpKiiS7/aso/vvhccSAn
hrLJByEFhavyWEgml1EUOkxOPHPSMHXDEFesCQQDaM4VfYbUr4xpaHE8kjsAJJ56X
Dl0P6eboZNuvgDSHIHMo7WI1httZmIjNVol6i0uoMQ0YUoLNzUal7IsYql4NAkApE
1tkp7LI8RUV7Ip76ro7ubneyyzl2VP2D84dU0YS/QtUTU73cWiKr94uuHWeD3ti+m
GFW+/1p4gaUDtnoVnBAkBvd1hPxHMvq0E//Sw06bOSOaobUpwZ0AxEdZmASwcKbHp
H0xSTcYPGflSMSQPMFTKeBgjBfw0RIydPBcp83DNVAkB0r8S2vQyMQzlyq8L05qXg
SHel0mIgxqLmCC6wi2sPKuKauqztTpRavfR060tnNz2otXX3hENxtu0chpsSRJov
-----END PRIVATE KEY-----
{
"name":"__MSG_title__",
"version": "0.1",
"default_locale": "en"
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment