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": "RemovalRange", | 8787 "id": "TimePeriod", |
8788 "type": "number", | 8788 "type": "string", |
8789 "description": "Remove data accumulated on or after this date, represent
ed in milliseconds since the epoch ('Date().GetTime()')" | 8789 "enum": ["last_hour", "last_day", "last_week", "last_month", "everything
"], |
| 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." |
8790 } | 8791 } |
8791 ], | 8792 ], |
8792 "functions": [ | 8793 "functions": [ |
8793 { | 8794 { |
8794 "name": "browsingData", | 8795 "name": "browsingData", |
8795 "description": "Clears data generated by browsing within a particular ti
meframe.", | 8796 "description": "Clears data generated by browsing within a particular ti
meframe.", |
8796 "type": "function", | 8797 "type": "function", |
8797 "parameters": [ | 8798 "parameters": [ |
8798 { | 8799 { |
8799 "$ref": "RemovalRange", | 8800 "$ref": "TimePeriod", |
8800 "name": "since" | 8801 "name": "period" |
8801 }, | 8802 }, |
8802 { | 8803 { |
8803 "name": "dataToRemove", | 8804 "name": "dataToRemove", |
8804 "type": "object", | 8805 "type": "object", |
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>).", | 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>).", |
8806 "properties": { | 8807 "properties": { |
8807 "appcache": { | |
8808 "type": "boolean", | |
8809 "optional": true, | |
8810 "description": "Should websites' appcaches be cleared?" | |
8811 }, | |
8812 "cache": { | 8808 "cache": { |
8813 "type": "boolean", | 8809 "type": "boolean", |
8814 "optional": true, | 8810 "optional": true, |
8815 "description": "Should the browser cache be cleared?" | 8811 "description": "Should the browser cache be cleared?" |
8816 }, | 8812 }, |
8817 "cookies": { | 8813 "cookies": { |
8818 "type": "boolean", | 8814 "type": "boolean", |
8819 "optional": true, | 8815 "optional": true, |
8820 "description": "Should the browser's cookies be cleared?" | 8816 "description": "Should the browser's cookies be cleared?" |
8821 }, | 8817 }, |
8822 "downloads": { | 8818 "downloads": { |
8823 "type": "boolean", | 8819 "type": "boolean", |
8824 "optional": true, | 8820 "optional": true, |
8825 "description": "Should the browser's download list be cleared?" | 8821 "description": "Should the browser's download list be cleared?" |
8826 }, | 8822 }, |
8827 "fileSystems": { | |
8828 "type": "boolean", | |
8829 "optional": true, | |
8830 "description": "Should websites' file systems be cleared?" | |
8831 }, | |
8832 "formData": { | 8823 "formData": { |
8833 "type": "boolean", | 8824 "type": "boolean", |
8834 "optional": true, | 8825 "optional": true, |
8835 "description": "Should stored form data be cleared?" | 8826 "description": "Should stored form data be cleared?" |
8836 }, | 8827 }, |
8837 "history": { | 8828 "history": { |
8838 "type": "boolean", | 8829 "type": "boolean", |
8839 "optional": true, | 8830 "optional": true, |
8840 "description": "Should the browser's history be cleared?" | 8831 "description": "Should the browser's history be cleared?" |
8841 }, | 8832 }, |
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 }, | |
8857 "passwords": { | 8833 "passwords": { |
8858 "type": "boolean", | 8834 "type": "boolean", |
8859 "optional": true, | 8835 "optional": true, |
8860 "description": "Should the stored passwords be cleared?" | 8836 "description": "Should the stored passwords be cleared?" |
8861 }, | |
8862 "webSQL": { | |
8863 "type": "boolean", | |
8864 "optional": true, | |
8865 "description": "Should websites' WebSQL data be cleared?" | |
8866 } | 8837 } |
8867 } | 8838 } |
8868 }, | 8839 }, |
8869 { | 8840 { |
8870 "name": "callback", | 8841 "name": "callback", |
8871 "type": "function", | 8842 "type": "function", |
8872 "description": "Called when deletion has completed.", | 8843 "description": "Called when deletion has completed.", |
8873 "optional": true, | 8844 "optional": true, |
8874 "parameters": [] | 8845 "parameters": [] |
8875 } | 8846 } |
8876 ] | 8847 ] |
8877 }, | 8848 }, |
8878 { | 8849 { |
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 { | |
8897 "name": "cache", | 8850 "name": "cache", |
8898 "description": "Clears the browser's cache.", | 8851 "description": "Clears the browser's cache.", |
8899 "type": "function", | 8852 "type": "function", |
8900 "parameters": [ | 8853 "parameters": [ |
8901 { | 8854 { |
8902 "$ref": "RemovalRange", | 8855 "$ref": "TimePeriod", |
8903 "name": "since" | 8856 "name": "period" |
8904 }, | 8857 }, |
8905 { | 8858 { |
8906 "name": "callback", | 8859 "name": "callback", |
8907 "type": "function", | 8860 "type": "function", |
8908 "description": "Called when the browser's cache has been cleared.", | 8861 "description": "Called when the browser's cache has cleared.", |
8909 "optional": true, | 8862 "optional": true, |
8910 "parameters": [] | 8863 "parameters": [] |
8911 } | 8864 } |
8912 ] | 8865 ] |
8913 }, | 8866 }, |
8914 { | 8867 { |
8915 "name": "cookies", | 8868 "name": "cookies", |
8916 "description": "Clears the browser's cookies.", | 8869 "description": "Clears the browser's cookies and site data.", |
8917 "type": "function", | 8870 "type": "function", |
8918 "parameters": [ | 8871 "parameters": [ |
8919 { | 8872 { |
8920 "$ref": "RemovalRange", | 8873 "$ref": "TimePeriod", |
8921 "name": "since" | 8874 "name": "period" |
8922 }, | 8875 }, |
8923 { | 8876 { |
8924 "name": "callback", | 8877 "name": "callback", |
8925 "type": "function", | 8878 "type": "function", |
8926 "description": "Called when the browser's cookies have been cleared.
", | 8879 "description": "Called when the browser's cookies and site data have
been cleared.", |
8927 "optional": true, | 8880 "optional": true, |
8928 "parameters": [] | 8881 "parameters": [] |
8929 } | 8882 } |
8930 ] | 8883 ] |
8931 }, | 8884 }, |
8932 { | 8885 { |
8933 "name": "downloads", | 8886 "name": "downloads", |
8934 "description": "Clears the browser's list of downloaded files (<em>not</
em> the downloaded files themselves).", | 8887 "description": "Clears the browser's list of downloaded files (<em>not</
em> the downloaded files themselves).", |
8935 "type": "function", | 8888 "type": "function", |
8936 "parameters": [ | 8889 "parameters": [ |
8937 { | 8890 { |
8938 "$ref": "RemovalRange", | 8891 "$ref": "TimePeriod", |
8939 "name": "since" | 8892 "name": "period" |
8940 }, | 8893 }, |
8941 { | 8894 { |
8942 "name": "callback", | 8895 "name": "callback", |
8943 "type": "function", | 8896 "type": "function", |
8944 "description": "Called when the browser's list of downloaded files h
as been cleared.", | 8897 "description": "Called when the browser's list of downloaded files h
as been cleared.", |
8945 "optional": true, | 8898 "optional": true, |
8946 "parameters": [] | 8899 "parameters": [] |
8947 } | 8900 } |
8948 ] | 8901 ] |
8949 }, | 8902 }, |
8950 { | 8903 { |
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 { | |
8969 "name": "formData", | 8904 "name": "formData", |
8970 "description": "Clears the browser's stored form data (autofill).", | 8905 "description": "Clears the browser's stored form data (autofill).", |
8971 "type": "function", | 8906 "type": "function", |
8972 "parameters": [ | 8907 "parameters": [ |
8973 { | 8908 { |
8974 "$ref": "RemovalRange", | 8909 "$ref": "TimePeriod", |
8975 "name": "since" | 8910 "name": "period" |
8976 }, | 8911 }, |
8977 { | 8912 { |
8978 "name": "callback", | 8913 "name": "callback", |
8979 "type": "function", | 8914 "type": "function", |
8980 "description": "Called when the browser's form data has been cleared
.", | 8915 "description": "Called when the browser's form data has been cleared
.", |
8981 "optional": true, | 8916 "optional": true, |
8982 "parameters": [] | 8917 "parameters": [] |
8983 } | 8918 } |
8984 ] | 8919 ] |
8985 }, | 8920 }, |
8986 { | 8921 { |
8987 "name": "history", | 8922 "name": "history", |
8988 "description": "Clears the browser's history.", | 8923 "description": "Clears the browser's history.", |
8989 "type": "function", | 8924 "type": "function", |
8990 "parameters": [ | 8925 "parameters": [ |
8991 { | 8926 { |
8992 "$ref": "RemovalRange", | 8927 "$ref": "TimePeriod", |
8993 "name": "since" | 8928 "name": "period" |
8994 }, | 8929 }, |
8995 { | 8930 { |
8996 "name": "callback", | 8931 "name": "callback", |
8997 "type": "function", | 8932 "type": "function", |
8998 "description": "Called when the browser's history has cleared.", | 8933 "description": "Called when the browser's history has cleared.", |
8999 "optional": true, | 8934 "optional": true, |
9000 "parameters": [] | 8935 "parameters": [] |
9001 } | 8936 } |
9002 ] | 8937 ] |
9003 }, | 8938 }, |
9004 { | 8939 { |
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 { | |
9059 "name": "passwords", | 8940 "name": "passwords", |
9060 "description": "Clears the browser's stored passwords.", | 8941 "description": "Clears the browser's stored passwords.", |
9061 "type": "function", | 8942 "type": "function", |
9062 "parameters": [ | 8943 "parameters": [ |
9063 { | 8944 { |
9064 "$ref": "RemovalRange", | 8945 "$ref": "TimePeriod", |
9065 "name": "since" | 8946 "name": "period" |
9066 }, | 8947 }, |
9067 { | 8948 { |
9068 "name": "callback", | 8949 "name": "callback", |
9069 "type": "function", | 8950 "type": "function", |
9070 "description": "Called when the browser's passwords have been cleare
d.", | 8951 "description": "Called when the browser's passwords have been cleare
d.", |
9071 "optional": true, | 8952 "optional": true, |
9072 "parameters": [] | 8953 "parameters": [] |
9073 } | 8954 } |
9074 ] | 8955 ] |
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 ] | |
9093 } | 8956 } |
9094 ] | 8957 ] |
9095 }, | 8958 }, |
9096 { | 8959 { |
9097 "namespace": "pageCapture", | 8960 "namespace": "pageCapture", |
9098 "functions": [ | 8961 "functions": [ |
9099 { | 8962 { |
9100 "name": "saveAsMHTML", | 8963 "name": "saveAsMHTML", |
9101 "type": "function", | 8964 "type": "function", |
9102 "description": "Saves the content of the tab with given id as MHTML.", | 8965 "description": "Saves the content of the tab with given id as MHTML.", |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9423 "name": "status", | 9286 "name": "status", |
9424 "description": "Details of the system update" | 9287 "description": "Details of the system update" |
9425 } | 9288 } |
9426 ] | 9289 ] |
9427 } | 9290 } |
9428 ] | 9291 ] |
9429 } | 9292 } |
9430 ] | 9293 ] |
9431 } | 9294 } |
9432 ] | 9295 ] |
OLD | NEW |