Closed Bug 1757521 Opened 2 years ago Closed 1 year ago

Tableau visualisation - Unexpected error - *** is undefined

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

Firefox 91
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- affected
firefox101 --- affected
firefox102 --- affected
firefox103 --- affected

People

(Reporter: ai34w1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Go to https://public.tableau.com/app/profile/eudemocracy/viz/Europeanparties-Donationsandcontributions2018-2020/Mappingidentifieddonations
(this applies to a number of other Tableau visualisations, but not all)

Actual results:

The visualisation displays and, a couple of seconds later, an error message appears.
It is entitled "Unexpected error" and reads "TypeError: Z[0] is undefined" (sometimes the "Z[0]" is replaced with "e.$0".

Expected results:

The same visualisation displays properly and without error messages on Chrome, Safari and Edge. Firefox is the only browser triggering an error message.
To be sure, all browsers shows warning and alerts in the console, but none create an actual error.
This is noted on Firefox 98 but also happened, in the past, with previous versions. The error also displays in troubleshooting mode, so addons are not the source.
Attached are the console logs for all four browsers.

I didn't see the same error as the one described in the bug.
The only error message displayed on Firefox and isn't displayed in other browsers is this:
The connection to https://clientstream.launchdarkly.com/eval/5fc695baacf74e09ce48a061/eyJhbm9ueW1vdXMiOnRydWUsImtleSI6InNoYXJlZCJ9 was interrupted while the page was loading.

Please try if the issue occurs in safe mode. Here is a link that can help you do that: 
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Thanks.

Flags: needinfo?(ai34w1)

Thanks for checking, Hani! So, on both macOS and windows, merely running troubleshoot mode does not solve the issue and I still get the error message on visualisations. However, on macOS, I set up an entirely new profile (leaving it untouched, with no addons or changes) and, there, no messages appear. I guess that still rules out addons as the source of the issue.
Additionally, I should mention that I have a user.js on mac (which I believe is kept when running troubleshoot mode), but I do not have it on windows and the error persists in troubleshoot mode, so the user.js doesn't seem to be the issue either.

Flags: needinfo?(ai34w1)

PS: to be clear, with brand new profile, it works even without troubleshoot mode (tested now both on macOS and windows).

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Product: Firefox → WebExtensions

Hello,

Since the issue appears to happen in Troubleshoot mode as well, as already mentioned throughout the report, add-ons and/or themes are not the cause of this.

As such I’ll be moving the issue to a more appropriate component. In case of error, please move the bug to the correct one. Thank you !

Component: Untriaged → General
Product: WebExtensions → Firefox

@Alex, thanks, this does seem more appropriate than WebExtensions. Happy to provide any other information that may be useful.

Anyone has any idea about this?

Here is what a typical error looks like (got the error straight from the Tableau Public website, to ensure that it was not linked to the embed of the Tableau visualisation on another website; in both cases, however, the error message is the same):

Uncaught TypeError: Z[0] is undefined
    $6                          https://public.tableau.com/vizql/v_202212203111040/javascripts/ViewerBootstrap.js:5
    logMetricsEvent   https://public.tableau.com/vizql/v_202212203111040/javascripts/ViewerBootstrap.js:5
    e                            https://public.tableau.com/vizql/v_202212203111040/javascripts/vqlweb.js:29
    ir                            https://public.tableau.com/vizql/v_202212203111040/javascripts/vqlweb.js:8
    wrap                      https://public.tableau.com/vizql/v_202212203111040/javascripts/vqlweb.js:10
    nrWrapper            https://public.tableau.com/views/Europeanparties-Donationsandcontributions2018-2020/Mappingidentifieddonations?:display_static_image=y&:bootstrapWhenNotified=true&:embed=true&:language=en-US&:embed=y&:showVizHome=n&:apiID=host0#navType=1&navSrc=Parse:148

[From: https://public.tableau.com/app/profile/eudemocracy/viz/Europeanparties-Donationsandcontributions2018-2020/Mappingidentifieddonations]

This doesn't seem like it's clearly a Firefox bug to me. Does it work in Private Browsing with your profile that shows the error? Perhaps a cookies issue with Tableau?

Flags: needinfo?(ai34w1)

(In reply to Mark Striemer [:mstriemer] from comment #9)

This doesn't seem like it's clearly a Firefox bug to me. Does it work in Private Browsing with your profile that shows the error? Perhaps a cookies issue with Tableau?

No, it work neither in Private Browsing nor in troubleshoot mode. Always the same error message. Also cannot be a cookie issue as cookies and site data for Tableau are cleared on exit (but allowed otherwise).

Flags: needinfo?(ai34w1)

The severity field is not set for this bug.
:mossop, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dtownsend)

Not so severe in itself (all online things considered), but it really f*s up the display of the pages (by having the scroll jump up and down every time an error message is displayed) and breaks many visualisations.

Severity: -- → S4
Flags: needinfo?(dtownsend)

Thanks :mossop.
Really hope this can move forward in a timely manner!

Quick update since this isn't really moving forward:

  • error message appears on FF 101 on macOS;
  • error message appears on FF 99 on Windows;
  • error message appears on Tor Browser based on FF 91.8esr on macOS;
  • error message does not appear on Safari on macOS; and
  • error message does not appear on Edge on Windows.
    This therefore really seems like an issue on the FF side. Anyway this could be expedited?

I thinks I have narrowed this down to resist.fingerprinting. When set to true, the message appears; when set to false, it does not. Can anyone reproduce this? @Hani Yacoub?

Flags: needinfo?(hani.yacoub)
OS: Unspecified → All
Hardware: Unspecified → All

If confirmed, should we then change the component?

Managed to reproduce the issue after setting "privacy.resistFingerprinting" to true on macOS 11.6, Windows 10 x64 and on Ubuntu 20.04 x64.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(hani.yacoub)

Hurray for bug reproduction (so to speak). The issue was also notified to Tableau and they opened an issue; liaising may help address this.
https://community.tableau.com/s/question/0D78b000008Y5ivCAC/detail

Hi @Hani Yacoub, are there any developments on this? This keeps being extremely frustrating and it would be great to address it. Since all other browser work well with Tableau, it shouldn't be so hard to address this. Would love to hear back!

I will set this bug to "Privacy: Anti-Tracking" component to gain visibility, please feel free to change the component if there is other one more accurate.
Thanks.

Component: General → Privacy: Anti-Tracking
Product: Firefox → Core

without deep diving, this totally smells like performance.measure, see bug 1621729 for numerous examples

HAppy to see this move forward. @Simon, if confirmed, would this make it easier to address?

(In reply to ai34w1 from comment #22)

HAppy to see this move forward. @Simon, if confirmed, would this make it easier to address?

bug #1621729 (or more precisely overall timing mitigations) is already on tjr's radar for some reviews/fixups/tweaks (and will be addressed in his spare free time, if possible). There is nothing we can do to speed that up, except submit patches. RFP is not front facing in Firefox - your solution (for now) is to not use it: e.g. in a secondary profile/release-channel

Priority: -- → P3

I think this has been fixed, are you able to confirm?

Flags: needinfo?(ai34w1)

From what I can see, yes -- which is great! Any idea what this was or how it was fixed?

Flags: needinfo?(ai34w1)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME

Any idea what this was or how it was fixed

Bug 1811567 - prior to this bug landing performance.measure would always return an empty array, which is why you got the error Z[0] is undefined. Now we record the time, but restricted it to 60FPS

Cool, so I have the feeling this helped - perfect and thanks for the great work!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: