chore: bump chromium to 121.0.6147.0 (main) (#40523)
* chore: bump chromium in DEPS to 121.0.6128.0 * build: update patches * refactor: remove instrumentation from extensions code Ref:5002404
* refactor: modernization of tabs_api Ref:4997031
* fix: add RecordHover and RecordDrag handlers * build: add missing pdf files * chore: bump chromium in DEPS to 121.0.6129.0 * chore: bump chromium in DEPS to 121.0.6131.0 * chore: update patches * refactor: remove will_cause_resize from ExitFullscreen Ref:5031312
* chore: add missing std converter include Before these were being inferred as std::string implicitly, not anymore Ref:5029573
* chore: Unwrap UserScriptList from unique_ptrs Ref:5005198
* refactor: add PDF internal id into PDF stream info Ref:4876972
* refactor: add metadata to view classes Ref:4994885
* chore: run lint --fix * chore: update libc++ filenames * chore: clean up menubar * chore: update patches after main merge * 5010979: Replace base::WStringPiece usage with std::wstring_view |5010979
* chore: bump chromium in DEPS to 121.0.6142.0 * chore: update patches * 4969574: Refactor NativeDesktopMediaList |4969574
* 5031192: [blink] Create new blink test suite that doesn't create blink Isolate |5031192
* chore: update v8/devtools patches * 5040722: [base] Replace MakeFixedFlatTreeSorted with tag type overloads |5040722
* 5026474: Add --generate-pdf-document-outline |5026474
* 5024297: Change parameter of CheckMediaAccessPermission from GURL to URL::Origin |5024297
* 5034217: [RWS] Remove CanonicalCookie::IsSameParty method |5034217
* 5037192: Rewrite usage of RenderFrame::GetRoutingID |5037192
* 5041802: Reland "Incorporate policy override for OOPPD feature" |5041802
* chore: bump chromium in DEPS to 121.0.6143.0 * chore: bump chromium in DEPS to 121.0.6145.0 * chore: update chromium patches * 5049986: Use std::unique_ptr for MenuItemView::submenu_ member. |5049986
* 5041595: picture-in-picture: Add PictureInPictureOcclusionTracker |5041595
* chore: update all patches * chore: bump chromium in DEPS to 121.0.6147.0 * chore: update patches * 5051069: Use base::FunctionRef for BrowserPluginGuestManager. |5051069
* 5057330: [base] Remove base::Erase()/base::EraseIf() overloads for std::set |5057330
* fixup! 5041802: Reland "Incorporate policy override for OOPPD feature" |5041802
* 5017518: Remove PPAPI if NaCl is disabled |5017518
* 5002232: [DevTools] Console Insights: move from build flag to Feature API |5002232
* 4970322: [X11] Move utils into x11::Connection |4970322
* 5048950: Let MenuModelAdapter::CreateMenu return a std::unique_ptr<>. |5048950
* chore: update libcxx filenames * use Context::Scope in RunScriptsAtDocument{Start,End} * 4775128: content: Reuse CC instance for main frame navigations4775128
* also wrap WebWorkerObserver::ContextWillDestroy with Context::Scope * set LIBCPP_HARDENING_MODE5014271
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard <marshallofsound@electronjs.org> Co-authored-by: Keeley Hammond <vertedinde@electronjs.org> Co-authored-by: VerteDinde <keeleymhammond@gmail.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Jeremy Rose <jeremya@chromium.org>
This commit is contained in:
parent
f0f027c06d
commit
5c7579ab1c
132 changed files with 701 additions and 660 deletions
|
@ -7,10 +7,10 @@ Subject: refactor: expose HostImportModuleDynamically and
|
|||
This is so that Electron can blend Blink's and Node's implementations of these isolate handlers.
|
||||
|
||||
diff --git a/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc b/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
|
||||
index 822f31cc44a1c3a67b345d81eb220356446e4f82..8f4e4d7e34e6914c187d98d7510741c57b85ac44 100644
|
||||
index c011498909e3c90618ab6a985b6cea102a1a1bc1..2a45d1c2bfa7d625f37bb7fa985a1a7fd936091f 100644
|
||||
--- a/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
|
||||
+++ b/third_party/blink/renderer/bindings/core/v8/v8_initializer.cc
|
||||
@@ -604,7 +604,9 @@ bool JavaScriptCompileHintsMagicEnabledCallback(
|
||||
@@ -613,7 +613,9 @@ bool JavaScriptCompileHintsMagicEnabledCallback(
|
||||
execution_context);
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ index 822f31cc44a1c3a67b345d81eb220356446e4f82..8f4e4d7e34e6914c187d98d7510741c5
|
|||
v8::Local<v8::Context> context,
|
||||
v8::Local<v8::Data> v8_host_defined_options,
|
||||
v8::Local<v8::Value> v8_referrer_resource_url,
|
||||
@@ -680,7 +682,7 @@ v8::MaybeLocal<v8::Promise> HostImportModuleDynamically(
|
||||
@@ -691,7 +693,7 @@ v8::MaybeLocal<v8::Promise> HostImportModuleDynamically(
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/C/#hostgetimportmetaproperties
|
||||
|
@ -30,16 +30,17 @@ index 822f31cc44a1c3a67b345d81eb220356446e4f82..8f4e4d7e34e6914c187d98d7510741c5
|
|||
v8::Local<v8::Module> module,
|
||||
v8::Local<v8::Object> meta) {
|
||||
ScriptState* script_state = ScriptState::From(context);
|
||||
@@ -707,6 +709,8 @@ void HostGetImportMetaProperties(v8::Local<v8::Context> context,
|
||||
meta->CreateDataProperty(context, resolve_key, resolve_value).ToChecked();
|
||||
@@ -734,9 +736,6 @@ std::ostream& operator<<(std::ostream& os, const PrintV8OOM& oom_details) {
|
||||
return os;
|
||||
}
|
||||
|
||||
+namespace {
|
||||
+
|
||||
void InitializeV8Common(v8::Isolate* isolate) {
|
||||
-} // namespace
|
||||
-
|
||||
-// static
|
||||
void V8Initializer::InitializeV8Common(v8::Isolate* isolate) {
|
||||
// Set up garbage collection before setting up anything else as V8 may trigger
|
||||
// GCs during Blink setup.
|
||||
@@ -728,9 +732,9 @@ void InitializeV8Common(v8::Isolate* isolate) {
|
||||
@@ -758,9 +757,9 @@ void V8Initializer::InitializeV8Common(v8::Isolate* isolate) {
|
||||
SharedArrayBufferConstructorEnabledCallback);
|
||||
isolate->SetJavaScriptCompileHintsMagicEnabledCallback(
|
||||
JavaScriptCompileHintsMagicEnabledCallback);
|
||||
|
@ -52,12 +53,12 @@ index 822f31cc44a1c3a67b345d81eb220356446e4f82..8f4e4d7e34e6914c187d98d7510741c5
|
|||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
diff --git a/third_party/blink/renderer/bindings/core/v8/v8_initializer.h b/third_party/blink/renderer/bindings/core/v8/v8_initializer.h
|
||||
index 9e628b96a845322d407f9da30a63c04ef5de9c24..8f5e4602f5e3f6787a9e54d510b39519074d51e6 100644
|
||||
index 2e0fd8cdef733677f8e1d32b3d8e0c635e0a5052..1df4517f9b5926c1dc5333aa6fc9cc1290256c70 100644
|
||||
--- a/third_party/blink/renderer/bindings/core/v8/v8_initializer.h
|
||||
+++ b/third_party/blink/renderer/bindings/core/v8/v8_initializer.h
|
||||
@@ -76,6 +76,17 @@ class CORE_EXPORT V8Initializer {
|
||||
v8::Local<v8::Context> context,
|
||||
v8::Local<v8::String> source);
|
||||
@@ -84,6 +84,17 @@ class CORE_EXPORT V8Initializer {
|
||||
v8::Local<v8::Value> data);
|
||||
static void PromiseRejectHandlerInMainThread(v8::PromiseRejectMessage data);
|
||||
|
||||
+ static v8::MaybeLocal<v8::Promise> HostImportModuleDynamically(
|
||||
+ v8::Local<v8::Context> context,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue