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

Side by Side Diff: tools/cc-frame-viewer/third_party/py-chrome-app/unittest_data/app-that-sends-event/index.js

Issue 15736032: Remove old cc-frame-viewer now that it is upstreamed into trace_viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4 */
5 chromeapp.sendEvent(
6 'hello-world',
7 [[1, 2, 3], true],
8 function(result) {
9 if (result.length != 2)
10 throw new Error('Expected array of size 2');
11 if (result[0] != 314)
12 throw new Error('Expected result[0] to be 314');
13 if (result[1] != 'hi')
14 throw new Error('Expected result[1] to be "hi"');
15 chromeapp.exit(0)
16 },
17 function() {
18 chromeapp.exit(1)
19 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698