- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / dial / experimental / discovery.js
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 onload = function() {
6   chrome.test.runTests([
7     function discovery() {
8       var discoverNowShouldFail = function(result) {
9         if (!result) {
10           chrome.test.succeed();
11         } else {
12           chrome.test.fail();
13         }
14       };
15       chrome.dial.discoverNow(discoverNowShouldFail);
16     }
17   ]);
18 };