Commit Graph

196 Commits

Author SHA1 Message Date
Joel Maher
d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Mark Banner
1088a9f732 Bug 1463088 - Whitelist self-assigns in browser/base/content/test/plugins/ ready for the next version of ESLint. r=jimm
MozReview-Commit-ID: 67uodWaF8sO
2018-06-07 14:42:37 +01:00
Andreea Pavel
68fa42ef9b Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Gijs Kruitbosch
8ff59950d2 Bug 1456515 - make plugin URL methods async, r=kmag
MozReview-Commit-ID: 6EITxFc12mW
2018-04-27 15:56:46 +01:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Gijs Kruitbosch
82d0a77d46 Bug 1456171 - make getPluginBlocklistState API asynchronous, r=kmag
MozReview-Commit-ID: KcDWtkdkNKs
2018-04-23 17:11:34 +01:00
Gijs Kruitbosch
73f362f883 Bug 1454456 - make getAddonBlocklistState API asynchronous, r=mossop
MozReview-Commit-ID: 1HniSNjL3M0
2018-04-16 20:03:09 +01:00
Gijs Kruitbosch
06d6f2d545 Bug 1451743 - remove getAddonBlocklistURL from nsIBlocklistService, r=florian
MozReview-Commit-ID: HSrOHIZ1MA
2018-04-05 15:05:28 +01:00
Gijs Kruitbosch
399d72110b Bug 1451487 - remove nsIBlocklistService::isAddonBlocklisted as it's unused, r=mossop
MozReview-Commit-ID: Ht9DgjliSoo
2018-04-04 22:01:08 +01:00
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Gijs Kruitbosch
a517127654 Bug 1443870 - update tests for lack of content-process blocklist, r=florian
MozReview-Commit-ID: 4PyUDd6BNsM
2018-03-14 20:02:11 +00:00
Prathiksha
375cc71cab Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 7CLfN4Io0ez
2018-02-18 00:20:11 +05:30
Andreea Pavel
15a36587f5 Backed out changeset 8e5b1525be69 (bug 1192927) or failing testing\firefox-ui\tests\functional\security\test_no_certificate.py TestNoCertificate.test_no_certificate on a CLOSED TREE 2018-03-02 13:51:15 +02:00
Prathiksha
0567731fbe Bug 1192927 - Remove plugins specific code and initialize the flash plugin row in Page Info and support flash in Site Identity. r=Felipe,johannh
MozReview-Commit-ID: 3KUbgencO3M
2018-02-18 00:20:11 +05:30
Florian Quèze
f6add2cafd 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
Jared Wein
1cc3be152f Bug 1436575 - Clean up some of the autofix changes from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 7Q8YBxEzbHr
2018-02-08 13:15:26 -05:00
Jared Wein
db0a992247 Bug 1436575 - Autofix errors from no-compare-against-boolean-literal. r=standard8
MozReview-Commit-ID: 66sXxnOWDgw
2018-02-08 12:57:31 -05:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Johann Hofmann
e6c0b3b0fe Bug 1167238 - Part 5 - Clean up sanitize.js usage in remaining tests. r=mak
This cleans up all tests that were not moved into the sanitize directory
as part of the previous commit, but still use sanitize.js

MozReview-Commit-ID: 1CVa0ByVYDk
2018-01-18 16:06:52 +01:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Sylvestre Ledru
ee2a7f050d Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX
2018-01-10 08:55:38 +01:00
Florian Quèze
3f662053f3 Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Bill McCloskey
142c9a9dbb Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
26ac595cba Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01 Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
a0f07d3df7 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Mark Banner
5ab2bd1b7a Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00:00
Dan Banner
503979c95a Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ
2017-05-28 19:57:46 +01:00
Gabriele Svelto
fb042b90e2 Bug 1152811 - Re-enable browser_pluginCrashReportNonDeterminism.js; r=mconley
MozReview-Commit-ID: FgGqZG11V1H
2017-11-15 11:20:21 +01:00
Gabriele Svelto
a7e625c225 Bug 1416028 - Prevent browser_pluginCrashedCommentAndURL.js from leaking crash dump files; r=mconley
This patch also checks for I/O errors when deleting leftover crashdump files
in the test harness and reports them if the files couldn't be deleted. This
won't prevent tests from leaking crash dumps if they're not written correctly,
but it will make their presence visible and won't cause the harness to hang if
it cannot delete them.

MozReview-Commit-ID: FLvBJxEKkH5
2017-11-06 16:16:13 +01:00
Felipe Gomes
fe951d8b11 Bug 1409148 - Add test to ensure that the plugin overlay is displayed in the correct style. r=johannh
MozReview-Commit-ID: Hn9HtnJvbyC
2017-11-10 14:05:05 -02:00
Felipe Gomes
2894bd6bc4 Bug 1409148 - Add dynamic sizing on the plugin overlay. r=dthayer,johannh
MozReview-Commit-ID: 9cxCs9GeJY8
2017-11-10 14:05:04 -02:00
Sebastian Hengst
297160d46a Backed out 6 changesets (bug 1409148) for failing mochitest caps/tests/mochitest/test_bug292789.html on Android. r=backout on a CLOSED TREE
Backed out changeset 6fe2a24e51ca (bug 1409148)
Backed out changeset 0b032b6e0655 (bug 1409148)
Backed out changeset 78eebd668bf1 (bug 1409148)
Backed out changeset acfd8cf8c4ec (bug 1409148)
Backed out changeset 4d486418cd55 (bug 1409148)
Backed out changeset 0da5d54d003c (bug 1409148)
2017-11-10 02:59:06 +02:00
Felipe Gomes
41fa735760 Bug 1409148 - Add test to ensure that the plugin overlay is displayed in the correct style. r=johannh
MozReview-Commit-ID: E9AkKe21JSq
2017-11-09 20:17:04 -02:00
Felipe Gomes
4664ed799f Bug 1409148 - Add dynamic sizing on the plugin overlay. r=dthayer,johannh
MozReview-Commit-ID: 75jMomIPAuA
2017-11-09 18:39:54 -02:00
Andreea Pavel
f8cc7403b4 Backed out 6 changesets (bug 1409148) for ESlint failure at browser/base/content/test/plugins/browser_CTP_overlay_styles.js:73 r=backout
Backed out changeset 86e066b54fc3 (bug 1409148)
Backed out changeset bd2913f16345 (bug 1409148)
Backed out changeset 331d0da78f3e (bug 1409148)
Backed out changeset 86d7f89e9cfb (bug 1409148)
Backed out changeset 9159635ae827 (bug 1409148)
Backed out changeset 59532da5ffff (bug 1409148)
2017-11-09 23:42:41 +02:00
Felipe Gomes
592686727c Bug 1409148 - Add test to ensure that the plugin overlay is displayed in the correct style. r=johannh
MozReview-Commit-ID: BsxyPbml3l6
2017-11-09 18:39:57 -02:00
Felipe Gomes
4f14f1ab69 Bug 1409148 - Add dynamic sizing on the plugin overlay. r=dthayer,johannh
MozReview-Commit-ID: 75jMomIPAuA
2017-11-09 18:39:54 -02:00
Doug Thayer
e2f4ae359d Bug 1398972 - Plugin doorhanger test cleanup r=Felipe
MozReview-Commit-ID: BNIFILtPWwP
2017-10-31 11:40:20 -07:00
Gabriele Svelto
f95773e2bc Bug 1393800 - Have mochitests expecting crashes wait for the crashes to be recorded before clean up; r=mconley
This patch includes a bunch of somewhat related fixes, these are:

- Ensuring that when a mochitest calls SimpleTest.expectChildProcessCrash()
  the harness will wait for the crashes to be recorded before deleting the
  dump files. This involves a message round-trip between the content and
  parent process so to minimize its performance impact on all the non-crashing
  tests it is done only when required.
- As an additional optimization, the SimpleTest harness will not send a
  message to the content process anymore whenever it receives an
  ipc:content-shutdown event, instead it does it only for abnormal shutdowns.
- Manually fixing remaining mochitests causing crashes to wait for crashes to
  be recorded before finishing and deleting the dump files.
- Modifying BrowserTestUtils.crashBrowser() so that it optionally does not
  delete the dump files, this is useful for tests that submit their dumps and
  thus delete them on their own.


MozReview-Commit-ID: 4SLJ8BjJ18n
2017-08-25 12:47:09 +02:00
Felipe Gomes
7e5e53be35 Bug 1405655 - Only hide Flash Activation overlay UI if the entire plugin is covered. r=dthayer
As opposed to right now where we hide if any of the corners or the center of the plugin is covered.

MozReview-Commit-ID: 9mOVXYyV1Il
2017-10-17 12:10:31 -02:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Sebastian Hengst
266d4a5bdc Backed out changeset 4b675a7f0743 (bug 1333126) 2017-08-20 20:10:56 +02:00
Carl Corcoran
b17ed8901a Bug 1333126: plugin crash tests now wait properly for crash handling; r=gsvelto
MozReview-Commit-ID: 70AvBYhCKnE
2017-08-18 11:25:05 +02:00
Masatoshi Kimura
0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00