Closed webcompat-bot closed 3 years ago
@softvision-oana-arbuzov Could you take a look at this please? Looks like a VPN is needed.
Unfortunately even with VPN pointing to Australia I'm not able to access the page.
Tested with: Browser / Version: Firefox Nightly 90.0a1 (2021-04-27), Chrome 90.0.4430.85 Operating System: Windows 10 Pro
@karlcow is there anything we can do here?
Maybe @KathyReid can help us. She is based in Australia.
G'day everyone, I'm physically in Canberra, Australia. Happy to help in any way I can.
I don't know much about caption calls, but my intended test sequence is:
^^ Does this sound like a sensible test plan?
Best, K.
Hi Kathy, Thanks for helping. so yes trying to access this page, so we can reproduce the message of "Agent is offline" https://nrscaptions.nrscall.gov.au/nrs/IRCL
Then "save page as" Choose "Web Page, Complete" then zip it. The html file + the folder. And you could send it to me on Mozilla Slack :) Then I will be able to make a diagnosis on what is happening. I suspect user agent sniffing.
Thanks a lot. Super appreciated.
With Kathy's test and webpage code ❤️ , I can dig a bit further.
There are a couple of instances of the modal
alert
The code is quote obfuscated.
but the code mostly look like this for each of them.
var iF = _i('app-irc-loggedin-new-win', lF, uF, {
}, {
}, [
]),
oF = function () {
function n(n, l, e, t) {
var u,
i;
this.router = n,
this.route = l,
this.chatData = e,
this._authservice = t,
this.txtOPNumber1 = this.chatData.data_opNumber,
this.ipAddress1 = this.chatData.ipAddress1,
u = document.getElementById('txtOPNumber').value,
i = document.getElementById('txtState').value,
console.log(i + 'this selected state sending to omni'),
'' !== u && ('112' == u || '911' == u || '000' == u ? setTimeout(function () {
document.getElementById('txtIPAddress'),
MyG2C.API.setData([{
id: 'txtOPNumber',
value: document.getElementById('txtOPNumber').value
},
{
id: 'txtIPAddress',
value: document.getElementById('txtIPAddress').value
},
{
id: 'txtCampaignName',
value: 'P_NRS_Emergency_InternetRelay_Chat'
}
]),
0 == MyG2C.API.chatAsk('Emergency internet relay chat') && alert('Agent is offline')
}, 5000) : setTimeout(function () {
document.getElementById('txtIPAddress'),
MyG2C.API.setData([{
id: 'txtOPNumber',
value: document.getElementById('txtOPNumber').value
},
{
},
{
id: 'txtCampaignName',
value: 'P_NRS_Internet_MakeACall_Chat'
},
{
id: 'txtIPAddress',
value: document.getElementById('txtIPAddress').value
},
{
id: 'txtState',
value: i
}
]),
0 == MyG2C.API.chatAsk('You are using NRS Chat') && alert('Agent is offline')
}, 5000))
}
return n.prototype.ngOnInit = function () {
},
n
}(),
There is also quite a bit of user agent sniffing here and there.
Things like
this.approveform.value.deviceData = this.authservice.getdevicedata(),
means that they indeed have things dependent on the user agent name more than feature detection.
Also Kathy received the message
The "longpress" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.
which is in
l.prototype.supports = function (n) {
return !(!Bc.hasOwnProperty(n.toLowerCase()) && !this.isCustomEvent(n) || !window.Hammer && !this.loader && (this.console.warn('The "' + n + '" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'), 1))
},
The service is provided by https://www.communications.gov.au/what-we-do/phone/services-people-disability/accesshub/national-relay-service
They can be contacted on helpdesk@relayservice.com.au
I wonder if @colugo could help us find the right person inside the Australian Government taking of this site. As it is quite hard for us outside of Australia to test different scenario why this is not working in Firefox.
Or maybe it was a temporary issue for the user that would be good to know.
This issue seems to be fixed shortly after the user (aka me lol) reported this issue approx 1-2 hours later. It was their back-end of NRS and wasn't Firefox that was at fault so you admins can close this bug report asap.
URL: https://nrscaptions.nrscall.gov.au/nrs/IRCL
Browser / Version: Firefox 88.0 Operating System: Windows 10 Tested Another Browser: Yes Chrome
Problem type: Something else Description: Doesn't load and comes up with pop up " Agent is offline" Steps to Reproduce: Tried to make a call and ends up with popup twice saying "Agent is offline" but it works in Chrome
View the screenshot
Browser Configuration
From webcompat.com with ❤️