SmartTrace is actually consuming 1-based columns coming from ObjectActor grip for JS Error object's stacktrace. But it maps to 0-based columns as it relies on Debugger Frames components. This is made uterly complicated as we also have to deal with source maps and original locations which are 0-based as well. Differential Revision: https://phabricator.services.mozilla.com/D263580
21 lines
686 B
HTML
21 lines
686 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Web Console test for opening JS/Console call Links in Debugger</title>
|
|
<!-- Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
<script type="text/javascript" src="test-location-debugger-link-errors.js"></script>
|
|
<script type="text/javascript" src="test-location-debugger-link-console-log.js"></script>
|
|
<script>
|
|
"use strict";
|
|
window.addEventListener("load", function () {
|
|
atob(-1);
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>Web Console test for opening JS/Console call Links in Debugger.</p>
|
|
</body>
|
|
</html>
|