Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
electron
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ExcellentOSS
electron
Commits
7c0d52e2
Commit
7c0d52e2
authored
1 year ago
by
PatchUp
Browse files
Options
Downloads
Patches
Plain Diff
chore: update patches
parent
72126052
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
patches/chromium/cherry-pick-b11e7d07a6f4.patch
+4
-5
4 additions, 5 deletions
patches/chromium/cherry-pick-b11e7d07a6f4.patch
patches/v8/cherry-pick-b0ad701a609a.patch
+7
-8
7 additions, 8 deletions
patches/v8/cherry-pick-b0ad701a609a.patch
with
11 additions
and
13 deletions
patches/chromium/cherry-pick-b11e7d07a6f4.patch
+
4
−
5
View file @
7c0d52e2
From
b11e7d07a6f47c4c60b21cc238e5c3f80cbcdb68
Mon Sep 17 00:00:00 2001
From
0000000000000000000000000000000000000000
Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig@chromium.org>
Date: Wed, 13 Sep 2023 23:32:40 +0000
Subject:
[PATCH]
M117: Check for object destruction in PdfViewWebPlugin::UpdateFocus()
Subject: M117: Check for object destruction in PdfViewWebPlugin::UpdateFocus()
PdfViewWebPlugin::UpdateFocus() can potentially triggers its own
destruction. Add a check for this and bail out.
...
...
@@ -19,13 +19,12 @@ Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4863395
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/5938@{#1286}
Cr-Branched-From: 2b50cb4bcc2318034581a816714d9535dc38966d-refs/heads/main@{#1181205}
---
diff --git a/pdf/pdf_view_web_plugin.cc b/pdf/pdf_view_web_plugin.cc
index
ae90d41..db456df
100644
index
5f8d805b3fb68b93368e23a46cae8a3e2151b36f..0c52238bd4290dd8d7ed67f6607e5a045c0529cd
100644
--- a/pdf/pdf_view_web_plugin.cc
+++ b/pdf/pdf_view_web_plugin.cc
@@ -51
8
,7 +51
8
,13 @@
@@ -51
5
,7 +51
5
,13 @@
void PdfViewWebPlugin::UpdateFocus(bool focused,
if (has_focus_ != focused) {
engine_->UpdateFocus(focused);
client_->UpdateTextInputState();
...
...
This diff is collapsed.
Click to expand it.
patches/v8/cherry-pick-b0ad701a609a.patch
+
7
−
8
View file @
7c0d52e2
From
b0ad701a609a0a10327384b658695619773a7918
Mon Sep 17 00:00:00 2001
From
0000000000000000000000000000000000000000
Mon Sep 17 00:00:00 2001
From: Shu-yu Guo <syg@chromium.org>
Date: Wed,
0
6 Sep 2023 17:36:38 -0700
Subject:
[PATCH]
Merged: [builtins] Clear FixedArray slot in Promise builtins
Date: Wed, 6 Sep 2023 17:36:38 -0700
Subject: Merged: [builtins] Clear FixedArray slot in Promise builtins
(cherry picked from commit f1884222ad56734e56d80f9707e0e8279af9049e)
...
...
@@ -14,13 +14,12 @@ Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/branch-heads/11.6@{#36}
Cr-Branched-From: e29c028f391389a7a60ee37097e3ca9e396d6fa4-refs/heads/11.6.189@{#3}
Cr-Branched-From: 95cbef20e2aa556a1ea75431a48b36c4de6b9934-refs/heads/main@{#88340}
---
diff --git a/src/builtins/promise-any.tq b/src/builtins/promise-any.tq
index 45bafac
..d531d57
100644
index 45bafac
0e6b09143b69b21a7292f9ed6b9c46239..d531d57a375ba33bf11ccf698da5918f1e25f38c
100644
--- a/src/builtins/promise-any.tq
+++ b/src/builtins/promise-any.tq
@@ -106,9 +106,10 @@
@@ -106,9 +106,10 @@
PromiseAnyRejectElementClosure(
const index = identityHash - 1;
// 6. Let errors be F.[[Errors]].
...
...
@@ -32,7 +31,7 @@ index 45bafac..d531d57 100644
// 7. Let promiseCapability be F.[[Capability]].
@@ -134,10 +135,7 @@
@@ -134,10 +135,7 @@
PromiseAnyRejectElementClosure(
IntPtrMax(SmiUntag(remainingElementsCount) - 1, index + 1);
if (newCapacity > errors.length_intptr) deferred {
errors = ExtractFixedArray(errors, 0, errors.length_intptr, newCapacity);
...
...
@@ -44,7 +43,7 @@ index 45bafac..d531d57 100644
}
errors.objects[index] = value;
@@ -155,6 +153,10 @@
@@ -155,6 +153,10 @@
PromiseAnyRejectElementClosure(
// b. Set error.[[AggregateErrors]] to errors.
const error = ConstructAggregateError(errors);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment