Add an API to signal the application that the renderer process crashed

Bug #1375272 reported by Olivier Tilloy
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Oxide
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

It would be handy for applications to receive a signal from the WebView when the associated renderer process crashes.

This would allow e.g. the webbrowser application to display an error page and offer the user to try and reload the page that caused the crash.

Related branches

Olivier Tilloy (osomon)
Changed in oxide:
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

We can use observe NOTIFICATION_RENDERER_PROCESS_CLOSED to get notified when a renderer process is closed (either because it was killed or because it crashed).

If the process was killed (most likely by the OOM killer), the embedder probably wants to try and reload the view automatically, whereas if it crashed some sort of visual feedback should be displayed to inform the user.

Olivier Tilloy (osomon)
Changed in oxide:
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in oxide:
milestone: none → branch-1.8
Olivier Tilloy (osomon)
Changed in oxide:
status: In Progress → Fix Released
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: New → In Progress
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: New → In Progress
assignee: nobody → Olivier Tilloy (osomon)
importance: Undecided → High
no longer affects: webbrowser-app
Revision history for this message
Merlijn Sebrechts (merlijn-sebrechts) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.10.20150903.1-0ubuntu1

---------------
webbrowser-app (0.23+15.10.20150903.1-0ubuntu1) wily; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.
  * Resync trunk.

  [ Michael Terry ]
  * Use the Ubuntu/Canonical search tag when searching with DuckDuckGo.
    (LP: #1490283)

  [ Olivier Tilloy ]
  * Display a friendly message when the renderer process crashes or is
    killed. This adds a runtime dependency for webbrowser-app-autopilot
    on python3-psutil. (LP: #1375272)
  * Do not display the bottom edge hint on tablets in wide mode. (LP:
    #1488995)
  * Update translation template.

  [ Riccardo Padovani ]
  * Don't store urls with status different from 2xx in the history. (LP:
    #1244335)
  * Don't store urls with status different from 2xx in the history. (LP:
    #1244335)

  [ Ugo Riboni ]
  * Allow choosing the bookmark folder when bookmarking a link from the
    context menu. Disable the bookmark option when the link is already
    bookmarked. Ensure the bookmark star state in the chrome is always
    consistent with the bookmarked state of the current webview URL.
    (LP: #1477314)
  * Properly reset focus when the current tab changes (including as a
    result of closing tabs). (LP: #1488470)

 -- CI Train Bot <email address hidden> Thu, 03 Sep 2015 09:46:35 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.