Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Issue 2852633002: added a headlessresourcedispatcherhostdelegate so that we do not crash when a website requests a cl… (Closed)

Created:
3 years, 7 months ago by Oleg Sushkov
Modified:
3 years, 7 months ago
Reviewers:
Sami
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

added a headlessresourcedispatcherhostdelegate so that we do not crash when a website requests a client cert store BUG=714534 Review-Url: https://codereview.chromium.org/2852633002 Cr-Commit-Position: refs/heads/master@{#468280} Committed: https://chromium.googlesource.com/chromium/src/+/e284fdd7988ff1d5545e64bf8eae062980231e2b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
M headless/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_content_browser_client.h View 2 chunks +6 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_content_browser_client.cc View 2 chunks +8 lines, -0 lines 0 comments Download
A headless/lib/browser/headless_resource_dispatcher_host_delegate.h View 1 chunk +24 lines, -0 lines 0 comments Download
A headless/lib/browser/headless_resource_dispatcher_host_delegate.cc View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Oleg Sushkov
Fix for Segfault crash in create client cert store due to not having a delegate ...
3 years, 7 months ago (2017-04-28 05:36:52 UTC) #2
Sami
lgtm, although a small smoke test would be nice :)
3 years, 7 months ago (2017-04-28 09:42:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2852633002/1
3 years, 7 months ago (2017-05-01 01:37:02 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/373619)
3 years, 7 months ago (2017-05-01 03:30:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2852633002/1
3 years, 7 months ago (2017-05-01 03:51:05 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/e284fdd7988ff1d5545e64bf8eae062980231e2b
3 years, 7 months ago (2017-05-01 04:20:31 UTC) #12
Oleg Sushkov
On 2017/04/28 at 09:42:44, skyostil wrote: > lgtm, although a small smoke test would be ...
3 years, 7 months ago (2017-05-01 04:59:50 UTC) #13
Sami
3 years, 7 months ago (2017-05-03 10:49:12 UTC) #14
Message was sent while issue was closed.
On 2017/05/01 04:59:50, Oleg Sushkov wrote:
> How would you suggest doing a smoke test? Just checking that the class doesnt
> return a nullptr in headless seems a bit reductive. Whereas checking that
> headless doesnt crash on that particular URL seems reliant on the website not
> changing going forward.

We could create our own test-only website that requests a client cert store. I
don't know which API exactly is used for that and a quick search wasn't
successful, but I guess there is a way if we were hitting this crash :)

Powered by Google App Engine
This is Rietveld 408576698