@@ -17260,6 +17260,8 @@ TEST(SourceURLInStackTrace) {
1726017260 i::ScopedVector<char> code(1024);
1726117261 i::SNPrintF(code, source, "//# sourceURL=eval_url");
1726217262 CHECK(CompileRun(code.start())->IsUndefined());
17263+ i::SNPrintF(code, source, "//@ sourceURL=eval_url");
17264+ CHECK(CompileRun(code.start())->IsUndefined());
1726317265}
1726417266
1726517267
@@ -17340,6 +17342,8 @@ TEST(InlineScriptWithSourceURLInStackTrace) {
1734017342 i::ScopedVector<char> code(1024);
1734117343 i::SNPrintF(code, source, "//# sourceURL=source_url");
1734217344 CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined());
17345+ i::SNPrintF(code, source, "//@ sourceURL=source_url");
17346+ CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined());
1734317347}
1734417348
1734517349
@@ -17384,6 +17388,8 @@ TEST(DynamicWithSourceURLInStackTrace) {
1738417388 i::ScopedVector<char> code(1024);
1738517389 i::SNPrintF(code, source, "//# sourceURL=source_url");
1738617390 CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined());
17391+ i::SNPrintF(code, source, "//@ sourceURL=source_url");
17392+ CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined());
1738717393}
1738817394
1738917395
0 commit comments