Page MenuHomePhabricator Dev

Bad code to trigger node debugger tests
Needs ReviewPublic

Authored by Unknown Object (User) on Feb 7 2020, 10:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 10:02 AM
Unknown Object (File)
Wed, Oct 7, 4:03 AM
Unknown Object (File)
Wed, Oct 7, 3:57 AM
Unknown Object (File)
Aug 1 2026, 8:13 PM
Unknown Object (File)
Jul 20 2026, 7:36 AM
Unknown Object (File)
Jul 20 2026, 12:44 AM
Unknown Object (File)
Nov 11 2025, 4:26 PM
Unknown Object (File)
Sep 5 2025, 1:32 AM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Bugzilla Bug ID
Not provided

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Branch
default

Event Timeline

Unknown Object (User) created this revision.Feb 7 2020, 10:38 AM
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: Restricted Project.
Unknown Object (User) updated this revision to Diff 2845.Feb 7 2020, 10:49 AM
  • Bad code to trigger node debugger tests
  • Bug XXYYZZ - Enable code review bot for node debugger-tests

Code analysis found 1 defect in the diff 2844:

  • 1 defect found by mozlint-eslint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

If you see a problem in this automated review, please report it here.

Code analysis found 1 defect in the diff 2845:

  • 1 defect found by mozlint-eslint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

If you see a problem in this automated review, please report it here.

Unknown Object (User) added a comment.Feb 7 2020, 3:28 PM

Code analysis found 1 defect in the diff 2845:

  • 1 defect found by mozlint-eslint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

The analysis task source-test-node-debugger-tests failed, but we could not detect any issue.
Please check this task manually.

If you see a problem in this automated review, please report it here.

devtools/client/debugger/src/main.js
13

Error: Parsing error: Unexpected token, expected ";"

11 | 
12 | function unmountRoot() {

13 | dummy crash

   |       ^
14 |   const mount = document.querySelector("#mount .launchpad-root");
15 |   ReactDOM.unmountComponentAtNode(mount);
16 | } [eslint: source-test-mozlint-eslint]
Unknown Object (User) added a comment.Feb 24 2020, 4:10 PM

Code analysis found 1 defect in the diff 2845:

  • 1 defect found by mozlint-eslint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

The analysis task source-test-node-debugger-tests failed, but we could not detect any issue.
Please check this task manually.

If you see a problem in this automated review, please report it here.

You can view these defects on the code-review frontend and on Treeherder.

devtools/client/debugger/src/main.js
13

Error: Parsing error: Unexpected token, expected ";"

11 | 
12 | function unmountRoot() {

13 | dummy crash

   |       ^
14 |   const mount = document.querySelector("#mount .launchpad-root");
15 |   ReactDOM.unmountComponentAtNode(mount);
16 | } [eslint: source-test-mozlint-eslint]
Unknown Object (User) added a comment.Feb 26 2020, 3:16 PM

Code analysis found 1 defect in the diff 2845:

  • 1 defect found by mozlint-eslint

You can run this analysis locally with:

  • ./mach lint --warnings path/to/file (JS/Python/etc)

The analysis task source-test-node-debugger-tests failed, but we could not detect any issue.
Please check this task manually.

If you see a problem in this automated review, please report it here.

You can view these defects on the code-review frontend and on Treeherder.

devtools/client/debugger/src/main.js
13

Error: Parsing error: Unexpected token, expected ";"

11 | 
12 | function unmountRoot() {

13 | dummy crash

   |       ^
14 |   const mount = document.querySelector("#mount .launchpad-root");
15 |   ReactDOM.unmountComponentAtNode(mount);
16 | } [eslint: source-test-mozlint-eslint]