Validator should flag observer registrations to 'newtab-url-changed' event.

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: TheOne, Assigned: cgrebs)

Tracking

Details

(Whiteboard: [ReviewTeam][port-to-js-validator])

(Reporter)

Description

3 years ago
Registering to the 'newtab-url-changed' is potentially dangerous as add-ons could lock their preferred newtab url or even fight with each other if more than one add-on uses this observer to revert a changed newtab url.

Warning: "Extensions must not use the 'newtab-url-changed' event to revert changes made to the new tab url."
Description: "To avoid conflicts, extensions are not allowed to add an observer to the 'newtab-url-changed' event in order to revert changes that have been made to the new tab url."
Signing Severity: "high"
Signing help: "Add-ons which use 'newtab-url-changed' to change the new tab url are not allowed."

Updated

3 years ago
Iteration: --- → 45.2 - Nov 30
Whiteboard: [ReviewTeam] → [ReviewTeam][port-to-js-validator]
(Assignee)

Updated

3 years ago
Assignee: nobody → cgrebs
(Assignee)

Updated

3 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.