Commit Graph
22 Commits
Author SHA1 Message Date
Kris Maglione 31b62bd68b Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

https://bitbucket.org/kmaglione/m-c-rewrites/src/bc5629735d8c7e4150f376d4a906e7c7c23132ba/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87
2018-04-12 21:10:04 -07:00
shindli 0d3a6e02cc Merge inbound to mozilla-central. a=merge 2018-04-12 02:45:34 +03:00
Trisha d88222118a Bug 1444445 - Remove unsafeSetInnerHTML in browser_l10n_localizeMarkup.js. r=johannh
MozReview-Commit-ID: 1eaABunZe0B
2018-04-06 19:44:57 +08:00
Johann Hofmann dce039f52a Bug 1453279 - Include client/shared/test/shared-head.js in devtools/shared tests. r=jdescottes
MozReview-Commit-ID: LrVCfDb3xwh
2018-04-11 12:58:44 +02:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Alexandre Poirot c693997506 Bug 1440320 - Convert Task.jsm to async/await in devtools/shared. r=jryans
MozReview-Commit-ID: IK8BzlYuOWm
2018-02-22 00:49:06 -08:00
Kris Maglione 9e04067677 Bug 1432966: Sanitize HTML fragments created for chrome-privileged documents. r=bz f=gijs
This is a short-term solution to our inability to apply CSP to
chrome-privileged documents.

Ideally, we should be preventing all inline script execution in
chrome-privileged documents, since the reprecussions of XSS in chrome
documents are much worse than in content documents. Unfortunately, that's not
possible in the near term because a) we don't support CSP in system principal
documents at all, and b) we rely heavily on inline JS in our static XUL.

This stop-gap solution at least prevents some of the most common vectors of
XSS attack, by automatically sanitizing any HTML fragment created for a
chrome-privileged document.

MozReview-Commit-ID: 5w17celRFr
2018-01-24 14:56:48 -08:00
Alexandre Poirot 5d9fb27256 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY
2017-07-18 11:05:47 +02:00
Carsten "Tomcat" Book c41fe0dd6f Backed out changeset a46ee323e1e7 (bug 1359855) for test failures in browser_ext_devtools_inspectedWindow.js 2017-07-24 12:07:39 +02:00
Alexandre Poirot cc18cc689f Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY
2017-07-18 11:05:47 +02:00
Tim Nguyen 9390ab0eba Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 15:01:42 +01:00
Phil Ringnalda 83857fe4ea Backed out changeset 67611ffb1fef (bug 1325213) for failures in test_require_lazy.js 2016-12-29 19:01:37 -08:00
Tim Nguyen eb7be14ba4 Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 03:11:52 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Julian Descottes 170815be25 Bug 1299070 - Merge all startup strings in startup.properties;r=bgrins
MozReview-Commit-ID: 99zWNTHid21
2016-09-02 17:45:22 +02:00
Julian Descottes 05cfa367ef Bug 1294186 - Create localization helper for markup using data-localization attributes;r=bgrins
Create a helper designed to localize markup containing specific localization atttributes
(see the jsdoc in l10n.js)

MozReview-Commit-ID: 4ThyI1DaLQS
2016-08-30 21:40:28 +02:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Patrick Brosset a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
J. Ryan Stinnett 005f5c452c Bug 1196047 - Move async-storage.js to devtools/shared. r=bgrins 2015-10-09 18:26:06 -05:00