* chore: bump chromium in DEPS to 91.0.4435.3
* build: add 'use_rts' definition
Refs: 2694187
* chore: update patches
* chore: media_internal_resources becomes resources
Refs: 2699022
* chore: update patches
* refactor: extensions::ViewType moved to mojom
Refs: 2710351
* chore: might_have_observers has been removed
Refs: 2667839
* refactor: CertVerifier is not in the network namespace anymore
Refs: 2689805
* refactor: ExtensionUserScriptManager is now UserScriptManager
Refs: 2657617
* refactor: content::SiteInstance::GetSiteForURL was removed
Refs: 2680274
* refactor: MenuItemType was moved to mojom
Refs: 2071443
* refactor: extensions::ViewType was moved to mojom
Refs: 2710351
* refacotr: grit::ResourceMap replaced with webui::ResourcePath
Refs: 2685601
* refactor: blink::MenuItem::Type was moved to mojom
Refs: 2071443
* refactor: CreateDataPipe deprecated form was removed
Refs: 2698090
* refactor: DesktopMediaList::Type replaces content::DesktopMediaType_*
Refs: 2700637
* chore: wire up activation_time in OSR
Refs: 2638372
* chore: remove deleted file from chromium_src list
* chore: fix lint
* update patches
* chore: bump chromium in DEPS to 91.0.4438.0
* chore: bump chromium in DEPS to 91.0.4439.0
* chore: bump chromium in DEPS to 91.0.4440.0
* chore: bump chromium in DEPS to 91.0.4441.0
* chore: bump chromium in DEPS to 91.0.4442.0
* chore: bump chromium in DEPS to 91.0.4443.0
* chore: bump chromium in DEPS to 91.0.4445.0
* chore: bump chromium in DEPS to 91.0.4446.0
* chore: update patches
* fixup gn check
* Merge branch 'master' into roller/chromium/master
* update to xcode 12.4.0
Needed because of 8008deb41c
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
2752406
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
2752406
* 2752932: Associate each AwProxyingURLLoaderFactory with a frame tree node id.
2752932
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
2651385
* 2734095: Introduce StoragePartitionId type to wrap current string representation.
2734095
* chore: bump chromium in DEPS to 91.0.4448.0
* Update patches
* 2743594: Remove WebSize from blink.
2743594
* 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
2725403
* 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer.
2651385
* 2721718: Move HostID to extensions::mojom::HostID
2721718
* 2733070: Rename observer to URLLoaderNetworkServiceObserver
2733070
* Use nogncheck for content/browser/site_instance_impl.h
This is needed because //content/browser:browser is not a visible target
* 2648046: Introduce alert notification helper .app
2648046
* 2752406: [LSC] Replace base::string16 with std::u16string in //ui
2752406
* only include mac notifications on mac
* add additional skipping of atk toolchain check
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
2757472
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
2757472
* 2720306: [api] Remove deprecated [Shared]ArrayBuffer API
2720306
* Fixup 2721718: Move HostID to extensions::mojom::HostID
* fixup 2651385: Moving Profile::shared_cors_origin_access_list_ into //content layer
* Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui
* Fixup 2725403: Add URLLoaderClient::OnReceiveEarlyHints()
* update node headers
* chore: bump chromium in DEPS to 91.0.4449.0
* Revert "chore: bump chromium in DEPS to 91.0.4449.0"
This reverts commit bccafa0289.
* 2693008: Fix loading non-system cursors on Windows on browser_tests
2693008
* 2757472: Reland "Reland "[LSC] Remove base::string16 alias""
2757472
* undo changes to WebContentsPreferences::GetPreloadPath to fix mac build
* fix StrCat issue
* incantations for WebContentsPreferences::GetPreloadPath wide strings
* bump nan
* fix GetAsString maybe?
* windows build fixes
* more windows build fix
* SetAppUserModelID -> wstring
* upgrade nan dep in tests
* lint
* wstrings are cross-platform
* linter
* only bind setAppUserModelId on windows
* fix a messed up merge
* well that was an odyssey
* backport fcdf35e from v8 to fix nan crash
* disable typedarrays-test.js
* don't defer in NSWindow creation
2707696
* use PartitionAllocator for ArrayBuffers in the main process
* fix patches
* chore: omit some unnecessary conversions
* refactor: make LoginItemSettings::path a wstring
* refactor: make ShowTaskDialog take a wstr
* Revert "refactor: make LoginItemSettings::path a wstring"
This reverts commit 9127cff58b.
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* Fix custom scheme not registered as service worker scheme
* ServiceWorker loaders do not have WebContents associated
* Add test for service worker
* Revert "Fix custom scheme not registered as service worker scheme"
This reverts commit a249235b220a0edcfcb906e0b3b3c0486ece73a6.
* Add scheme to ServiceWorkerSchemes
desktopCapture.getSources() returns a promise which should resolve
when capturing finishes. Internally it creates an instance of
DesktopCapturer which is responsible for resolving or rejecting
the promise.
Between the time DesktopCapturer starts capturing frames and when
it finishes, it's possible for its handle to be GC'd leading to
it never resolving.
These changes pin the instance of DesktopCapturer until it either
finishes or errors.
fixes#25595
* fix: ensure child window transparency works
Windows opened via window.open and intecepted via setWindowOpenHandler
or the `new-window` event should (a) have the correct background color
and (b) that background color should be transparent if specified.
The changes in api_web_contents fix (a) and the changes in
web_contents_preferences fix (b).
Notes: Child windows with specified background colors or transpency now
work as intended
* fix: set background_color in blink prefs apply logic
* chore: update for PR comments
* fix: navigator.bluetooth.requestDevice
* cleanup lint and add test
* update bluetooth test to handle no bluetooth adapter available
* update bluetooth test to handle bluetooth permission denied
Move it from LoadURL to RenderViewCreated which is present
in all window creation cases and is called early enough to be
relevant from user prespective and after RenderWidgetHostView
is already present.
* feat: Raise a browser view via `BrowserWindow.setTopBrowserView()`.
This is similar to removing and re-adding a browser view, but avoids a visible flicker as the browser view is not removed from the window when using `setTopBrowserView`. Note: if the given browser view is not attached to the window, it will be added.
This commit contains the macOS implementation.
* feat: setTopBrowserView support for Windows and Linux
* docs: add info about setTopBrowserView
* docs: Clarify behavior when browserView is not yet attached.
* fix: throw en error when browserView is not attached to the window
* fix: build error
* fix: test
* fix: add test case
* fix: tests
* fix: reparenting
* fix: close second window in tests
Co-authored-by: sentialx <sentialx@gmail.com>
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101)
* fix: optionally transform processes on win.SetVisibleOnAllWorkspaces on macOS, making it backwards-compatible with v9.2.1 (#27101)
Co-authored-by: Cyrus Roshan <cyrusroshan@users.noreply.github.com>
* fix: do not throw if NativeImage conversion fails.
Throwing is an unannounced semver/major breaking change, so revert that
behavior but keep the rest of the #26546 refactor.
* test: add invalid icon test
* refactor: be explicit about when to throw or warn.