Audiocontext error results in website being unable to load

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
fillerup

Audiocontext error results in website being unable to load

Unread post by fillerup » 2019-01-04, 04:38

Fresh profile, Win10 1809 x64. Website in question is https://preference-test.sonarworks.com which returns only a blank page instead of loading.

The error console threw up the following:

Image

Same thin g happens on Basilisk, so most definitely a UXP error imo.

yami_

Re: Audiocontext error results in website being unable to load

Unread post by yami_ » 2019-01-04, 11:39

This:

Code: Select all

const audio = new AudioContext({ sampleRate: data.sampleRate });
According to Mozilla there is no browser that supports this (this inforamtion may not be correct):
fig. 1 - MDN AudioContext browser support table
fig. 1 - MDN AudioContext browser support table
The standard defines it here. The easiest option would be to ignore the sampleRate member - the sound card driver or the OS should automatically re-sample the stream anyway.

JustOff

Re: Audiocontext error results in website being unable to load

Unread post by JustOff » 2019-01-04, 12:59

I guess the solution is in bug #1361475, and it seems it can be easily ported to UXP.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35602
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Audiocontext error results in website being unable to load

Unread post by Moonchild » 2019-01-04, 15:15

Will be solved in Issue #924 (UXP).
Last edited by Moonchild on 2019-01-04, 16:54, edited 1 time in total.
Reason: Now without stupid wrong number
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked