blob: 6ed8243579a6b4789b3b48b74ce4c9ea90d20f3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// Copyright (c) 2008 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.
module core {
#if defined(V8_BINDING)
// V8 specific
interface Navigator {
readonly attribute DOMString appCodeName;
readonly attribute DOMString appName;
readonly attribute DOMString appVersion;
readonly attribute DOMString language;
readonly attribute MimeTypeArray mimeTypes;
readonly attribute DOMString platform;
// readonly attribute DOMString oscpu;
readonly attribute DOMString vendor;
readonly attribute DOMString vendorSub;
readonly attribute DOMString product;
readonly attribute DOMString productSub;
readonly attribute PluginArray plugins;
// readonly attribute DOMString securityPolicy;
readonly attribute DOMString userAgent;
readonly attribute boolean cookieEnabled;
readonly attribute boolean onLine;
// readonly attribute DOMString buildID;
boolean javaEnabled();
// boolean taintEnabled();
};
interface MimeType {
readonly attribute DOMString description;
readonly attribute Plugin enabledPlugin;
readonly attribute DOMString suffixes;
readonly attribute DOMString type;
};
interface Plugin {
readonly attribute DOMString description;
readonly attribute DOMString filename;
readonly attribute DOMString name;
readonly attribute unsigned long length;
MimeType item(in unsigned long index);
MimeType namedItem(in DOMString name);
};
interface MimeTypeArray {
readonly attribute unsigned long length;
MimeType item(in unsigned long index);
MimeType namedItem(in DOMString name);
};
interface PluginArray {
readonly attribute unsigned long length;
Plugin item(in unsigned long index);
Plugin namedItem(in DOMString name);
void refresh(in boolean reloadDocuments);
};
#endif // V8_BINDING
} // module
|