Page MenuHomePhabricator

Bug 1682030 - Remove NPAPI plugin reporting from HangMonitor r=mconley!
ClosedPublic

Authored by handyman on Mar 4 2021, 12:25 AM.

Details

Summary

Removes the methods for handling NPAPI plugin process hangs, as we are eliminating all NPAPI behavior.

Diff Detail

Repository
rMOZILLACENTRAL mozilla-central
Lint
Lint Not Applicable
Unit
Tests Not Applicable
Build Status
Buildable 308095
Build 401746: arc lint + arc unit

Event Timeline

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: secure-revision.

Code analysis found 13 defects in the diff 408002:

  • 13 build errors found by clang-tidy

You can run this analysis locally with:

  • ./mach static-analysis check --outgoing (C/C++)

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

You have touched the documentation in diff 408002, you can find it rendered here for a week.

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.

Thanks, @handyman! I'm not sorry to see this code go away.

One minor issue before landing - the commit message makes it seem as if crash reporting support for NPAPI plugins is being removed here, when actually it's the hang reporting (and hung process termination) support for plugins that is being removed.

This revision is now accepted and ready to land.Mar 4 2021, 4:28 PM

Oh, we'll also probably want to remove the hung plugin / terminate plugin code from ProcessHangMonitor.jsm in a follow-up, unless we still need that stuff for GMP processes.

handyman retitled this revision from Bug 1682030 - Remove NPAPI plugin reporting from crashreporter DONTBUILD r=mconley! to Bug 1682030 - Remove NPAPI plugin reporting from crashreporter r=mconley!.Mar 4 2021, 6:30 PM
handyman retitled this revision from Bug 1682030 - Remove NPAPI plugin reporting from crashreporter r=mconley! to Bug 1682030 - Remove NPAPI plugin reporting from HangMonitor r=mconley!.
handyman edited the summary of this revision. (Show Details)

Derp. CrashReporter, HangMonitor... at least I was in the vicinity :-P. Fixed the comment to match the patch.
I'll need to do a little homework to clear the rest of ProcessHangMonitor -- I'm not clear on the GMP distinction either. I'll file a bug.

Code analysis found 13 defects in the diff 414009:

  • 13 build errors found by clang-tidy

You can run this analysis locally with:

  • ./mach static-analysis check --outgoing (C/C++)

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

You have touched the documentation in diff 414009, you can find it rendered here for a week.

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.

Code analysis found 15 defects in the diff 421890:

  • 13 build errors found by clang-tidy
  • 2 defects found by private static analysis

You can run this analysis locally with:

  • For private static analysis, please see our private docs in Mana, if you cannot access this resource, ask your reviewer to help you resolve the issue.
  • ./mach static-analysis check --outgoing (C/C++)

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

You have touched the documentation in diff 421890, you can find it rendered here for a week.

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.

This revision is now accepted and ready to land.Apr 6 2021, 12:59 AM

Code analysis found 3 defects in the diff 422929:

  • 1 build error found by clang-tidy
  • 2 defects found by private static analysis

You can run this analysis locally with:

  • For private static analysis, please see our private docs in Mana, if you cannot access this resource, ask your reviewer to help you resolve the issue.
  • ./mach static-analysis check --outgoing (C/C++)

You have touched the documentation in diff 422929, you can find it rendered here for a week.

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.

Code analysis found 3 defects in the diff 423040:

  • 1 build error found by clang-tidy
  • 2 defects found by private static analysis

You can run this analysis locally with:

  • For private static analysis, please see our private docs in Mana, if you cannot access this resource, ask your reviewer to help you resolve the issue.
  • ./mach static-analysis check --outgoing (C/C++)

You have touched the documentation in diff 423040, you can find it rendered here for a week.

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.