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

Unified Diff: LayoutTests/inspector/console/console-error-on-call-frame.html

Issue 23956003: DevTools: Add a fallback for console message callframe linkifying when scriptId could not be resolv… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed unresolved call frame altogether Created 7 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-error-on-call-frame-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/console-error-on-call-frame.html
diff --git a/LayoutTests/inspector/debugger/debugger-reload-on-pause.html b/LayoutTests/inspector/console/console-error-on-call-frame.html
similarity index 54%
copy from LayoutTests/inspector/debugger/debugger-reload-on-pause.html
copy to LayoutTests/inspector/console/console-error-on-call-frame.html
index a561b9c849d10fa55aa6484941c17f4b2c35722a..756acd876fa12fd6fd8262a6db2581ef4c9fb5d8 100644
--- a/LayoutTests/inspector/debugger/debugger-reload-on-pause.html
+++ b/LayoutTests/inspector/console/console-error-on-call-frame.html
@@ -2,14 +2,15 @@
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/debugger-test.js"></script>
+<script src="../../http/tests/inspector/console-test.js"></script>
<script>
-
function testFunction()
{
+ var i = 0;
debugger;
}
-var test = function()
+function test()
{
InspectorTest.startDebuggerTest(step1);
@@ -20,22 +21,24 @@ var test = function()
function step2()
{
- InspectorTest.reloadPage(step3);
+ InspectorTest.evaluateInConsole("console.error(42)", step3);
}
function step3()
{
+ InspectorTest.resumeExecution(step4);
+ }
+
+ function step4()
+ {
+ InspectorTest.expandConsoleMessages();
+ InspectorTest.dumpConsoleMessages();
InspectorTest.completeDebuggerTest();
}
}
-
</script>
</head>
-
<body onload="runTest()">
-<p>
-Tests "reload" from within inspector window while on pause.
-</p>
-
+<p>Tests that console.error does not throw exception when executed in console on call frame.</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-error-on-call-frame-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698