Commit Graph

20369 Commits

Author SHA1 Message Date
Andrew McCreight
754a4bcd3c Bug 1432992, part 2 - Manually remove some empty blocks. r=florian
Also, remove a now-obsolete comment from placesOverlay.xul and remove
some now-empty XPCShell test head files.

MozReview-Commit-ID: 6kKVQu8FAL3

--HG--
extra : rebase_source : 7dd05818d68a15bd170af734078db4ba45029d80
2018-01-25 16:52:25 -08: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
Gurzau Raul
476c3b3a55 Merge inbound to mozilla-central. a=merge 2018-02-06 23:53:56 +02:00
Henrik Skupin
581602594e Bug 1435820 - Rename mozprocess unit tests and support files. r=ahal
MozReview-Commit-ID: 2LhfafKi8ym

--HG--
rename : testing/mozbase/mozprocess/tests/process_normal_broad_python.ini => testing/mozbase/mozprocess/tests/process_normal_broad.ini
rename : testing/mozbase/mozprocess/tests/process_normal_deep_python.ini => testing/mozbase/mozprocess/tests/process_normal_deep.ini
rename : testing/mozbase/mozprocess/tests/process_normal_finish_python.ini => testing/mozbase/mozprocess/tests/process_normal_finish.ini
rename : testing/mozbase/mozprocess/tests/process_waittimeout_python.ini => testing/mozbase/mozprocess/tests/process_waittimeout.ini
rename : testing/mozbase/mozprocess/tests/process_waittimeout_10s_python.ini => testing/mozbase/mozprocess/tests/process_waittimeout_10s.ini
rename : testing/mozbase/mozprocess/tests/infinite_loop.py => testing/mozbase/mozprocess/tests/scripts/infinite_loop.py
rename : testing/mozbase/mozprocess/tests/proccountfive.py => testing/mozbase/mozprocess/tests/scripts/proccountfive.py
rename : testing/mozbase/mozprocess/tests/procnonewline.py => testing/mozbase/mozprocess/tests/scripts/procnonewline.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_kill.py => testing/mozbase/mozprocess/tests/test_kill.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_misc.py => testing/mozbase/mozprocess/tests/test_misc.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_output.py => testing/mozbase/mozprocess/tests/test_output.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_params.py => testing/mozbase/mozprocess/tests/test_params.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_poll.py => testing/mozbase/mozprocess/tests/test_poll.py
rename : testing/mozbase/mozprocess/tests/test_mozprocess_wait.py => testing/mozbase/mozprocess/tests/test_wait.py
extra : rebase_source : e026178ca6fe2a34d5621e50f7f28812e3ad4ac8
2018-02-05 21:50:57 +01:00
Henrik Skupin
4bc4175eb0 Bug 1435820 - [mozprocess] Remove unused C implemenation of proclaunch and all its support files. r=ahal
Only test_mozprocess.py was still using the C implementation but is
disabled since ages.

Given that the proclaunch script as written in Python replaced the
C implemenation lets remove all the old unused code.

MozReview-Commit-ID: J4izHz5ljtO

--HG--
extra : rebase_source : e33720aa3a6734fa3dd5fc082441ef54d515e75f
2018-02-05 21:25:47 +01:00
Joel Maher
a78be3d8cb Bug 1425058 - summarize stylebench scores properly. r=rwood,emilio 2018-02-06 11:23:26 -05:00
Narcis Beleuzu
84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Marco Castelluccio
7b3894d480 Bug 1435771 - Define abs_test_install_dir for Talos. r=jmaher
--HG--
extra : rebase_source : 42eea0bf4cc13a5931444e8b1497be8ca825d09a
2018-02-05 17:18:02 +01:00
Andrew Halberstadt
fba8718e4a Bug 1392391 - [mozlog] Forward extra data from 'suite_end' action, r=jgraham
The suite_end action ostensibly supports an extra key, however that extra data never
gets forwarded to the _log_data function.

MozReview-Commit-ID: AfUBmQpx3Zz

--HG--
extra : rebase_source : 187fba189deec77b914d455cb55fe21e140bb3c8
2018-01-25 10:44:04 -05:00
Ashish Kulkarni
23dc66c6b8 Bug 169521: fix XML attribute serialization for proper roundtripping r=bz
This is due to incomplete specification, see discussion on Chromium bug
https://bugs.chromium.org/p/chromium/issues/detail?id=418531

Behavior is now in line with Edge and Chromium.

MozReview-Commit-ID: AxIRtIj5j8r

--HG--
extra : rebase_source : 45c8016537259c7d7a2af6e8b8a9f5a25521e4c5
2018-01-24 16:03:01 +05:30
Johann Hofmann
7b97a1f8e6 Bug 1167238 - Part 6 - Clean up sanitize.js usage in utils.py. r=whimboo
We're turning Sanitizer.jsm into a proper module and are simplifying
its API surface, and need to adjust all consumers.

MozReview-Commit-ID: 7xjSpiKeG7d

--HG--
extra : rebase_source : 1a9b41660e9baf0dc7e10afd81353052b2f3c83b
2018-01-18 16:08:38 +01:00
Noemi Erli
9b09005df2 Backed out changeset c074e2c4b2ed (bug 1435658) for failing in layout/generic/test/test_bug632379.xul on a CLOSED TREE 2018-02-05 22:39:07 +02:00
Henrik Skupin
96ed8b8cf5 Bug 921632 - Re-enable delayed kill broad mozprocess unit test. r=ahal
MozReview-Commit-ID: 93KwNlw84ld

--HG--
extra : rebase_source : fd96ee848ea3b4211db338f6f337372901fff210
2018-02-05 15:16:48 +01:00
Emilio Cobos Álvarez
7e4baa87cf Bug 1435658: Deal with appearance changes from / to none correctly. r=mats
MozReview-Commit-ID: Fl6VY0rAIiD

--HG--
extra : rebase_source : 0374bb390de1caf69b2561402f956d7bd99a306d
2018-02-05 14:55:31 +01:00
Noemi Erli
3d09e55d55 Merge inbound to mozilla-central. a=merge 2018-02-03 11:52:03 +02:00
Phil Ringnalda
2b933cb9ed Bug 1435337 followup to reflect that calc-in-font-feature-settings.html passes in both e10s and non-e10s on Linux, just like the try push said it would 2018-02-02 19:22:10 -08:00
Masayuki Nakano
dfd6ae6c4b Bug 1435180 - Make existing tests aware of strict keypress event dispatch r=smaug
We'll stop dispatching keypress events on web contents for conforming to spec of
UI Events.  Some existing tests assumes that keypress events are fired even
when non-printable keys are pressed.

This patch makes them check the pref,
"dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content"
and only listen to keydown event instead of keypress even if the pref is true
and expected key event is not a printable key press.

MozReview-Commit-ID: 6bKoK7dsB0l

--HG--
extra : rebase_source : b3705b0814d5690e00208d0d3315f09f886c6f26
2018-02-02 18:10:22 +09:00
William Lachance
bc3cce1805 Bug 1434664 - Bump mozdevice to 0.52 r=bc
MozReview-Commit-ID: 9u3Abd15R6E

--HG--
extra : rebase_source : a6b7bb8044aa4b5ecf433bca84e962d6757855cf
2018-02-02 13:53:34 -05:00
William Lachance
168d85d1b6 Bug 1434664 - Fix mozdevice's pull/push methods on Windows r=bc
We should use posixpath's normpath for calculating the remote
(i.e. device path) with these methods.

MozReview-Commit-ID: zwfsRvCxoe

--HG--
extra : rebase_source : 9635de305db90d0bd99ab080d96d28fcf29cec96
2018-01-31 13:08:30 -05:00
Brian Grinstead
9d3fb06b54 Bug 1425330 - Part 1 - set up talos configurations for tart and ts_paint with XUL flexbox emulation;r=rwood
MozReview-Commit-ID: 7hl8cafIaSz

--HG--
extra : rebase_source : 653f5c7fb0022e64384983d33d7ab0a809a1396c
2018-01-30 15:17:47 -08:00
Andrew McCreight
a6f34d4700 Bug 1435115 - Remove usage of enablePrivilege from quit.js. r=jmaher
This patch moves the contents of quit.js into talos-powers-content.js,
and makes it callable from content via TalosPowersContent. The code
required a few minor tweaks.

MozReview-Commit-ID: KkAbcFO0xzT

--HG--
extra : rebase_source : 4a165bc613fbc73ff8edd7bcfe2cf9cbd4a2af05
2018-02-01 16:05:30 -08:00
Andrew Halberstadt
f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
Coroiu Cristina
6276356615 Merge mozilla-central to autoland on a CLOSED TREE 2018-02-02 19:43:07 +02:00
cegvinoth
71be27aeaa Bug 1409706 - Files added for CSP WPT for worker-src,child-src,script-src,default fallback behaviour, r=ckerschb
--HG--
extra : rebase_source : 3b28f1396b168873cf98d772b1ac5e93bae5fe2f
2018-02-02 09:34:19 +01:00
Csoregi Natalia
caba23a6ce Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-02 06:33:34 +02:00
Andrew McCreight
589eaa7bb4 Bug 1434952 - Remove signed.applets.codebase_principal_support pref. r=mrbkap
MozReview-Commit-ID: K8nic9kw8gF

--HG--
extra : rebase_source : 2f99d4594c88a4e6f38cbe740af8e10a5a528a81
2018-02-01 12:44:59 -08:00
Gurzau Raul
b304596a50 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 23:58:51 +02:00
Gurzau Raul
047564ed7a Merge inbound to mozilla-central. a=merge 2018-02-01 23:53:53 +02:00
Geoff Brown
b83a0a1401 Bug 1435031 - Make it easier to use geckoview_example from android_emulator_unittest.py; r=jmaher
In general, there is no simple mapping between apk name (geckoview_example.apk) and
package name (org.mozilla.geckoview_example). With bug 1434411, it will be relatively
easy to add or modify tasks to use a geckoview apk in taskcluster tests. At the
mozharness level, scripts are expected to expand mozharness configurations containing
"%(app)" into package names. For Firefox, android_emulator_unittest extracts and
reads package_name.txt, but there is no such file in the geckoview apk. In future
we might add package_name.txt to the geckoview apk, or possibly use a tool like aapt,
but for our immediate needs this simple hack does the job: If "geckoview" is in
the apk name, assume we are installing org.mozilla.geckoview_example.
2018-02-01 14:26:52 -07: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
Boris Zbarsky
7a9f022f1a Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Andrew McCreight
470a8fdc64 Bug 767640, part 1 - Put Ci, Cr, Cc, and Cu on chrome contexts. r=bz,florian,jmaher
Almost every chrome script uses these abbreviations. We can avoid some
boilerplate by automatically defining them on chrome contexts where we
define Components.

The var declarations for Cc and Ci in MozillaFileLogger.js are run
before enablePrivilege("UniversalXPConnect"). The latter now attempts
to automatically define Cc and Ci, but the non-configurable Cc and Ci
prevent that. Work around this by just removing the var declarations.

MozReview-Commit-ID: 6FV9ahLeqUb

--HG--
extra : rebase_source : 75a3243ea2c267fad19cc6543046dc7b130cc4c1
2018-01-18 13:04:41 -08:00
Henrik Skupin
5db8c27e13 Bug 1434932 - Release mozprocess 0.26. r=ahal
MozReview-Commit-ID: IHblWy0ypqs

--HG--
extra : rebase_source : 48fa68ad2344f805d78d7f6461e22bf0192f8044
2018-02-01 16:37:20 +01:00
Henrik Skupin
067a604727 Bug 1434932 - [mozprocess] ProcessHandler.wait() doesn't immediately return with timeout=0. r=ahal
MozReview-Commit-ID: 6ArknLHR933

--HG--
extra : rebase_source : c95ca78311957a7c93b69a398c2c6127f2096c09
2018-02-01 16:36:28 +01:00
Andrew McCreight
7073cf07e2 Bug 1434977 - Remove old UniversalXPConnect related stuff from Talos. r=jmaher
MozReview-Commit-ID: GHCPPMsf6N9

--HG--
extra : rebase_source : 1c9481491836b1b2d131455d5bc75aed0d111843
2018-02-01 11:23:55 -08:00
Paul Adenot
1b84dab469 Bug 1434958 - Allow using gstreamer 1.0 and don't hardcode paths when setting up fake devices for webrtc testing. r=pehrsons
MozReview-Commit-ID: 4ogpCqxMojK

--HG--
extra : rebase_source : c712ca3f1cf4c5eb4925338cb6c2b645d9a2010b
2018-02-01 17:41:15 +01:00
Jonathan Kingston
53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Gurzau Raul
1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
James Graham
5657715c01 Bug 1435868 - Metadata update for wpt update, a=testonly
MozReview-Commit-ID: IRzDsZt3WGP
2018-02-05 22:21:57 +00:00
James Graham
27845c244d Bug 1435868 - Update web-platform-tests to revision 1e5122139897bc70789527960120354b8c640ef0, a=testonly
MozReview-Commit-ID: L9ZlgNF4QF1


--HG--
rename : testing/web-platform/tests/webvr/idlharness.html => testing/web-platform/tests/webvr/idlharness.https.html
2018-02-05 22:20:58 +00:00
Paolo Amadini
c5d2e41158 Bug 1427350 - Part 2 - Rename _matchCount to matchCount. r=mak
MozReview-Commit-ID: 2oo0Nxp3Qot

--HG--
extra : source : ec3db0f4e8568dc84043dc375cd475049e804159
2018-02-04 15:00:58 +00:00
Andrea Marchesini
bed28cc612 Bug 1435975 - Typo in geckodriver option for mozconfig, r=whimboo 2018-02-06 11:16:30 +01:00
James Graham
3ecd324bdc Bug 1431459 - Update rust_mozrunner to use a Builder API, r=ato
This is a major API revision to replace the Python-like API with
something more idiomatically Rust. In particular you now create a
FirefoxRunner object and then call start() and end up with a
FirefoxProcess. This is pretty similar to the Command builder in std.

MozReview-Commit-ID: DmEfIfKSukA

--HG--
extra : rebase_source : 30fba6b2d9584a8a4128b641747beda1d264f7c5
2017-12-19 18:39:10 +00:00
Amit Kumar
aa92a7d140 Bug 1431535 Increase timeout for new connection in test_disable_enable_new_connections from timeout 1.0 to 10.0 r=whimboo
MozReview-Commit-ID: KjRu5yMHxFO

--HG--
extra : rebase_source : 81e1dc5d5f6f603f093844e2a5e2c317559a07f1
2018-01-29 18:24:24 +05:30
Brindusan Cristian
1698ad0344 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 12:15:12 +02:00
Narcis Beleuzu
eeb7190f9a Merge inbound to mozilla-central. a=merge 2018-02-01 12:05:39 +02:00
Nicholas Nethercote
7b9969bae5 Bug 1434813 - Fix integer overflow of places.database.lastMaintenance in testing/profiles/prefs_general.js. r=glandium.
Bug 1383896 added this constant to testing/talos/talos/config.py:

> FAR_IN_FUTURE = 7258114800

which is used as the value for the "places.database.lastMaintenance" pref.
(7258114800 seconds after 1970 is the start of the year 2200.)

 libpref stores integers prefs as int32_t and the current parser doesn't detect
overflow. So this overflows to -1331819792. (I detected this with the new prefs
parser from bug 1423840, which does detect integer overflow.) As a result the
condition testing this pref in
toolkit/components/places/PlacesCategoriesStarter.js ends up always succeeding
in tests, which is the exact opposite of what was intended. This patch changes
it to 2147483647 (the year 2038), the maximum int32_t value.

(Note: this is much the same as bug 1424030, which was fixed recently.)

MozReview-Commit-ID: AQw4b8tmE9u
2018-02-01 15:40:32 +11:00
Ionut Goldan
ab022664d9 Bug 1434587 - Configure absolute threshold for installer size alerts r=jmaher
MozReview-Commit-ID: Ehrh49ACBC1

--HG--
extra : rebase_source : fbd3fcdc72910840a056044776fd9569d7f08192
2018-01-31 15:31:37 +02:00
cku
bed94c4056 Bug 1207734 - Part 9.h. Update animation wpt for individual transform. r=birtles
MozReview-Commit-ID: EoKXT7CcYLA

--HG--
extra : rebase_source : 29606f6bf5a2641f99ad8d43414f54141c9bad5b
extra : source : 07266c831c84f123087823e518f52b281a697116
2018-01-05 15:41:20 +08:00
cku
396f818e80 Bug 1207734 - Part 9.g. Implement testAnimationSampleRotate3d. r=birtles
testAnimationSamples is not enough for comparing the computed value of rotate
property so we need this new function.

MozReview-Commit-ID: J77e89BbjLx

--HG--
extra : rebase_source : 053f8bd5ae99d9f70e797508ca8761c3ff4083b3
extra : source : 6e8b1c53fe95e0ea21c2e93fee54288356f7945b
2018-01-15 14:18:59 +08:00