Commit Graph

20977 Commits

Author SHA1 Message Date
Andreea Pavel
46575fad3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-15 00:10:23 +02:00
Andreea Pavel
067622ac36 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-15 00:07:17 +02:00
Emilio Cobos Álvarez
dd9fa5eb97 No bug - update WPT expectations for servo/servo#20224. r=me
This is a test change that hasn't been synced yet:

  https://github.com/w3c/web-platform-tests/pull/9862

Once it is it'll start passing.

MozReview-Commit-ID: H0RZlep7oX3
2018-03-14 22:03:46 +01:00
Joel Maher
4930e799b3 Bug 1435913 - fix flake8 errors. r=me 2018-03-14 08:56:43 -04:00
Joel Maher
6b346fbdd8 Bug 1435913 - Local talos test run should try to use symbols from buildsymbols directly. r=rwood 2018-03-14 08:18:35 -04:00
arthur.iakab
5205dccc44 Merge mozilla-central to mozilla-inbound 2018-03-14 12:18:15 +02:00
arthur.iakab
8976abf9ca Merge inbound to mozilla-central. a=merge 2018-03-14 12:00:13 +02:00
Emilio Cobos Álvarez
d44be89a37 Bug 1438210: Make slot assignment sound with layout after bug 1409975. r=smaug
Summary:
Before that bug, we carefully told layout about all distribution changes before
they happened, so layout could cleanup frames and styles synchronously properly
(since otherwise there's no way afterwards to figure out what the tree shape
was).

That bug made it not do it correctly, causing this.

I obviously need to write a bunch of tests for this...

Reviewers: smaug

Bug #: 1438210

Differential Revision: https://phabricator.services.mozilla.com/D724

MozReview-Commit-ID: 8uupNhoFwme
2018-03-14 10:54:28 +01:00
Gurzau Raul
f785df755d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-14 00:44:06 +02:00
Gurzau Raul
8e99377c83 Merge inbound to mozilla-central. a=merge 2018-03-14 00:40:07 +02:00
Andrea Marchesini
4500b075c6 Bug 1436784 - Use WorkerRef in FileReader, r=smaug 2018-03-13 21:17:06 +01:00
Andrea Marchesini
bcdecebf32 Bug 1436784 - Use WorkerRef in WebSocket, r=smaug 2018-03-13 21:16:59 +01:00
Andrea Marchesini
d892207595 Bug 1436784 - Use WorkerRef in BroadcastChannel and MessagePort, r=smaug 2018-03-13 21:16:54 +01:00
Geoff Brown
8ffe949029 Bug 1433279 - Update tooltool manifest for Mac host-utils for Android tests; r=me,a=test-only
Used only when running Android tests locally from Mac/OSX hosts.
2018-03-13 12:17:25 -06:00
Geoff Brown
99f777012a Bug 1406407 - Do not try to verify -notref files in test-verify; r=me,a=test-only 2018-03-13 12:17:22 -06:00
Andreas Tolfsen
b824579296 Bug 1445244 - Include hidden files when copying source to GitHub. r=me
The * glob does not include hidden files, which means we miss copying
the .travis.yml file.

MozReview-Commit-ID: HfvZW7Ce4df
2018-03-13 14:18:40 +00:00
Andreas Tolfsen
14fb0905da Bug 1445244 - Highlight that release must be made from bump commit. r=me
MozReview-Commit-ID: DNM2lEn1Wvo
2018-03-13 14:18:39 +00:00
vprabhu
05d537471b Bug 1441495 - Removed signing support from mozharness. r=catlee
MozReview-Commit-ID: BNv6NUrE7gn

--HG--
extra : rebase_source : ea40827b4c6dd3f10700ac08e6e455834132880b
2018-03-03 09:11:57 +05:30
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Andrew Halberstadt
be2e6d661c Bug 1443557 - Start using the 'mach' formatter by default in |mach test| and |mach mochitest|, r=gbrown
This was originally supposed to be fixed in bug 1421799, but I either forgot to
switch the flag, or accidentally clobbered it while resolving conflicts.

MozReview-Commit-ID: Im8OKbswEf0

--HG--
extra : rebase_source : 1104969aca56b62f8f302225fd11a509a73a3960
2018-03-12 16:46:53 -04:00
Julian Descottes
075d71cbcc Bug 1441703 - Define all DAMP tests in a single file;r=ochameau
MozReview-Commit-ID: 5XLDwdfGyTh

--HG--
extra : rebase_source : e5342314a99ded5d09c0c2225a8b3de2d7630015
2018-03-09 09:05:20 +01:00
Julian Descottes
43ae2eade9 Bug 1441703 - Split DevTools performance test damp.js;r=ochameau
MozReview-Commit-ID: Jwfe7RLxEg2

--HG--
rename : testing/talos/talos/tests/devtools/addon/content/pages/custom/panels-in-background/panels-in-background.html => testing/talos/talos/tests/devtools/addon/content/pages/custom/panels-in-background/index.html
extra : rebase_source : cebfd6265d88a1d5ea5135d200d115f7e5c71c94
2018-03-09 09:03:11 +01:00
Xidorn Quan
c697776aec Bug 1445509 - Correctly compare height in open-features-non-integer-height.html test. r=bz
MozReview-Commit-ID: A99KG22to7w

--HG--
extra : rebase_source : 701a5a8c268e1e63c28415fcb3832298c78cc241
2018-03-14 11:08:09 +11:00
Nicolas Chevobbe
109fdbefc3 Bug 1444823 - Execute messageManager.sendAsyncMessage after runTest; r=jdescottes.
MozReview-Commit-ID: Ansa6okYRg

--HG--
extra : rebase_source : 8054cac467a73790f264eb7cc7c675afacc5a3a4
2018-03-14 09:54:17 +01:00
Andreea Pavel
11bec2e097 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-13 19:26:13 +02:00
Mike Yusko
53f0de5706 Bug 1126362 - Add unit tests for navigating to a data: url containing an image r=whimboo
MozReview-Commit-ID: GZg1BOY7tOj

--HG--
extra : rebase_source : 93ba16670e9a5691ce541f8cd6423a5506ba5a16
2018-02-26 15:36:30 +02:00
Michael Ratcliffe
eff23d6ce5 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : ff29ac3f0da6588af43e33944f7253bc840b6d3a
2018-03-09 15:36:45 +00:00
Dorel Luca
714a558c3e Backed out changeset ae1924aff61b (bug 1443457) as requested by developer
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_devtools_loader_exception.js => devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js
2018-03-14 12:35:38 +02:00
Michael Ratcliffe
0768cc918d Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_console_devtools_loader_exception.js
rename : devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js => devtools/client/webconsole/test/browser_console_devtools_loader_exception.js
extra : rebase_source : 05383e5f371fd0618592370ee9429cfaab2509ff
2018-03-09 15:36:45 +00:00
Sylvestre Ledru
06b7836c7e Bug 1444628 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: SNXsViVUm0

--HG--
extra : rebase_source : d1a73dd5399854c0ec28087b207bb1b1d4bb9c02
2018-03-10 17:14:38 +01:00
Andrew Halberstadt
8080274aaa Bug 1432683 - [mochitest] Remove 'log' argument from the main options object, r=gbrown
This was causing problems for the test-verify mode. Sometimes the 'log' option
can contain a class instance and then 'verify' attempts to deepcopy that (which
fails).

Since the 'log' option is only used in the Mochitest constructor, it's probably
simplest to just remove it from the main options object right at the start.

MozReview-Commit-ID: 9UQAYxr2Zvm

--HG--
extra : rebase_source : e10b9419f65b0209e650de1afb5765072833d780
2018-03-12 10:55:27 -04:00
Boris Zbarsky
fd6e65d19e Bug 1415588 part 4. Move the .anchors getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 2uqt9cdz6y7
2018-03-12 21:44:57 -04:00
Boris Zbarsky
f6f85bb529 Bug 1415588 part 3. Move the .links getter from HTMLDocument to Document. r=mystor
The null-checks in MatchLinks were working around code in nsDocument::Destroy
that was removed a while back in bug 341730.

MozReview-Commit-ID: 2SMmGr83GCB
2018-03-12 21:44:56 -04:00
Boris Zbarsky
d5f5a95c81 Bug 1415588 part 2. Move the .images, .embeds, .plugins, .forms, .scripts, .applets getters from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: Db7iazZUz8g
2018-03-12 21:44:56 -04:00
Boris Zbarsky
f3daf97dc7 Bug 1415588 part 1. Move the .head getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 5SW47hfE9dl
2018-03-12 21:44:56 -04:00
Sebastian Hengst
33c90f9938 merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-03-13 02:11:18 +02:00
Lee Salzman
d3709cc4e9 Bug 1444506 - part 6 - fuzz for Skia m66 update. r=jrmuizel 2018-03-12 16:37:10 -04:00
Andreas Tolfsen
98cdaaee72 Bug 1443853 - Move browser process shutdown monitor to mozrunner. r=jgraham
This moves the shutdown monitor for the Firefox process from
geckodriver to mozrunner, which is a more suitable home for it.
We will likely need specialised versions of this in the future with
products such as GeckoView and Fennec.

In addition to the move it also cleans up the polling loop by
employing std::time::SystemTime which lets us match on the elapsed
time since its construction.  This seems nicer than having to perform
division operations on integers, which in Rust are inherently unsafe
(there is no guard against SIGFPE).

This change should be functionally equivalent to the existing code.

MozReview-Commit-ID: 1asnFbixhcY

--HG--
extra : rebase_source : f21f734862bfbbc1ed665dc9c9f611c5968d662f
2018-03-07 21:57:53 +00:00
Andreas Tolfsen
1509c2ba22 Bug 1443853 - Rename RunnerProcess::status() to ::try_wait(). r=jgraham
This renames RunnerProcess::status() to ::try_wait() for symmetry
with std::process::Child::try_wait() in the standard library.

The patch also makes an attempt at cleaning up its usage in geckodriver,
however this can be further improved.

MozReview-Commit-ID: 14ihT7MpM7l

--HG--
extra : rebase_source : 4e96c79c6ebbb256c4a08cb4dd86c99aacaa13ac
2018-03-07 21:43:49 +00:00
Andreas Tolfsen
f57be4355e Bug 1443853 - Avoid std::io::{Result,Error} renaming. r=jgraham
We can pick up std::io::Result and std::io::Error directly from
the std::io namespace without having to rename them.

MozReview-Commit-ID: 9Xz92HvcFpO

--HG--
extra : rebase_source : 89a006c40e11d9e7fc5706d3a6612f916e00f919
2018-03-07 21:31:31 +00:00
Andreas Tolfsen
a1615d76ac Bug 1443853 - Rename RunnerProcess::stop() to ::kill(). r=jgraham
This renames RunnerProcess::stop() to ::kill() for symmetry with
the standard library's std::process::Child.

MozReview-Commit-ID: 20vSni9bA0X

--HG--
extra : rebase_source : 112b29249563154b50d9a72c141034e5cdf7f19b
2018-03-07 21:29:23 +00:00
Andreas Tolfsen
ecbbc100b2 Bug 1443853 - Rename RunnerProcess::is_running() to ::running(). r=jgraham
The ideom for getters in Rust is to not prefix them with "is_".
Setters should, however, have the "set_" prefix.

MozReview-Commit-ID: 9kXHBYGK7aL

--HG--
extra : rebase_source : 6c2591771646c8b7c5b0e6b1af5427455938b4cf
2018-03-07 21:23:57 +00:00
Andreas Tolfsen
8e428fe6bb Bug 1443853 - Drop unused std::ascii::AsciiExt trait. r=jgraham
Silences another compiler warning.

MozReview-Commit-ID: 6Bcw7Ej9uIC

--HG--
extra : rebase_source : 4f6d8522434fed7e673b71d028dce53753f4a3e5
2018-03-07 21:27:18 +00:00
Andreas Tolfsen
bf3fd4b45f Bug 1443853 - Remove unnecessary paranthesis around function argument. r=jgraham
Silences one compiler warning.

MozReview-Commit-ID: FSKV9Ia2iXt

--HG--
extra : rebase_source : 04c247b5e0f763a971b0e8886bb82d6b6942af59
2018-03-07 21:26:27 +00:00
Kartikaya Gupta
3191dbda01 Bug 1437295 - Promise-ify some of the paint/flushing methods. r=botond
This is functionally a no-op but it makes code cleaner, particularly
some of the changes in a future patch.

MozReview-Commit-ID: 5UoT3aNJaPz

--HG--
extra : rebase_source : 53dbabc53ce5fbb549fa66976b41799f03be201d
2018-03-10 23:26:27 -05:00
Noemi Erli
8dfb05971f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-10 12:15:32 +02:00
Andreas Tolfsen
73e39da3b4 Bug 1444593: Make links in CONTRIBUTING.md safe for export. r=me
testing/geckodriver/CONTRIBUTING.md is exported to GitHub which
means it cannot use relative links to files that live in-tree.

MozReview-Commit-ID: 2YPaAowgE7
2018-03-10 10:00:58 +00:00
Ed Lee
2522cd1b36 Bug 1444404 - Use default (true) value for browser.newtabpage.enabled for testing. r=jmaher
Before bug 1383599, the pref had effectively been always true as about:newtab always just loaded activity stream. Switching the test pref to be true matches the old behavior to fix the AWSY regression to later decide what this pref should be for testing in bug 1444498.

MozReview-Commit-ID: Af9v2rgUZdl

--HG--
extra : rebase_source : 39c81b51f6809dc7d7c8454554f2a84b724b398c
2018-03-09 10:47:10 -08:00
Andreea Pavel
e843cc64e7 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-09 21:35:33 +02:00
Andreea Pavel
a3a0c1c649 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00