← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1324926] [NEW] WebView.reload() doesn't work for pages with post data

 

Public bug reported:

WebView.reload() is ignored if form data was posted to get the page.
This is because we call content::NavigationController::Reload(true)
which doesn't do anything other than call back in to the embedder via
content::WebContentsDelegate::ShowRepostFormWarningDialog() in this
case. The embedder is then expected to show a dialog asking if the user
would like to resubmit the form data. If the user agrees,
content::NavigationController::Reload() should be called with the
check_for_repost parameter set to false

** Affects: oxide
     Importance: Medium
         Status: Triaged

** Changed in: oxide
   Importance: Undecided => Medium

** Changed in: oxide
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1324926

Title:
  WebView.reload() doesn't work for pages with post data

Status in Oxide Webview:
  Triaged

Bug description:
  WebView.reload() is ignored if form data was posted to get the page.
  This is because we call content::NavigationController::Reload(true)
  which doesn't do anything other than call back in to the embedder via
  content::WebContentsDelegate::ShowRepostFormWarningDialog() in this
  case. The embedder is then expected to show a dialog asking if the
  user would like to resubmit the form data. If the user agrees,
  content::NavigationController::Reload() should be called with the
  check_for_repost parameter set to false

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1324926/+subscriptions


Follow ups

References