recentJSDevError: readonly any

If the chrome code has thrown a JavaScript Dev Error in the current JSRuntime. the first such error, or undefined otherwise.

A JavaScript Dev Error is an exception thrown by JavaScript code that matches both conditions:

  • it was thrown by chrome code;
  • it is either a ReferenceError, a TypeError or a SyntaxError.

Such errors are stored regardless of whether they have been caught.

This mechanism is designed to help ensure that the code of Firefox is free from Dev Errors, even if they are accidentally caught by clients.

The object returned is not an exception. It has fields:

  • DOMString stack
  • DOMString filename
  • DOMString lineNumber
  • DOMString message

Generated using TypeDoc