v8/test/unittests/api
Mateusz Czeladka fe598532ec Pass Isolate pointer to String::Utf8Value/Value constructors
As part of J2V8 development (https://github.com/eclipsesource/J2V8),
we realized that we had a subtle bug in how Isolate scope was created
and it's lifetime managed, see:
https://github.com/eclipsesource/J2V8/issues/313.

Mentioned above bug was fixed, however, what we also noticed is that
V8 API has been constantly and slowly moving to such an API, in which
one has to pass Isolate explicitly to methods and/or constructors. We
found two more places that might have been overlooked. This contribution
adds passing of Isolate pointer explicitly to constructors of
String::Utf8Value and String::Value classes.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng;master.tryserver.v8:v8_linux_noi18n_rel_ng
Change-Id: I61984285f152aba5ca922100cf3df913a9cb2cea
Reviewed-on: https://chromium-review.googlesource.com/593309
Commit-Queue: Adam Klein <adamk@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47656}
2017-08-28 18:17:08 +00:00
..
access-check-unittest.cc Always early return from HandleApiCallHelper on access check failure. 2017-02-20 10:07:05 +00:00
exception-unittest.cc Clear pending message during Isolate::CancelScheduledExceptionFromTryCatch. 2017-02-08 16:12:59 +00:00
interceptor-unittest.cc Never freeze/seal/preventExtensions objects with interceptors 2017-03-29 13:04:58 +00:00
isolate-unittest.cc Remove a few unnecssary scopers from unit tests. 2017-02-17 09:51:07 +00:00
remote-object-unittest.cc Pass Isolate pointer to String::Utf8Value/Value constructors 2017-08-28 18:17:08 +00:00
v8-object-unittest.cc Set the current context to the function's context when entering to LAP. 2017-08-24 12:04:19 +00:00