* fix(window): setAspectRatio for frameless windows
* dummy
* undo dummy
Co-authored-by: Gellert Hegyi <gellert.hegyi@around.co>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.11
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
* pin colors to v1.4.0 in packae.json
Fixes#32416
* fixup! pin colors to v1.4.0 in packae.json
update yarn.lock too
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* script: Python3 compatibility for utf8 conversion
The unicode() method has been renamed to str() in Python3,
add a wrapper around it to support running against both versions.
* script: don't require python2 for git-[import,export]-patches
The scripts work just fine with python3 too, so use the generic
python executable as the script interpreter.
Most setups don't even require or provide python 2 anymore,
so this saves one from having to install it just for the scripts.
Co-authored-by: Romain Pokrzywka <rpokrzywka@nvidia.com>
If the npm_config_arch environment variable is set on Mac, then use the
specified architecture rather than overriding it to x64.
Co-authored-by: Tommy MacWilliam <tommy@serenade.ai>
* chore: bump chromium in DEPS to 98.0.4732.0
* chore: bump chromium in DEPS to 98.0.4734.0
* chore: bump chromium in DEPS to 98.0.4736.0
* chore: bump chromium in DEPS to 98.0.4738.0
* chore: bump chromium in DEPS to 98.0.4740.0
* chore: bump chromium in DEPS to 98.0.4742.0
* chore: bump chromium in DEPS to 98.0.4744.0
* chore: bump chromium in DEPS to 98.0.4746.0
* chore: bump chromium in DEPS to 98.0.4748.0
* chore: bump chromium in DEPS to 98.0.4750.0
* chore: bump chromium in DEPS to 98.0.4752.0
* chore: bump chromium in DEPS to 98.0.4754.0
* chore: bump chromium in DEPS to 98.0.4756.0
* chore: bump chromium in DEPS to 98.0.4758.0
* chore: bump chromium in DEPS to 98.0.4758.3
* chore: bump chromium in DEPS to 98.0.4758.5
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* 3292117: Remove unneeded base/compiler_specific.h includes in //chrome.
https://chromium-review.googlesource.com/c/chromium/src/+/3292117
(cherry picked from commit 1a84b21a5e461927c13a0601395b036cf668077a)
* 3289198: Enables calculating line, word and sentence boundaries on the browser
https://chromium-review.googlesource.com/c/chromium/src/+/3289198
(cherry picked from commit c8b1766a789d596273fe6bee8adab62e7963bc17)
* 3276176: Remove expired gdi-text-printing flag and associated code.
https://chromium-review.googlesource.com/c/chromium/src/+/3276176
(cherry picked from commit 0abd3208d6aa42f9329d50407290536d3196a19b)
* 3240963: content: allow embedder to prevent locking scheme registry
https://chromium-review.googlesource.com/c/chromium/src/+/3240963
(cherry picked from commit 19540a965d47205cb079738d3d11b12f82edbb98)
* 3269899: Rename WebContentsImpl::GetFrameTree to GetPrimaryFrameTree
https://chromium-review.googlesource.com/c/chromium/src/+/3269899
(cherry picked from commit a5b704e184c45cffd2dbc97e42bec76d52ed3f7a)
* chore: fixup patch indices
(cherry picked from commit dd9cb2a448c7368abab9e6733e442ad75ca9fc38)
* 3276279: Enable -Wshadow by default for the "chromium code" config.
https://chromium-review.googlesource.com/c/chromium/src/+/3276279
(cherry picked from commit ec20f7fc862de2b0057fe4d59c13d94b70a9e13c)
* 3279737: appcache: Remove WebPreference/WebSetting
https://chromium-review.googlesource.com/c/chromium/src/+/3279737
(cherry picked from commit 04088b5a4413f074cd4090838ed4ccb123f32c56)
* 3275564: [api] Advance API deprecation for APIs last marked in v9.6
https://chromium-review.googlesource.com/c/v8/v8/+/3275564
(cherry picked from commit 72ef5a0bced84ca5dbacb0de4e63fe73fc8d34e5)
* 3261873: Clean up WebScriptSource constructors
https://chromium-review.googlesource.com/c/chromium/src/+/3261873
(cherry picked from commit c277b0b411b2dcfabdab2798dd489aab2a01fa2c)
* 3279346: appcache: Remove ConsoleMessage appcache field
https://chromium-review.googlesource.com/c/chromium/src/+/3279346
(cherry picked from commit ea85e829ccd6fbf019b0056300232d0a4bf6a8e8)
* 3264212: Move legacy file loading to legacy_test_runner
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264212
Both Persistence and UI have been removed from globals, but the issues they
seemed to be patching are no longer reproducible from what I can tell, and
so we can just delete these and re-evaluate if something surfaces.
(cherry picked from commit f3e01465ce8b15af93aebdb5bd08fffed9dbe81c)
* 3290415: x11: remove the USE_X11 define.
https://chromium-review.googlesource.com/c/chromium/src/+/3290415
(cherry picked from commit 1351e45cb53851018675e707941d71f44e7bb2a7)
* 3179530: Defer system calls in PrintingContext for OOP printing
https://chromium-review.googlesource.com/c/chromium/src/+/3179530
(cherry picked from commit 4e235ab720ec3f2f7112b47be948469e9fc9023a)
* 3299445: Consolidate is_win conditionals in chrome/test/BUILD.gn.
https://chromium-review.googlesource.com/c/chromium/src/+/3299445
(cherry picked from commit d09ef41fc11f8190d6174d48506291c462420bbc)
* chore: update patch indices
(cherry picked from commit 77b72f77b8322e75c72debe446c34e38ccb0468c)
* 3223975: Break PrintJobWorker OOP logic into separate class
https://chromium-review.googlesource.com/c/chromium/src/+/3223975
(cherry picked from commit e02a7b1e8025709101f13e8a82398714a3c6f451)
* 3279001: Remove support for font-family: -webkit-pictograph
https://chromium-review.googlesource.com/c/chromium/src/+/3279001
(cherry picked from commit 01ba427a032dad1a1cb272bca8a420ec4f3d2198)
* chore: fixup patch indices
(cherry picked from commit 49d33970d6f8c5b5c9393d509c5727e66f9698a1)
* chore: update patches
(cherry picked from commit 266bb0db2ede34b8569d94fe6725b567a389fa83)
* chore: update patches
(cherry picked from commit 7ec7dac00dca5f00a09d11fe6b741470e4524519)
* chore: update printing patch for miracle ptr
(cherry picked from commit 4954c64859a7d4da2e57318b66d09fdc49d11327)
* chore: add noexcept to fix clang error
(cherry picked from commit ef9b7d1826c20f5df5442962a82815732dfb0086)
* chore: update patches
(cherry picked from commit 495e5c8dfb203002300f96924199e6cb86fe272e)
* chore: update patches
(cherry picked from commit c41579b260ae71bef2f6437ff21644ec0858ec35)
* 3293841: Remove File Handling permissions code
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3293841
(cherry picked from commit e6a5c4fa0c3d3c4f4cf77961d2f73f6f2bffa4dd)
* chore: update patches
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
(cherry picked from commit 1f0b5231ea12840cc3610ac306ec421d8bc884b1)
* 3289260: [CodeHealth]: Remove uses of Notification Service
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3289260
(cherry picked from commit 741d48c9d8e8740c9f3e3c2dbf2072fc76ca92ad)
* 3301600: Disable scripted print in fenced frames
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3301600
(cherry picked from commit 9ebe29ae559df0de103b29615990ff7b171e54ca)
* chore: add missing thread_restrictions headers
(cherry picked from commit 8440c2ff2ec1cb808e8f5d77eb75e41d9be7d0f6)
* 3305132: Rewrite most `Foo* field_` pointer fields to `raw_ptr<Foo> field_`.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3305132
(cherry picked from commit f4e090c9190fe919123b660d2e0909f09a66d03b)
* fix: add ppapi_sandbox header for linux
3311700: Move the PpapiPluginSandboxedProcessLauncherDelegate | https://chromium-review.googlesource.com/c/chromium/src/+/3311700
(cherry picked from commit 00335143af0dab4a1240670d73f9061f3f7dddb3)
* 3321044: Remove DictionaryValue::Clear()
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3321044
(cherry picked from commit 2cba28ab91d6a1e60024d8826e82bbe07e4a1b6e)
* chore: update printing.patch
Refs:
- 3304556: [code health] Remove notification observation from PrintJob. | https://chromium-review.googlesource.com/c/chromium/src/+/3304556
- 3305095: [code health] Remove NotificationService from PrintViewManagerBase. | https://chromium-review.googlesource.com/c/chromium/src/+/3305095
(cherry picked from commit b3e6811a687e5883a2e74ae044a2e52f0ac000bc)
* build: add v8-embedder-state headers to GN patch
(cherry picked from commit 46b085f0ae7b2fe3556efbed2a36853a23cccc1c)
* chore: update patches
* chore: update video consumers
(cherry picked from commit e78c76f76a3bc2d868a330434e33a16be48ebc76)
* refactor: use newer base::Value API
(cherry picked from commit 7d711f6a85245bc8b80e7601c992647be2dce40f)
* oops 😵💫
(cherry picked from commit e348ab73242e96f5c4d572d00185a5c25c218d26)
* chore: rename CookiePartitionKeychain
...to CookiePartitionKeyCollection
(cherry picked from commit b88f03dcb225f219ec78dd7463058231c74603e2)
* chore: update patch after rebase
* fix: WCO method got renamed
(cherry picked from commit f80c70fdccbc4847e08b2ef08849a1d00350d341)
* build: turn PartitionAlloc back off on mac for now
(cherry picked from commit 0ef90f5385411c7f8f9ab3904c644a0f254343cf)
* 3344749: Revert "Stop using NSRunLoop in renderer process"
https://chromium-review.googlesource.com/c/chromium/src/+/3344749
(cherry picked from commit de8e4afb6f7f24db2a6062dd7d2ddcabf13f3f16)
* chore: disable serial device enumerator sequence dcheck
(cherry picked from commit c3a51158ed572cecbe5818b78e9c91cd8c7e3367)
* chore: bump chromium in DEPS to 98.0.4758.9
* fix: comment out line in DeviceService dtor
(cherry picked from commit bf2af594c7336ff0c93a1155de7710a6c7387147)
* Revert "chore: bump chromium in DEPS to 98.0.4758.9"
This reverts commit 5d2232ff9aa70fb227c984272e2317f3946b03c2.
* fix: destructor for EmbedderStateScope
* fixup! 3279001: Remove support for font-family: -webkit-pictograph
(cherry picked from commit a0707af4facb31b8458723f9647201776b8431a3)
* fixup! 3279346: appcache: Remove ConsoleMessage appcache field
(cherry picked from commit c947cf23218818b81107c18331eaf21379f11db9)
* chore: update patches
* chore: bump chromium in DEPS to 98.0.4758.9
* chore: bump chromium in DEPS to 98.0.4758.10
* chore: bump chromium in DEPS to 98.0.4758.9
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: VerteDinde <khammond@slack-corp.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: clavin <clavin@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
* fix: Don't create console window when creating process
* Update patches/node/fix_don_t_create_console_window_when_creating_process.patch
Co-authored-by: Robo <hop2deep@gmail.com>
* Remove extra line in description
Co-authored-by: Raymond Zhao <raymondzhao@microsoft.com>
Co-authored-by: Raymond Zhao <rzhao271@gmail.com>
Co-authored-by: Robo <hop2deep@gmail.com>
CFLocaleGetValue() returned null and crashed the process when
app.getLocaleCountryCode() was run on a CircleCI metal resource class
macOS instance with Xcode 12.5.1. This change fixes that logic and adds
further checks to make the code future-proof.
Here too people are complaining that the returned country code migth be
null: https://stackoverflow.com/questions/15202454/nslocalecountrycode-returns-nil
Signed-off-by: Darshan Sen <darshan.sen@postman.com>
Co-authored-by: Darshan Sen <darshan.sen@postman.com>
The current description incorrectly states that the webFrame export represents the top frame but it actually represents the current frame.
Co-authored-by: Maciej Krawczyk <mckravchyk@gmail.com>
WebRTC has changed how they integrate into Chromium, they don't
expose their dependencies externally anymore. Instead, one must
now go through webrtc_overrides:
https://chromium.googlesource.com/chromium/src.git/+/cbc90fd093956
We're already including webrtc_overrides as a dependency which
includes the modules, so this extra deps isn't needed anymore.
Co-authored-by: Romain Pokrzywka <rpokrzywka@nvidia.com>
In the synchronous code path, gtk_native_dialog_run() will call
gtk_native_dialog_show(). Previously this was causing an assertion to be
hit at run time.
Co-authored-by: Tristan Partin <tristan@partin.io>
Add the native frame border size to the minimum and maximum size if
the view reports its size as the client size. It allows to enlarge
window to proper values when aspect ratio and max width/height are
set. It also fixes DCHECK which was triggered when user tried to
enlarge window above dimensions set during creation of the
BrowserWindow.
Co-authored-by: Cezary Kulakowski <cezary@openfin.co>