Commit Graph

21095 Commits

Author SHA1 Message Date
Boris Zbarsky
bf1ef0641d Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.

MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
arthur.iakab
24af737f4c Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
arthur.iakab
fda9fc4c79 Merge mozilla-central to autoland 2018-03-21 21:28:49 +02:00
arthur.iakab
abcb47d8cc Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
arthur.iakab
6b204e5710 Merge autoland to mozilla-central. a=merge 2018-03-21 21:10:52 +02:00
Sebastian Hengst
65d6e8f735 Backed out 5 changesets (bug 1446676) for timeouts in talos-chrome-profiling on OS X. a=backout
Backed out changeset 5d3eb0526d8b (bug 1446676)
Backed out changeset d6bda91c66d6 (bug 1446676)
Backed out changeset 71d65d6b6499 (bug 1446676)
Backed out changeset aabfc0197692 (bug 1446676)
Backed out changeset ad8214a6cf04 (bug 1446676)

--HG--
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
2018-03-21 20:51:03 +02:00
Gurzau Raul
d29789ae4b Backed out changeset deb3484ed429 (bug 1444973) for remoteautomation.py failures on Android a=backout 2018-03-21 16:53:11 +02:00
Tiberius Oros
649398dfd9 Merge inbound to mozilla-central. a=merge 2018-03-21 12:03:08 +02:00
Tiberius Oros
6376e59638 Merge autoland to mozilla-central. a=merge 2018-03-21 11:39:51 +02:00
Sebastian Hengst
f06205459f Backed out changeset 0f81334efa0a (bug 1445883) for crashes (bug 1446902). a=backout 2018-03-21 11:17:20 +02:00
Ben Kelly
247ba17756 Bug 1443850 P2 Add a WPT test verifying synthetic responses work when a request fragment is present. r=asuth
--HG--
extra : rebase_source : 0187a366a1e92ae48f5a10d04db3588465c2d2b6
2018-03-19 14:00:00 +02:00
Kris Maglione
5f432476e0 Bug 1446676: Part 3 - Remove non-bootstrapped worker test add-on. r=aswan
Non-restartless extensions are no longer supported in the wild, and none of
the remaining automation extension rely on Workers in their components.

MozReview-Commit-ID: bh3nwwfM1g

--HG--
extra : rebase_source : db16e8bfdc8148310675b1c8641f4321b2a89702
extra : source : d6bda91c66d6625fb98c427ad62b337696df5acf
2018-03-16 22:31:05 -07:00
Kris Maglione
946e1ef0b5 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 738264d0ec8701aa5cf93c6dac958d88756c1e55
extra : source : 71d65d6b64997bc608a1cb3c924be35bbd460b39
2018-03-16 22:06:22 -07:00
Kris Maglione
d73b8f03d4 Bug 1446676: Part 1b - Convert automation overlay extensions to bootstrapped extensions. r=aswan
MozReview-Commit-ID: Awq8hpjKjY7

--HG--
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/startup_test/tresize/addon/bootstrap.js
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/tests/devtools/addon/bootstrap.js
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/tests/tart/addon/bootstrap.js
extra : rebase_source : 60caa572aed38b6640961edbb69903df380ba969
extra : source : aabfc0197692dbb5dff1303fba35eb9b3dec5582
2018-03-16 21:31:04 -07:00
Kris Maglione
7d226f8525 Bug 1446676: Part 1a - Add stub bootstrap.js script to load overlays from legacy non-restartless add-ons. r=aswan
Several of our test automation add-ons are non-restartless, but only rely on
loading a single overlay into browser windows. This stub bootstrap.js script
allows us to run those extensions as bootstrapped extensions with the same
behavior as before, and with no other changes.

MozReview-Commit-ID: 1RNbUw95cbE

--HG--
extra : rebase_source : dbe89319901a853892dd1d28940e5f06ccfa5328
extra : source : ad8214a6cf04ac2bcd0ceee09bb08b1a474c3680
2018-03-16 21:27:49 -07:00
arthur.iakab
5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Gurzau Raul
2e4e18caea Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-21 17:09:57 +02:00
Henrik Skupin
1983e0ddd6 Bug 1441287 - [mozcrash] Add support for unicode paths. r=ahal
To let mozcrash handle minidump files located in profile paths
with unicode characters, support for that has to be added. It
also applies to the locations for the stackwalk binary, minidump
save path, and symbols.

MozReview-Commit-ID: EROVmK21a5Y

--HG--
extra : rebase_source : 67092e6164eb0e46decd24b2da1490ffefb4d5d7
2018-03-20 11:54:04 +01:00
Henrik Skupin
8152b5a69d Bug 1441287 - [mozcrash] Convert unit tests to pytest. r=ahal
Switch to the pytest framework to benefit from its rich
feature set for creating Python test.

MozReview-Commit-ID: AoptjhT1Hln

--HG--
extra : rebase_source : a0870e54038697f08cf14e7babffdb014a7a3c7d
2018-03-19 14:37:31 +01:00
Henrik Skupin
ba18be73fc Bug 1441287 - [mozcrash] check_for_crashes should always return count of crashes. r=ahal
Right now if no minidump file is present in the minidump folder,
the check_for_crashes method returns False. Whereby in all other
cases the number of crashes is returned.

To be consistent this method should always return a number, and
in case of no minidumps it should be 0.

MozReview-Commit-ID: 3DTgxn41TVn

--HG--
extra : rebase_source : 1631313878b596607ede27ebb04f95a64e2f9e2e
2018-03-20 13:44:56 +01:00
Henrik Skupin
cecdc45b6f Bug 1441287 - [mozcrash] Refactor unit tests. r=ahal
Split single unit test module into different modules separated
by area of test coverage.

MozReview-Commit-ID: Blh8V46kDq1

--HG--
extra : rebase_source : 64bfa620286904fdb2bde114efb337d0dd5d42b7
2018-03-13 15:14:49 +01:00
Kartikaya Gupta
64b4cd6237 Bug 1425589 - Update web-platform-tests annotations for webrender on linux. r=jgraham
MozReview-Commit-ID: 9air0jgx4pJ

--HG--
extra : rebase_source : e1ae69f48d808edfb3f2cbfa87bfd591cc2b6025
2018-03-21 09:29:32 -04:00
Henrik Skupin
33405c5a0c Bug 1430717 - Skip test_cli_arguments.py TestCommandLineArguments.test_startup_timeout. r=whimboo
The test is causing intermittent failures of type "1000s of no output" for
the Mn jobs. It needs to be skipped until at least bug 1433873 has been
fixed.

MozReview-Commit-ID: 5Kpq8wYT1Bt

--HG--
extra : rebase_source : ad9a99edaceb32e27acfc0e71d10a509933fa6d5
2018-03-20 23:03:57 +01:00
Nick Alexander
43465b36d4 Bug 1443208 - Express Fennec APK with GENERATED_FILES. r=ted.mielczarek
This small change is actually very significant.  Previously, |mach
package| for mobile/android had two jobs:

1) produce a final APK

2) rebuild parts of the APK that might have been silently modified by
   l10n mechanisms, both from multi-locale builds and single-locale
   repacks

This second part has never been sensible but has been difficult to
alter until recently, since the l10n mechanisms have been out of
mozilla-central and difficult to modify and test.  That's less true
now.

This patch:

a) removes the rebuild parts (the step labeled 2) above (which I
   generally refer to as the "nodeps mechanism")

b) uses the APKs produced by Gradle directly, without the copying
   indirection from m/a/base/Makefile.in

c) does the rebuild for multi-locale builds as an explicit step in the
   appropriate mozharness script

d) does the rebuild for each single-locale repack as another step in
   the existing `installers-%` target in m/a/locales/Makefile.in (it's
   not easy to remove this from the Makefile, since the repackage is
   invoked immediately after (it's the `repackage-zip-$*` target))

The new m/a/gradle.py file will grow additional tasks in tickets to
follow, hence the lock file and pre-factored form.

MozReview-Commit-ID: IKflLdmHR3P

--HG--
extra : rebase_source : fdabe340b6f0896a0ebb9da2951f10753deb5ff5
2018-03-20 12:41:49 -07:00
Andrew Halberstadt
c252fe40f7 Bug 1447401 - [mozrunner] Remove b2g related runners and devices, r=jmaher
MozReview-Commit-ID: 4TYYSoviSEy

--HG--
extra : rebase_source : a6fd7356ad4c320c00c1f9ddad9b3924086c4954
2018-03-20 10:43:39 -04:00
Brendan Dahl
018cc20948 Bug 1444973 - Remove browser-test-overlay.xul. r=ahal
On desktop use sub script loader during bootstrap instead of the overlay.
On android use a component that listens for browser windows to be created
and then use a sub script loader.

MozReview-Commit-ID: Knj5OdVNEMA

--HG--
extra : rebase_source : d3374e6bc5feccf5ec22d8bc33f4b829a82a71b8
2018-03-13 17:33:33 -07:00
Kris Maglione
8f0a6f777d Bug 1446676: Follow-up: Add talos add-on bootstrap.js files to xperf whitelist. r=bustage
MozReview-Commit-ID: 3Jkz769wz32

--HG--
extra : rebase_source : e1ac016b9ca7cbf7553f368b0ae802a811209101
2018-03-20 15:30:09 -07:00
Cosmin Sabou
66b7c55e79 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-21 00:51:18 +02:00
Margareta Eliza Balazs
922c555275 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 19:00:25 +02:00
Noemi Erli
e2ccf77a14 Backed out 10 changesets (bug 1446809) for failures in testing/mozbase/moztest/tests/test.py on a CLOSED TREE
Backed out changeset 5748f214f813 (bug 1446809)
Backed out changeset 1c7a6f2885fb (bug 1446809)
Backed out changeset 2c31f0efbe64 (bug 1446809)
Backed out changeset e102f93c590f (bug 1446809)
Backed out changeset c722a1c3395f (bug 1446809)
Backed out changeset 20b4c87f8abb (bug 1446809)
Backed out changeset 31026393c5b6 (bug 1446809)
Backed out changeset 9103be0ca176 (bug 1446809)
Backed out changeset 11d671ad8ed4 (bug 1446809)
Backed out changeset e412991e7f95 (bug 1446809)
2018-03-20 17:00:04 +02:00
Sylvestre Ledru
fc3e6d5a4c Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
MozReview-Commit-ID: 102syxweBN3

--HG--
extra : rebase_source : ba1d55d140a675c0acd47ebc66a29b28157c70c6
2018-03-19 10:43:17 +01:00
Sylvestre Ledru
d7d0839614 Bug 1446809 - Remove some b2g leftover in the testing/mozbase r=jgraham
MozReview-Commit-ID: 6PGuSXVjMB9

--HG--
extra : rebase_source : daf2f4e824dd700efa50d5f67430bfb47a5853b5
2018-03-18 19:28:26 +01:00
Nicolas Chevobbe
8a9179124b Bug 1382601 - Fix test failure in damp due to EventEmitter change; r=pbro.
MozReview-Commit-ID: 6eYKhqSZxpV

--HG--
extra : rebase_source : 5f83c6a6aed89c03d824020edb71f88f185ed3ee
2018-03-20 10:26:19 +01:00
Andreas Tolfsen
7f827140bb Bug 1447045 - Increase maximize delta to 22 px. r=maja_zf
Linux window managers and desktop environments can cause the available
surface area of the screen to be shrunk due to UI elements such as
menus.  Window managers can also add additional window decorations
that are outside the control of Firefox.

When X11 forwarding a Firefox window to macOS the XQuartz window
decoration adds 22 px.  This patch increases the delta from 8 px.

MozReview-Commit-ID: 8I6G6cZvAmD

--HG--
extra : rebase_source : fda691e4286d6af815fdf77749c1097c66fee490
2018-03-19 16:35:26 +00:00
Andrew Halberstadt
246d6dddec Bug 1444152 - [test] Fix regression running marionette tests with |mach test|, r=whimboo
There were two issues:
1) The mach command name in resolve.py was wrong.
2) The marionette harness uses deepcopy on the passed in kwargs and sometimes
the 'log' argument that testing/mach_commands.py was passing in can be a class
instance (which can't be deepcopied).

MozReview-Commit-ID: 5gPxuiHs3dY

--HG--
extra : rebase_source : 63bc9c84fdcb540862f1dcbc2654bf5729e0dec8
2018-03-13 09:49:09 -04:00
Andrea Marchesini
d838e97ff8 Bug 1447262 - BlobURLs must be mutable, r=valentin 2018-03-21 07:24:06 +01:00
Sylvestre Ledru
67f287235a Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
MozReview-Commit-ID: 102syxweBN3

--HG--
extra : rebase_source : e742121c5d2090dcbd87eda3e0e0eaff0cdab0e3
extra : source : e6b888d19add6d0c60605e685f6263a86af97a9e
2018-03-19 10:43:17 +01:00
Sylvestre Ledru
debb1617bd Bug 1446809 - Remove some b2g leftover in the testing/mozbase r=jgraham
MozReview-Commit-ID: 6PGuSXVjMB9

--HG--
extra : rebase_source : 69d3611477d78fcd7ba6db6baff1803281244ac0
extra : source : 04c46f107d24bc387a98839c86a22aec9ad31721
2018-03-20 21:20:26 +01:00
Geoff Brown
d22a877f24 Bug 1444421 - Restore some mozdevice documentation; r=bc
This was accidentally deleted in bug 1340584.
2018-03-21 13:54:27 -06:00
Emilio Cobos Álvarez
419f69d6ed Bug 1447611: followup: Remove useless and unused option from the talos config which I thought I had removed already. r=me
MozReview-Commit-ID: IDITYsaJP2w
2018-03-21 20:23:57 +01:00
Emilio Cobos Álvarez
24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Kris Maglione
6b484d848d Bug 1446676: Part 3 - Remove non-bootstrapped worker test add-on. r=aswan
Non-restartless extensions are no longer supported in the wild, and none of
the remaining automation extension rely on Workers in their components.

MozReview-Commit-ID: bh3nwwfM1g

--HG--
extra : rebase_source : ad3d131d6db984f4171c5f79b86de094d2cca1bf
2018-03-16 22:31:05 -07:00
Kris Maglione
c69ba360c1 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 2df7dce1afe4e9e4054d12adfc1553e5f5d417e2
2018-03-16 22:06:22 -07:00
Kris Maglione
cf68a72173 Bug 1446676: Part 1b - Convert automation overlay extensions to bootstrapped extensions. r=aswan
MozReview-Commit-ID: Awq8hpjKjY7

--HG--
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/startup_test/tresize/addon/bootstrap.js
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/tests/devtools/addon/bootstrap.js
rename : testing/talos/talos/bootstrap.js => testing/talos/talos/tests/tart/addon/bootstrap.js
extra : rebase_source : 9e558f02aca879b67458388de1cf175e636837fe
2018-03-16 21:31:04 -07:00
Kris Maglione
df93ea1b72 Bug 1446676: Part 1a - Add stub bootstrap.js script to load overlays from legacy non-restartless add-ons. r=aswan
Several of our test automation add-ons are non-restartless, but only rely on
loading a single overlay into browser windows. This stub bootstrap.js script
allows us to run those extensions as bootstrapped extensions with the same
behavior as before, and with no other changes.

MozReview-Commit-ID: 1RNbUw95cbE

--HG--
extra : rebase_source : 3aa2e1bc824f5b6f9c25e4dd315593b877559a03
2018-03-16 21:27:49 -07:00
Emilio Cobos Álvarez
e9676561ce Bug 1446954: Remove support for running tests on automation without stylo configurations. r=froydnj
You can still run them on a --disable-stylo build, as long as that works
(presumably not for long).

I think I haven't missed anything, but please double-check.

MozReview-Commit-ID: 3BIAEjgTLo5
2018-03-20 11:29:08 +01:00
shindli
55e9f63bac Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00