Page MenuHomePhabricator

VE crashes with unresponsive Gallery dialog and "Error: Permission denied to access property "parentNode"" shows up
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  1. Go to Insert>Gallery
  2. Add an image in the Images tab of gallery dialog
  3. Go to Options tab set "Images per row" as 1
  4. Click on "Insert"
  5. Now again open the Gallery dialog
  6. Observe that it opens the Options tab first inside Gallery dialog, not the first tab "Images" but the last opened tab
  7. Now switch to Images tab and add an image
  8. Switch to Options and click on "Images per row"

Observed Result:
Error: Permission denied to access property "parentNode" shows up in the console and clicking on Insert or Cancel on the Gallery dialog crashes VE

Screen Shot 2016-06-23 at 2.35.08 PM.png (734×1 px, 240 KB)

Event Timeline

Jdforrester-WMF set the point value for this task to 1.
Jdforrester-WMF moved this task from To Triage to Blocked on the VisualEditor board.

I'm having trouble replicating this on vagrant and on test2 (both Firefox). Anyone got any ideas?

Re: the fact the Gallery opens with the state it was closed in (observed in step 6) - will make a patch for that.

Yeah, The original issue of crashing is happening no more.