Fenix: FNX2-15500 ⁃ [Bug] runtime.reload() call by uBlock Origin does not reload the extension and shows zero-tab

Created on 23 Jul 2020  ·  2Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

  1. Open the uBlock Origin _Settings_
  2. Press _Reset to default settings_ and confirm the prompt with _OK_

Expected behavior

The extension is reloaded, e.g. in Fennec it shows Fennec's extension configuration page for uBlock Origin.

Actual behavior

Tab-zero is shown. Following the calls from settings.js to vapi-background.js points to the runtime.reload() function.

video-ext

Device information

  • Android device: Sony Xperia Z2, Android 6.0.1
  • Fenix version: Nightly 200723 06:01 (Build #22050610)
    AC: 52.0.20200722023149, 5c2458cb8
    GV: 80.0a1-20200721094241
    AS: 61.0.10
WebExtensions 🐞 bug

All 2 comments

Thanks for filing. This only seems to happen if uBlock settings is the only open tab. The expected behaviour (working with multiple tabs) is that the settings tab is closed once "reset to default settings" is complete. So, this is a UI issue we need to fix.

I've verified that uBlock is properly reloaded and reset to default settings.

The UI issue is a fallout from https://github.com/mozilla-mobile/android-components/pull/7759. When the tab is closed we're not releasing the engine view and therefore see the tab contents left on the screen.

Let's track this problem (it's not specific to uBlock) in this ticket: https://github.com/mozilla-mobile/android-components/issues/7868

Was this page helpful?
0 / 5 - 0 ratings