Page MenuHomePhabricator

Progress bar moves backwards sometimes
Closed, ResolvedPublic1 Estimated Story Points

Description

betalabs (Safari 7.1.2)

  1. Try to open VE in Safari - see the attached screen recording

The progress bar gets stuck - and, when a page is renewed, the blue color is going backwards for while.

The following errors are displayed in Console:
[Error] TypeError: undefined is not an object (evaluating 'this.doc.children[0]') Error
log (load.php, line 175)
(anonymous function) (load.php, line 153)
fire (load.php, line 45)
fireWith (load.php, line 46)
fire (load.php, line 46)
track (load.php, line 153)
handlePending (load.php, line 158)
runScript (load.php, line 160)
checkCssHandles (load.php, line 161)
(anonymous function) (load.php, line 161)
fire (load.php, line 45)
fireWith (load.php, line 46)
fire (load.php, line 46)
addEmbeddedCSS (load.php, line 156)
(anonymous function) (load.php, line 155)

[Error] Error: QuotaExceededError: DOM Exception 22 DOMException
log (load.php, line 175)
(anonymous function) (load.php, line 153)
fire (load.php, line 45)
fireWith (load.php, line 46)
fire (load.php, line 46)
track (load.php, line 153)
flush (load.php, line 173)

Event Timeline

Etonkovidova raised the priority of this task from to High.
Etonkovidova updated the task description. (Show Details)
Etonkovidova added a project: VisualEditor.
Etonkovidova subscribed.

I found this too happening today on Firefox

Ryasmeen renamed this task from Safari: progress bar gets stuck with "TypeError: undefined is not an object ..." to Safari: progress bar gets stuck with "TypeError: undefined is not an object ..." and also moves backward for a while.Mar 27 2015, 6:30 PM
Ryasmeen set Security to None.
Catrope renamed this task from Safari: progress bar gets stuck with "TypeError: undefined is not an object ..." and also moves backward for a while to Progress bar moves backwards sometimes.Mar 27 2015, 6:32 PM
Catrope subscribed.

Rummana said she couldn't reproduce the error, and this.doc.children[0] doesn't occur in our code any more. So I'm making this task about the progress bar moving backwards, and if the error can be reproduced that should be filed as a separate task.

Are there steps to reproduce to make it go backwards?

The best way to reproduce it - in a browser keep re-load a page.

It seems to be most easily reproducible in Safari, but I saw it in Chrome/FF.

Change 205577 had a related patch set uploaded (by Esanders):
Manually set starting progress to 0 incase stylsheets are slow to apply

https://gerrit.wikimedia.org/r/205577

Change 205577 merged by jenkins-bot:
Manually set starting progress to 0 incase stylsheets are slow to apply

https://gerrit.wikimedia.org/r/205577

I found this again today on Firefox.