Closed Bug 1216574 Opened 9 years ago Closed 8 years ago

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

Categories

(addons.mozilla.org Graveyard :: Add-on Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: TheOne, Assigned: cgrebs)

Details

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

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."
Iteration: --- → 45.2 - Nov 30
Whiteboard: [ReviewTeam] → [ReviewTeam][port-to-js-validator]
Assignee: nobody → cgrebs
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 8 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.