Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / extensions / platform_apps / optional_permission_request / main.js
blob25768f8387512be09ac24bc099ac5b337e956393
1 // Copyright (c) 2012 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.
5 chrome.test.sendMessage('Launched');
6 chrome.permissions.request({permissions: ['serial']}, function(result) {
7   chrome.test.sendMessage('PermissionRequestDone');
8 });