/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/test/inspector/runtime/evaluate-new-function-error.js
11 строк
512 B
Myles Borins
deps: update V8 to 7.8.279.9
07 окт 2019, 10:19
Не верифицирован
07 окт 2019, 10:19
f7f6c92
Код
Авторство
О чём код?
// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. let {session, contextGroup, Protocol} = InspectorTest.start("Tests that Runtime.evaluate has the correct error line number for 'new Function(...)'"); var message = { expression: "new Function('(0)()')();" }; Protocol.Runtime.evaluate(message) .then(message => InspectorTest.logMessage(message)) .then(() => InspectorTest.completeTest());