Closed Bug 1224289 Opened 4 years ago Closed 4 years ago
add eslint rule to reject use of Cu
.import Global Properties
Cu.importGlobalProperties is dangerous to use and I'm removing it from devtools in bug 1223452. It would be good to have a new eslint rule to reject new uses of it.
Assignee: nobody → mratcliffe
Assignee: mratcliffe → nobody
Comment on attachment 8710533 [details] [diff] [review] add eslint rule to reject Cu.importGlobalProperties I enabled this for devtools only, since I don't know what other project want. For devtools we've already eliminated all the calls to this from our code.
Attachment #8710539 - Flags: review?(mratcliffe) → review+
[bugday-20160323] Status: RESOLVED,FIXED -> UNVERIFIED Comments: STR: Not clear. Developer specific testing Component: Name Firefox Version 46.0b9 Build ID 20160322075646 Update Channel beta User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 OS Windows 7 SP1 x86_64 Expected Results: Developer specific testing Actual Results: As expected
You need to log in before you can comment on or make changes to this bug.