[temporal] Mark all Temporal methods as having no side-effects [v8/v8 : main]

0 views
Skip to first unread message

Manish Goregaokar (Gerrit)

unread,
Nov 4, 2025, 11:40:41 AM (2 days ago) Nov 4
to Leszek Swirski, AyeAye, devtools-...@chromium.org
Attention needed from Leszek Swirski

Manish Goregaokar voted and added 1 comment

Votes added by Manish Goregaokar

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Manish Goregaokar . resolved

I wasn't sure if there was an easy way to write a "hit all methods" test given that Temporal has a much wider variety of APIs.

And I wasn't sure if it was needed. But I'm happy to add testing if someone tells me which form of test is desired.

Open in Gerrit

Related details

Attention is currently required from:
  • Leszek Swirski
Submit Requirements:
  • requirement is not 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: I8090d3da8cc95e26a8ae8d9e68e3f6526a6a6964
Gerrit-Change-Number: 7117353
Gerrit-PatchSet: 1
Gerrit-Owner: Manish Goregaokar <manis...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Manish Goregaokar <manis...@google.com>
Gerrit-Attention: Leszek Swirski <les...@chromium.org>
Gerrit-Comment-Date: Tue, 04 Nov 2025 16:40:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Leszek Swirski (Gerrit)

unread,
Nov 5, 2025, 5:15:44 AM (yesterday) Nov 5
to Manish Goregaokar, AyeAye, devtools-...@chromium.org
Attention needed from Manish Goregaokar

Leszek Swirski voted

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

Related details

Attention is currently required from:
  • Manish Goregaokar
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: I8090d3da8cc95e26a8ae8d9e68e3f6526a6a6964
Gerrit-Change-Number: 7117353
Gerrit-PatchSet: 3
Gerrit-Owner: Manish Goregaokar <manis...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Manish Goregaokar <manis...@google.com>
Gerrit-Attention: Manish Goregaokar <manis...@google.com>
Gerrit-Comment-Date: Wed, 05 Nov 2025 10:15:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

V8 LUCI CQ (Gerrit)

unread,
Nov 5, 2025, 5:55:16 AM (yesterday) Nov 5
to Manish Goregaokar, Leszek Swirski, AyeAye, devtools-...@chromium.org

V8 LUCI CQ submitted the change

Change information

Commit message:
[temporal] Mark all Temporal methods as having no side-effects

Followup from https://chromium-review.googlesource.com/c/v8/v8/+/7111926/4

Note that Temporal.Now stuff reads from system time, so it will change
behavior, but it seems like `Date()` is marked as having no side effects
so this is as well.


Bug: 401065166
Change-Id: I8090d3da8cc95e26a8ae8d9e68e3f6526a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7117353
Commit-Queue: Leszek Swirski <les...@chromium.org>
Auto-Submit: Manish Goregaokar <manis...@google.com>
Reviewed-by: Leszek Swirski <les...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#103525}
Files:
  • M src/debug/debug-evaluate.cc
  • M test/debugger/debug/side-effect/debug-evaluate-no-side-effect-builtins-2.js
Change size: M
Delta: 2 files changed, 238 insertions(+), 2 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Leszek Swirski
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: I8090d3da8cc95e26a8ae8d9e68e3f6526a6a6964
Gerrit-Change-Number: 7117353
Gerrit-PatchSet: 4
Gerrit-Owner: Manish Goregaokar <manis...@google.com>
Gerrit-Reviewer: Leszek Swirski <les...@chromium.org>
Gerrit-Reviewer: Manish Goregaokar <manis...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages