Opened 4 years ago

Last modified 3 years ago

#4714 closed defect

"Block element" context menu item fails to open window — at Version 1

Reported by: trev Assignee: trev
Priority: P3 Milestone: Adblock-Plus-1.13-for-Chrome-Opera
Module: Platform Keywords:
Cc: kzar, sebastian Blocked By:
Blocking: Platform: Firefox
Ready: yes Confidential: no
Tester: Ross Verified working: yes
Review URL(s):



Firefox 53.0a1 nightly
Adblock Plus WebExt development build

How to reproduce

  1. Go to
  2. Right-click one of the images and choose "Block element"

Observed behaviour

No composer window opens, error message "Error: Type error for parameter createData (Property "focused" is unsupported by Firefox) for windows.create." shows up in Browser Console.

Expected behaviour

The composer window should open successfully.


Firefox currently won't allow creating unfocused windows (bug 1253129), and it will error out if focused property is present - regardless of the value. However, we want to open a focused window and that's the default behavior in both Firefox and Chrome even though the documentation doesn't really make it clear (for Chrome the unit tests clearly show what the expected behavior is).

What to change

Omit focused parameter when creating windows since the window being focused is the default anyway.

Change History (1)

comment:1 Changed 4 years ago by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.