Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 102 lines (87 sloc) 4.01 kb
668e787 Lloyd Hilaiel initial merge/port of Florian Forster's yajl_tree implementation, along ...
authored
1 /*
2 * The configuration file for Yahoo! BrowserPlus, included in the YAJL
3 * tree as a sample configuration file for parsing.
4 *
5 * This is the configuration file for BrowserPlus
6 */
7
8 {
9 // The type of build this is, which is accessible to JavaScript via
10 // BrowserPlus.getPlatformInfo();
11 // Different build types should only differ in signatures accepted
12 // (BrowserPlus.crt) and configured distribution servers.
13 "BuildType": "ephemeral",
14
15 // the base url for the "primary" distribution server. This server will
16 // be the single source of truth for Permissions, and will used to
17 // attain services
18 "DistServer": "http://browserplus.yahoo.com",
19
20 // An array of "secondary" distribution servers, which will be checked
21 // in order for services if the primary server has no components
22 // available which match an issued require statement.
23 "SecondaryDistServers": [
24 "http://first.fictional.server",
25 "http://second.fictional.server"
26 ],
27
28 // Logging Setup
29 "Logging" :
30 {
31 // Log level. Values: "debug"|"info"|"warn"|"error"|"fatal"|"off"
32 "level": "BP_LOG_LEVEL",
33
34 // Destination. Values: "file"|"console"|"win32"
35 "dest": "BP_LOG_DEST",
36
37 // Log message layout. Values: "standard"|"source"|"raw"
38 "layout": "standard",
39
40 // Time format. Values: "utc"|"local"|"msec"
41 "timeFormat": "utc",
42
43 // File size in KB which will trigger a rollover
44 "fileRolloverKB": 2048,
45
46 // Whether to send file logging from each service to a distinct file.
47 // Values: "combined"|"separate"
48 "serviceLogMode": "combined"
49 },
50
51 // Daemon setup
52 // Syntax: "Options": "option1 option2 etc"
53 // -fg run in foreground, log to console
54 "Options":"",
55
56 // Auto-shutdown daemon if idle for this time. Use 0 for no auto-shutdown.
57 "MaxIdleSecs": 5,
58
59 // At the end of each BrowserPlus session a small web request is made
60 // to yahoo to indicate that BrowserPlus was used. This report includes
61 // * information about the browser being used
62 // * an "installation id", which is a unique token that's generated
63 // the first time BrowserPlus runs.
64 //
65 // By design, there is *no information* in this request that gives
66 // Yahoo! information about:
67 // a) the site that the user is visiting (see, "url": false)
68 // b) who the user is (the installation token cannot be tracked to a
69 // specific user).
70 //
71 // This information is primarily captured to help Yahoo! understand
72 // adoption and usage of the BrowserPlus platform.
73 "UsageReporting":
74 {
75 "enabled": true,
76 "url": false,
77 "id": true
78 },
79
80 // "Breakpoints" is an array of strings holding named breakpoints.
81 // Platform code checks for specific entries at certain key points, and if
82 // a matching entry is found here a DebugBreak will be performed.
83 // For developers with Visual Studio installed, the DebugBreak will cause an
84 // opportunity to perform just-in-time attachment of an existing or new
85 // debugger instance.
86 // The currently-defined breakpoints are listed below:
87 // runServiceProcess - A DebugBreak is performed in the service
88 // "harness" just prior to service load.
89 // ax.FinalConstruct - A DebugBreak is performed at entry to
90 // FinalConstruct of the ActiveX plugin.
91 // PluginInit - Very early in the NPAPI plugin initialization.
92 // A wonderful spot to stop and set more
93 // breakpoints.
94 //"Breakpoints": ["runServiceProcess"],
95
96 // How often we check for service updates. We guarantee at least this
97 // much time will pass between checks, though the true time may be
98 // much more if sites which use browserplus are not visited.
99 // The time is in seconds.
100 "ServiceUpdatePollPeriod": 86400
101 }
Something went wrong with that request. Please try again.