Commit Graph

214 Commits

Author SHA1 Message Date
Kris Maglione
219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Mark Hammond
ad4ac608a7 Bug 1447397 - avoid allocating too much memory in test_crypto_encrypt.js, avoiding OOM on win32. r=kitcambridge
MozReview-Commit-ID: Is359cvtTJR

--HG--
extra : rebase_source : 10de8aeb7ebb091077fccfa3aabe435ae2406642
2018-03-21 09:34:41 +11:00
Mark Hammond
4cae8128c3 Bug 1442128 - support aes128gcm encryption in PushCrypto.jsm. r=kitcambridge,mt
MozReview-Commit-ID: HqLxm7wuZuv

--HG--
extra : rebase_source : 10512ec769ab43674e829363af06805e1b4844d6
2018-02-20 12:01:08 +11:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Thomas Wisniewski
faf8fd28bb Bug 792808 - Change dom/push to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=bz,dragana
MozReview-Commit-ID: KbyYOz9ZWHq

--HG--
extra : rebase_source : 5e150ed0bef41c335a4a06591a13be860676d921
2017-09-19 11:47:55 -04:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Sebastian Hengst
5d8ae77a29 Bug 1433689 - Skip test_serviceworker_lifetime.html temporarily as it fails on linux32 non-e10s. r=me, a=testonly 2018-01-27 22:15:39 +02:00
Kris Maglione
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Ben Kelly
020e20e535 Bug 1425965 P7 Fix dom/push/test/test_error_reporting.html to expect new console reporting mechanism. r=asuth 2018-01-12 12:16:06 -05:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Ryan VanderMeulen
37fcf1c629 Bug 1265233 - Skip test_updateRecordNoEncryptionKeys_ws.js on Linux for frequent failures.
--HG--
extra : rebase_source : 49db7e9b814147570a09509fecb2ebb6150f19ec
2017-09-29 12:56:42 -04:00
Masatoshi Kimura
32e5d77ba4 Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz
MozReview-Commit-ID: CY47PBaQ5oy

--HG--
extra : rebase_source : 6a82bae0d3caafadc772a08a1d392ab30c4ad914
2017-08-06 15:31:31 +09:00
Valentin Gosu
953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Masatoshi Kimura
f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Geoff Brown
b5f093f0c1 Bug 1373346 - Skip some dom/push tests on Windows Debug too; r=me,test-only 2017-06-27 12:01:25 -06:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Joel Maher
336eae99ca Bug 1373346 - dom/push/test has many perma failing mochitests, disable for now. r=gbrown
MozReview-Commit-ID: JrnJRocoooB
2017-06-20 13:25:02 -04:00
Joel Maher
e32c767aa3 Bug 1373346 - Intermittent dom/push/test/test_data.html - temporarily disable. r=gbrown
MozReview-Commit-ID: 8g7H9nYob6g
2017-06-19 14:03:15 -04:00
Andrea Marchesini
1cb008c2f2 Bug 1369314 - Get rid of nsScriptSecurityManager::GetAppCodebasePrincipal, r=bholley 2017-06-02 11:05:28 +02:00
Kit Cambridge
457e13af4c Bug 1345665 - Improve push crypto tests. r=mt
MozReview-Commit-ID: 5zkqDEryGsA

--HG--
extra : rebase_source : c54b264c292472d930560f017bf1400d1b2a941d
2017-05-10 10:35:42 -07:00
Kit Cambridge
d4dafb9ea8 Bug 1345665 - Implement the "aes128gcm" push decryption scheme. r=mt
MozReview-Commit-ID: 3touVfeSDwE

--HG--
extra : rebase_source : cb02c827fb657440c4ff05b7212a3015baff33be
extra : source : 117a38e95fd52cdba968e0f169ebb3a63e69e118
2017-05-11 22:03:26 -07:00
Kit Cambridge
3a3c236cd9 Bug 1345665 - Refactor push decryption into separate decoder classes. r=mt
This patch moves the decryption methods into a base `Decoder` class,
and an intermediate `OldSchemeDecoder` with subclasses for aesgcm and
aesgcm128. The base class provides a `decrypt` method that computes the
ECDH shared secret, derives the key and nonce, decrypts each record,
and removes padding. Subclasses implement `deriveKeyAndNonce`,
`unpadChunk`, `chunkSize`, and `padSize`.

MozReview-Commit-ID: IuGPaofWKNq

--HG--
extra : rebase_source : daaf414127a11525ce7d61c15b96e7f3493611de
2017-05-10 10:44:51 -07:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Bill McCloskey
46be3abeb0 Bug 1337577 - Ensure that console listeners never touch web content, including in tests (r=mccr8)
MozReview-Commit-ID: 7UVaNUyj5yq
2017-02-13 17:03:01 -08:00
Kit Cambridge
d06d0c7897 Bug 1337348 - Ensure array buffers and Base64-encoded strings can be passed as app server keys. r=baku
MozReview-Commit-ID: HgpSjhCKGgI

--HG--
extra : rebase_source : b93c6f6833fee7d1f7075dc006d0062c2df9190f
2017-02-07 13:56:01 -08:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze
a03918c148 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
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Masatoshi Kimura
415e3e6e03 Bug 1321252 - Stop setting "network.http.spdy.enforce-tls-profile" in tests. r=nwgh
MozReview-Commit-ID: 6qbgQxG32Kj

--HG--
extra : rebase_source : 7059b80aabaeff03bfb2608dd757c4401fdda0e7
2016-11-30 19:33:46 +09:00
Nicholas Hurley
ad0fdc81aa Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy

--HG--
extra : rebase_source : 70ffa6b9e38e357d797ef34a547d921e7a609410
2016-10-18 10:54:33 -07:00
Phil Ringnalda
8d5c9df9bf Backed out changeset 143f26b923d0 (bug 1310855) for WinXP xpcshell failures starting with test_register_success_http2.js 2016-11-07 18:42:57 -08:00
Nicholas Hurley
4575a61f8c Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy

--HG--
extra : rebase_source : 70ffa6b9e38e357d797ef34a547d921e7a609410
2016-10-18 10:54:33 -07:00
Sebastian Hengst
49b78ed119 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/push. r=RyanVM
MozReview-Commit-ID: Ku8mviLoJsT

--HG--
extra : rebase_source : f41790067ffa92449592a1d77beb024205ac002b
2016-11-05 11:29:17 +01:00
Kit Cambridge
d1bf3d09e9 Bug 1311739 - PushDB.update should reject instead of returning undefined for invalid records. r=dragana
MozReview-Commit-ID: HCLOSz4FHWO

--HG--
extra : rebase_source : 57b4e19d3b391e9b0ad96b95d36aee4e3ebcc5a5
2016-10-20 08:45:44 -07:00
Kit Cambridge
ee288ff7bb Bug 1311739 - Fail push tests with an informative error if the H/2 server port is missing. r=dragana
MozReview-Commit-ID: 97rOKjbDlTu

--HG--
extra : rebase_source : 62c385b7317a3d9d3a7ad807eca6667ae25a255b
2016-10-20 09:25:36 -07:00