Electron Bot
e017d8714e
chore: bump chromium to adc5df74b86afdff676989ced8cd3 (master) ( #26223 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-11-13 16:16:56 -08:00
Jeremy Rose
ff33fa1970
refactor: merge CommonWebContentsDelegate into api::WebContents ( #26189 )
2020-11-10 09:06:56 -08:00
loc
0b85fdf26c
feat: add webContents.setWindowOpenHandler API ( #24517 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-11-10 09:06:03 -08:00
Cheng Zhao
02a8c0a640
fix: make draggable regions work when devtools is opened on macOS ( #26361 )
...
* fix: make draggable region work when devtools is open
* fix: update draggable regions when resizing
2020-11-09 16:54:04 -05:00
Electron Bot
bf89237f60
chore: bump chromium to 9b2191ea59cba1e2f6da4dbb7dee0 (master) ( #25995 )
2020-10-27 17:33:04 -07:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes ( #26165 )
2020-10-27 10:51:45 -07:00
David Sanders
4be10523e8
chore: use auto to avoid repeating type ( #26113 )
2020-10-26 11:56:31 -07:00
Milan Burda
aa157c3f05
feat: add osProcessId / name properties to webFrameMain ( #26093 )
...
* feat: add osProcessId / name properties to webFrameMain
* Update docs/api/web-frame-main.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-10-26 06:03:34 +03:00
Jeremy Rose
2d49d82072
chore: synchronously destroy WebContents on event prevented ( #26090 )
2020-10-23 15:04:07 +09:00
David Sanders
554ad93d45
chore: prefer empty() check for readability ( #26109 )
2020-10-22 13:24:59 -07:00
Samuel Maddock
10a209ecba
feat: add webPreferences.enablePreferredSizeMode ( #25874 )
...
* feat: add preferredSizeMode preference
* docs: webPreferences.preferredSizeMode and event
* docs: better explain preferred size
* docs: small improvement
* refactor: preferredSizeMode -> enablePreferredSizeMode
2020-10-21 15:44:19 -07:00
David Sanders
b194030a34
chore: cleanup some typos in comments ( #25770 )
2020-10-13 10:25:21 -07:00
Samuel Maddock
704d69a8f9
feat: add webFrameMain API to the main process ( #25464 )
2020-10-09 09:50:46 -07:00
CezaryKulakowski
73adeef877
fix: window.open doesn't work correctly in child window ( #25080 )
...
If speculative render view host is deleted during naviagation to
page we try to open with call to window.open window is destroyed
right after it is created. It may happen when naviagation triggers
redirect from http to https. To void that we should emit event
current-render-view-deleted only when render view host which was
destroyed is the current webcontent's rvh.
2020-10-07 16:11:19 -07:00
Samuel Attard
a189dc779e
feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process ( #25580 )
...
* feat: add webContents.forcefullyCrashRenderer() to forcefully terminate a renderer process
* chore: fix up docs and tests
2020-10-02 14:50:24 -07:00
CezaryKulakowski
b85195ee5f
fix: ensure ready-to-show event is fired ( #25632 )
2020-09-28 13:36:45 -07:00
Shelley Vohr
15c30c5649
fix: check printer list when no default printers ( #25515 )
2020-09-21 13:42:27 -07:00
Electron Bot
69f1731bbb
chore: bump chromium to ec5bc1743792d64724693eb357083 (master) ( #24984 )
...
* chore: bump chromium in DEPS to cbdeef954dfc34e94c8ca9cf72ad326b4a121158
* chore: bump chromium in DEPS to 29723f905baeab1d4228eef2c31cdb341ebeffe0
* chore: bump chromium in DEPS to 44d6d78e852137fff58c14ed26ab1e803e5bf822
* update patches
* chore: bump chromium in DEPS to 8a3a0fccb39d6b8334c9a0496c0d5056e50cdb3f
* chore: update patches
* refactor: fix PrintBackend::CreateInstance() calls
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2354541
* chore: bump chromium in DEPS to b9ebec3bcb1cabdd1426f367636f54cc98e0500e
* chore: remove patches to code that was deleted upstream
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2360314
* Remove uses of kCGColorSpaceITUR_2020_PQ_EOTF/HLG
CL: https://chromium-review.googlesource.com/c/chromium/src/+/2363950
just garden variety code shear
* chore: update patch indices
* Move ColorModel to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2355083
sync with printing ColorModel changes: moved to mojo, different naming scheme
* chore: bump chromium in DEPS to 56c4b4d2ce5ba941acd2e0fdb5100e8a48847134
* chore: bump chromium in DEPS to 130501f220b684a79dc82c17e236e63ac1f2a093
* Convert PrintHostMsg_DidGetPrintedPagesCount to Mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2326857
Update argument list to Print()
* chore: update patch indices
* DumpAccTree: convert utf16 to utf8 in PropertyFilter
https://chromium-review.googlesource.com/c/chromium/src/+/2360218
* chore: bump chromium in DEPS to 3058368c6646e0dc8be6f8ea838b0343428b7998
* chore: bump chromium in DEPS to f51b4e6555364363c61438dac7afd988c8347bfc
* chore: bump chromium in DEPS to 2dcc6f8fc23ac41b2499eb69dee0b4017e9d1046
* update patches
* chore: bump chromium in DEPS to 2d8e98ecedc7e4905540b053bc1c87e964715be5
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* update patches
* 2345900: Move content::RecordContentToVisibleTimeRequest struct to mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2345900
* 2367394: Remove net::LOAD_DO_NOT_SEND_COOKIES and net::LOAD_DO_NOT_SEND_AUTH_DATA.
https://chromium-review.googlesource.com/c/chromium/src/+/2367394
* 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
https://chromium-review.googlesource.com/c/chromium/src/+/2373227
* fixup! 2373227: [XProto] Consolidate all <X11/*> includes to //ui/gfx/x/x11.h
* chore: bump chromium in DEPS to c090e3f960520cbd2328608b97f87238c76d6143
* update patches
* chore: bump chromium in DEPS to 13a25e0a755de9a14271022c595f3d2e29829e1a
* chore: bump chromium in DEPS to 6adbb767b012c41efaeab0d1bdbb3eefed0977bc
* chore: bump chromium in DEPS to 339ec5455c5932ef1322ea9953a6349b0732199e
* chore: bump chromium in DEPS to 20291807c33f7ef4ef4f57d62075e099b027bfe6
* chore: bump chromium in DEPS to 226fbd1b8b17d4ac84fdb9548ef3a1c646878d47
* update patches
* fixup disable_color_correct_rendering patch
* chore: bump chromium in DEPS to 577c45979cad4359f2e206d68efd9317d3d79315
* update patches
* viz: Rename RenderPass to CompositorRenderPass (and related types).
https://chromium-review.googlesource.com/c/chromium/src/+/2380730
* chore: bump chromium in DEPS to 37e2ad5303f2c03a1b5d8eda65341bf2561196cd
* update patches
* add kOmitCookies_Electron
* update patch
* chore: bump chromium in DEPS to 256e42409ea63a7e71016de07818a983a97db463
* update patches
* fix worker script ready hook
https://chromium-review.googlesource.com/c/chromium/src/+/2335713
* Fixup printing page ranges patch
* [printing] Move PrintMsg_PrintPages_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2340854
* Add MIME sniffer overloads that take base::StringPieces
https://chromium-review.googlesource.com/c/chromium/src/+/2382896
* [printing] Move PrintHostMsg_PreviewIds to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2379455
* fixup test due to new DCHECK
https://chromium-review.googlesource.com/c/chromium/src/+/2333750
* stop sending cookies when useSessionCookies is false
* chore: bump chromium in DEPS to dd429dbc556449951ee8160d8a4d61fd95a139d5
* update patches
* chore: bump chromium in DEPS to 5202bde3f9f44c2065f5dacf27e7000dd19e4e4d
* chore: bump chromium in DEPS to 099e8e07b89da65932431bb0fd51b6f7f5344c19
* chore: bump chromium in DEPS to 104e5da2a43b759732d5b94bfc750b3a9a639653
* chore: bump chromium in DEPS to a4519ce657af25834e355315fd7fefa77b13426a
* update patches
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* Make FileURLLoaderFactory always owned by its |receivers_|.
https://chromium-review.googlesource.com/c/chromium/src/+/2337411
* chore: bump chromium in DEPS to 1b62e9e8c8eaf6b8e3a9c77ee67a4c1bfa6a4d6b
* chore: update patches
* fixup! Make FileURLLoaderFactory always owned by its |receivers_|.
* chore: update patches
- mac: Disable CoreServices _CSCheckFix.
https://chromium-review.googlesource.com/c/chromium/src/+/2401334
- [XProto] Remove bad DCHECK in x11_error_tracker.cc
https://chromium-review.googlesource.com/c/chromium/src/+/2402304
- Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* Refactor WebContentSettingsClient to dedupe AllowXYZ methods
https://chromium-review.googlesource.com/c/chromium/src/+/2353552
* Introduce NonNetworkURLLoaderFactoryBase class.
https://chromium-review.googlesource.com/c/chromium/src/+/2357559
* [XProto] Remove usage of all Xlib headers
https://chromium-review.googlesource.com/c/chromium/src/+/2392140
* fixup! chore: update patches
* chore: bump chromium in DEPS to c1df55fbeb8207d036a604f59e4ea4e8ee79930a
* chore: update patches
* Move content::WebPreferences struct to Blink
https://chromium-review.googlesource.com/c/chromium/src/+/2397670
* chore: bump chromium in DEPS to 57a23ec4884fff6c2f8d9b8536131cdc9b551ec2
* Set appid on Pip windows.
https://chromium-review.googlesource.com/c/chromium/src/+/2388274
* fixup! Set appid on Pip windows.
* fix: add a patch to remove deprecated factory
* chore: bump chromium in DEPS to 1a9ddb7ea43955877823d5c4dcbf241b64228635
* fix compilation on windows
* chore: bump chromium in DEPS to 234e6c6a77f61ffad9335099d9b13892cf88fd44
* chore: update patches
* chore: bump chromium in DEPS to 7631eb0a9f57a8a47d3c28e1d265961b3a4d6b2b
* chore: update patches
* chore: bump chromium in DEPS to f9c34cd485845b95c2d17a7f55fdf92cda9a1b3a
* chore: update patches
* chore: implement GetSurveyAPIKey
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2362182
* chore: replace CreateWebUIURLLoader with CreateWebUIURLLoaderFactory
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2358309
* chore: bump chromium in DEPS to 5bdbd2373da884adf41c087be1465fcc344d168c
* chore: update node patches for common.gypi
* chore: update patches
* chore: non_network_url_loader_factory_base was moved
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2357431
* 2415752: Reland "Reland "OOR-CORS: Remove BlinkCORS supporting code outside Blink""
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2415752
* chore: bump chromium in DEPS to b943d006a33ec5bc1743792d64724693eb357083
* fix: replace x11::None with x11::Window::None
* chore: update patches
* chore: update patches
* fix: cast x11::Window to int
* 2402123: Use end date when deleting http auth cache
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2402123
* 2320268: Migrate DragHostMsg_StartDragging to Mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2320268
* 2401303: Move content/browser/frame_host/* over to content/browser/renderer_host/
https://chromium-review.googlesource.com/c/chromium/src/+/2401303
* chore: fix lint
* chore: fix build
* Update config.yml
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
2020-09-21 01:00:36 -07:00
Samuel Maddock
5a8046c994
fix(extensions): devtools now open for background pages ( #22217 )
...
refactor(extensions): remove unused InitWithBrowserContext method
fix(extensions): release background page WebContents to avoid crash
The background page WebContents instance is managed by the ExtensionHost.
fix(extensions): open background page devtools detached by default
test(extensions): add background page devtools test
chore: test fix for null web_contents()
fix: close background page devtools in test after opening
2020-09-08 20:55:40 +09:00
Samuel Attard
a6b9f9d8e5
fix: only focus a webContents if the window was not initially hidden ( #25292 )
2020-09-04 15:57:29 +09:00
Shelley Vohr
a4b6fce907
fix: honor pageRanges when printing ( #25064 )
2020-08-27 20:21:29 -07:00
Shelley Vohr
c8a0b2b71d
fix: prevent crash if BrowserView webContents was destroyed ( #25112 )
2020-08-25 20:04:13 -07:00
Samuel Attard
b1e2185c5e
refactor: wire will-navigate up to a navigation throttle instead of OpenURL ( #25065 )
...
* refactor: wire will-navigate up to a navigation throttle instead of OpenURL
* spec: add test for x-site _top navigation
2020-08-21 12:34:09 -07:00
Electron Bot
53033a66b1
chore: bump chromium to 7d4ac110045b7647fa8a81f5f0709 (master) ( #24970 )
...
* chore: bump chromium in DEPS to 760c905ccca34d8ed83c54f6a42c42a375792a6b
* chore: update patches
- Introduce WebContentsObserverList to encapsulate common behaviour
https://chromium-review.googlesource.com/c/chromium/src/+/2343269
- DumpAccTree mac testing: refactor tree formatter logic to make it
suitable for nested attribute calls
https://chromium-review.googlesource.com/c/chromium/src/+/2274545
- Fix FontPlatformDataMacTest.VariableOpticalSizingThreshold for Big Sur
https://chromium-review.googlesource.com/c/chromium/src/+/2351299
* chore: bump chromium in DEPS to b04584161e07d4ac110045b7647fa8a81f5f0709
* chore: update patches
* [printing] Move printing::MarginType to //printing/mojom/print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2341222
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-08-14 18:51:28 -07:00
Electron Bot
8798571a77
chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) ( #24687 )
...
* chore: bump chromium in DEPS to 1f1c4d91f6eaa4a033ec8f499d63a0717f79a42a
* viz: Do not apply white level scaling for RGBA fp16 HDR video
https://chromium-review.googlesource.com/c/chromium/src/+/2296006
* Move WebPreferences to WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* Fix missing WeakPtr check in PreconnectManager
https://chromium-review.googlesource.com/c/chromium/src/+/2309029
* Fixup swiftshader roll revision
* Update patch indices
* Move WebDeviceEmulationParams into common.
https://chromium-review.googlesource.com/c/chromium/src/+/2303356
* Move EnableDisableDeviceEmulation to blink mojom messages
https://chromium-review.googlesource.com/c/chromium/src/+/2303367
* PDF Viewer: Remove flag for two-up view
https://chromium-review.googlesource.com/c/chromium/src/+/2311130
* Add mojom definition for DeviceEmulationParams.
https://chromium-review.googlesource.com/c/chromium/src/+/2303491
* Remove ServiceWorkerContextWatcher from PaymentAppInstaller
https://chromium-review.googlesource.com/c/chromium/src/+/2291186
* Loader: Move transferrable_url_loader.mojom into blink's mojom directory
https://chromium-review.googlesource.com/c/chromium/src/+/2306123
* chore: bump chromium in DEPS to 4974f436479739025a90ebc2cc2e36d67ee1ac46
* mac: Work around Xcode 12b3 SDK bug
https://chromium-review.googlesource.com/c/chromium/src/+/2315078
* Reland Update core items for macOS Big Sur.
https://chromium-review.googlesource.com/c/chromium/src/+/2315162
* Update Swiftshader revision
* mac/arm64: When cross-building the snapshot, use page size of the target ISA instead of the host.
https://chromium-review.googlesource.com/c/v8/v8/+/2310575
* Update patch indices
* Rename {,Non}ClientView::CanClose() to OnWindowCloseRequested()
https://chromium-review.googlesource.com/c/chromium/src/+/2247838
* chore: bump chromium in DEPS to e9465d70d1dea539400f0fddad43358ea3c31d71
* chore: bump chromium in DEPS to bd5b71c5f20288eb26068a39ae6e0579566a51c5
* chore: bump chromium in DEPS to 786ee543048bd07d07c5ac50b7dbbdd6bdd8dcce
* chore: bump chromium in DEPS to 34eb6ecbf2c5894b648900bf771a2a29de204798
* chore: bump chromium in DEPS to 567ff038d68e3adb8116a01eec863cdf34d775f5
* chore: bump chromium in DEPS to 340b45c8d4ceb2dd61969fc34e1928d3c46db48c
* chore: update patches
* chore: base::DeleteFile with two params is removed
Should use base::DeleteFile and base::DeletePathRecursively when
appropriate
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2313376
* chore: add patch for NodePlatform::PostJob impl
* chore: update patches
* chore: extension file access is now instrumented
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2209995
* chore: implement SetWindowFrameInScreen in OSR RWHV
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2321409
* chore: NotifyUserActivation requires a type now
This is just for a histogram thing and therefore it does not matter what
we pass in
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2281303
* chore: update patches
* chore: bump chromium in DEPS to cd570e6dd3dcb84463ac252b04e92ceb02d8400c
* chore: update patches
* chore: bump chromium in DEPS to 0187908a31866992b90c59719ac1d016328f6ee0
* chore: bump chromium in DEPS to 3c9df38c508f3dba26a75248beed4882ddfb98e9
* chore: bump chromium in DEPS to 1a47d3b9cee710bd3c958c4f2d8b205710df9d50
* chore: bump chromium in DEPS to baac93040d96abdab72d46dd034c60f86e108702
* chore: bump chromium in DEPS to 13836145f97299e636491de38064b78861c4fb2e
* update patches
* change OS_MACOSX -> OS_MAC
Refs: https://bugs.chromium.org/p/chromium/issues/detail?id=1105907
* patch: add header for ToExecutionContext in WebMessagePortConverter
* chore: bump chromium in DEPS to 91ab9b6ac5d04dc034a03ad847fbfa8261328c2b
* update patches
* NeedToFireBeforeUnloadOrUnload -> NeedToFireBeforeUnloadOrUnloadEvents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2288711
* chore: bump chromium in DEPS to 290deb11f0e30cb1382fd8f8793d340560283c23
* update patches
* add dragdrop header for autofill popup
* int -> x11::Time
* patch out accessibility private API use
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2330812
* remove usage of XEvent
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2317767
* trigger recalculation of WebPreferences before renderer initialization
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2263635
* chore: bump chromium in DEPS to 6bdb484583b99c96ef3388d0c2184326581b2d5a
* chore: bump chromium in DEPS to 1eb2a79cde04fd5c8ae51b4d813e6521635269e5
* chore: bump chromium in DEPS to 3dc8e3c0f400e4ca9c0a63d7a39bd910997ad4c6
* chore: update patches
* fixup! trigger recalculation of WebPreferences before renderer initialization
* views: Make MenuButton and RadioButton default constructible
https://chromium-review.googlesource.com/c/chromium/src/+/2339586
* chore: fix code style
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <sattard@slack-corp.com>
Co-authored-by: Andy Locascio <andy@slack-corp.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-08-12 11:33:58 -07:00
Jeremy Rose
b5cd9ce0b3
refactor: ginify WebContents ( #24651 )
2020-07-30 09:17:57 -07:00
Robo
b6321cc22d
fix: crash when navigating from a page with webview that has inherited zoom level ( #24757 )
...
* fix: cleanup webview zoom level observers on navigation
* add spec
* webview should be on same partition
* wait for webview to finish loading
2020-07-28 13:00:44 -07:00
Electron Bot
2fb14f53fe
chore: bump chromium to 1a093e6a0cb5e72ba78990fe39824 (master) ( #24575 )
2020-07-21 22:34:34 -07:00
Jeremy Rose
e5cb22b7f9
refactor: use gin::Arguments in WebContents ( #24604 )
2020-07-20 11:07:02 -07:00
Jeremy Rose
45551f6bf2
refactor: WebContents::From returns pointer ( #24605 )
2020-07-16 16:16:05 -07:00
Jeremy Rose
eb7c04c7c4
refactor: stop using isolate() in WebContents ( #24602 )
2020-07-16 14:11:44 -07:00
Shelley Vohr
91cdedfea9
fix: default to simplex for printing DuplexMode ( #24489 )
2020-07-13 11:31:39 -04:00
Electron Bot
72a089262e
chore: bump chromium to a84d34e372b8fb5e9a94b1b4b447e (master) ( #23908 )
...
* chore: bump chromium in DEPS to a7249f73ae05d456c04487ef1693325f719556dd
* chore: bump chromium in DEPS to 202466fa40b58f0bb9c9a76a037d1c50154c099e
* chore: bump chromium in DEPS to 2dd1b25c8d794b50fb0dd911e0c4e909ff39f145
* Update patches
* update patches
* Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
https://chromium-review.googlesource.com/c/chromium/src/+/2226002
* chore: bump chromium in DEPS to 8c1542e7dd36854fdf4abd1a8021eeb65a6a2e2b
* chore: bump chromium in DEPS to 078bc6d796334fb403acd8975b99d1c8ecd028e8
* chore: bump chromium in DEPS to d96e9f16ae852ec9dbd15bf17df3d440402413bb
* update patches
* chore: update patches
* Use ExtensionSystem::is_ready() instead of ExtensionService::is_ready()
https://chromium-review.googlesource.com/c/chromium/src/+/2207499
* Remove WebImeTextSpan
https://chromium-review.googlesource.com/c/chromium/src/+/2225240
* Remove PDFAnnotations flag altogether.
https://chromium-review.googlesource.com/c/chromium/src/+/2229317
* Rework find-from-selection so it's synchronous -- fixes flaky tests
https://chromium-review.googlesource.com/c/chromium/src/+/2181570
* fixup! Revert "[printing] Mojofy PrintHostMsg_CheckForCancel"
* chore: bump chromium in DEPS to a8a280835830c65145ed8573a9a09f36d3920418
* update sysroots
* update patches
* update patches
* Take RFH as a parameter for DidUpdateFavicon/ManifestURL
https://chromium-review.googlesource.com/c/chromium/src/+/2224745
* chore: bump chromium in DEPS to b6149cb5a5e32caf8eab67b97ef3072b72521ca8
* Update patches
* Rename net::cookie_util::StripStatuses to StripAccessResults
https://chromium-review.googlesource.com/c/chromium/src/+/2212697
* use net::CookieAccessResultList instead of net::CookieAccessResultList
* fix mas_no_private_api patch
https://chromium-review.googlesource.com/c/chromium/src/+/2230281
* chore: bump chromium in DEPS to a27feee1643d952e48f77c92d8c03aedea14b720
* update patches
* fix: add new navigation state REUSE_SITE_INSTANCE
To fix the new set of state checks added in
https://chromium-review.googlesource.com/c/chromium/src/+/2215141
* chore: bump chromium in DEPS to ff4559a4c13d20888202474e4ab9917dbdad8a9a
* update patches
* Cleanup usages of old mojo types and remove unused code
https://chromium-review.googlesource.com/c/chromium/src/+/2235699
* chore: bump chromium in DEPS to 05279845f76eb22900a8b0d1a11d4fd339a8e53b
* chore: bump chromium in DEPS to 821558279767cffec90e3b5b947865f90089fed3
* chore: bump chromium in DEPS to 1aef04e6486be337d3dd820b2d64d6320a1b9c13
* chore: bump chromium in DEPS to dc86386e8fdd796a0f7577e91e42a7f8b7e9bc78
* chore: bump chromium in DEPS to 64f2360794f14643764092ba3e58e2ed8f9fee12
* chore: update patches
* refactor: MessageLoop, you are terminated \o/
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2246173
* refactor: plumb DownloadSchedule to DownloadItem
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2242202
* chore: fix variable typo in IPC
* chore: s/BindPipeAndPassReceiver/BindNewPipeAndPassReceiver
* chore: update patches
* chore: XEvent becomes x11::Event
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2240355
* fixup! refactor: MessageLoop, you are terminated \o/
* fixup! chore: XEvent becomes x11::Event
* build: update v8 headers
* chore: fix windows build
* chore: disable SameSite-by-default changes
https://chromium-review.googlesource.com/c/chromium/src/+/2231445
* update printing.patch
* chore: bump chromium DEPS to 9ae03ef8f7d4f6ac663f725bcfe70311987652f3
* Convert WidgetHostMsg_SelectionBoundsChanged/TextInputStateChanged
https://chromium-review.googlesource.com/c/chromium/src/+/2243531
* chore: update v8 patches
* [XProto] Replace usages of XID and ::Window with x11::Window
https://chromium-review.googlesource.com/c/chromium/src/+/2249389
* Update VideoFrameMetadata to use base::Optionals
https://chromium-review.googlesource.com/c/chromium/src/+/2231706
https://chromium-review.googlesource.com/c/chromium/src/+/2238361
* --disable-dev-shm-usage for gpu process crash
* [v8] Allow for 4GB TypedArrays
https://chromium-review.googlesource.com/c/v8/v8/+/2249668
* update lib_src_switch_buffer_kmaxlength_to_size_t.patch
* disable app.getGPUInfo spec on linux
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-06-22 10:35:10 -07:00
Milan Burda
cb6476fd12
chore: cleanup unused WebContents::DereferenceRemoteJSObject() ( #24167 )
2020-06-17 16:50:21 +02:00
Jeremy Rose
78fe545d18
refactor: remove renderer-side refcount in remote ( #24054 )
2020-06-11 10:22:28 -07:00
Eryk Rakowski
04be1ac4a1
fix: assign session to remote webContents ( #23989 )
...
* fix: assign session to remote webContents
* fix: test name
2020-06-11 12:57:51 +09:00
Electron Bot
a4de915b74
chore: bump chromium to d66c2e32380bf5d1eb5e1fe37faef (master) ( #23791 )
...
* chore: bump chromium in DEPS to db7d7b3e7cb2bc925f2abfde526280cfdfc21a41
* Update patches
* chore: bump chromium in DEPS to 5613e1b99a44fcbe22f3910f803ca76903a77ec1
* Update patches
* Network service: Remove primary_network_context bool.
https://chromium-review.googlesource.com/c/chromium/src/+/2204678
* WebContentsObserver now implements OnRendererResponsive
https://chromium-review.googlesource.com/c/chromium/src/+/2211066
* update patches
* Fixup printing patch
* chore: bump chromium in DEPS to e387b972cdd7160c416fa6c64a724e2258aa0218
* update patches
* [printing] Move PrintHostMsg_DidPrintContent_Params to print.mojom
https://chromium-review.googlesource.com/c/chromium/src/+/2212110
* [XProto] Move items from ::x11::XProto to ::x11
https://chromium-review.googlesource.com/c/chromium/src/+/2218476
* revert Add IChromeAccessible
This was added in https://chromium-review.googlesource.com/c/chromium/src/+/2206224 but it breaks WOA builds because third_party/win_build_output/midl/ui/accessibility/platform/arm64 does not exist. The link above says that the new interface is behind a feature flag which is disabled by default so it is safe to remove for now.
* rebaseline ichromeaccessible for Windows arm64
This patch will not be needed once we get the next roll.
* Update to 1b9e01844e8bf1aaafc4a52c0c62af7f56d9637b to get arm64 fix
* update patches
* chore: bump chromium in DEPS to 096aefa04092ea00f7b68d8d19345883f20db3c3
* chore: bump chromium in DEPS to a524a45ffd1d6fd46a7a86138fe2b22df5b6651a
* chore: update patches
* Window Placement: Gate cross-screen fullscreen behavior on permission
https://chromium-review.googlesource.com/c/chromium/src/+/2203268
* chore: add spec for https://crbug.com/1085836
* chore: bump chromium in DEPS to ff6c4f4b826d66c2e32380bf5d1eb5e1fe37faef
* update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-06-01 16:34:34 -04:00
Electron Bot
dc72f74020
chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) ( #23379 )
...
* chore: bump chromium in DEPS to 5ce64b91b4d6a78c97480059f15ff6469fc0918e
* chore: bump chromium in DEPS to e74c73d0000f81b3f40a513176c8d024bba57d28
* chore: bump chromium in DEPS to 501640e650d4657ba63db65fa257e4a899168de7
* chore: bump chromium in DEPS to 00db20e1bc3d77706723a87ada3c1c647a1c37b7
* chore: update patches
* refactor: AddNewContents now takes a target_url
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2167732
* chore: SetHostCleanupFinalizationGroupCallback has been removed from V8
* refactor: use WebInputEvent::Namespace types directly
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2160523
* refactor: FollowRedirect takes in cors exempt headers now
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2129787
* refactor: printing::DuplexMode moved to mojo
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2162388
* refactor: use MessagePortDescriptor instead of raw mojo::MessagePipeHandles
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* chore: update patches
* chore: bump chromium in DEPS to f1537676d613f3567cfb43adf577b3847fba4bc3
* chore: update patches
* refactor: service_manager::BinderMapWithContext merged into mojo::BinderMap
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2174654
* chore: unused argument removed from ReadAvailableTypes in ui::Clipboard
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2173666
* chore: bump chromium in DEPS to 949888433ab935dd6125c107226a4c9d6da9bf48
* chore: update patches
* update patches
* chore: update sysroots
* chore: bump chromium in DEPS to eaac5b5035fe189b6706e1637122e37134206059
* chore: bump chromium in DEPS to 258b54b903d33dab963adf59016691e6537f8b70
* build: update patches
* refactor: cursor.mojom and cursor_types.mojom moved to //ui/base/cursor/mojom
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172874
* chore: DesktopWindowTreeHostLinux becomes DesktopWindowTreeHostPlatform
Refs:
* refactor: LogErrorEventDescription moved from ui to x11
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2164245
* chore: update patches
* chore: bump chromium in DEPS to bd06abcfe807d4461683479237cdd920dafa52ca
* chore: bump chromium in DEPS to 1afb0891e56f1e79d204db43ca053a46d0974511
* chore: bump chromium in DEPS to 5cb0f794bf7f155bf8c0a241b94e01c9d90c2744
* chore: bump chromium in DEPS to 37327ba3303234e1a3cd3310ca11a68e81b95123
* update patches
* remove ClientSideDetectionService from browser_process
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2175320
* refactor: shuttle cursor changed event to WebContentsObserver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2172779
* chore: bump chromium in DEPS to 1d97904bb6936e106df13705208b73e47367c2b9
* avoid IPC crash introduced earlier in the roll
Refs: b67334e781 (diff-607f4e8f7c5686aa09af98c783925babR128)
* remove WebContentsView::SizeContents
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2188931
* chore: bump chromium in DEPS to 87066d1db0546a9de33952ba964e1e42f76f1dae
* update patches
* adapt to //content creating NetworkContexts
https://chromium-review.googlesource.com/c/chromium/src/+/2195196
* WIP temporarily ignore mojo-ified PrintHostMsg_PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
* add checkout_pgo_profiles to DEPS
* chore: bump chromium in DEPS to a095318bec1dedf580d676f408eaeefdbd9956b1
* add blink's execution_context to electron_lib deps
Refs:
b67334e781
#, https://chromium-review.googlesource.com/c/chromium/src/+/1952124
* update patches
* update patches
* refactor: use newly mojo-ified PrintPreviewFailed
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195343
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: update patches
* chore: remove NOTIFICATION_EXTENSIONS_READY_DEPRECATED
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2199874
* avoid a call to Profile::FromBrowserContext in printing
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2195757
* chore: bump chromium in DEPS to 8f5c6a46861a991e12ffd80554b6bd41a11b0b65
* chore: bump chromium in DEPS to ab66134739ff3b6bdb8de53bbc58a97d1b7b5d8a
* chore: bump chromium in DEPS to dd08df9f6c8d6198f0a7b931ca9e845e27dae033
* chore: update patches
* [printing] Mojofy PrintHostMsg_PrintPreviewCancelled
https://chromium-review.googlesource.com/c/chromium/src/+/2198331
* [printing] Mojofy PrintHostMsg_PrintPreviewInvalidPrinterSettings
https://chromium-review.googlesource.com/c/chromium/src/+/2200556
* [printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview
https://chromium-review.googlesource.com/c/chromium/src/+/2201496
* fix: inherit base network context params
* fix: use message handle api specific to embedders
* update patches
* chore: update v8 headers
* fixup! avoid a call to Profile::FromBrowserContext in printing
* chore: bump chromium in DEPS to f198bc3276828d992b6202d75a9da6a8363164ea
* chore: update patches
* Remove cors_exempt_headers.h
https://chromium-review.googlesource.com/c/chromium/src/+/2203759
* Supply speech recognition sandbox from service_sandbox_type.h
https://chromium-review.googlesource.com/c/chromium/src/+/2206918
* [content] Remove unused methods from WebContents
https://chromium-review.googlesource.com/c/chromium/src/+/2199113
* [XProto] Replace XAtom with x11::Atom
https://chromium-review.googlesource.com/c/chromium/src/+/2202789
* chore: bump chromium in DEPS to 5df37fabaaed09f3ea511f4ef49203d8ebee7b68
* [UI] Support secondary labels in dropdown menus
https://chromium-review.googlesource.com/c/chromium/src/+/2208976
* chore: update patches
* refactor: GetSublabelAt => GetSecondaryLabelAt
* Revert "[printing] Mojofy PrintHostMsg_DidPrepareDocumentForPreview"
This reverts commit 44ed0892a0c81716229638f17253bbb2cf8f037d.
https://chromium-review.googlesource.com/c/chromium/src/+/2208778
* Unnest CanonicalCookie::CookieInclusionStatus
https://chromium-review.googlesource.com/c/chromium/src/+/2203171
* update print-to-pdf.html with latest html data
https://bugs.chromium.org/p/chromium/issues/detail?id=1085667
* chore: bump chromium in DEPS to 5dfa8d5f706580fe983e138952553cd6af11ee8b
* fix crash in x server when setting window icon
* chore: update patches
* Use a normal return value for WebContentsView::GetContainerBounds.
https://chromium-review.googlesource.com/c/chromium/src/+/2212481
* fix build on windows
* chore: bump chromium in DEPS to 9d15054f4cba060901e43deecf74002f11f47be3
* chore: update patches
* [printing] Mojofy PrintHostMsg_CheckForCancel
https://chromium-review.googlesource.com/c/chromium/src/+/2212181
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Andy Locascio <andy@slack-corp.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
2020-05-26 13:06:26 -07:00
Cheng Zhao
08f288faf1
test: use WebContents event to test beforeunload ( #23699 )
2020-05-26 09:21:38 -04:00
Milan Burda
4afc756094
feat: add contents.getBackgroundThrottling() + backgroundThrottling property ( #21036 )
2020-05-14 15:11:45 +02:00
Samuel Attard
34da3bc500
feat: add new render-process-gone event ( #23096 )
2020-05-11 13:42:24 -07:00
Shelley Vohr
6114518463
fix: NSImageName string conversion ( #23467 )
2020-05-11 10:24:45 +09:00
Sorah Fukumori
f176d2494f
fix: respect system language preferences on Win/macOS ( #23247 )
...
This commit fixes https://github.com/electron/electron/issues/18829
Previously the full preferences set to OS was not given to Chromium.
Also, this commit improves fallback font selection for CJK text.
Chromium uses browser languages to determine fallback fonts on Windows,
especially kanji/han characters in CJK.
For instance, when user sets 'en-US, ja-JP' to Accept-Language,
while Chromium chooses Japanese font for kanji text, but Electron
chooses Chinese font. This is because only the first language was given
to Accept-Language on Electron.
This patch is based on https://github.com/electron/electron/pull/15532
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com>
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net>
Co-authored-by: Nitish Sakhawalkar <nitsakh@icloud.com>
Co-authored-by: Kasumi Hanazuki <kasumi@rollingapple.net>
2020-05-04 10:49:29 -07:00
Electron Bot
1bbb407dc9
chore: bump chromium to 2600291d041c530698616a4716cdf (master) ( #23122 )
...
* chore: bump chromium in DEPS to 99e60beb593ecf98f8a441e3f03a13b68cfcb311
* update patches
* chore: bump chromium in DEPS to b1abadda21f417ba5e8276c4dd779d31445d16cd
* update patches
* 2146532: gtkui: Fix standalone Ozone/Wayland configuration
https://chromium-review.googlesource.com/c/chromium/src/+/2146532
* 2145152: Pass source URL when setting a cookie
https://chromium-review.googlesource.com/c/chromium/src/+/2145152
* lint
* chore: bump chromium in DEPS to 8897189f1da5a3670bbe32d343767fd71f80d779
* chore: bump chromium in DEPS to 8ac51eeee93a02ed5b81f47e28627079edeecde0
* chore: bump chromium in DEPS to e897b8003f3a5f3c8d654eee9b03c513046ae7ea
* chore: bump chromium in DEPS to 7b80f9c82122600291d041c530698616a4716cdf
* Update patches
* Move definition of WebInputEvent enums into mojo
https://chromium-review.googlesource.com/c/chromium/src/+/2152777
* update patches
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-04-20 20:25:38 -04:00
Electron Bot
e145fcb3f0
chore: bump chromium to 8f405dc5d5e416ffaf640aa3d088a (master) ( #23107 )
...
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-04-14 17:14:38 -07:00
Electron Bot
3e8d77d564
chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) ( #22999 )
...
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: Electron Bot <anonymous@electronjs.org>
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net>
2020-04-13 16:39:26 -07:00
loc
5154e8ff75
fix: enable workaround for nativeWindowOpen hang ( #22825 )
2020-04-13 11:37:41 -04:00
Heilig Benedek
74372d65ae
feat: enhance native window.open to match the custom implementation's behavior ( #19703 )
...
Co-authored-by: Andy Locascio <andy@slack-corp.com>
2020-03-26 11:05:45 -07:00
Electron Bot
d8737734bf
chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) ( #22649 )
...
* chore: bump chromium in DEPS to 9321f32fb1b3af8fdfce55c7bbfacf3f75118dca
* Update patches
* Update electron_swiftshader_binaries deps
https://chromium-review.googlesource.com/c/chromium/src/+/2056931
* Use Promise with RequestPointerLock calls
https://chromium-review.googlesource.com/c/chromium/src/+/2069199
* Replace content::CursorInfo with ui::Cursor
https://chromium-review.googlesource.com/c/chromium/src/+/1999201
* Convert MaterialDesignController to a true singleton.
https://chromium-review.googlesource.com/c/chromium/src/+/2090877
* Drop WebContentsView::RenderViewCreated hook
https://chromium-review.googlesource.com/c/chromium/src/+/2093535
* chore: bump chromium in DEPS to 6478123cfa0102ed754c70eb9bbdd391d676a4dd
* Splitting context_menu_params.h into separate browser VS common parts.
https://chromium-review.googlesource.com/c/chromium/src/+/2097468
* Fix DCHECK on OnThemeChanged()
https://chromium-review.googlesource.com/c/chromium/src/+/2090713
* chore: bump chromium in DEPS to b0269bb003f699bc8ea7dcba8b0795ef963696d7
* Remove no longer needed patch
* Check PointerLock requests for new options and update accordingly
https://chromium-review.googlesource.com/c/chromium/src/+/2071788
* Address issues from review
* Fixup compile error
* Add additional library files
* chore: bump chromium in DEPS to a41285fb8aebc8f70ed4cfe2262ea833750eaddb
* Update patches
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-03-14 16:54:14 -04:00
Shelley Vohr
a4c4c86b9d
fix: crash on invalid zoomFactor ( #22673 )
2020-03-13 16:13:05 -07:00