https://bugzilla.wikimedia.org/show_bug.cgi?id=57901

--- Comment #7 from Krinkle <krinklem...@gmail.com> ---
Rephrasing bug.

There is explicit logic in place to not update the url sometimes. This is for
when we're reacting to a popstate event (e.g. you open VisualEditor from the
read page, this activates the editor without a refresh, if you then click back,
the browser has already updated the url and it is now telling us to react to
that, we don't want to update the url again in that case).

Whenever the editor is initialised in Chrome by direct query parameter  (e.g.
by clicking "Edit" on a page where we don't load visualeditor, e.g. MediaWiki's
Edit source page), the weird initial popstate fired by Chrome was
misinterpreted as a dynamic state change.

Then, when leaving the editor, we still think we're reacting to a popstate
event so we don't touch the url.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to