|
|
DescriptionFix DevTools showCertificateViewer to use visible entry
When the Security.showCertificateViewer command is received by the
browser, it should show the certificate for the visible entry, not
necessarily the last committed entry, because there might be a transient
entry for an interstitial overlaying the last committed entry.
BUG=647759
Committed: https://crrev.com/b056baab94111806630ff183834064a461906e42
Cr-Commit-Position: refs/heads/master@{#419359}
Patch Set 1 #
Total comments: 2
Patch Set 2 : load test certs in SetUpOnMainThread #
Messages
Total messages: 25 (13 generated)
The CQ bit was checked by estark@chromium.org to run a CQ dry run
estark@chromium.org changed reviewers: + jam@chromium.org
jam, PTAL?
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
lgtm, thanks
pfeldman@chromium.org changed reviewers: + pfeldman@chromium.org
https://codereview.chromium.org/2344113003/diff/1/content/browser/devtools/pr... File content/browser/devtools/protocol/devtools_protocol_browsertest.cc (right): https://codereview.chromium.org/2344113003/diff/1/content/browser/devtools/pr... content/browser/devtools/protocol/devtools_protocol_browsertest.cc:997: TestInterstitialDelegate* delegate = new TestInterstitialDelegate; I am not familiar with this code, but I don't see where InterstitialPageImpl takes ownership of this delegate.
https://codereview.chromium.org/2344113003/diff/1/content/browser/devtools/pr... File content/browser/devtools/protocol/devtools_protocol_browsertest.cc (right): https://codereview.chromium.org/2344113003/diff/1/content/browser/devtools/pr... content/browser/devtools/protocol/devtools_protocol_browsertest.cc:997: TestInterstitialDelegate* delegate = new TestInterstitialDelegate; On 2016/09/16 22:03:57, pfeldman wrote: > I am not familiar with this code, but I don't see where InterstitialPageImpl > takes ownership of this delegate. It get passed in as an argument to the InterstitialPageImpl constructor (line 1003), which stuffs it into a unique_ptr |delegate_| member: https://cs.chromium.org/chromium/src/content/browser/frame_host/interstitial_...
Oh, good, I was looking at render_widget_host_delegate next to it that was raw!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by estark@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jam@chromium.org Link to the patchset: https://codereview.chromium.org/2344113003/#ps20001 (title: "load test certs in SetUpOnMainThread")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_comp...) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...) cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by estark@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by estark@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Fix DevTools showCertificateViewer to use visible entry When the Security.showCertificateViewer command is received by the browser, it should show the certificate for the visible entry, not necessarily the last committed entry, because there might be a transient entry for an interstitial overlaying the last committed entry. BUG=647759 ========== to ========== Fix DevTools showCertificateViewer to use visible entry When the Security.showCertificateViewer command is received by the browser, it should show the certificate for the visible entry, not necessarily the last committed entry, because there might be a transient entry for an interstitial overlaying the last committed entry. BUG=647759 Committed: https://crrev.com/b056baab94111806630ff183834064a461906e42 Cr-Commit-Position: refs/heads/master@{#419359} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/b056baab94111806630ff183834064a461906e42 Cr-Commit-Position: refs/heads/master@{#419359} |