Closed
Bug 1200822
Opened 9 years ago
Closed 9 years ago
NewTabURL.override() should raise a validator warning
Categories
(addons.mozilla.org Graveyard :: Add-on Validation, defect)
addons.mozilla.org Graveyard
Add-on Validation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: TheOne, Assigned: mstriemer)
References
Details
As 'browser.newtab.url' is being replaced by 'NewTabURL.override()' (http://mxr.mozilla.org/mozilla-beta/source/browser/modules/NewTabURL.jsm) that one should raise a validator warning like 'browser.newtab.url' does.
Assignee | ||
Comment 2•9 years ago
|
||
What sort of warning should this generate? I don't quite understand.
Flags: needinfo?(awagner)
Reporter | ||
Comment 3•9 years ago
|
||
The validator should basically the same warning as the current 'browser.newtab.url' warning
https://github.com/mozilla/amo-validator/blob/master/validator/testcases/javascript/predefinedentities.py#L129
https://github.com/mozilla/amo-validator/blob/master/validator/testcases/javascript/predefinedentities.py#L32
with signing severity 'high'.
Flags: needinfo?(awagner)
Assignee | ||
Comment 4•9 years ago
|
||
Right, good call.
Assignee | ||
Comment 5•9 years ago
|
||
Status: NEW → ASSIGNED
Comment 6•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/amo-validator
https://github.com/mozilla/amo-validator/commit/9e01a3e1cd4ead4ea6b32c1fa5d107e78f0df536
Warn about NewTabURL.override (bug 1200822)
https://github.com/mozilla/amo-validator/commit/4eb033c8869c817dde3011020820d6faa7bf9bd7
Merge pull request #326 from mstriemer/NewTabURL.override-error-1200822
Warn about NewTabURL.override (bug 1200822)
Assignee | ||
Comment 7•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•