electron 27.0.0-alpha.1 → 27.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +49 -16
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v27.0.0-alpha.
|
|
3
|
-
"chromedriver-v27.0.0-alpha.
|
|
4
|
-
"chromedriver-v27.0.0-alpha.
|
|
5
|
-
"chromedriver-v27.0.0-alpha.
|
|
6
|
-
"chromedriver-v27.0.0-alpha.
|
|
7
|
-
"chromedriver-v27.0.0-alpha.
|
|
8
|
-
"chromedriver-v27.0.0-alpha.
|
|
9
|
-
"chromedriver-v27.0.0-alpha.
|
|
10
|
-
"chromedriver-v27.0.0-alpha.
|
|
11
|
-
"chromedriver-v27.0.0-alpha.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v27.0.0-alpha.
|
|
14
|
-
"electron-v27.0.0-alpha.
|
|
15
|
-
"electron-v27.0.0-alpha.
|
|
16
|
-
"electron-v27.0.0-alpha.
|
|
17
|
-
"electron-v27.0.0-alpha.
|
|
18
|
-
"electron-v27.0.0-alpha.
|
|
19
|
-
"electron-v27.0.0-alpha.
|
|
20
|
-
"electron-v27.0.0-alpha.
|
|
21
|
-
"electron-v27.0.0-alpha.
|
|
22
|
-
"electron-v27.0.0-alpha.
|
|
23
|
-
"electron-v27.0.0-alpha.
|
|
24
|
-
"electron-v27.0.0-alpha.
|
|
25
|
-
"electron-v27.0.0-alpha.
|
|
26
|
-
"electron-v27.0.0-alpha.
|
|
27
|
-
"electron-v27.0.0-alpha.
|
|
28
|
-
"electron-v27.0.0-alpha.
|
|
29
|
-
"electron-v27.0.0-alpha.
|
|
30
|
-
"electron-v27.0.0-alpha.
|
|
31
|
-
"electron-v27.0.0-alpha.
|
|
32
|
-
"electron-v27.0.0-alpha.
|
|
33
|
-
"electron-v27.0.0-alpha.
|
|
34
|
-
"electron-v27.0.0-alpha.
|
|
35
|
-
"electron-v27.0.0-alpha.
|
|
36
|
-
"electron-v27.0.0-alpha.
|
|
37
|
-
"electron-v27.0.0-alpha.
|
|
38
|
-
"electron-v27.0.0-alpha.
|
|
39
|
-
"electron-v27.0.0-alpha.
|
|
40
|
-
"electron-v27.0.0-alpha.
|
|
41
|
-
"electron-v27.0.0-alpha.
|
|
42
|
-
"electron-v27.0.0-alpha.
|
|
43
|
-
"electron-v27.0.0-alpha.
|
|
44
|
-
"electron-v27.0.0-alpha.
|
|
45
|
-
"electron-v27.0.0-alpha.
|
|
46
|
-
"electron-v27.0.0-alpha.
|
|
47
|
-
"electron-v27.0.0-alpha.
|
|
48
|
-
"electron-v27.0.0-alpha.
|
|
49
|
-
"electron-v27.0.0-alpha.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v27.0.0-alpha.
|
|
52
|
-
"ffmpeg-v27.0.0-alpha.
|
|
53
|
-
"ffmpeg-v27.0.0-alpha.
|
|
54
|
-
"ffmpeg-v27.0.0-alpha.
|
|
55
|
-
"ffmpeg-v27.0.0-alpha.
|
|
56
|
-
"ffmpeg-v27.0.0-alpha.
|
|
57
|
-
"ffmpeg-v27.0.0-alpha.
|
|
58
|
-
"ffmpeg-v27.0.0-alpha.
|
|
59
|
-
"ffmpeg-v27.0.0-alpha.
|
|
60
|
-
"ffmpeg-v27.0.0-alpha.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v27.0.0-alpha.
|
|
63
|
-
"libcxx-objects-v27.0.0-alpha.
|
|
64
|
-
"libcxx-objects-v27.0.0-alpha.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v27.0.0-alpha.
|
|
68
|
-
"mksnapshot-v27.0.0-alpha.
|
|
69
|
-
"mksnapshot-v27.0.0-alpha.
|
|
70
|
-
"mksnapshot-v27.0.0-alpha.
|
|
71
|
-
"mksnapshot-v27.0.0-alpha.
|
|
72
|
-
"mksnapshot-v27.0.0-alpha.
|
|
73
|
-
"mksnapshot-v27.0.0-alpha.
|
|
74
|
-
"mksnapshot-v27.0.0-alpha.
|
|
75
|
-
"mksnapshot-v27.0.0-alpha.
|
|
76
|
-
"mksnapshot-v27.0.0-alpha.
|
|
2
|
+
"chromedriver-v27.0.0-alpha.2-darwin-arm64.zip": "3e431150ef4d682ae07417602ab970f510d29e33e76cffa6e1afac5ab00b07fc",
|
|
3
|
+
"chromedriver-v27.0.0-alpha.2-darwin-x64.zip": "bddb3255ac061e415db5da70cec6c34a928fb6eba21da90016dbdc792ea5ca49",
|
|
4
|
+
"chromedriver-v27.0.0-alpha.2-linux-arm64.zip": "966397ab0be87bcde96581011618577131bc715ab60f9654f05ba42a476188be",
|
|
5
|
+
"chromedriver-v27.0.0-alpha.2-linux-armv7l.zip": "a96d1ee9395d435a180423bce8d57cffe02bc5e634d6688c78a520bf93ab5832",
|
|
6
|
+
"chromedriver-v27.0.0-alpha.2-linux-x64.zip": "601c36569a8e14a2db9b72864ff6ed7d7cb3dd7076a92ab26777cda4f2924db8",
|
|
7
|
+
"chromedriver-v27.0.0-alpha.2-mas-arm64.zip": "98fe4730b0273362208c2dcf34994af9ec471aff09153d03dd8763eb903ba60c",
|
|
8
|
+
"chromedriver-v27.0.0-alpha.2-mas-x64.zip": "0e62ac6e22e0d938f83d92a400a68e95e011fe5910f82e8c39d82f810d6c72b6",
|
|
9
|
+
"chromedriver-v27.0.0-alpha.2-win32-arm64.zip": "cc9dfc549ee9aa7c2c608e98eed354caeb0b574f3c168ec45df21c2f63c74599",
|
|
10
|
+
"chromedriver-v27.0.0-alpha.2-win32-ia32.zip": "420698140e524f6e7513402302463351d662e677ade20ec70859e340ffe9c3a1",
|
|
11
|
+
"chromedriver-v27.0.0-alpha.2-win32-x64.zip": "bef5967d725cae1a6f89070d77096f618a34371068f87d4fb1729cbbc514e8e9",
|
|
12
|
+
"electron-api.json": "055d294840cc7f72ed673b74da078d7b0623938ae9cde76172292da3d1383b10",
|
|
13
|
+
"electron-v27.0.0-alpha.2-darwin-arm64-dsym-snapshot.zip": "b92aa24e5f9f0200cfcc770baa22f9933e7f1021f9562ad115ce02f2bfe41daf",
|
|
14
|
+
"electron-v27.0.0-alpha.2-darwin-arm64-dsym.zip": "da61a4652b336feddd5ade6876e96b2e97b70b219256377151da0f09da085c71",
|
|
15
|
+
"electron-v27.0.0-alpha.2-darwin-arm64-symbols.zip": "a1b628bc9f8e01c3ba3f55ed06bab361e8dd862fee1a7f258049e24361ff1551",
|
|
16
|
+
"electron-v27.0.0-alpha.2-darwin-arm64.zip": "0f73afc74353cf1c651bfaaf8e888fe98830236a15d0f01ed97875ddcc6b5faa",
|
|
17
|
+
"electron-v27.0.0-alpha.2-darwin-x64-dsym-snapshot.zip": "99d4ec97cf2173a1af9551b4770fd59fae703bbb64a30f60264cf60d794a5565",
|
|
18
|
+
"electron-v27.0.0-alpha.2-darwin-x64-dsym.zip": "46010ca4ca51c8148c809a652a3356d33987a4b143c4f712db3a3765721b3bfb",
|
|
19
|
+
"electron-v27.0.0-alpha.2-darwin-x64-symbols.zip": "85e3b8031de93e51ed52c8b25ff0fa973291f87f4fdc9cb6f06b11894dba8f5d",
|
|
20
|
+
"electron-v27.0.0-alpha.2-darwin-x64.zip": "33152ab52f7774bd5ac9c1848b6062fd6967711f51707adf3230e267d1fa7741",
|
|
21
|
+
"electron-v27.0.0-alpha.2-linux-arm64-debug.zip": "e60956d9f3ede3f2f8b2dbec340700c7cb7c1235aa4fa45c1edeaae66f668030",
|
|
22
|
+
"electron-v27.0.0-alpha.2-linux-arm64-symbols.zip": "31f676c53127b517ebe2b8f8689d9c3f85a3d691ac6dad8ca4a9a506aa07dd42",
|
|
23
|
+
"electron-v27.0.0-alpha.2-linux-arm64.zip": "49139a15cfeed9ff9d86fc1bc391330bce42ca92d2adbaf8916a1df1e246dde2",
|
|
24
|
+
"electron-v27.0.0-alpha.2-linux-armv7l-debug.zip": "e60956d9f3ede3f2f8b2dbec340700c7cb7c1235aa4fa45c1edeaae66f668030",
|
|
25
|
+
"electron-v27.0.0-alpha.2-linux-armv7l-symbols.zip": "d177cd246e1c303cd8d93d8e85502c6c33677919fa2d25921513c47487ca41dd",
|
|
26
|
+
"electron-v27.0.0-alpha.2-linux-armv7l.zip": "7b5e67ae7abe0e84cff33142b484f72820931be62fcc712d3d88c0c0b3a75236",
|
|
27
|
+
"electron-v27.0.0-alpha.2-linux-x64-debug.zip": "c0757b180cc31c4f303368e07721d5fa62aac8d2d636d701b2783cb2a80f7529",
|
|
28
|
+
"electron-v27.0.0-alpha.2-linux-x64-symbols.zip": "2bdc5e140477b5181e04eecbb5c2ee8c59b415ff07e4046bf3a3e6f960191f17",
|
|
29
|
+
"electron-v27.0.0-alpha.2-linux-x64.zip": "46b26b2db1aad7cb71205eb4ffe879b32b02963617856f9bc7d635cb88a4045f",
|
|
30
|
+
"electron-v27.0.0-alpha.2-mas-arm64-dsym-snapshot.zip": "24f76d91475280df24856b6ca32466676aa326930eb0c904a7ea3f63aa637ffe",
|
|
31
|
+
"electron-v27.0.0-alpha.2-mas-arm64-dsym.zip": "3c039b7e29dd6afe76fe5a9d3b02eb35a9d76eff7dee3e08aad9ba9b4204c570",
|
|
32
|
+
"electron-v27.0.0-alpha.2-mas-arm64-symbols.zip": "f623d9d15d7be2275458184b016c9af294c357ccc43c61d947162b4de0e13b8f",
|
|
33
|
+
"electron-v27.0.0-alpha.2-mas-arm64.zip": "95518a12f46da48a1c7c378f2ddabbe08f1d824b03a113d286ccfead4978d0ea",
|
|
34
|
+
"electron-v27.0.0-alpha.2-mas-x64-dsym-snapshot.zip": "651322f9b6aa420f805c439a7b89376e95a975b709b86d21af3cabbdb1e11582",
|
|
35
|
+
"electron-v27.0.0-alpha.2-mas-x64-dsym.zip": "c3d2a8cf840008489e5dfbbdb9c915b7a4f3b5464b4eddef000013350b6dae30",
|
|
36
|
+
"electron-v27.0.0-alpha.2-mas-x64-symbols.zip": "545ad27349ba8bbfe84bc7fe18a9d0a347f8a1a2cf86367bb5b3295157f1efe6",
|
|
37
|
+
"electron-v27.0.0-alpha.2-mas-x64.zip": "2f9b16fefaebb5ad939c3e2a220f1b60de6fa1023a849b8e3b77f626659cad70",
|
|
38
|
+
"electron-v27.0.0-alpha.2-win32-arm64-pdb.zip": "d69915da0dca28da93d66feb94ddadd46636f4873c443f4855bf94bceb22841b",
|
|
39
|
+
"electron-v27.0.0-alpha.2-win32-arm64-symbols.zip": "a612f935f886068759e3375a8f8d383da5149a7022446ec831e8cef759f5f881",
|
|
40
|
+
"electron-v27.0.0-alpha.2-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
41
|
+
"electron-v27.0.0-alpha.2-win32-arm64.zip": "9d1c669dbe39a977264575800b0dc71ff7f87384db1e4ef62118115c02af3f16",
|
|
42
|
+
"electron-v27.0.0-alpha.2-win32-ia32-pdb.zip": "19cd522ae4e285ceaffe6571f27ddc911f7df39367c3e057d141bd1a2bb9ec11",
|
|
43
|
+
"electron-v27.0.0-alpha.2-win32-ia32-symbols.zip": "7702d1b2119048e6e286edbe630de0abe96415fc89e66f2d57cf4ca37f2eed7e",
|
|
44
|
+
"electron-v27.0.0-alpha.2-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
45
|
+
"electron-v27.0.0-alpha.2-win32-ia32.zip": "989f96286f6899293b9b762ef450347559cafef9b8831cba9e2f70fe5f241726",
|
|
46
|
+
"electron-v27.0.0-alpha.2-win32-x64-pdb.zip": "a17c7e109cfa052b9293d8f4d1f20ebda31cb8ecc684fe964cb6badb96f2cc23",
|
|
47
|
+
"electron-v27.0.0-alpha.2-win32-x64-symbols.zip": "749f05ede8c432dba2a5dbfaa154ae56821aca1a3a6893314580350d5156d2c9",
|
|
48
|
+
"electron-v27.0.0-alpha.2-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a",
|
|
49
|
+
"electron-v27.0.0-alpha.2-win32-x64.zip": "d9a6b61f9d358502b72ea264ba57cb60600f37efc9ee7583a01aad0f246f9314",
|
|
50
|
+
"electron.d.ts": "c5249ee52044b54c970bc0eea54c717a8868ca68fa1c9dd8196b058f0474ceee",
|
|
51
|
+
"ffmpeg-v27.0.0-alpha.2-darwin-arm64.zip": "ac5c305453917ecd0b3b5dc5dc7fd6c39f9b4792e143d0f695e018e03bfef7d2",
|
|
52
|
+
"ffmpeg-v27.0.0-alpha.2-darwin-x64.zip": "e59397b7e7d0a2da34cebf0f864126ca0bb1613e13763e4834736498056ff045",
|
|
53
|
+
"ffmpeg-v27.0.0-alpha.2-linux-arm64.zip": "34cfba9fa26d7b88f99518327b7f18dccbcf134e72f6986304957f72ceffbde8",
|
|
54
|
+
"ffmpeg-v27.0.0-alpha.2-linux-armv7l.zip": "448ceca081a36a61fe2113be74277319c04085ec06490fae8a4147fff744817d",
|
|
55
|
+
"ffmpeg-v27.0.0-alpha.2-linux-x64.zip": "ac38f82e68d2a9e53c5612f8ad718d027a192b4b1aa07e8990459095bff4fa45",
|
|
56
|
+
"ffmpeg-v27.0.0-alpha.2-mas-arm64.zip": "06e4e1dd480328cc1aac4f6cb351c579dec58603b3e2e04d5cda83e74bfa6e98",
|
|
57
|
+
"ffmpeg-v27.0.0-alpha.2-mas-x64.zip": "23db51e86af6cb3e19b95b75db7884e81bf824c6a91c7eed35b75d5bb4a8eb6c",
|
|
58
|
+
"ffmpeg-v27.0.0-alpha.2-win32-arm64.zip": "d289ea1b4d62ce8735aea260c0bfd5afcc970f07686693ffedb390a9c8cf1bac",
|
|
59
|
+
"ffmpeg-v27.0.0-alpha.2-win32-ia32.zip": "446644fa2ac75e4d354e0a2284328e080e66fffa6fde4fcb2862957721309bab",
|
|
60
|
+
"ffmpeg-v27.0.0-alpha.2-win32-x64.zip": "99659b7a245d6e343651cc72bffc493ba98764bb1a7408ef589734f9cd357ccc",
|
|
61
|
+
"hunspell_dictionaries.zip": "33c466a1c2f73caad8dc1e5f9a320a95e20b8819930ebe87f2dbf8ac75029645",
|
|
62
|
+
"libcxx-objects-v27.0.0-alpha.2-linux-arm64.zip": "7e565e96a3f60feb8e38f0ea52749bc0021e15e31b1c702e6c957eb4a418b1c6",
|
|
63
|
+
"libcxx-objects-v27.0.0-alpha.2-linux-armv7l.zip": "89ca045ef90cf5d64b90528ff1fd315a58edbc24de62cf46b55abb33cdde97a3",
|
|
64
|
+
"libcxx-objects-v27.0.0-alpha.2-linux-x64.zip": "8c2ad2696f687ef54b54a340a72577a61f45f795a32706cbc5f6c54eeefa1bae",
|
|
65
|
+
"libcxx_headers.zip": "f3d19b8687f2670576680fc9b7ef1f2ad802eb523ec4f87863179154add9676a",
|
|
66
|
+
"libcxxabi_headers.zip": "c71bcfa0e9bd5a7a4c74b40e2e835d1d7a111fa4f327b26583851d0fe5266aa4",
|
|
67
|
+
"mksnapshot-v27.0.0-alpha.2-darwin-arm64.zip": "07a1376768f928d45d38e88b657c73edb5756eced4c4cef6b81bd8db1045c50f",
|
|
68
|
+
"mksnapshot-v27.0.0-alpha.2-darwin-x64.zip": "b98132a31c5bb0f388791ea0c75c969135e09f59d4d2571b8bf9ce9063d68ceb",
|
|
69
|
+
"mksnapshot-v27.0.0-alpha.2-linux-arm64-x64.zip": "b3ce94ddea89c3f288a8536ddc64e5eedf55f1ca793d62a2038d7f5cb00f8bac",
|
|
70
|
+
"mksnapshot-v27.0.0-alpha.2-linux-armv7l-x64.zip": "d8df64b9774f4cb480b6c7f1301582447e11d390670b03983189cb0562db73c0",
|
|
71
|
+
"mksnapshot-v27.0.0-alpha.2-linux-x64.zip": "737a3f0fccfdaea982a7217ceaa0c8ea9482bf74995cd9bb60fab8312fee57f8",
|
|
72
|
+
"mksnapshot-v27.0.0-alpha.2-mas-arm64.zip": "ef16065193b2495239bad895291e893750efb1b6db76ab862d042787a17d012d",
|
|
73
|
+
"mksnapshot-v27.0.0-alpha.2-mas-x64.zip": "9eb1f3e410ee6ded9985133fdc37e1cb419b1a2fb1bf9c62d061579888307b34",
|
|
74
|
+
"mksnapshot-v27.0.0-alpha.2-win32-arm64-x64.zip": "65a92a86a42699fd96081ae4221dbc8ac12bce0106c4c2a0394b928dacd1d8ec",
|
|
75
|
+
"mksnapshot-v27.0.0-alpha.2-win32-ia32.zip": "86b87913ed2e82fdd465724af4ec9b50ee51f64fd5acffbffbea5217853231cf",
|
|
76
|
+
"mksnapshot-v27.0.0-alpha.2-win32-x64.zip": "fbb002fc1473f3da3f5ed74600013445278cb1c98dacd8bff6a18889d315005d"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 27.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 27.0.0-alpha.2
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -2316,6 +2316,11 @@ declare namespace Electron {
|
|
|
2316
2316
|
getBackgroundColor(): string;
|
|
2317
2317
|
/**
|
|
2318
2318
|
* The `bounds` of the window as `Object`.
|
|
2319
|
+
*
|
|
2320
|
+
* **Note:** On macOS, the y-coordinate value returned will be at minimum the Tray
|
|
2321
|
+
* height. For example, calling `win.setBounds({ x: 25, y: 20, width: 800, height:
|
|
2322
|
+
* 600 })` with a tray height of 38 means that `win.getBounds()` will return `{ x:
|
|
2323
|
+
* 25, y: 38, width: 800, height: 600 }`.
|
|
2319
2324
|
*/
|
|
2320
2325
|
getBounds(): Rectangle;
|
|
2321
2326
|
/**
|
|
@@ -2796,6 +2801,11 @@ declare namespace Electron {
|
|
|
2796
2801
|
/**
|
|
2797
2802
|
* Resizes and moves the window to the supplied bounds. Any properties that are not
|
|
2798
2803
|
* supplied will default to their current values.
|
|
2804
|
+
*
|
|
2805
|
+
* **Note:** On macOS, the y-coordinate value cannot be smaller than the Tray
|
|
2806
|
+
* height. The tray height has changed over time and depends on the operating
|
|
2807
|
+
* system, but is between 20-40px. Passing a value lower than the tray height will
|
|
2808
|
+
* result in a window that is flush to the tray.
|
|
2799
2809
|
*/
|
|
2800
2810
|
setBounds(bounds: Partial<Rectangle>, animate?: boolean): void;
|
|
2801
2811
|
/**
|
|
@@ -7711,6 +7721,21 @@ declare namespace Electron {
|
|
|
7711
7721
|
url: string;
|
|
7712
7722
|
}
|
|
7713
7723
|
|
|
7724
|
+
interface RenderProcessGoneDetails {
|
|
7725
|
+
|
|
7726
|
+
// Docs: https://electronjs.org/docs/api/structures/render-process-gone-details
|
|
7727
|
+
|
|
7728
|
+
/**
|
|
7729
|
+
* The exit code of the process, unless `reason` is `launch-failed`, in which case
|
|
7730
|
+
* `exitCode` will be a platform-specific launch failure error code.
|
|
7731
|
+
*/
|
|
7732
|
+
exitCode: number;
|
|
7733
|
+
/**
|
|
7734
|
+
* The reason the render process is gone. Possible values:
|
|
7735
|
+
*/
|
|
7736
|
+
reason: ('clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure');
|
|
7737
|
+
}
|
|
7738
|
+
|
|
7714
7739
|
interface ResolvedEndpoint {
|
|
7715
7740
|
|
|
7716
7741
|
// Docs: https://electronjs.org/docs/api/structures/resolved-endpoint
|
|
@@ -13781,10 +13806,22 @@ declare namespace Electron {
|
|
|
13781
13806
|
addEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void, useCapture?: boolean): this;
|
|
13782
13807
|
removeEventListener(event: 'ipc-message', listener: (event: IpcMessageEvent) => void): this;
|
|
13783
13808
|
/**
|
|
13784
|
-
* Fired when the renderer process is
|
|
13809
|
+
* Fired when the renderer process crashes or is killed.
|
|
13810
|
+
*
|
|
13811
|
+
* **Deprecated:** This event is superceded by the `render-process-gone` event
|
|
13812
|
+
* which contains more information about why the render process disappeared. It
|
|
13813
|
+
* isn't always because it crashed.
|
|
13814
|
+
*
|
|
13815
|
+
* @deprecated
|
|
13785
13816
|
*/
|
|
13786
13817
|
addEventListener(event: 'crashed', listener: (event: DOMEvent) => void, useCapture?: boolean): this;
|
|
13787
13818
|
removeEventListener(event: 'crashed', listener: (event: DOMEvent) => void): this;
|
|
13819
|
+
/**
|
|
13820
|
+
* Fired when the renderer process unexpectedly disappears. This is normally
|
|
13821
|
+
* because it was crashed or killed.
|
|
13822
|
+
*/
|
|
13823
|
+
addEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void, useCapture?: boolean): this;
|
|
13824
|
+
removeEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void): this;
|
|
13788
13825
|
/**
|
|
13789
13826
|
* Fired when a plugin process is crashed.
|
|
13790
13827
|
*/
|
|
@@ -16642,16 +16679,8 @@ declare namespace Electron {
|
|
|
16642
16679
|
execPath?: string;
|
|
16643
16680
|
}
|
|
16644
16681
|
|
|
16645
|
-
interface
|
|
16646
|
-
|
|
16647
|
-
* The reason the render process is gone. Possible values:
|
|
16648
|
-
*/
|
|
16649
|
-
reason: ('clean-exit' | 'abnormal-exit' | 'killed' | 'crashed' | 'oom' | 'launch-failed' | 'integrity-failure');
|
|
16650
|
-
/**
|
|
16651
|
-
* The exit code of the process, unless `reason` is `launch-failed`, in which case
|
|
16652
|
-
* `exitCode` will be a platform-specific launch failure error code.
|
|
16653
|
-
*/
|
|
16654
|
-
exitCode: number;
|
|
16682
|
+
interface RenderProcessGoneEvent extends DOMEvent {
|
|
16683
|
+
details: RenderProcessGoneDetails;
|
|
16655
16684
|
}
|
|
16656
16685
|
|
|
16657
16686
|
interface Request {
|
|
@@ -18105,7 +18134,7 @@ declare namespace Electron {
|
|
|
18105
18134
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18106
18135
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18107
18136
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18108
|
-
type
|
|
18137
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18109
18138
|
type Request = Electron.Request;
|
|
18110
18139
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18111
18140
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18212,6 +18241,7 @@ declare namespace Electron {
|
|
|
18212
18241
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18213
18242
|
type Rectangle = Electron.Rectangle;
|
|
18214
18243
|
type Referrer = Electron.Referrer;
|
|
18244
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18215
18245
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18216
18246
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18217
18247
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18431,7 +18461,7 @@ declare namespace Electron {
|
|
|
18431
18461
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18432
18462
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18433
18463
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18434
|
-
type
|
|
18464
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18435
18465
|
type Request = Electron.Request;
|
|
18436
18466
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18437
18467
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18538,6 +18568,7 @@ declare namespace Electron {
|
|
|
18538
18568
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18539
18569
|
type Rectangle = Electron.Rectangle;
|
|
18540
18570
|
type Referrer = Electron.Referrer;
|
|
18571
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18541
18572
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18542
18573
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18543
18574
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -18691,7 +18722,7 @@ declare namespace Electron {
|
|
|
18691
18722
|
type ReadBookmark = Electron.ReadBookmark;
|
|
18692
18723
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
18693
18724
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
18694
|
-
type
|
|
18725
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
18695
18726
|
type Request = Electron.Request;
|
|
18696
18727
|
type ResizeOptions = Electron.ResizeOptions;
|
|
18697
18728
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -18798,6 +18829,7 @@ declare namespace Electron {
|
|
|
18798
18829
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
18799
18830
|
type Rectangle = Electron.Rectangle;
|
|
18800
18831
|
type Referrer = Electron.Referrer;
|
|
18832
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
18801
18833
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
18802
18834
|
type ResolvedHost = Electron.ResolvedHost;
|
|
18803
18835
|
type ScrubberItem = Electron.ScrubberItem;
|
|
@@ -19032,7 +19064,7 @@ declare namespace Electron {
|
|
|
19032
19064
|
type ReadBookmark = Electron.ReadBookmark;
|
|
19033
19065
|
type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
|
|
19034
19066
|
type RelaunchOptions = Electron.RelaunchOptions;
|
|
19035
|
-
type
|
|
19067
|
+
type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
|
|
19036
19068
|
type Request = Electron.Request;
|
|
19037
19069
|
type ResizeOptions = Electron.ResizeOptions;
|
|
19038
19070
|
type ResolveHostOptions = Electron.ResolveHostOptions;
|
|
@@ -19139,6 +19171,7 @@ declare namespace Electron {
|
|
|
19139
19171
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
19140
19172
|
type Rectangle = Electron.Rectangle;
|
|
19141
19173
|
type Referrer = Electron.Referrer;
|
|
19174
|
+
type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
|
|
19142
19175
|
type ResolvedEndpoint = Electron.ResolvedEndpoint;
|
|
19143
19176
|
type ResolvedHost = Electron.ResolvedHost;
|
|
19144
19177
|
type ScrubberItem = Electron.ScrubberItem;
|
package/package.json
CHANGED