← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1399196] [NEW] Improve geolocation permission request tests

 

Public bug reported:

The geolocation permission request test loads a document that tries to
use navigator.geolocation, and tests the response to accepting, denying
and ignoring the request. It also verifies that a pending request is
cancelled by Oxide (indicating to the application that the request
should be hidden) when the top level document is navigated.

However:

- We don't test subframe requests.
- We don't verify that pending requests for subframes are cancelled if the frames are navigated or deleted.
- We should verify that pending requests are cancelled at the correct time (which is currently when a new document is committed)

** Affects: oxide
     Importance: Medium
         Status: Triaged

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

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

-- 
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/1399196

Title:
  Improve geolocation permission request tests

Status in Oxide Webview:
  Triaged

Bug description:
  The geolocation permission request test loads a document that tries to
  use navigator.geolocation, and tests the response to accepting,
  denying and ignoring the request. It also verifies that a pending
  request is cancelled by Oxide (indicating to the application that the
  request should be hidden) when the top level document is navigated.

  However:

  - We don't test subframe requests.
  - We don't verify that pending requests for subframes are cancelled if the frames are navigated or deleted.
  - We should verify that pending requests are cancelled at the correct time (which is currently when a new document is committed)

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


Follow ups

References