Page MenuHomePhabricator

VisualEditor freezes (in one Extension: page)
Open, Needs TriagePublic


On this page the new editor freezes, see screenshot.

Not logged in, private window, Firefox 82.0
Screenshot of web console:

EDIT: See T266682#6711409

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Using Firefox 84.0.1 (latest to this date), I am able to reproduce method A:

  1. Go to "Editing" section of user settings
  2. De-check "Temporarily disable the visual editor while it is in beta" option if checkmarked
  3. Select "Show me both editor tabs" in the Editing mode menu
  4. Go to "Beta features" tab and checkmark/enable "New wikitext mode"
  5. Click "Save" button
  6. Go to
  7. Click the "≡" (triple bar) icon on the upper-right corner of Firefox
  8. Open "Inspector" from "Web developer" sub-menu
  9. Click the "Edit source" tab of the page
  10. The source editor loads well
  11. Then click "Edit" (to open VisualEditor)
  12. Somehow, the chart doesn't appear, and NWE's toolbar appears in the VisualEditor
  13. In Inspector, you'll see the following pink message: Uncaught TypeError:[0].values is undefined and load.php:753:885

Method B:
The 2017NWE works when either "Always show me the source editor" is selected as the "editing mode" or when VisualEditor is disabled.

However, the (regular) VisualEditor stops loading, especially when "Always give me the visual editor if possible" is selected. In Inspector, the same pink message appears.

I tested this out on Chrome 87 and IE11. The same issue with (regular) VisualEditor still persists in those browsers, and their web developers may have caught the same console error.

IE11: Unable to get property 'length' of undefined or null reference and SCRIPT438: Object doesn't support property or method 'sendBeacon'


VM343:178 Uncaught TypeError: Cannot read property 'length' of undefined
at (<anonymous>:178:906)
at (<anonymous>:175:139)
at <anonymous>:175:968
at fire (load.php?lang=en&mod…r&version=155xk:741)
at Object.add [as done] (load.php?lang=en&mod…r&version=155xk:741)
at (<anonymous>:175:908)
at VeCeMWGraphNode.VeCeGeneratedContentNode (load.php?lang=en&mod…r&version=1lojo:536)
at VeCeMWGraphNode.VeCeMWExtensionNode (<anonymous>:942:167)
at VeCeMWGraphNode.VeCeMWBlockExtensionNode (<anonymous>:944:503)
at VeCeMWGraphNode (<anonymous>:174:536)
gh87 renamed this task from 2017 wikitext editor freezes to VisualEditor freezes (in one Extension: page).Dec 24 2020, 8:20 AM
gh87 updated the task description. (Show Details)