blob: ede36a73d74b98d1de5ac186aeb0b78fa15230d7 [file] [log] [blame]
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script src="resources/framework.js"></script>
<script>
function runLogs()
{
console.log("direct console.log()");
Framework.log("framework log");
}
function test()
{
var frameworkRegexString = "/framework\\.js$";
Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
InspectorTest.evaluateInPage("runLogs()");
InspectorTest.deprecatedRunAfterPendingDispatches(callback);
function callback()
{
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
}
</script>
</head>
<body onload="runTest()">
<p>
Tests console.log() anchor location when the skip-stack-frames feature is enabled.
</p>
</body>
</html>