Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't ignore the referer header in net.request #23686

Closed
wants to merge 379 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
379 commits
Select commit Hold shift + click to select a range
28e44b3
Bump very far --> this is electron bot fixing the release
electron-bot Dec 18, 2019
f5ce5f8
build: free up macos disk space on Mac publish (#21570)
trop[bot] Dec 19, 2019
7e8c110
fix: set enable_negotiate_port to false in allowNTLMCredentialsForDom…
trop[bot] Dec 20, 2019
6a56aa2
chore: bump chromium to 80.0.3987.31 (8-x-y) (#21557)
electron-bot Dec 30, 2019
6856658
fix: highlight defaulted button correctly (#21653)
trop[bot] Dec 31, 2019
64e48ad
fix: SimpleURLLoaderWrapper redirects (#21566) (#21644)
trop[bot] Jan 1, 2020
37592cd
refactor: throw error for getLastCrashReport if crashReporter not sta…
trop[bot] Jan 7, 2020
aca9655
chore: bump chromium to 80.0.3987.47 (8-x-y) (#21651)
electron-bot Jan 9, 2020
fa7326a
fix: Notification crash in before-quit (#21720)
trop[bot] Jan 10, 2020
2c92573
fix: don't unnecessarily copy draggable regions (#21722)
trop[bot] Jan 10, 2020
c6517c0
chore: bump chromium in DEPS to 80.0.3987.48 (#21728)
electron-bot Jan 10, 2020
da45f03
fix: avoid contextBridge double free on garbage collection (#21735)
trop[bot] Jan 11, 2020
ee65a19
chore: deprecate visibleOnFullScreen option (#21732)
codebytere Jan 13, 2020
6faef05
docs: responseHeaders should be Record<string, string[]> (#21743)
trop[bot] Jan 13, 2020
757e7a9
fix: load window-setup in sandboxed renderer (#21416) (#21431)
miniak Jan 13, 2020
96cae44
fix: prefer occluded rather than unloading layout info (#21751)
trop[bot] Jan 13, 2020
e81aa83
fix: don't fallback to OpenFolderViaShell (#21748)
trop[bot] Jan 13, 2020
ee2de31
fix: disable private macOS APIs in MAS build except for CAContext/CAL…
zcbenz Jan 13, 2020
1b204a4
chore: bump chromium to 80.0.3987.51 (8-x-y) (#21738)
electron-bot Jan 13, 2020
eb41994
Bump v8.0.0-beta.6
electron-bot Jan 13, 2020
f47fbcc
Fix memory leak in generator functions (#21760)
deepak1556 Jan 14, 2020
5a2c451
fix: stream protocols not completing (#21759)
trop[bot] Jan 14, 2020
6a88152
chore: bump chromium in DEPS to 80.0.3987.55 (#21765)
electron-bot Jan 14, 2020
427c139
fix: pass full response headers in net module (#21769)
trop[bot] Jan 15, 2020
22e8fc6
chore: bump chromium in DEPS to 80.0.3987.58 (#21789)
electron-bot Jan 16, 2020
06868c9
fix: printToPDF failing to generate PDF (#21797)
trop[bot] Jan 16, 2020
048f06c
feat: add session.addWordToSpellCheckerDictionary to allow custom wor…
trop[bot] Jan 16, 2020
7b61e60
chore: bump chromium in DEPS to 80.0.3987.59 (#21800)
electron-bot Jan 16, 2020
4ce5a48
Bump v8.0.0-beta.7
electron-bot Jan 16, 2020
5a5b6ab
chore: bump chromium in DEPS to 80.0.3987.60 (#21817)
electron-bot Jan 17, 2020
76bcab0
chore: bump chromium in DEPS to 80.0.3987.61 (#21826)
electron-bot Jan 18, 2020
2ef0827
fix: crash when restoring minimized hidden window (#21821)
trop[bot] Jan 20, 2020
73527e5
chore: bump chromium to 80.0.3987.63 (8-x-y) (#21832)
electron-bot Jan 20, 2020
1a309fd
chore: bump chromium in DEPS to 80.0.3987.64 (#21848)
electron-bot Jan 21, 2020
71a31d5
fix: crash when doing redirect navigation with webRequest listener (8…
zcbenz Jan 22, 2020
a6121f5
fix: call SetCanActivate in setFocusable (#21854)
trop[bot] Jan 22, 2020
a40957f
fix: some websites using WebComponents V0 not loading (#21866)
trop[bot] Jan 23, 2020
9b841e4
fix: Windows checkboxChecked edge case (#21861)
trop[bot] Jan 23, 2020
02f040c
docs: added info on bookmark return values for securityScopedBookmark…
trop[bot] Jan 23, 2020
67f7bf4
chore: bump chromium to 80.0.3987.69 (8-x-y) (#21863)
electron-bot Jan 23, 2020
38e46ab
Update browser-window.md (#21901)
trop[bot] Jan 27, 2020
26dbd22
fix: menu not updating with Tray.setContextMenu (#21902)
trop[bot] Jan 27, 2020
bf64b34
fix: recursive printing crash (#21905)
codebytere Jan 27, 2020
ee44155
chore: bump chromium to 80.0.3987.74 (8-x-y) (#21886)
electron-bot Jan 27, 2020
15e9f22
docs: clean up context bridge API docs (#21917)
trop[bot] Jan 28, 2020
473a90f
fix: window.print() only working once (#21908)
codebytere Jan 28, 2020
74686a9
fix: About Panel credits should be dark mode aware (#21926)
trop[bot] Jan 28, 2020
c478d45
fix: ensure tray icon is the proper size on linux (#21936)
trop[bot] Jan 28, 2020
a33063c
chore: bump chromium in DEPS to 80.0.3987.75 (#21932)
electron-bot Jan 28, 2020
83c4633
fix: use powerMonitor.on() only after app is ready (#21942)
trop[bot] Jan 28, 2020
0a06895
chore: update build_bring_back_node_with_ltcg_configuration.patch (#2…
trop[bot] Jan 29, 2020
714e068
refactor: try just using regular [Sync] for MessageSync (#20797) (#21…
erickzhao Jan 29, 2020
416b850
chore: fix linter errors in .mm files (#21933)
alexeykuzmin Jan 29, 2020
38d908e
Bump v8.0.0-beta.8
electron-bot Jan 29, 2020
b3fdb24
fix: compilation of native modules on windows with older msvc version…
deepak1556 Jan 30, 2020
048d770
fix: show module name in deprecation warning for context-aware module…
nornagon Jan 30, 2020
0cee5cc
fix: ensure web_contents is not nullptr in UpdateDraggableRegions (#2…
trop[bot] Jan 30, 2020
7ddb3dd
fix: add executable to ChromeDriver's rpath for electron 8+ (#21966)
erickzhao Jan 30, 2020
80282ba
Bump v8.0.0-beta.9
electron-bot Jan 30, 2020
3b5ca91
chore: bump chromium to 80.0.3987.79 (8-x-y) (#21953)
electron-bot Jan 30, 2020
63bcbd4
fix: prevent print crash on bad deviceName (#21982)
trop[bot] Jan 31, 2020
7956b45
chore: bump chromium in DEPS to 80.0.3987.82 (#21984)
electron-bot Jan 31, 2020
46a4864
feat: Exposing methods required by capturing a hidden webContents (#2…
zeeker999 Jan 31, 2020
6cf8abc
fix: return path from netLog.stopLogging (#21989)
trop[bot] Jan 31, 2020
c5574c8
feat: custom positioning for traffic light buttons (#21990)
MarshallOfSound Jan 31, 2020
7ae8d54
Bump v8.0.0-beta.10
electron-bot Jan 31, 2020
2085111
Revert "Bump v8.0.0-beta.10"
MarshallOfSound Jan 31, 2020
a326408
Bump v8.0.0-beta.10
electron-bot Jan 31, 2020
133ac9a
chore: bump chromium to 80.0.3987.86 (8-x-y) (#22000)
electron-bot Feb 3, 2020
c196121
Revert "Bump v8.0.0-beta.10"
MarshallOfSound Feb 3, 2020
f658c1a
fix: use the new MediaPlayPause key listener for internal chrome logi…
trop[bot] Feb 3, 2020
9f2371f
fix: bind spellchecker receivers correctly in the renderer (#22015)
trop[bot] Feb 3, 2020
1af3a71
Bump v8.0.0
electron-bot Feb 3, 2020
f263a3f
fix: default printer if none is provided (#21956) (#22011)
codebytere Feb 4, 2020
7c33fc0
chore: rename atom -> electron (#21987)
nornagon Feb 4, 2020
b0fee4b
ci: fix ELECTRON_OUT_DIR (#21994) (#22019)
nornagon Feb 5, 2020
9439388
chore: wrap cb with default invocation (#22036)
codebytere Feb 5, 2020
72bccd1
fix: use a WeakPtr so we do not UAF the store in FunctionLifetimeMoni…
trop[bot] Feb 10, 2020
d4f915e
fix: flash plugin (#22110)
trop[bot] Feb 10, 2020
50dac1d
ci: fix build failure on doc only changes (#22088)
trop[bot] Feb 10, 2020
daab432
ci: strip mksnapshot binaries on Linux (#22145)
alexeykuzmin Feb 11, 2020
637cf8a
fix: don't crash on invalid certs (#22124)
nornagon Feb 11, 2020
fce3426
build: fix spellchecker deps (#22154)
trop[bot] Feb 11, 2020
dc9654c
fix: make webRequest work with WebSocket (#22134)
zcbenz Feb 12, 2020
e9814e0
fix RTL bug when used with traffic light repositioning (#22162)
trop[bot] Feb 12, 2020
c8e2a62
refactor: use NSVisualEffectMaterial* constants directly (#22149)
codebytere Feb 12, 2020
89607e6
fix: crash on custom printing margins (#22186)
codebytere Feb 13, 2020
ceb3b0c
fix: no-arg console.log is undefined (#22172)
trop[bot] Feb 14, 2020
4447a63
Bump v8.0.1
electron-bot Feb 14, 2020
360e8a2
fix: don't include breakpad_symbols dir in dsym.zip (#22218)
trop[bot] Feb 18, 2020
51504ae
build: preserve timestamps when stripping files (#22094) (#22257)
Feb 18, 2020
3a747ed
fix: add patch to route mouse event navigations through the WebConten…
MarshallOfSound Feb 18, 2020
1db64c9
doc: remove accidental deprecation (#22265)
trop[bot] Feb 19, 2020
5c93682
build: only strip binaries on linux (#22282)
Feb 19, 2020
21f5443
chore: remove libcc from release not generator (#22295)
trop[bot] Feb 20, 2020
ecd398f
fix: disable remote layer APIs in MAS build (8-x-y) (#22298)
zcbenz Feb 24, 2020
e2b9cd7
docs: clean up protocol docs (#22309)
trop[bot] Feb 24, 2020
dde19b0
fix: revert {Atom => Electron}Application rename (#22206) (#22326)
nornagon Feb 24, 2020
37baff1
fix: typo in crash reporter constructor (#22344)
trop[bot] Feb 24, 2020
4464a04
fix: emit will-navigate for sandboxed contents (#22188) (#22328)
nornagon Feb 24, 2020
2888e46
chore: allow custom node-spec-runner options (#22332)
trop[bot] Feb 25, 2020
232ca04
fix: pass safeDialogs preference properly (#22377)
trop[bot] Feb 25, 2020
d1ccfea
fix: add patch to set the base download URL rather than override it c…
trop[bot] Feb 26, 2020
957717e
Bump v8.0.2
electron-bot Feb 26, 2020
1ac31e1
test: disable clipboard tests for WOA (#22388)
trop[bot] Feb 26, 2020
882ce29
docs: improve documentation on spellchecker download URL (#22403)
trop[bot] Feb 27, 2020
854dcb3
chore: bump chromium to 80.0.3987.128 (#22419)
nornagon Feb 27, 2020
cfe350a
fix: backport v8 patch for type inference issue (#22434)
trop[bot] Feb 27, 2020
ebf98e8
Bump v8.0.3
electron-bot Feb 28, 2020
8317553
Revert "Bump v8.0.3"
electron-bot Feb 28, 2020
ee35482
Revert "fix: backport v8 patch for type inference issue (#22434)"
MarshallOfSound Feb 28, 2020
a0dcb55
Bump v8.0.3
electron-bot Feb 28, 2020
0f0a7e6
Revert "Bump v8.0.3"
MarshallOfSound Feb 28, 2020
69598ae
build: try using newer version of xcode/macOS sdk (#22104)
Feb 8, 2020
de2e123
fix: dictionaries download path should be in userdata (#22448)
trop[bot] Feb 28, 2020
7fe2cad
Bump v8.0.3
electron-bot Feb 29, 2020
3639a82
chore: bump chromium to 80.0.3987.132 (8-x-y) (#22441)
electron-bot Feb 29, 2020
031c0d6
fix: port CL that fixes ARIA tree impl for macOS (#22423)
loc Mar 2, 2020
b741cbf
chore: bump chromium to 80.0.3987.134 (8-x-y) (#22463)
electron-bot Mar 2, 2020
a315283
chore: update g_swizzle_imk_input_session for new SDK
MarshallOfSound Mar 2, 2020
5be76fd
Revert "Bump v8.0.3"
MarshallOfSound Mar 2, 2020
0f246b6
Bump v8.0.3
electron-bot Mar 2, 2020
9aa81de
Revert "Bump v8.0.3"
electron-bot Mar 2, 2020
6cd2623
Bump v8.0.3
electron-bot Mar 2, 2020
b311235
Revert "Bump v8.0.3"
MarshallOfSound Mar 2, 2020
63cb360
Bump v8.0.3
electron-bot Mar 2, 2020
c83dc5b
fix: Add ContentsView to AXChildren (#22470)
trop[bot] Mar 2, 2020
6e46905
fix: prevent potential modal window close segfault (#22481)
codebytere Mar 3, 2020
ae63918
fix: check WebContents in OnGetDefaultPrinter (#22475)
trop[bot] Mar 3, 2020
9f9d3e9
docs: add documentation on case insensitive dictionary hosting (#22486)
trop[bot] Mar 3, 2020
031480c
fix: add patch to fix os_metrics_mac with 10.15 SDK (#22496)
zcbenz Mar 3, 2020
9257c31
chore: bump chromium in DEPS to 80.0.3987.135 (#22505)
electron-bot Mar 4, 2020
cac6db7
fix: bail early if no printers on the network (#22518)
trop[bot] Mar 4, 2020
eb63062
fix: properly forward properties to webview (#22510)
trop[bot] Mar 4, 2020
077e35c
chore: bump chromium in DEPS to 80.0.3987.136 (#22529)
electron-bot Mar 4, 2020
ddb62e8
fix: do not reposition traffic lights when fullscreened (#22508)
MarshallOfSound Mar 5, 2020
20c5a3b
fix: destroy node platform after destroying wrappers (#22537)
zcbenz Mar 5, 2020
8756ff0
chore: bump chromium to 80.0.3987.137 (8-x-y) (#22548)
nornagon Mar 5, 2020
b878a5e
fix: reposition traffic lights on theme change (#22559)
MarshallOfSound Mar 5, 2020
05a7f5f
docs: clean up dark mode related docs (#22563)
MarshallOfSound Mar 5, 2020
6f88108
fix: disable contextBridge object identity caching (#21803) (#22557)
MarshallOfSound Mar 6, 2020
33f5fa3
feat: allow http-parser NODE_OPTION in packaged apps (#21694) (#22539)
MarshallOfSound Mar 6, 2020
6f12b67
feat: add events for spellcheck dictionary downloads (#22449) (#22558)
MarshallOfSound Mar 6, 2020
b4e1b84
feat: programmatically modify traffic light positioning (#22533) (#22…
MarshallOfSound Mar 6, 2020
691ddb3
Bump v8.1.0
electron-bot Mar 6, 2020
df6faec
fix: allow persistent media salts (#22386) (#22569)
erickzhao Mar 6, 2020
e37f69c
chore: bump chromium in DEPS to 80.0.3987.138 (#22583)
electron-bot Mar 6, 2020
d4a79bc
chore: bump chromium to 80.0.3987.141 (8-x-y) (#22593)
electron-bot Mar 9, 2020
ee5d524
build: upload sentry src bundles to symbol S3 bucket (#22619)
trop[bot] Mar 9, 2020
647299f
Bump v8.1.1
electron-bot Mar 9, 2020
a0431e1
build: fix build without built-in spellchecker (#22608)
alexeykuzmin Mar 10, 2020
524d6a5
chore: don't delete nightly tag after draft (#22623)
trop[bot] Mar 10, 2020
07ea340
chore: bump chromium in DEPS to 80.0.3987.142 (#22635)
electron-bot Mar 11, 2020
542f30b
test: test setPath for errors thrown (#22638)
trop[bot] Mar 11, 2020
54109cb
chore: bump chromium in DEPS to 80.0.3987.143 (#22648)
electron-bot Mar 11, 2020
526d748
fix: guard against duplicate TouchBarItem IDs (#22645)
erickzhao Mar 12, 2020
68873fb
chore: bump chromium in DEPS to 80.0.3987.144 (#22669)
electron-bot Mar 12, 2020
d12c157
chore: bump chromium to 80.0.3987.148 (8-x-y) (#22680)
electron-bot Mar 17, 2020
1f652f0
chore: bump chromium in DEPS to 80.0.3987.156 (#22718)
electron-bot Mar 17, 2020
96b41d0
fix: crash on invalid zoomFactor (#22709)
codebytere Mar 18, 2020
c4efeef
fix: remove bad usages of for-in and guard against it (#22728)
trop[bot] Mar 18, 2020
b305784
feat: add disableDialogs option to WebPreferences (#22665)
ChALkeR Mar 19, 2020
672aa1c
test: no need to loadURL in menu test (#22766)
trop[bot] Mar 19, 2020
b501c40
build: auto-generate the codesigning cert used for macOS CI testing r…
trop[bot] Mar 19, 2020
920a82a
chore: bump chromium in DEPS to 80.0.3987.158 (#22742)
electron-bot Mar 19, 2020
579f7a1
fix: prevent crash in ListValue v8 converter when conversion fails (#…
trop[bot] Mar 19, 2020
fa01a20
build: enable JS semicolons (#22786)
MarshallOfSound Mar 23, 2020
f057b0e
feat: add support for net requests to use the session cookie store (#…
MarshallOfSound Mar 23, 2020
7ba8797
fix: better window hierarchy checks
MarshallOfSound Jan 19, 2020
a4ea27d
Bump v8.2.0
electron-bot Mar 23, 2020
57e36af
Revert "Bump v8.2.0"
electron-bot Mar 23, 2020
5b75a4a
Bump v8.2.0
electron-bot Mar 23, 2020
c1da7b5
Revert "Bump v8.2.0"
MarshallOfSound Mar 24, 2020
5c32d18
Revert "fix: better window hierarchy checks"
MarshallOfSound Mar 24, 2020
abe8c71
Bump v8.2.0
electron-bot Mar 24, 2020
5fd403b
Revert "Bump v8.2.0"
electron-bot Mar 24, 2020
bfef6a5
Bump v8.2.0
electron-bot Mar 24, 2020
8751f48
fix: workaround for hang when preventDefault-ing nativeWindowOpen (#2…
trop[bot] Mar 25, 2020
eb37822
ci: Add goma to older branches (#22784)
Mar 25, 2020
98b67cd
chore: bump chromium in DEPS to 80.0.3987.159 (#22847)
electron-bot Mar 30, 2020
d6ecc65
fix: dialog fails to show after modal close (#22889)
trop[bot] Mar 30, 2020
b7d4759
chore: bump chromium in DEPS to 80.0.3987.162 (#22905)
electron-bot Mar 31, 2020
a4d8974
fix: revive offscreen rendering support (#22431)
Mar 31, 2020
2c4c1a3
fix: screen module should still be creatable if the first create is b…
trop[bot] Apr 1, 2020
3ba4a35
fix: propagate preferred color scheme to the renderer (#22896) (#22901)
MarshallOfSound Apr 2, 2020
d70b1c6
Bump v8.2.1
electron-bot Apr 2, 2020
3069ef3
chore: bump chromium in DEPS to 80.0.3987.163 (#22931)
electron-bot Apr 3, 2020
ad2c2a0
Revert "Bump v8.2.1"
MarshallOfSound Apr 6, 2020
32f973b
Bump v8.2.1
electron-bot Apr 6, 2020
06b3b0e
Revert "Bump v8.2.1"
MarshallOfSound Apr 6, 2020
0f19193
Bump v8.2.1
electron-bot Apr 6, 2020
5f7bd36
build: set merge=union for .patches (#22992)
trop[bot] Apr 7, 2020
ce40be4
fix: webframe crashes for removed render frame (#22975)
codebytere Apr 8, 2020
34be806
fix: nullptr check when closing windows (#23022)
trop[bot] Apr 8, 2020
58c6ea5
ci: auto-3way patches and detect changes (#23032)
nornagon Apr 8, 2020
1e84816
fix: persist maximizable state when toggling fullscreen (#23020)
trop[bot] Apr 10, 2020
c3340ad
chore: cherry-pick 85f708fa7ab8 from chromium (#23047)
nornagon Apr 13, 2020
7316ebd
fix: reset node env earlier during shutdown (#23069)
trop[bot] Apr 13, 2020
331125d
fix: don't assign NSAlert to window which is not visible (#23088)
trop[bot] Apr 13, 2020
8faf8a3
Bump v8.2.2
electron-bot Apr 13, 2020
035c784
docs: explain the swipe event on macOS (#23133)
trop[bot] Apr 16, 2020
b8e3477
Merge pull request from GHSA-h9jc-284h-533g
MarshallOfSound Apr 16, 2020
663d389
Bump v8.2.3
electron-bot Apr 16, 2020
941c72f
docs: fix devToolsWebContents union type (#23172)
trop[bot] Apr 20, 2020
25f5d76
fix: wasm codegen in script.runInNewContext (#23147)
codebytere Apr 20, 2020
9f5924c
fix: backport V8 promise context fix (#23177)
MarshallOfSound Apr 21, 2020
5b3b09f
fix: heap-use-after-free in tray.popUpContextMenu (#22842) (#23181)
nornagon Apr 21, 2020
c6786ae
build: improve patch filename remembering (#23093)
trop[bot] Apr 21, 2020
2c8927a
test: fix type errors in devToolsWebContents (#23206)
codebytere Apr 22, 2020
f3e9f10
fix: ensure that functions are not retained beyond their context bein…
MarshallOfSound Apr 22, 2020
b3e5383
fix: do not allow child windows to specify their own preload script (…
MarshallOfSound Apr 22, 2020
e3c1292
fix: block custom window.open when nativeWindowOpen is true (#23188) …
nornagon Apr 23, 2020
5f6498d
fix: do not mutate ipc instances across contexts (#23240)
MarshallOfSound Apr 23, 2020
ea2e34c
chore: bump chromium to 80.0.3987.165 (8-x-y) (#23217)
electron-bot Apr 23, 2020
19bd97d
ci: robustify doc only change check (#23258)
trop[bot] Apr 23, 2020
ce04014
fix: use Node's microtasks policy in node_main.cc (#23234)
ckerr Apr 23, 2020
0ac4212
style: use build/include_directory for NOLINT (#23266) (#23303)
MarshallOfSound Apr 27, 2020
0453316
refactor: port window-setup to use ctx bridge instead of being run in…
MarshallOfSound Apr 28, 2020
d8f9044
Bump v8.2.4
electron-bot Apr 28, 2020
b2fb14f
fix: backport fix for zero-size pixels in blink (#23336)
MarshallOfSound Apr 30, 2020
479fc57
fix: do not leak IPC or context bridge promises (#23321) (#23339)
MarshallOfSound Apr 30, 2020
6c42564
Bump v8.2.5
electron-bot Apr 30, 2020
60ef8ac
ci: make sure msedge isn't running at end of woa test (#23358)
trop[bot] Apr 30, 2020
30ae6f4
fix: ensure guest-embedder map is updated when webview is removed (#2…
deepak1556 May 4, 2020
6294f81
fix: hold browser_context instead of render_frame_host to fix lifetim…
deepak1556 May 4, 2020
d2fb214
docs: event.newGuest for new-window in WebContents and webContents in…
trop[bot] May 4, 2020
d5f9654
refactor: make passing empty template no-op in setMenu (#23402)
codebytere May 5, 2020
60bcf42
fix: respect system language preferences on Windows & macOS (#23407)
ckerr May 5, 2020
c63430c
fix: multiple extension filters on macOS (#23449)
trop[bot] May 7, 2020
b9e7090
chore: cherry-pick 686d1bfbcb8f from chromium (#23456)
nornagon May 8, 2020
0bd661b
chore: cherry-pick 826a4af58b3d from chromium (#23462)
nornagon May 8, 2020
4a45196
chore: cherry-pick 45b8c2bb07d2 from v8 (#23465)
nornagon May 8, 2020
edabc96
chore: cherry-pick 38990b7d56e6 from chromium (#23504)
ppontes May 13, 2020
2d40fad
chore: cherry-pick 67864c214770 from Chromium (#23517)
zcbenz May 13, 2020
70f05a1
chore: cherry-pick e89fe66d0473 from Chromium (#23514)
zcbenz May 13, 2020
15d792a
build: use correct v8_context_snapshot_generator in mksnapshot zip (#…
trop[bot] May 13, 2020
ea4e92f
fix: do not destroy thread in UI thread (#23550)
zcbenz May 13, 2020
faf2871
chore: cherry-pick 86c02c5dcd37 from chromium (#23528)
belenko May 13, 2020
42ab97f
fix: run Node.js at-exit callbacks in renderer proc (#23564)
codebytere May 14, 2020
f7509d5
fix: leave behind the unmodified XDG_CURRENT_DESKTOP variable (#23552)
trop[bot] May 14, 2020
a4de479
chore: cherry-pick 1288aa12369e from angle (#23561)
ppontes May 14, 2020
dc71541
chore: cherry-pick 7101418f85a0 from chromium (#23532)
belenko May 14, 2020
6f331e4
feat: add force option to app.focus() (#23574)
ckerr May 15, 2020
2a44b1a
feat: add enableWebSQL webpreference (#23311) (#23581)
deepak1556 May 15, 2020
79298d3
build: remove unused header from a patch (#23591)
trop[bot] May 15, 2020
426d45c
Bump v8.3.0
electron-bot May 15, 2020
7290d77
refactor: remove the RenderFrameFunctionStore and use privates to mem…
MarshallOfSound May 15, 2020
6b8ca86
test: fix conditions for some tests (#23489) (#23607)
alexeykuzmin May 18, 2020
a8196fb
refactor: improve MoveItemToTrash error description (#23629)
trop[bot] May 18, 2020
b459ad2
net: Don't ignore the referer header in net.request
zeeker999 May 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
967 changes: 631 additions & 336 deletions .circleci/config.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .eslintrc.json
Expand Up @@ -6,9 +6,11 @@
"browser": true
},
"rules": {
"semi": ["error", "always"],
"no-var": "error",
"no-unused-vars": 0,
"no-global-assign": 0,
"guard-for-in": 2,
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
@@ -1,3 +1,4 @@
# `git apply` and friends don't understand CRLF, even on windows. Force those
# files to be checked out with LF endings even if core.autocrlf is true.
*.patch text eol=lf
patches/**/.patches merge=union
103 changes: 69 additions & 34 deletions BUILD.gn
@@ -1,6 +1,7 @@
import("//build/config/locales.gni")
import("//build/config/ui.gni")
import("//build/config/win/manifest.gni")
import("//components/spellcheck/spellcheck_build_features.gni")
import("//content/public/app/mac_helpers.gni")
import("//pdf/features.gni")
import("//printing/buildflags/buildflags.gni")
Expand All @@ -21,6 +22,7 @@ import("buildflags/buildflags.gni")
import("electron_paks.gni")
import("filenames.auto.gni")
import("filenames.gni")
import("filenames.hunspell.gni")

if (is_mac) {
import("//build/config/mac/rules.gni")
Expand Down Expand Up @@ -147,7 +149,7 @@ webpack_build("electron_content_script_bundle") {
out_file = "$target_gen_dir/js2c/content_script_bundle.js"
}

copy("atom_js2c_copy") {
copy("electron_js2c_copy") {
sources = [
"lib/common/asar.js",
"lib/common/asar_init.js",
Expand All @@ -157,12 +159,12 @@ copy("atom_js2c_copy") {
]
}

action("atom_js2c") {
action("electron_js2c") {
deps = [
":atom_js2c_copy",
":electron_browser_bundle",
":electron_content_script_bundle",
":electron_isolated_renderer_bundle",
":electron_js2c_copy",
":electron_renderer_bundle",
":electron_sandboxed_renderer_bundle",
":electron_worker_bundle",
Expand All @@ -184,7 +186,7 @@ action("atom_js2c") {

inputs = sources + [ "//third_party/electron_node/tools/js2c.py" ]
outputs = [
"$root_gen_dir/atom_natives.cc",
"$root_gen_dir/electron_natives.cc",
]

script = "tools/js2c.py"
Expand Down Expand Up @@ -345,25 +347,27 @@ source_set("electron_lib") {
]

deps = [
":atom_js2c",
":electron_js2c",
":electron_version_header",
":manifests",
":resources",
"buildflags",
"chromium_src:chrome",
"chromium_src:chrome_spellchecker",
"native_mate",
"shell/common/api:mojo",
"//base:base_static",
"//base/allocator:buildflags",
"//chrome/app/resources:platform_locale_settings",
"//chrome/services/printing/public/mojom",
"//components/certificate_transparency",
"//components/language/core/browser",
"//components/net_log",
"//components/network_hints/common",
"//components/network_hints/browser",
"//components/network_hints/common:mojo_bindings",
"//components/network_hints/renderer",
"//components/network_session_configurator/common",
"//components/prefs",
"//components/spellcheck/renderer",
"//components/viz/host",
"//components/viz/service",
"//content/public/browser",
Expand All @@ -379,12 +383,10 @@ source_set("electron_lib") {
"//media/mojo/mojom",
"//net:extras",
"//net:net_resources",
"//net:net_with_v8",
"//ppapi/host",
"//ppapi/proxy",
"//ppapi/shared_impl",
"//printing/buildflags",
"//services/audio/public/mojom:constants",
"//services/device/public/cpp/geolocation",
"//services/device/public/mojom",
"//services/proxy_resolver:lib",
Expand All @@ -396,7 +398,7 @@ source_set("electron_lib") {
"//third_party/electron_node:node_lib",
"//third_party/leveldatabase",
"//third_party/libyuv",
"//third_party/webrtc_overrides:init_webrtc",
"//third_party/webrtc_overrides:webrtc_component",
"//third_party/widevine/cdm:headers",
"//ui/base/idle",
"//ui/events:dom_keycode_converter",
Expand Down Expand Up @@ -502,7 +504,7 @@ source_set("electron_lib") {
"shell/browser/ui/views/autofill_popup_view.h",
]
if (is_mas_build) {
sources += [ "shell/browser/api/atom_api_app_mas.mm" ]
sources += [ "shell/browser/api/electron_api_app_mas.mm" ]
sources -= [
"shell/browser/auto_updater_mac.mm",
"shell/common/crash_reporter/crash_reporter_mac.h",
Expand Down Expand Up @@ -546,6 +548,10 @@ source_set("electron_lib") {
]

sources += filenames.lib_sources_nss
sources += [
"shell/browser/ui/gtk_util.cc",
"shell/browser/ui/gtk_util.h",
]
}
if (is_win) {
libs += [ "dwmapi.lib" ]
Expand Down Expand Up @@ -621,27 +627,27 @@ source_set("electron_lib") {
deps += [ "//third_party/webrtc/modules/desktop_capture" ]
}
sources += [
"shell/browser/api/atom_api_desktop_capturer.cc",
"shell/browser/api/atom_api_desktop_capturer.h",
"shell/browser/api/electron_api_desktop_capturer.cc",
"shell/browser/api/electron_api_desktop_capturer.h",
]
}

if (enable_view_api) {
sources += [
"shell/browser/api/views/atom_api_box_layout.cc",
"shell/browser/api/views/atom_api_box_layout.h",
"shell/browser/api/views/atom_api_button.cc",
"shell/browser/api/views/atom_api_button.h",
"shell/browser/api/views/atom_api_label_button.cc",
"shell/browser/api/views/atom_api_label_button.h",
"shell/browser/api/views/atom_api_layout_manager.cc",
"shell/browser/api/views/atom_api_layout_manager.h",
"shell/browser/api/views/atom_api_md_text_button.cc",
"shell/browser/api/views/atom_api_md_text_button.h",
"shell/browser/api/views/atom_api_resize_area.cc",
"shell/browser/api/views/atom_api_resize_area.h",
"shell/browser/api/views/atom_api_text_field.cc",
"shell/browser/api/views/atom_api_text_field.h",
"shell/browser/api/views/electron_api_box_layout.cc",
"shell/browser/api/views/electron_api_box_layout.h",
"shell/browser/api/views/electron_api_button.cc",
"shell/browser/api/views/electron_api_button.h",
"shell/browser/api/views/electron_api_label_button.cc",
"shell/browser/api/views/electron_api_label_button.h",
"shell/browser/api/views/electron_api_layout_manager.cc",
"shell/browser/api/views/electron_api_layout_manager.h",
"shell/browser/api/views/electron_api_md_text_button.cc",
"shell/browser/api/views/electron_api_md_text_button.h",
"shell/browser/api/views/electron_api_resize_area.cc",
"shell/browser/api/views/electron_api_resize_area.h",
"shell/browser/api/views/electron_api_text_field.cc",
"shell/browser/api/views/electron_api_text_field.h",
]
}

Expand Down Expand Up @@ -705,7 +711,6 @@ if (is_mac) {
public_deps += [ "//third_party/icu:icudata" ]
}
if (v8_use_external_startup_data) {
sources += [ "$root_out_dir/natives_blob.bin" ]
public_deps += [ "//v8" ]
if (use_v8_context_snapshot) {
sources += [ "$root_out_dir/v8_context_snapshot.bin" ]
Expand Down Expand Up @@ -824,6 +829,7 @@ if (is_mac) {

include_dirs = [ "." ]
sources = filenames.framework_sources
libs = []

if (enable_osr) {
libs += [ "IOSurface.framework" ]
Expand Down Expand Up @@ -857,7 +863,7 @@ if (is_mac) {
}
defines = [ "HELPER_EXECUTABLE" ]
sources = filenames.app_sources
sources += [ "shell/common/atom_constants.cc" ]
sources += [ "shell/common/electron_constants.cc" ]
include_dirs = [ "." ]
info_plist = "shell/renderer/resources/mac/Info.plist"
extra_substitutions =
Expand Down Expand Up @@ -978,7 +984,7 @@ if (is_mac) {
mac_app_bundle("electron_app") {
output_name = electron_product_name
sources = filenames.app_sources
sources += [ "shell/common/atom_constants.cc" ]
sources += [ "shell/common/electron_constants.cc" ]
include_dirs = [ "." ]
deps = [
":electron_app_framework_bundle_data",
Expand Down Expand Up @@ -1265,9 +1271,14 @@ template("dist_zip") {
"outputs",
"testonly",
])
flatten = false
if (defined(invoker.flatten)) {
flatten = invoker.flatten
}
args = rebase_path(outputs + [ _runtime_deps_file ], root_build_dir) + [
target_cpu,
target_os,
"$flatten",
]
}
}
Expand Down Expand Up @@ -1342,14 +1353,38 @@ dist_zip("electron_chromedriver_zip") {
]
}

mksnapshot_deps = [
":licenses",
"//tools/v8_context_snapshot:v8_context_snapshot_generator($v8_snapshot_toolchain)",
"//v8:mksnapshot($v8_snapshot_toolchain)",
]

group("electron_mksnapshot") {
public_deps = mksnapshot_deps
}

dist_zip("electron_mksnapshot_zip") {
data_deps = mksnapshot_deps
outputs = [
"$root_build_dir/mksnapshot.zip",
]
}

copy("hunspell_dictionaries") {
sources = hunspell_dictionaries + hunspell_licenses
outputs = [
"$target_gen_dir/electron_hunspell/{{source_file_part}}",
]
}

dist_zip("hunspell_dictionaries_zip") {
data_deps = [
"//v8:mksnapshot($v8_snapshot_toolchain)",
"//tools/v8_context_snapshot:v8_context_snapshot_generator",
":licenses",
":hunspell_dictionaries",
]
flatten = true

outputs = [
"$root_build_dir/mksnapshot.zip",
"$root_build_dir/hunspell_dictionaries.zip",
]
}

Expand Down
6 changes: 4 additions & 2 deletions DEPS
Expand Up @@ -11,7 +11,7 @@ gclient_gn_args = [

vars = {
'chromium_version':
'c3a0220e7bde049d599a8332b9b2785b0178be74',
'80.0.3987.165',
'node_version':
'v12.13.0',
'nan_version':
Expand Down Expand Up @@ -114,7 +114,7 @@ hooks = [
'pattern': 'src/electron/script/update-external-binaries.py',
'condition': 'download_external_binaries',
'action': [
'python',
'python3',
'src/electron/script/update-external-binaries.py',
],
},
Expand Down Expand Up @@ -152,3 +152,5 @@ hooks = [
recursedeps = [
'src',
]

# Touch DEPS to bust cache
2 changes: 1 addition & 1 deletion ELECTRON_VERSION
@@ -1 +1 @@
8.0.0-nightly.20191023
8.3.0
45 changes: 39 additions & 6 deletions appveyor.yml
Expand Up @@ -29,7 +29,7 @@

version: 1.0.{build}
build_cloud: libcc-20
image: vs2017-15.9-10.0.18362
image: vs2019-16.3-10.0.18362
environment:
GIT_CACHE_PATH: C:\Users\electron\libcc_cache
ELECTRON_OUT_DIR: Default
Expand All @@ -50,6 +50,12 @@ build_script:
- ps: >-
if(($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME -split "/")[0] -eq ($env:APPVEYOR_REPO_NAME -split "/")[0]) {
Write-warning "Skipping PR build for branch"; Exit-AppveyorBuild
} else {
node script/yarn.js install --frozen-lockfile

if ($(node script/doc-only-change.js --prNumber=$env:APPVEYOR_PULL_REQUEST_NUMBER --prBranch=$env:APPVEYOR_REPO_BRANCH;$LASTEXITCODE -eq 0)) {
Write-warning "Skipping build for doc only change"; Exit-AppveyorBuild
}
}
- echo "Building $env:GN_CONFIG build"
- git config --global core.longpaths true
Expand All @@ -70,30 +76,57 @@ build_script:
--unmanaged
%GCLIENT_EXTRA_ARGS%
"https://github.com/electron/electron"
- gclient sync --with_branch_heads --with_tags --reset
- gclient sync --with_branch_heads --with_tags --ignore_locks --break_repo_locks
- ps: >-
if ($env:SAVE_GCLIENT_SRC -eq 'true') {
# archive current source for future use
# only run on x64/woa to avoid contention saving
if ($(7z a $zipfile src -xr!android_webview -xr!electron -xr'!*\.git' -xr!third_party\WebKit\LayoutTests! -xr!third_party\blink\web_tests -xr!third_party\blink\perf_tests -slp -t7z -mmt=30;$LASTEXITCODE -ne 0)) {
Write-warning "Could not save source to shared drive; continuing anyway"
}
}
- ps: >-
if ($env:GN_CONFIG -ne 'release') {
if (Test-Path 'env:RAW_GOMA_AUTH') {
$env:GOMA_OAUTH2_CONFIG_FILE = "$pwd\.goma_oauth2_config"
$env:RAW_GOMA_AUTH | Set-Content $env:GOMA_OAUTH2_CONFIG_FILE
}
git clone https://github.com/electron/build-tools.git
cd build-tools
npm install
mkdir third_party
node -e "require('./src/utils/goma.js').downloadAndPrepare()"
$env:GN_GOMA_FILE = node -e "console.log(require('./src/utils/goma.js').gnFilePath)"
$env:LOCAL_GOMA_DIR = node -e "console.log(require('./src/utils/goma.js').dir)"
cd ..
.\src\electron\script\start-goma.ps1 -gomaDir $env:LOCAL_GOMA_DIR
}
- cd src
- ps: $env:BUILD_CONFIG_PATH="//electron/build/args/%GN_CONFIG%.gn"
- gn gen out/Default "--args=import(\"%BUILD_CONFIG_PATH%\") %GN_EXTRA_ARGS%"
- set BUILD_CONFIG_PATH=//electron/build/args/%GN_CONFIG%.gn
- if DEFINED GN_GOMA_FILE (gn gen out/Default "--args=import(\"%BUILD_CONFIG_PATH%\") import(\"%GN_GOMA_FILE%\") %GN_EXTRA_ARGS% ") else (gn gen out/Default "--args=import(\"%BUILD_CONFIG_PATH%\") %GN_EXTRA_ARGS% cc_wrapper=\"%SCCACHE_PATH%\"")
- gn check out/Default //electron:electron_lib
- gn check out/Default //electron:electron_app
- gn check out/Default //electron:manifests
- gn check out/Default //electron/shell/common/api:mojo
- ninja -C out/Default electron:electron_app
- if "%GN_CONFIG%"=="testing" ( python C:\Users\electron\depot_tools\post_build_ninja_summary.py -C out\Default )
- if DEFINED GN_GOMA_FILE (ninja -j 300 -C out/Default electron:electron_app) else (ninja -C out/Default electron:electron_app)
- if "%GN_CONFIG%"=="testing" ( python C:\Users\electron\depot_tools\post_build_ninja_summary.py -C out\Default )
- gn gen out/ffmpeg "--args=import(\"//electron/build/args/ffmpeg.gn\") %GN_EXTRA_ARGS%"
- ninja -C out/ffmpeg electron:electron_ffmpeg_zip
- ninja -C out/Default electron:electron_dist_zip
- ninja -C out/Default shell_browser_ui_unittests
- ninja -C out/Default electron:electron_mksnapshot_zip
- ninja -C out/Default electron:hunspell_dictionaries_zip
- ninja -C out/Default electron:electron_chromedriver_zip
- ninja -C out/Default third_party/electron_node:headers
- if "%GN_CONFIG%"=="testing" ( python %LOCAL_GOMA_DIR%\goma_ctl.py stat )
- appveyor PushArtifact out/Default/dist.zip
- appveyor PushArtifact out/Default/shell_browser_ui_unittests.exe
- appveyor PushArtifact out/Default/chromedriver.zip
- appveyor PushArtifact out/ffmpeg/ffmpeg.zip
- 7z a node_headers.zip out\Default\gen\node_headers
- appveyor PushArtifact node_headers.zip
- appveyor PushArtifact out/Default/mksnapshot.zip
- appveyor PushArtifact out/Default/hunspell_dictionaries.zip
- appveyor PushArtifact out/Default/electron.lib
- ps: >-
if ($env:GN_CONFIG -eq 'release') {
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines-woa.yml
Expand Up @@ -88,5 +88,6 @@ steps:
- powershell: |
Get-Process | Where Name –Like "electron*" | Stop-Process
Get-Process | Where Name –Like "MicrosoftEdge*" | Stop-Process
Get-Process | Where Name –Like "msedge*" | Stop-Process
displayName: 'Kill processes left running from last test run'
condition: always()