diff options
Diffstat (limited to 'deps/v8/test/inspector/debugger/script-on-after-compile.js')
-rw-r--r-- | deps/v8/test/inspector/debugger/script-on-after-compile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/inspector/debugger/script-on-after-compile.js b/deps/v8/test/inspector/debugger/script-on-after-compile.js index 544dbaaae2..b37bfddf44 100644 --- a/deps/v8/test/inspector/debugger/script-on-after-compile.js +++ b/deps/v8/test/inspector/debugger/script-on-after-compile.js @@ -33,6 +33,8 @@ function addScripts() { .then(() => addScript("function foo13(){}")) // script in eval .then(() => addScript("function foo15(){}; eval(\"function foo14(){}//# sourceURL=eval.js\")//# sourceURL=eval-wrapper.js")) + // // inside sourceURL + .then(() => addScript("{a:2:\n//# sourceURL=http://a.js")) // sourceURL and sourceMappingURL works even for script with syntax error .then(() => addScript("}//# sourceURL=failed.js\n//# sourceMappingURL=failed-map")) // empty lines at end |