Page MenuHomePhabricator

VisualEditor: Firefox has issues using VE when cookies are disabled
Closed, ResolvedPublic

Description

Author: turb

Description:
When cookies are disabled, VisualEditor loads indef. It would better to either 1) be able to use it without cookies (I suppose that's not possible) or 2) display an adequate error message.

Tested on Firefox 17.0.1 with Cookie Monster 1.1.0.


Version: unspecified
Severity: minor

Details

Reference
bz43193

Event Timeline

You can't have *all* cookies disabled, otherwise you wouldn't be able to log in and enable the VE preference. I'm guessing this might be a badtoken error (in which case I'm pretty sure we do actually show an error message, rather than load forever; and in which case you're probably also unable to edit through the regular UI), or it might be something entirely unrelated to cookies.

Can you confirm whether VE always fails to load with Cookie Monster and always loads successfully without Cookie Monster?

(In reply to comment #1)

Can you confirm whether VE always fails to load with Cookie Monster and
always
loads successfully without Cookie Monster?

And could you also confirm that you're able to edit *as a logged-in user* using the regular non-visual editor?

turb wrote:

(In reply to comment #2)

(In reply to comment #1)

Can you confirm whether VE always fails to load with Cookie Monster and
always
loads successfully without Cookie Monster?

And could you also confirm that you're able to edit *as a logged-in user*
using
the regular non-visual editor?

I forgot to mention I was testing on VisualEditor:Test in mediawiki.org, that was not whitelisted in Cookie Monster. When I did whitelisted it, the page reloaded and VE was now working.

I just removed again mediawiki.org from whitelist, and VE now loads without end.

VE do work for me in en.wikipedia.org (that is of course whitelisted). I don't know if anonymous users can contribute with cookies disabled (for the day it will be activated for them).

turb wrote:

Note: after some tests, VE does work with Chrome and IE9, with totally disabled cookies.

(In reply to comment #3)

(In reply to comment #2)

(In reply to comment #1)

Can you confirm whether VE always fails to load with Cookie Monster and
always
loads successfully without Cookie Monster?

And could you also confirm that you're able to edit *as a logged-in user*
using
the regular non-visual editor?

I forgot to mention I was testing on VisualEditor:Test in mediawiki.org, that
was not whitelisted in Cookie Monster. When I did whitelisted it, the page
reloaded and VE was now working.

I just removed again mediawiki.org from whitelist, and VE now loads without
end.

Does normal editing (through the old, non-visual editor) work for you on mediawiki.org when not whitelisted?

turb wrote:

(In reply to comment #5)

Does normal editing (through the old, non-visual editor) work for you on
mediawiki.org when not whitelisted?

Yes, it works.

Afaik the bad token handling has been solved for the save process. The load process no longer requires a token.

Can you confirm this now works fine?

turb wrote:

(In reply to comment #7)

Afaik the bad token handling has been solved for the save process. The load
process no longer requires a token.

Can you confirm this now works fine?

Yes, it does work fine now, even with Cookie Monster preventing cookies to be set.