REPRODUCIBILITY: always
BUILD ID = OS VERSION (Settings > About product): 4.0.1.45 Koli
HARDWARE (Jolla1, Tablet, XA2,…): Xperia 10 single SIM
UI LANGUAGE: Dutch (nl)
REGRESSION: (compared to previous public release: Yes, No, ?): Yes, compared to 3.4 as confirmed by me and @gamag
DESCRIPTION:
The reCAPTCHA for registering with Signal does not render on SailfishOS 4.0.1.45 and fails with an error when using the new and shiny sailfish-components-webview
. This did work on 3.4.
PRECONDITIONS:
Nothing
STEPS TO REPRODUCE:
git clone https://github.com/black-sheep-dev/harbour-webview-example.git
- Change the URL:
diff --git a/qml/pages/WebViewPage.qml b/qml/pages/WebViewPage.qml
index 26f42fc..4e897b0 100644
--- a/qml/pages/WebViewPage.qml
+++ b/qml/pages/WebViewPage.qml
@@ -11,6 +11,6 @@ Page {
WebView {
anchors.fill: parent
active: true
- url: "http://www.sailfishos.org"
+ url: "https://signalcaptchas.org/registration/generate.html"
}
}
- Build and run the application (
sfdk config target=SailfishOS-3.4.0.24-armv7hl ; sfdk build
and getRPMS/harbour-webview-0.1-1.armv7hl.rpm
on a device).
EXPECTED RESULT:
Renders
ACTUAL RESULT:
Renders an empty page
ADDITIONAL INFORMATION:
[nemo@Sailfish ~]$ sdk-deploy-rpm /tmp/harbour-webview-0.1-1.armv7hl.rpm
Installing harbour-webview-0.1-1.armv7hl.rpm
Please confirm installation on device.
Installation successful
[nemo@Sailfish ~]$ harbour-webview
[D] unknown:0 - Using Wayland-EGL
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
1612800952037 addons.xpi WARN List of valid built-in add-ons could not be parsed.: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: _readAddons :: line 6415" data: no] Stack trace: _readAddons()@resource://gre/modules/addons/XPIProvider.jsm:6415
getAddonLocations()@resource://gre/modules/addons/XPIProvider.jsm:6076
getInstallState()@resource://gre/modules/addons/XPIProvider.jsm:1594
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3230
startup()@resource://gre/modules/addons/XPIProvider.jsm:2196
callProvider()@resource://gre/modules/AddonManager.jsm:253
_startProvider()@resource://gre/modules/AddonManager.jsm:728
startup()@resource://gre/modules/AddonManager.jsm:892
startup()@resource://gre/modules/AddonManager.jsm:2981
observe()@jar:file:///usr/lib/xulrunner-qt5-60.9.1/omni.ja!/components/addonManager.js:63
Attempting load of libEGL.so
=============== Preparing offscreen rendering context ===============
JavaScript error: https://www.gstatic.com/recaptcha/releases/2Mfykwl2mlvyQZQ3PEgoH710/recaptcha__nl.js, line 441: NS_ERROR_NOT_AVAILABLE:
JavaScript error: https://www.google.com/recaptcha/api2/anchor?ar=1&k=6LedYI0UAAAAAMt8HLj4s-_2M_nYOhWMMFRGYHgY&co=aHR0cHM6Ly9zaWduYWxjYXB0Y2hhcy5vcmc6NDQz&hl=nl&v=2Mfykwl2mlvyQZQ3PEgoH710&size=invisible&cb=78evlwtvvzej, line 32: ReferenceError: recaptcha is not defined
Also tested with English locale. It does render in the SailfishOS browser (as it did on 3.4). Either a pref setting changed that I cannot find, or there’s something new in 60 ESR that I need to know about, or there’s a real regression.
I have also tested against target=SailfishOS-4.0.1.45EA-armv7hl
, with the same problem.