Opened on 02/20/2017 at 01:39:05 PM

Closed on 03/29/2017 at 12:33:07 PM

Last modified on 05/22/2017 at 12:29:15 PM

#4915 closed change (fixed)

Expose ext.i18n for background pages

Reported by: wspee Assignee: wspee
Priority: P2 Milestone: Adblock-Plus-2.9-for-Firefox
Module: Adblock-Plus-for-Firefox Keywords:
Cc: Blocked By:
Blocking: #4716, #5055 Platform: Firefox
Ready: yes Confidential: no
Tester: Unknown Verified working: yes
Review URL(s):

https://codereview.adblockplus.org/29370594/
https://codereview.adblockplus.org/29376555/

Description (last modified by trev)

Background

#3672 moves lib/antiadblockInit.js from adblockpluscore to adblockplusui and uses ext.i18n.getMessage instead of Utils.getString for translation. In firefox ext.i18n is only available for content so we need to expose it to background as well.

What to change

Expose ext.i18n to background so lib/antiadblockInit.js can use ext.i18n.getMessage instead of Utils.getString.

What to test

This change affects anti-adblock notification, it should be tested along with other changes in #5055.

Attachments (0)

Change History (12)

comment:1 Changed on 02/20/2017 at 01:52:16 PM by wspee

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed on 03/01/2017 at 02:31:20 PM by wspee

  • Description modified (diff)

comment:3 Changed on 03/01/2017 at 02:46:57 PM by wspee

  • Blocking 4716 added
  • Description modified (diff)

comment:4 Changed on 03/01/2017 at 02:47:20 PM by wspee

  • Review URL(s) modified (diff)

comment:5 Changed on 03/07/2017 at 11:13:53 AM by abpbot

A commit referencing this issue has landed:
Issue 4915 - Define ext for background pages in antiadblockInit.js

comment:6 Changed on 03/29/2017 at 12:08:40 PM by trev

  • Blocking 5055 added

comment:7 Changed on 03/29/2017 at 12:32:30 PM by abpbot

A commit referencing this issue has landed:
Issue 4915 - Expose ext.i18n for background pages

comment:8 Changed on 03/29/2017 at 12:33:07 PM by trev

  • Milestone set to Adblock-Plus-for-Firefox-next
  • Resolution set to fixed
  • Status changed from reviewing to closed

comment:9 Changed on 03/29/2017 at 12:33:17 PM by trev

  • Ready set

comment:10 Changed on 03/29/2017 at 12:33:31 PM by trev

  • Priority changed from Unknown to P2

comment:11 Changed on 03/29/2017 at 12:34:55 PM by trev

  • Description modified (diff)

comment:12 Changed on 05/22/2017 at 12:29:15 PM by Ross

  • Verified working set

Done/implemented. Anti-adblock notification works as expected after changes.

ABP 2.8.2.4246-beta
Firefox 51 / 53 / Beta (54.0b2)
Windows 7

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from wspee.
 
Note: See TracTickets for help on using tickets.