New issue
Advanced search Search tips

Issue 778249 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Implementing v8 callbacks (not callback interfaces) in C++ is hard

Project Member Reported by tdres...@chromium.org, Oct 25 2017

Issue description

For example, in a unit test, I'm trying to create a PerformanceObserver, which takes a V8PerformanceObserverCallback as a parameter.

I'd like to be able to define a V8PerformanceObserverCallback in a unit test, but doing so is painful, requiring defining a new v8::Function, converting the arguments into native objects, etc.

https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/timing/PerformanceObserver.h?rcl=661cfff40b630b1c27e488e0d944f0ec549d78bf&l=38
 

Comment 1 by lfg@chromium.org, Oct 26 2017

Status: Available (was: Untriaged)
Project Member

Comment 2 by sheriffbot@chromium.org, Oct 26

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment