| Index: chrome/test/data/extensions/api_test/notifications/api/basic_app/index.js
|
| diff --git a/chrome/test/data/extensions/api_test/notifications/api/basic_app/index.js b/chrome/test/data/extensions/api_test/notifications/api/basic_app/index.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..db2d7d8f46cf8dc35a61cb5cc6ef5941172c7681
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/notifications/api/basic_app/index.js
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 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.
|
| +
|
| +const redDot = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA' +
|
| + 'AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO' +
|
| + '9TXL0Y4OHwAAAABJRU5ErkJggg==';
|
| +
|
| +const options = {
|
| + iconUrl: redDot,
|
| + title: 'hi',
|
| + message: 'there',
|
| + type: 'basic',
|
| + buttons: [{title: 'Button'}, {title: 'Button'}]
|
| + };
|
| +
|
| +onload = function() {
|
| + chrome.notifications.create('test', options, function() {
|
| + chrome.test.sendMessage('created');
|
| + });
|
| +};
|
|
|