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

20983 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione ef176184cb Bug 1445780: Part 1 - Allow synthesizeMouse to accept an array of selectors for content in iframes. r=aswan
MozReview-Commit-ID: JCRagaqkkZ6

--HG--
extra : rebase_source : 81d1bd14030b41196c951512c26025e2cf0db9ac
2018-03-14 15:08:34 -07:00
Kris Maglione 83371fe0b5 Bug 1445551: Part 4 - Remove compartment-per-addon. r=mccr8
The compartment-per-addon code was added so that we could segregate at least
some of the code from system-privileged add-ons into tagged compartments, even
when it ran in browser windows. That allowed us to apply certain special
behavior to them, such as enabling e10s shims, and to track some performance
characteristics.

The only remaining chrome-privileged add-ons now are system add-ons controlled
by us, and the shim system and per-compartment performance metrics are gone,
it no longer serves a purpose.

MozReview-Commit-ID: Ap186bWAaqP

--HG--
extra : rebase_source : c5bf81b44dd42b7cebce2784b7dd98480b41b593
2018-03-13 19:43:30 -07:00
Kris Maglione 3bff085af2 Bug 1445551: Part 2 - Remove multiprocessCompatible flag. r=aswan
We no longer support legacy extensions with e10s shims, and the only remaining
uses that matter are in-tree test harnesses, which have been fixed. This flag
no longer serves a purpose.

MozReview-Commit-ID: EdCNqF4MttN

--HG--
extra : rebase_source : 0fef334354faa7541628614cb964a29faaa9df41
2018-03-13 19:02:42 -07:00
Kris Maglione 83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Kris Maglione 63ee0f9a5a Bug 1445551: Part 1a - Add uses-unsafe-cpows annotation to mochitest harness. r=mconley
This allows us to specifically whitelist browser mochitests which still rely
on unsafe CPOWs, and run them in a separate Sandbox global with permissive
CPOWs enabled.

The test harness and most of the in-tree tests will run with permissive CPOWs
disabled, like the rest of the browser.

MozReview-Commit-ID: CxIkuxr5PXJ

--HG--
extra : rebase_source : 897c951e5ea84db58e92c8b627679f029ebf4a42
2018-03-13 19:11:10 -07:00
Andreea Pavel 363ad2007d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +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
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
Boris Zbarsky 5f08375086 Bug 1444909 part 3. Add testing for what mutation observers happen when doing DOMTokenList.replace. r=qdot
MozReview-Commit-ID: AL1rU7AQlFb
2018-03-14 16:08:58 -04:00
Boris Zbarsky c35649f885 Bug 1444909 part 2. Change DOMTokenList.replace() to return a boolean and pull in the corresponding web platform test updates. r=qdot
The wpt changes come from https://github.com/w3c/web-platform-tests/pull/9920
and are needed to keep Element-classlist.html passing.

The change to testing/web-platform/mozilla/tests/dom/classList.html is pulling
those changes into our weird forked version of that test...

MozReview-Commit-ID: CvQlBRuieUY
2018-03-14 16:08:58 -04: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