Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html

Issue 2181453002: [DevTools] Never stop in InjectedScriptSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html
index 989086705509ff46ac528947dfd8ce08c1983b39..26679c6f97ba44be3412689dc739c7eb88bcb3ad 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/internal-script-flag-for-injected-script.html
@@ -12,13 +12,13 @@ function newWorld()
function test()
{
InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step2);
- InspectorTest.evaluateInPage("newWorld()");
+ InspectorTest.evaluateInPage("newWorld()\n//# sourceURL=foo.js");
var expectedScriptParsed = 2;
function step2(event)
{
var script = event.data;
- InspectorTest.addResult(script._isInternalScript ? "Internal script" : "Not internal script");
+ InspectorTest.addResult(script.sourceURL + ":" + (script._isInternalScript ? "Internal script" : "Not internal script"));
--expectedScriptParsed;
if (!expectedScriptParsed)
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698