Граф коммитов

35 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00: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 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
Robert Strong 7b64a51b7d Bug 1105689 - use SHA384 certificates to sign app update mar files. Part 3 - libmar test extracted SHA384 signatures from the test mar files. r=mhowell, a=app_update_sha384 2017-07-30 23:27:36 -07:00
Robert Strong 151b7a59bc Bug 1105689 - use SHA384 certificates to sign app update mar files. Part 2 - libmar test mar files signed with a SHA384 cert. r=mhowell, a=app_update_sha384 2017-07-30 23:27:32 -07:00
Robert Strong 6847e81a18 Bug 641212 - use lzma compression for application update. Part 3 - test changes to support the new test mar file size and additional logging. r=mhowell, a=app_update_lzma 2017-07-30 23:27:05 -07: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
Robert Strong a27aa51a9e Test changes for Bug 1321951 - Use the same mar files on all platforms for libmar tests and general libmar test cleanup. r=mhowell 2016-12-12 16:57:13 -08:00
Robert Strong 87667f8289 Test data files for Bug 1321951 - Use the same mar files on all platforms for libmar tests and general libmar test cleanup. r=mhowell
--HG--
rename : modules/libmar/tests/unit/data/win_0_sized_mar.mar => modules/libmar/tests/unit/data/0_sized.mar
rename : modules/libmar/tests/unit/data/win_1_byte_mar.mar => modules/libmar/tests/unit/data/1_byte.mar
rename : modules/libmar/tests/unit/data/win_binary_data_mar.mar => modules/libmar/tests/unit/data/binary_data.mar
rename : modules/libmar/tests/unit/data/manipulated_signed_mar.mar => modules/libmar/tests/unit/data/manipulated_signed.mar
rename : modules/libmar/tests/unit/data/win_multiple_file_mar.mar => modules/libmar/tests/unit/data/multiple_file.mar
rename : modules/libmar/tests/unit/data/win_multiple_signed_no_pib_mar.mar => modules/libmar/tests/unit/data/multiple_signed_no_pib.mar
rename : modules/libmar/tests/unit/data/win_multiple_signed_pib_mar.mar => modules/libmar/tests/unit/data/multiple_signed_pib.mar
rename : modules/libmar/tests/unit/data/multiple_signed_pib_mar_2.mar => modules/libmar/tests/unit/data/multiple_signed_pib_2.mar
rename : modules/libmar/tests/unit/data/no_pib_mar.mar => modules/libmar/tests/unit/data/no_pib.mar
rename : modules/libmar/tests/unit/data/win_signed_no_pib_mar.mar => modules/libmar/tests/unit/data/signed_no_pib.mar
rename : modules/libmar/tests/unit/data/win_signed_pib_mar.mar => modules/libmar/tests/unit/data/signed_pib.mar
rename : modules/libmar/tests/unit/data/signed_pib_mar_with_mycert2.mar => modules/libmar/tests/unit/data/signed_pib_with_mycert2.mar
2016-12-12 16:56:58 -08:00
Sebastian Hengst 3f0d668bb5 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: modules. r=RyanVM
MozReview-Commit-ID: 2tN5AOxZVvU

--HG--
extra : rebase_source : dc9c12b6669fcd72be5042ac19016d8924dcc2ad
2016-11-05 11:29:21 +01:00
ISHIKAWA, Chiaki be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Hiroyuki Ikezoe bf31e06927 Bug 1167627 - Part 2: Use mozinfo in modules/libmar/. r=rstrong 2015-10-11 21:48:00 +02:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Nathan Froyd 4a5959372c Bug 1062874 - part 2 - don't preprocess head_libmar.js; r=ted 2014-09-02 13:46:10 -04:00
Nathan Froyd 74632e9bd3 Bug 1062874 - part 1 - remove preprocessor-requiring bits from head_libmar.js.in; r=bbondy 2014-09-02 13:18:39 -04:00
Stephen Pohl 0cf1dbaebb Bug 978597: Implement native MAR verification for OS X 10.6. r=smichaud 2014-04-22 20:45:59 -04:00
Stephen Pohl 53be662026 Bug 978596: Implement native MAR verification for OS X 10.7+. r=bbondy, rstrong, smichaud 2014-04-08 10:06:56 -04:00
Gregory Szorc 7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Mihnea Dobrescu-Balaur dd8d005df3 Bug 895572 - Use the sandboxed tempDir so that modules/libmar tests can be run concurrently. r=bbondy 2013-07-22 09:15:08 -07:00
Brian R. Bondy def62086b3 Bug 795915 - Ensure permissions get encoded correctly in libmar test suite. r=rstrong 2012-10-19 19:07:25 -04:00
Brian R. Bondy 4a89eb4cad Bug 798415 - Tests for import signature to MAR files. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy 459817141a Bug 798415 - Binary data for tests for import signatures to MAR files. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy f6cba803e5 Bug 798413 - Tests for export signature from MAR files. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy df5ae31148 Bug 798413 - Binary data for tests for export signatures from MAR files. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy 6f9f43864f Bug 792452 - Tests for multiple signing. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy b232454d68 Bug 792452 - Binary data for multiple signature test cases. r=bsmith 2012-10-17 09:39:43 -04:00
Brian R. Bondy 43bb285440 Bug 730862 - Fix for signmar tests on linux and OS X. r=rstrong 2012-04-12 19:07:03 -04:00
Brian R. Bondy c5eb33d74f Bug 730862 - Signmar tests fix for version upgrades. r=rstrong 2012-04-12 19:06:02 -04:00
Brian R. Bondy e35ec9e9b0 Bug 730792 - Enable new security checks for updates without the service. r=rstrong 2012-03-05 15:47:46 -05:00
Brian R. Bondy e0b2da7b0b Bug 725180 - Create test suite for libmar. r=rstrong 2012-02-24 16:29:42 -05:00