VOOZH about

URL: https://phabricator.services.mozilla.com/D306508

⇱ ⚙ D306508 Bug 2013800 - add certificate error overrides using information from the parent process r?nika


Bug 2013800 - add certificate error overrides using information from the parent process r?nika
AcceptedPublic

Authored by keeler on Fri, Jun 12, 6:58 PM.

Diff Detail

Repository
rFIREFOXAUTOLAND firefox-autoland
Branch
HEAD

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.
nika requested changes to this revision.Mon, Jun 15, 11:12 PM
nika added inline comments.
dom/base/Document.cpp
1526–1528

I don't think you need this assertion, the should still exist within the parent process.

dom/ipc/WindowGlobalParent.cpp
1600–1660

I might factor this out into 2 functions so that you don't need to call on every code path, IMO it makes it easier to read/follow.

1602–1605

You should use so that it works for documents loaded in the parent process too (https://searchfox.org/firefox-main/rev/54a6ea0101243dbe68cd7d5a4402696342cd3694/dom/ipc/WindowGlobalParent.cpp#840-848)

This revision now requires changes to proceed.Mon, Jun 15, 11:12 PM
keeler marked 3 inline comments as done.
keeler added inline comments.
dom/ipc/WindowGlobalParent.cpp
1602–1605

Ok!

keeler updated this revision to Diff 1303016.
keeler marked an inline comment as done.
keeler updated this revision to Diff 1303020.
This revision is now accepted and ready to land.Wed, Jun 17, 11:21 PM
Comment Actions

This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of , , , , . Tip: this Firefox add-on makes it easy!

Comment Actions

Code analysis found 10 defects in diff 1303020:

  • 10 build errors found by clang-tidy
IMPORTANT: Found 10 defects (error level) that must be fixed before landing.

You can run this analysis locally with:

  • (C/C++)

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

You can view these defects in the Diff Detail section of Phabricator diff 1303020.

Comment Actions

Code analysis found 2 defects in diff 1303066:

  • 2 build errors found by clang-tidy
IMPORTANT: Found 2 defects (error level) that must be fixed before landing.

You can run this analysis locally with:

  • (C/C++)

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

You can view these defects in the Diff Detail section of Phabricator diff 1303066.

Revision Contents

CommitTreeParentsAuthorSummaryDate
f2c57cd1800ad8d418c79cd21f6f9eea1aa7Dana Keeler
Bug 2013800 - add certificate error overrides using information from the parent… (Show More…)
Fri, Jun 12, 12:01 AM

Diff 1303066

dom/base/Document.cpp

Loading...

dom/ipc/ContentParent.h

Loading...

dom/ipc/ContentParent.cpp

Loading...

dom/ipc/PContent.ipdl

Loading...

dom/ipc/PWindowGlobal.ipdl

Loading...

dom/ipc/WindowGlobalParent.h

Loading...

dom/ipc/WindowGlobalParent.cpp

Loading...