Dropbox is busted again

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.

Please try and include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3949
Joined: 2015-12-09, 15:45
Contact:

Dropbox is busted again

Unread post by moonbat » 2022-02-18, 01:36

On a fresh profile, anything other than the main page (when you try to login) shows up a blank section in the middle with the console showing this:

Code: Select all

TypeError: Intl.Locale is not a constructor
  https://cfl.dropboxstatic.com/static/js/alameda_bundle/alameda_bundle_firefox_en-vflBQ1oJQ.js
    line 2, column 60381
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
hackkitten
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-03-26, 23:03

Re: Dropbox is busted again

Unread post by hackkitten » 2022-05-17, 19:59

Can confirm that this is still an issue with DropBox. For a while I could still see images and access files that were linked to, but now I'm just getting blank pages with that same error in the console.

Is this another JavaScript thing? =/

Lurker_01
Fanatic
Fanatic
Posts: 115
Joined: 2015-06-12, 14:59
Location: Uruguay

Re: Dropbox is busted again

Unread post by Lurker_01 » 2022-05-17, 20:44

hackkitten wrote:
2022-05-17, 19:59
Is this another JavaScript thing? =/
Yes
https://repo.palemoon.org/MoonchildProd ... ssues/1819

User avatar
hackkitten
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-03-26, 23:03

Re: Dropbox is busted again

Unread post by hackkitten » 2022-05-19, 09:13

Ah, I see. So the DropBox JS trips over a missing feature and then bails out. Very elegant...

Good to know that it should just work again once this feature has been implemented.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32156
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Dropbox is busted again

Unread post by Moonchild » 2022-05-19, 12:10

hackkitten wrote:
2022-05-19, 09:13
Very elegant...
It could be made elegant easy enough, but web devs apparently never heard of try/catch blocks to not abort an entire script at the first sign of trouble.
"You will observe with concern how long a useful truth may be known and exist before it is generally received and practiced on." -- Benjamin Franklin
"Compromise and collaboration lie at the heart of all great endeavours" -- Kassandra
Image

User avatar
hackkitten
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-03-26, 23:03

Re: Dropbox is busted again

Unread post by hackkitten » 2022-05-19, 17:07

Moonchild wrote:
2022-05-19, 12:10
hackkitten wrote:
2022-05-19, 09:13
Very elegant...
It could be made elegant easy enough, but web devs apparently never heard of try/catch blocks to not abort an entire script at the first sign of trouble.
Back in the olden days when I did webdev, we designed for the lowest common denominator and put in fallbacks including for no CSS support. Somewhere along the way that seems to have changed to a demand on the user to always use the latest Google-blessed browser. Not demanding that websites support IE5.x today, but in cases like this DropBox issue it is rather glaringly obnoxious to demand such features in a browser...

Always a good reason to let DropBox support know my displeasure, I guess :)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32156
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Dropbox is busted again

Unread post by Moonchild » 2022-05-19, 20:10

Targeting something ancient and out of support is really not necessary, but given there is good support for MANY things in all supported browsers that will allow modern, dynamic websites to do everything they'd want without significant functional changes/detriment (e.g. targeting ES6 or ES2017 and before) and since there are only a handful of engines left to even care about, it's not all that difficult to at least target common feature support in those engines.

I mean, really. Does dropbox REALLY NEED the Intl.Locale API to function? No. It's just being used as a convenience. It has nothing to do with hosting or sharing their cloud service or files. So they now choose to break their entire website by not even making it optional. A non-functioning site is always worse than somehow not displaying everything in the visitor's native language/regional preferences.
"You will observe with concern how long a useful truth may be known and exist before it is generally received and practiced on." -- Benjamin Franklin
"Compromise and collaboration lie at the heart of all great endeavours" -- Kassandra
Image

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3949
Joined: 2015-12-09, 15:45
Contact:

Re: Dropbox is busted again

Unread post by moonbat » 2022-05-20, 02:07

Chrome is nothing but job security for modern web developers. Normally there is zero need to change a website every other week.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
hackkitten
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-03-26, 23:03

Re: Dropbox is busted again

Unread post by hackkitten » 2022-05-20, 18:53

I would not be surprised if it's not the DropBox devs themselves who picked this API, but some JS snippet 'developer' who felt they had to use it. After that such a dependency then percolates its way through anything that depends on it, or on a dependency that depends on this dependency. Ad nauseam.

From a cursory glance it appears that this 'Alameda' referenced is a dependency handler like requirejs, though with how tangled the JS 'ecosystem' is it's hard to say exactly...

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32156
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Dropbox is busted again

Unread post by Moonchild » 2022-05-20, 19:34

hackkitten wrote:
2022-05-20, 18:53
From a cursory glance it appears that this 'Alameda' referenced is a dependency handler like requirejs, though with how tangled the JS 'ecosystem' is it's hard to say exactly...
The bottom line is that it's Dropbox who decided to use this dependency so you really can't say dismiss their role and responsibility for what is ultimately comprising their web interface. And since from the web side it becomes impossible to untangle a mess of minified interdependencies it becomes hard or impossible to directly find the one responsible for the "let's use a new shiny" code.
"You will observe with concern how long a useful truth may be known and exist before it is generally received and practiced on." -- Benjamin Franklin
"Compromise and collaboration lie at the heart of all great endeavours" -- Kassandra
Image

User avatar
hackkitten
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-03-26, 23:03

Re: Dropbox is busted again

Unread post by hackkitten » 2022-05-23, 08:29

Oh, I absolutely agree. The fact that DropBox only seems to test their stuff on the latest & shiniest browsers is enough to condemn their development & testing processes :)

User avatar
lashkevi
Moonbather
Moonbather
Posts: 55
Joined: 2018-05-12, 22:51

Re: Dropbox is busted again

Unread post by lashkevi » 2022-06-04, 11:15

Now Dropbox only shows a blank page.
Attachments
Screenshot_20220604_141435.png

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 32156
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Dropbox is busted again

Unread post by Moonchild » 2022-06-04, 11:50

Don't expect it to work until at least Intl.Locale is implemented since they insist on querying the browser's locale information and fail if it's not being a good little servant and spilling your details.
"You will observe with concern how long a useful truth may be known and exist before it is generally received and practiced on." -- Benjamin Franklin
"Compromise and collaboration lie at the heart of all great endeavours" -- Kassandra
Image

Post Reply