How to crash Chromium in integration tests

25 views
Skip to first unread message

Ashley Enstad

unread,
Apr 21, 2017, 4:47:34 PM4/21/17
to chromi...@chromium.org
Hi all,

I'm working on updating
https://github.com/catapult-project/catapult/blob/master/telemetry/telemetry/internal/backends/chrome/desktop_browser_backend.py#L277
to have the correct file path but want to ensure via integration tests that
it behaves properly when the browser is crashed.

What is a good way to simulate a chrome crash in integration tests?

Thanks,
Ashley

Lei Zhang

unread,
Apr 21, 2017, 5:00:51 PM4/21/17
to ashle...@chromium.org, Chromium-dev
You can visit special URLs and crash chrome in all kinds of ways. See
content/public/common/url_constants.cc
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups
> "Chromium-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPnZdLX%3DY7D9%3DBaGk4L0rngxA0T-t-m5jtc8%3DU4FszvhODQixw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages