Rajesh Kathiriya
fefc455410
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Marco Castelluccio
91823bf6b0
Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
2017-07-31 13:25:41 +02:00
Ursula Sarracini
602e34a31e
Bug 1021667 - Give Activity Stream URI_SAFE_FOR_UNTRUSTED_CONTENT r=ckerschb,Gijs
...
MozReview-Commit-ID: A7A2ThcpCeR
2017-07-27 10:43:48 -04:00
Yoshi Huang
3b725c0d61
Bug 1380263 - data: URI should inherit origin attributes. r=smaug
2017-07-19 14:41:40 +08:00
Junior Hsu
b9739d40e7
Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz
2017-07-11 02:04:00 +02:00
Mark Banner
b1b7a75372
Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
...
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Frederik Braun
96b2642639
Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
...
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Mark Banner
9fc03b12e9
Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
...
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Christoph Kerschbaumer
5452a95b49
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Florian Quèze
b2499a4c57
Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop.
2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Mark Banner
44d0568f41
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout
2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Yoshi Huang
e63356e35f
Bug 1344170: set firstPartyDomai on blob: URI. r=smaug
...
A web page could generate an URL by URl.createObjectURL(new Blob(...));
then navigate to this generated URL.
In this case the (top-level) document URI will be blob:{origin}:{uuid}.
And we try to add firstPartyDomain on this top-level document with blob URI, so
the following request from this document could have correct origin
attributes.
2017-04-24 14:12:03 +08:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Yoshi Huang
bcb5c3ac77
Bug 1346713 - Generate unique firstPartyDomain value for NullPrincipal. r=smaug
...
In the past we used a fixed value for the firstPartyDomain of
NullPrincipal, now we derive it from the path of NullPrincipal, so it
will be unique everytime we create it.
2017-04-11 16:48:34 +08:00
Mark Banner
25c75db032
Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
...
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.
MozReview-Commit-ID: 1LLFbn6fFJR
2017-04-05 10:00:25 +01:00
Andrea Marchesini
a8517d8f9f
Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan
2017-03-29 15:28:46 +02:00
Sebastian Hengst
2d8413763d
Backed out changeset 4af10700c64c (bug 1347817)
2017-03-29 11:17:04 +02:00
Andrea Marchesini
8a16af58e2
Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan
2017-03-29 08:27:17 +02:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Yoshi Huang
6c76de3e9f
Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
...
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.
So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.
There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Mark Banner
7d691acb44
Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
...
MozReview-Commit-ID: DUnxVITvZgh
2017-03-03 09:29:14 +00:00
Masatoshi Kimura
d2f2c366ff
Bug 1342144 - Fix ESLint errors in browser/. r=Paolo
...
MozReview-Commit-ID: ByMEEcTQQtd
2017-02-24 23:25:45 +09:00
Masatoshi Kimura
4f2e64ad3d
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Tim Huang
cad3d56e24
Bug 1339336 - Add a test case for pref "privacy.firstparty.isolate.restrict_opener_access". r=baku
...
MozReview-Commit-ID: GmnsHt2dumI
2017-02-16 10:15:54 +08:00
Mark Banner
3d5cf8ade7
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Carsten "Tomcat" Book
e03a98e408
Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul
2017-02-15 15:24:32 +01:00
Mark Banner
fcc130aa4e
Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
...
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Jared Wein
601c1e5636
Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
...
MozReview-Commit-ID: 7iXjQtp9ftV
2017-01-17 10:38:58 -06:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Florian Quèze
b36a8b8f42
Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws.
2017-01-11 22:27:42 +01:00
Florian Quèze
45647c4570
Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws.
2017-01-09 20:27:25 +01:00
Jonathan Hao
b31d12a165
Bug 1270338 - Add a mochitest to ensure Sanitizer clears data for all containers. r=baku,tanvi
2016-12-27 15:05:16 +08:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Jonathan Hao
4cf8fa7fbf
Bug 1282655 - Test if site permissions are universal across origin attributes. r=tanvi
2016-12-26 22:38:00 -05:00
Shawn Huang
3ad4d79278
Bug 1270038 - Add permission 'persistent-storage' for StorageManager, r=baku
2016-12-16 18:00:53 +08:00
Tim Huang
1ea8bd79d3
Bug 1311237 - Fix the intermittent through making the observer been added earlier. r=baku
2016-12-08 16:04:06 -10:00
Jonathan Hao
c558de320d
Bug 1274020 - Tests that shows the Cache Web API is separated by origin attributes. r=baku
2016-12-13 11:44:59 +08:00
Jonathan Hao
465092ec85
Bug 1282279 - Tests that make sure user certificates are Origin Attribute aware. r=baku
2016-11-29 14:21:09 +08:00
Yoshi Huang
955e9c647b
Bug 1315602 - Remove the assertion of FirstPartyDomain should be empty in HTTP redirect. r=smaug
2016-12-01 15:49:07 +08:00
Tim Huang
0ede940519
Bug 1315723 - Resolve the timeout problem of the browser_cache.js. r=baku
2016-11-22 14:57:19 +08:00
Dave Huseby
edf3a380b2
Bug 1304432 - Intermittent test timeouts, added requestLongerTimeout. r=ehsan
2016-11-17 16:13:00 -05:00