| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 5546c83c83acf5847da247ffe8858d16919751b8..705154c90d49cbe60459eb8927cd953cdebef39a 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -17494,6 +17494,8 @@ TEST(SourceURLInStackTrace) {
|
| i::ScopedVector<char> code(1024);
|
| i::SNPrintF(code, source, "//# sourceURL=eval_url");
|
| CHECK(CompileRun(code.start())->IsUndefined());
|
| + i::SNPrintF(code, source, "//@ sourceURL=eval_url");
|
| + CHECK(CompileRun(code.start())->IsUndefined());
|
| }
|
|
|
|
|
| @@ -17574,6 +17576,8 @@ TEST(InlineScriptWithSourceURLInStackTrace) {
|
| i::ScopedVector<char> code(1024);
|
| i::SNPrintF(code, source, "//# sourceURL=source_url");
|
| CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined());
|
| + i::SNPrintF(code, source, "//@ sourceURL=source_url");
|
| + CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined());
|
| }
|
|
|
|
|
| @@ -17618,6 +17622,8 @@ TEST(DynamicWithSourceURLInStackTrace) {
|
| i::ScopedVector<char> code(1024);
|
| i::SNPrintF(code, source, "//# sourceURL=source_url");
|
| CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined());
|
| + i::SNPrintF(code, source, "//@ sourceURL=source_url");
|
| + CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined());
|
| }
|
|
|
|
|
|
|