OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.accessibility", | 3 "namespace": "experimental.accessibility", |
4 "nodoc": true, | 4 "nodoc": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "AccessibilityObject", | 7 "id": "AccessibilityObject", |
8 "type": "object", | 8 "type": "object", |
9 "description": "Parent class for accessibility information about an obje
ct.", | 9 "description": "Parent class for accessibility information about an obje
ct.", |
10 "properties": { | 10 "properties": { |
(...skipping 8766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8777 ] | 8777 ] |
8778 } | 8778 } |
8779 ] | 8779 ] |
8780 } | 8780 } |
8781 ] | 8781 ] |
8782 }, | 8782 }, |
8783 { | 8783 { |
8784 "namespace": "experimental.clear", | 8784 "namespace": "experimental.clear", |
8785 "types": [ | 8785 "types": [ |
8786 { | 8786 { |
8787 "id": "TimePeriod", | 8787 "id": "RemovalRange", |
8788 "type": "string", | 8788 "type": "number", |
8789 "enum": ["last_hour", "last_day", "last_week", "last_month", "everything
"], | 8789 "description": "Remove data accumulated on or after this date, represent
ed in milliseconds since the epoch ('Date().GetTime()')" |
8790 "description": "The timeframe inside of which to delete browsing data. P
assing 'last_day', for example, will delete all browsing data that was touched b
etween 24 hours ago and right now, inclusive." | |
8791 } | 8790 } |
8792 ], | 8791 ], |
8793 "functions": [ | 8792 "functions": [ |
8794 { | 8793 { |
8795 "name": "browsingData", | 8794 "name": "browsingData", |
8796 "description": "Clears data generated by browsing within a particular ti
meframe.", | 8795 "description": "Clears data generated by browsing within a particular ti
meframe.", |
8797 "type": "function", | 8796 "type": "function", |
8798 "parameters": [ | 8797 "parameters": [ |
8799 { | 8798 { |
8800 "$ref": "TimePeriod", | 8799 "$ref": "RemovalRange", |
8801 "name": "period" | 8800 "name": "since" |
8802 }, | 8801 }, |
8803 { | 8802 { |
8804 "name": "dataToRemove", | 8803 "name": "dataToRemove", |
8805 "type": "object", | 8804 "type": "object", |
8806 "description": "An object whose properties specify which browsing da
ta types ought to be cleared. You may set as many or as few as you like in a sin
gle call, each is optional (defaulting to <code>false</code>).", | 8805 "description": "An object whose properties specify which browsing da
ta types ought to be cleared. You may set as many or as few as you like in a sin
gle call, each is optional (defaulting to <code>false</code>).", |
8807 "properties": { | 8806 "properties": { |
| 8807 "appcache": { |
| 8808 "type": "boolean", |
| 8809 "optional": true, |
| 8810 "description": "Should websites' appcaches be cleared?" |
| 8811 }, |
8808 "cache": { | 8812 "cache": { |
8809 "type": "boolean", | 8813 "type": "boolean", |
8810 "optional": true, | 8814 "optional": true, |
8811 "description": "Should the browser cache be cleared?" | 8815 "description": "Should the browser cache be cleared?" |
8812 }, | 8816 }, |
8813 "cookies": { | 8817 "cookies": { |
8814 "type": "boolean", | 8818 "type": "boolean", |
8815 "optional": true, | 8819 "optional": true, |
8816 "description": "Should the browser's cookies be cleared?" | 8820 "description": "Should the browser's cookies be cleared?" |
8817 }, | 8821 }, |
8818 "downloads": { | 8822 "downloads": { |
8819 "type": "boolean", | 8823 "type": "boolean", |
8820 "optional": true, | 8824 "optional": true, |
8821 "description": "Should the browser's download list be cleared?" | 8825 "description": "Should the browser's download list be cleared?" |
8822 }, | 8826 }, |
| 8827 "fileSystems": { |
| 8828 "type": "boolean", |
| 8829 "optional": true, |
| 8830 "description": "Should websites' file systems be cleared?" |
| 8831 }, |
8823 "formData": { | 8832 "formData": { |
8824 "type": "boolean", | 8833 "type": "boolean", |
8825 "optional": true, | 8834 "optional": true, |
8826 "description": "Should stored form data be cleared?" | 8835 "description": "Should stored form data be cleared?" |
8827 }, | 8836 }, |
8828 "history": { | 8837 "history": { |
8829 "type": "boolean", | 8838 "type": "boolean", |
8830 "optional": true, | 8839 "optional": true, |
8831 "description": "Should the browser's history be cleared?" | 8840 "description": "Should the browser's history be cleared?" |
8832 }, | 8841 }, |
| 8842 "indexedDB": { |
| 8843 "type": "boolean", |
| 8844 "optional": true, |
| 8845 "description": "Should websites' IndexedDB data be cleared?" |
| 8846 }, |
| 8847 "localStorage": { |
| 8848 "type": "boolean", |
| 8849 "optional": true, |
| 8850 "description": "Should websites' local storage data be cleared?" |
| 8851 }, |
| 8852 "pluginData": { |
| 8853 "type": "boolean", |
| 8854 "optional": true, |
| 8855 "description": "Should plugins' data be cleared?" |
| 8856 }, |
8833 "passwords": { | 8857 "passwords": { |
8834 "type": "boolean", | 8858 "type": "boolean", |
8835 "optional": true, | 8859 "optional": true, |
8836 "description": "Should the stored passwords be cleared?" | 8860 "description": "Should the stored passwords be cleared?" |
| 8861 }, |
| 8862 "webSQL": { |
| 8863 "type": "boolean", |
| 8864 "optional": true, |
| 8865 "description": "Should websites' WebSQL data be cleared?" |
8837 } | 8866 } |
8838 } | 8867 } |
8839 }, | 8868 }, |
8840 { | 8869 { |
8841 "name": "callback", | 8870 "name": "callback", |
8842 "type": "function", | 8871 "type": "function", |
8843 "description": "Called when deletion has completed.", | 8872 "description": "Called when deletion has completed.", |
8844 "optional": true, | 8873 "optional": true, |
8845 "parameters": [] | 8874 "parameters": [] |
8846 } | 8875 } |
8847 ] | 8876 ] |
8848 }, | 8877 }, |
8849 { | 8878 { |
| 8879 "name": "appcache", |
| 8880 "description": "Clears websites' appcache data.", |
| 8881 "type": "function", |
| 8882 "parameters": [ |
| 8883 { |
| 8884 "$ref": "RemovalRange", |
| 8885 "name": "since" |
| 8886 }, |
| 8887 { |
| 8888 "name": "callback", |
| 8889 "type": "function", |
| 8890 "description": "Called when websites' appcache data has been cleared
.", |
| 8891 "optional": true, |
| 8892 "parameters": [] |
| 8893 } |
| 8894 ] |
| 8895 }, |
| 8896 { |
8850 "name": "cache", | 8897 "name": "cache", |
8851 "description": "Clears the browser's cache.", | 8898 "description": "Clears the browser's cache.", |
8852 "type": "function", | 8899 "type": "function", |
8853 "parameters": [ | 8900 "parameters": [ |
8854 { | 8901 { |
8855 "$ref": "TimePeriod", | 8902 "$ref": "RemovalRange", |
8856 "name": "period" | 8903 "name": "since" |
8857 }, | 8904 }, |
8858 { | 8905 { |
8859 "name": "callback", | 8906 "name": "callback", |
8860 "type": "function", | 8907 "type": "function", |
8861 "description": "Called when the browser's cache has cleared.", | 8908 "description": "Called when the browser's cache has been cleared.", |
8862 "optional": true, | 8909 "optional": true, |
8863 "parameters": [] | 8910 "parameters": [] |
8864 } | 8911 } |
8865 ] | 8912 ] |
8866 }, | 8913 }, |
8867 { | 8914 { |
8868 "name": "cookies", | 8915 "name": "cookies", |
8869 "description": "Clears the browser's cookies and site data.", | 8916 "description": "Clears the browser's cookies.", |
8870 "type": "function", | 8917 "type": "function", |
8871 "parameters": [ | 8918 "parameters": [ |
8872 { | 8919 { |
8873 "$ref": "TimePeriod", | 8920 "$ref": "RemovalRange", |
8874 "name": "period" | 8921 "name": "since" |
8875 }, | 8922 }, |
8876 { | 8923 { |
8877 "name": "callback", | 8924 "name": "callback", |
8878 "type": "function", | 8925 "type": "function", |
8879 "description": "Called when the browser's cookies and site data have
been cleared.", | 8926 "description": "Called when the browser's cookies have been cleared.
", |
8880 "optional": true, | 8927 "optional": true, |
8881 "parameters": [] | 8928 "parameters": [] |
8882 } | 8929 } |
8883 ] | 8930 ] |
8884 }, | 8931 }, |
8885 { | 8932 { |
8886 "name": "downloads", | 8933 "name": "downloads", |
8887 "description": "Clears the browser's list of downloaded files (<em>not</
em> the downloaded files themselves).", | 8934 "description": "Clears the browser's list of downloaded files (<em>not</
em> the downloaded files themselves).", |
8888 "type": "function", | 8935 "type": "function", |
8889 "parameters": [ | 8936 "parameters": [ |
8890 { | 8937 { |
8891 "$ref": "TimePeriod", | 8938 "$ref": "RemovalRange", |
8892 "name": "period" | 8939 "name": "since" |
8893 }, | 8940 }, |
8894 { | 8941 { |
8895 "name": "callback", | 8942 "name": "callback", |
8896 "type": "function", | 8943 "type": "function", |
8897 "description": "Called when the browser's list of downloaded files h
as been cleared.", | 8944 "description": "Called when the browser's list of downloaded files h
as been cleared.", |
8898 "optional": true, | 8945 "optional": true, |
8899 "parameters": [] | 8946 "parameters": [] |
8900 } | 8947 } |
8901 ] | 8948 ] |
8902 }, | 8949 }, |
8903 { | 8950 { |
| 8951 "name": "fileSystems", |
| 8952 "description": "Clears websites' file system data.", |
| 8953 "type": "function", |
| 8954 "parameters": [ |
| 8955 { |
| 8956 "$ref": "RemovalRange", |
| 8957 "name": "since" |
| 8958 }, |
| 8959 { |
| 8960 "name": "callback", |
| 8961 "type": "function", |
| 8962 "description": "Called when websites' file systems have been cleared
.", |
| 8963 "optional": true, |
| 8964 "parameters": [] |
| 8965 } |
| 8966 ] |
| 8967 }, |
| 8968 { |
8904 "name": "formData", | 8969 "name": "formData", |
8905 "description": "Clears the browser's stored form data (autofill).", | 8970 "description": "Clears the browser's stored form data (autofill).", |
8906 "type": "function", | 8971 "type": "function", |
8907 "parameters": [ | 8972 "parameters": [ |
8908 { | 8973 { |
8909 "$ref": "TimePeriod", | 8974 "$ref": "RemovalRange", |
8910 "name": "period" | 8975 "name": "since" |
8911 }, | 8976 }, |
8912 { | 8977 { |
8913 "name": "callback", | 8978 "name": "callback", |
8914 "type": "function", | 8979 "type": "function", |
8915 "description": "Called when the browser's form data has been cleared
.", | 8980 "description": "Called when the browser's form data has been cleared
.", |
8916 "optional": true, | 8981 "optional": true, |
8917 "parameters": [] | 8982 "parameters": [] |
8918 } | 8983 } |
8919 ] | 8984 ] |
8920 }, | 8985 }, |
8921 { | 8986 { |
8922 "name": "history", | 8987 "name": "history", |
8923 "description": "Clears the browser's history.", | 8988 "description": "Clears the browser's history.", |
8924 "type": "function", | 8989 "type": "function", |
8925 "parameters": [ | 8990 "parameters": [ |
8926 { | 8991 { |
8927 "$ref": "TimePeriod", | 8992 "$ref": "RemovalRange", |
8928 "name": "period" | 8993 "name": "since" |
8929 }, | 8994 }, |
8930 { | 8995 { |
8931 "name": "callback", | 8996 "name": "callback", |
8932 "type": "function", | 8997 "type": "function", |
8933 "description": "Called when the browser's history has cleared.", | 8998 "description": "Called when the browser's history has cleared.", |
8934 "optional": true, | 8999 "optional": true, |
8935 "parameters": [] | 9000 "parameters": [] |
8936 } | 9001 } |
8937 ] | 9002 ] |
8938 }, | 9003 }, |
8939 { | 9004 { |
| 9005 "name": "indexedDB", |
| 9006 "description": "Clears websites' IndexedDB data.", |
| 9007 "type": "function", |
| 9008 "parameters": [ |
| 9009 { |
| 9010 "$ref": "RemovalRange", |
| 9011 "name": "since" |
| 9012 }, |
| 9013 { |
| 9014 "name": "callback", |
| 9015 "type": "function", |
| 9016 "description": "Called when websites' IndexedDB data has been cleare
d.", |
| 9017 "optional": true, |
| 9018 "parameters": [] |
| 9019 } |
| 9020 ] |
| 9021 }, |
| 9022 { |
| 9023 "name": "localStorage", |
| 9024 "description": "Clears websites' local storage data.", |
| 9025 "type": "function", |
| 9026 "parameters": [ |
| 9027 { |
| 9028 "$ref": "RemovalRange", |
| 9029 "name": "since" |
| 9030 }, |
| 9031 { |
| 9032 "name": "callback", |
| 9033 "type": "function", |
| 9034 "description": "Called when websites' local storage has been cleared
.", |
| 9035 "optional": true, |
| 9036 "parameters": [] |
| 9037 } |
| 9038 ] |
| 9039 }, |
| 9040 { |
| 9041 "name": "lsoData", |
| 9042 "description": "Clears plugins' Local Storage Object data.", |
| 9043 "type": "function", |
| 9044 "parameters": [ |
| 9045 { |
| 9046 "$ref": "RemovalRange", |
| 9047 "name": "since" |
| 9048 }, |
| 9049 { |
| 9050 "name": "callback", |
| 9051 "type": "function", |
| 9052 "description": "Called when plugins' Local Storage Data has been cle
ared.", |
| 9053 "optional": true, |
| 9054 "parameters": [] |
| 9055 } |
| 9056 ] |
| 9057 }, |
| 9058 { |
8940 "name": "passwords", | 9059 "name": "passwords", |
8941 "description": "Clears the browser's stored passwords.", | 9060 "description": "Clears the browser's stored passwords.", |
8942 "type": "function", | 9061 "type": "function", |
8943 "parameters": [ | 9062 "parameters": [ |
8944 { | 9063 { |
8945 "$ref": "TimePeriod", | 9064 "$ref": "RemovalRange", |
8946 "name": "period" | 9065 "name": "since" |
8947 }, | 9066 }, |
8948 { | 9067 { |
8949 "name": "callback", | 9068 "name": "callback", |
8950 "type": "function", | 9069 "type": "function", |
8951 "description": "Called when the browser's passwords have been cleare
d.", | 9070 "description": "Called when the browser's passwords have been cleare
d.", |
8952 "optional": true, | 9071 "optional": true, |
8953 "parameters": [] | 9072 "parameters": [] |
8954 } | 9073 } |
8955 ] | 9074 ] |
| 9075 }, |
| 9076 { |
| 9077 "name": "webSQL", |
| 9078 "description": "Clears websites' WebSQL data.", |
| 9079 "type": "function", |
| 9080 "parameters": [ |
| 9081 { |
| 9082 "$ref": "RemovalRange", |
| 9083 "name": "since" |
| 9084 }, |
| 9085 { |
| 9086 "name": "callback", |
| 9087 "type": "function", |
| 9088 "description": "Called when websites' WebSQL databases have been cle
ared.", |
| 9089 "optional": true, |
| 9090 "parameters": [] |
| 9091 } |
| 9092 ] |
8956 } | 9093 } |
8957 ] | 9094 ] |
8958 }, | 9095 }, |
8959 { | 9096 { |
8960 "namespace": "pageCapture", | 9097 "namespace": "pageCapture", |
8961 "functions": [ | 9098 "functions": [ |
8962 { | 9099 { |
8963 "name": "saveAsMHTML", | 9100 "name": "saveAsMHTML", |
8964 "type": "function", | 9101 "type": "function", |
8965 "description": "Saves the content of the tab with given id as MHTML.", | 9102 "description": "Saves the content of the tab with given id as MHTML.", |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9240 "enum": ["enabled", "disabled", "forced"], | 9377 "enum": ["enabled", "disabled", "forced"], |
9241 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." | 9378 "description": "Exposes whether the incognito mode is available
to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito
mode), 'forced' (all pages/sessions are forced into Incognito mode)." |
9242 } | 9379 } |
9243 ] | 9380 ] |
9244 } | 9381 } |
9245 ] | 9382 ] |
9246 } | 9383 } |
9247 ] | 9384 ] |
9248 } | 9385 } |
9249 ] | 9386 ] |
OLD | NEW |