[api] Change EmbedderData to v8::Data [v8/v8 : main]

0 views
Skip to first unread message

Leszek Swirski (Gerrit)

unread,
Oct 30, 2025, 8:03:22 AM (12 days ago) Oct 30
to AyeAye, Igor Sheludko, V8 LUCI CQ, oilpan-r...@chromium.org, cbruni...@chromium.org, v8-re...@googlegroups.com

Leszek Swirski voted and added 1 comment

Votes added by Leszek Swirski

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Leszek Swirski . resolved

PTAL again

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Gerrit-Change-Number: 7096240
Gerrit-PatchSet: 2
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Igor Sheludko <ish...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Thu, 30 Oct 2025 12:03:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Igor Sheludko (Gerrit)

unread,
Oct 30, 2025, 9:06:08 AM (11 days ago) Oct 30
to Leszek Swirski, AyeAye, V8 LUCI CQ, oilpan-r...@chromium.org, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski

Igor Sheludko voted and added 4 comments

Votes added by Igor Sheludko

Code-Review+1

4 comments

Patchset-level comments
Igor Sheludko . resolved

lgtm with nits

File GEMINI.md
Line 51, Patchset 2 (Latest): - `src/parsing/`: The parser and scanner implementation.q
Igor Sheludko . unresolved

Typo?

File include/v8-context.h
Line 513, Patchset 2 (Latest): // dealing with potential endiannes issues.
Igor Sheludko . unresolved

Please fix this WARNING reported by Spellchecker: "endiannes" is a possible misspelling of "endianness".

To bypass Spellchecker, ...

"endiannes" is a possible misspelling of "endianness".

To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

Line 292, Patchset 1: V8_DEPRECATED("Use GetEmbedderDataV2 instead")
Igor Sheludko . resolved

We are breaking the Api change process here. This should be V8_DEPRECATE_SOON for a release, then V8_DEPRECATED for a release and then we can remove it.

Igor Sheludko

In order to keep on testing the old Api until we remove it you can use this approach: https://source.chromium.org/chromium/chromium/src/+/main:v8/test/cctest/test-heap-profiler.cc;l=2195?q=START_ALLOW_USE_DEPRECATED()&ss=chromium

Igor Sheludko

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Gerrit-Change-Number: 7096240
Gerrit-PatchSet: 2
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Igor Sheludko <ish...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Thu, 30 Oct 2025 13:06:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Igor Sheludko <ish...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
Nov 5, 2025, 4:26:42 AM (6 days ago) Nov 5
to Igor Sheludko, AyeAye, V8 LUCI CQ, oilpan-r...@chromium.org, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Igor Sheludko

Leszek Swirski voted and added 3 comments

Votes added by Leszek Swirski

Auto-Submit+1
Commit-Queue+1

3 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Leszek Swirski . resolved

Lost your +1

File GEMINI.md
Line 51, Patchset 2: - `src/parsing/`: The parser and scanner implementation.q
Igor Sheludko . resolved

Typo?

Leszek Swirski

Done

File include/v8-context.h
Line 513, Patchset 2: // dealing with potential endiannes issues.
Igor Sheludko . resolved

Please fix this WARNING reported by Spellchecker: "endiannes" is a possible misspelling of "endianness".

To bypass Spellchecker, ...

"endiannes" is a possible misspelling of "endianness".

To bypass Spellchecker, add a footer with DISABLE_SPELLCHECKER

Leszek Swirski

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Igor Sheludko
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Gerrit-Change-Number: 7096240
Gerrit-PatchSet: 4
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Igor Sheludko <ish...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Igor Sheludko <ish...@chromium.org>
Gerrit-Comment-Date: Wed, 05 Nov 2025 09:26:38 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Igor Sheludko (Gerrit)

unread,
Nov 5, 2025, 4:50:08 AM (6 days ago) Nov 5
to Leszek Swirski, AyeAye, V8 LUCI CQ, oilpan-r...@chromium.org, cbruni...@chromium.org, v8-re...@googlegroups.com
Attention needed from Leszek Swirski

Igor Sheludko voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Gerrit-Change-Number: 7096240
Gerrit-PatchSet: 4
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Igor Sheludko <ish...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Wed, 05 Nov 2025 09:50:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Nov 5, 2025, 5:16:14 AM (6 days ago) Nov 5
to Leszek Swirski, Igor Sheludko, AyeAye, oilpan-r...@chromium.org, cbruni...@chromium.org, v8-re...@googlegroups.com

V8 LUCI CQ submitted the change

Change information

Commit message:
[api] Change EmbedderData to v8::Data

Context::Get/SetEmbedderData allows any V8 object, not just JS-visible
types. This means it should get/set a v8::Data, not a v8::Value.

Introduce Get/SetEmbedderDataV2 with the updated type, and deprecate the
old ones.
Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Commit-Queue: Igor Sheludko <ish...@chromium.org>
Auto-Submit: Leszek Swirski <les...@chromium.org>
Commit-Queue: Leszek Swirski <les...@chromium.org>
Reviewed-by: Igor Sheludko <ish...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#103524}
Files:
  • M include/v8-context.h
  • M include/v8-external.h
  • M src/api/api.cc
  • M src/d8/d8.cc
  • M test/cctest/test-api.cc
  • M test/cctest/test-debug.cc
  • M test/cctest/test-serialize.cc
  • M test/unittests/heap/cppgc-js/unified-heap-snapshot-unittest.cc
Change size: M
Delta: 8 files changed, 95 insertions(+), 30 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Igor Sheludko
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I2ed50339832d0a631d6b760d75ecb5d91ad380e3
Gerrit-Change-Number: 7096240
Gerrit-PatchSet: 5
Gerrit-Owner: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Igor Sheludko <ish...@chromium.org>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages