Page MenuHomePhabricator

Nothing happens on Firefox
Closed, DeclinedPublic

Description

0) Enable the beta feature

  1. https://www.mediawiki.org/wiki/Lightbox_demo#Test_Images or [[w:it:Special:Random]]
  2. Click one of the thumbs, or the expand icon

I. Expected: something happens.
II. Observed: nothing happens.

  1. Click again

I. Expected: no idea.
II. Observed: the file description opens.

Nothing relevant can be seen in the browser console, I think, only stuff like

TypeError: document.getElementById(...) is null

or

"TypeError: localStorage is null" [object Error]

Oh, I tried again and this popped up while the file description opened:
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://browser/content/aboutDialog.js :: init :: line 14" data: no]

Firefox 27.0.1, Linux 3.13.6-200.fc20.x86_64.

On Chromium, I see that this URL is opened: <https://www.mediawiki.org/wiki/Lightbox_demo#mediaviewer/File:Wikimedia Foundation 2013 All Hands Offsite - Day 2 - Photo 24.jpg> and a viewer is displayed.


Version: master
Severity: major

Details

Reference
bz62953

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:53 AM
bzimport set Reference to bz62953.
bzimport added a subscriber: Unknown Object (MLST).

Can't reproduce on FF 28.0/Linux. Do you have any unusual setting in Firefox? Did earlier MultimediaViewer versions work?

(In reply to Tisza Gergő from comment #1)

Can't reproduce on FF 28.0/Linux. Do you have any unusual setting in
Firefox?

Maybe, but nothing I can think of. I'll try without extensions.

Did earlier MultimediaViewer versions work?

I don't remember.

Confirmed in safe mode (no extensions enabled).

0. Firefox 29 on Fedora 20

  1. Create new private window
  2. Go to https://www.mediawiki.org/wiki/Lightbox_demo#Test_Images

(Enabling "Beta" for MMViewer not needed anymore on mw.org)
No matter if logged in or not, clicking a thumbnail works for me.

"TypeError: localStorage is null" [object Error]

Nemo: In Firefox' about:config, is dom.storage.enabled set to true?
Still an issue?

(In reply to Andre Klapper from comment #4)

0. Firefox 29 on Fedora 20

  1. Create new private window
  2. Go to https://www.mediawiki.org/wiki/Lightbox_demo#Test_Images

(Enabling "Beta" for MMViewer not needed anymore on mw.org)
No matter if logged in or not, clicking a thumbnail works for me.

Worked for me too as logged out just now; also as logged in, once I re-enabled MMV in preferences. Nothing changed here though (other than having 29.0 now). Oh well.

"TypeError: localStorage is null" [object Error]

Nemo: In Firefox' about:config, is dom.storage.enabled set to true?
Still an issue?

No, it was false, but I don't think it's related after all, or no longer: I've tried switching it on and off a few times and nothing changed. (For now I'll keep it enabled; can't remember why it was false, probably since many years ago.) The other errors are also still there (together with some new things) and appear to be unrelated as well.

Probably a duplicate of bug 64525, forgot to re-check this bug when I fixed that.
localStorage seems to be null on some browsers for some privacy settings, like incognito mode.