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

709765 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley bf6bb6f1c4 Bug 1639997 - Have webrtcUI handle the case where the selectedTab is set to null. r=pbz
It's possible for gBrowser.selectedTab to be set to null. This should be a no-op, but this
part of webrtcUI that tabbrowser calls doesn't handle the case, and causes an exception to
be thrown. This patch allows the no-op case to occur properly.

Differential Revision: https://phabricator.services.mozilla.com/D76736
2020-05-26 18:01:04 +00:00
Mike Conley 490f3dcbdf Bug 1639997 - Use more appropriate window features for new WebRTC global indicator. r=pbz
These features allow the indicator to not pull focus from the originating window, which
is important to maintain user task continuity, especially for screenreader users.

Differential Revision: https://phabricator.services.mozilla.com/D76735
2020-05-26 18:00:46 +00:00
Mike Conley 9af48e3c6d Bug 1639337 - Factor out the macOS status bar WebRTC indicator into a reusable class. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D76388
2020-05-26 18:00:36 +00:00
Bogdan Tara 51e7c8bf84 Backed out changeset 20488827b581 (bug 1640532) for docker bustages complaining about codespell CLOSED TREE 2020-05-26 22:17:15 +03:00
Byron Campen [:bwc] 69fe649c2c Bug 1639916: Clean up pstream if we don't end up using it. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76359
2020-05-21 19:05:07 +00:00
David Major fcf2dc904b Bug 1640993 - Remove unused wrapper-windows.h after bug 1639302 r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D76892
2020-05-26 18:07:29 +00:00
Iain Ireland b4123aaeb7 Bug 1639590: Finish removing unboxed objects code r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D76155
2020-05-22 01:49:41 +00:00
Sylvestre Ledru 0c646a1f51 Bug 1640532 - Update codespell to 1.17.1 r=linter-reviewers,ahal
Depends on D76637

Differential Revision: https://phabricator.services.mozilla.com/D76638
2020-05-26 14:40:52 +00:00
Tom Schuster 8f46353722 Bug 1640300 - Transpile scripted calls r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D76559
2020-05-26 18:25:58 +00:00
Tom Schuster e6b3137f14 Bug 1640300 - Factor out WarpCacheIRTranspiler::emitCallFunction r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D76558
2020-05-26 18:25:45 +00:00
Tom Schuster 1038276755 Bug 1640300 - Construct WrappedFunction based on new function metadata stored in CacheIR r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D76557
2020-05-26 17:45:51 +00:00
Iain Ireland 760aa68e90 Bug 1640592: Don't allocate named capture groups template in the nursery r=tcampbell
The lifetime of the template is tied to the lifetime of the RegExpShared, and every RegExpShared is tenured, so there's no point allocating this in the nursery.

Depends on D76754

Differential Revision: https://phabricator.services.mozilla.com/D76755
2020-05-26 14:22:46 +00:00
Iain Ireland 74ecf8af99 Bug 1640592: Add RegExpShared to update list r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D76754
2020-05-26 17:46:35 +00:00
Iain Ireland 43c0f9b4cc Bug 1640487: Fix initializedNamedCaptures r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D76753
2020-05-26 16:14:56 +00:00
Iain Ireland f0d3b1a753 Bug 1640473: Support too many named captures r=tcampbell
This is a silly thing to support, but I'd rather support it here than push an irregexp patch upstream to make it possible to reject this as a syntax error.

Differential Revision: https://phabricator.services.mozilla.com/D76751
2020-05-26 17:45:41 +00:00
alwu 4b2dd52882 Bug 1640826 - fix marco error r=bryce
`MDSM_ERROR_MARKER` should take 3 arguments, and we miss the last argument when `MOZ_GECKO_PROFILE` is not defined.

Differential Revision: https://phabricator.services.mozilla.com/D76895
2020-05-26 18:04:44 +00:00
Michael Kaply f52911603e Bug 1637716 - Shutdown AddonManager at end of test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D76787
2020-05-26 18:04:19 +00:00
Dana Keeler 895abc2d2e Bug 1638369 - enable some TLS ciphersuites with SHA-2-based MACs for compatibility r=jcj,kjacobs
We have evidence that some sites have disabled ciphersuites with SHA-1-based
MACs due to attacks against SHA-1 (disregarding the fact that these attacks
don't necessarily apply to HMAC-SHA-1) while still relying on RSA key exchange.
Before this patch, PSM did not enable any ciphersuites with RSA key exchange
and non-SHA-1-based MACs. Consequently, Firefox would be unable to connect to
these sites while other browsers would.
This patch enables TLS_RSA_WITH_AES_128_GCM_SHA256 and
TLS_RSA_WITH_AES_256_GCM_SHA384, which are the only two ciphersuites (other
than grease) that Chrome enables that Firefox did not (before this patch).

Differential Revision: https://phabricator.services.mozilla.com/D76543
2020-05-22 21:20:43 +00:00
Andi-Bogdan Postelnicu 622cf2a71a Bug 1640878 - for `clang-tidy` static-analysis keep a deep copy of the checks. r=froydnj
`StaticAnalysisMonitor` uses `clang-tidy` config dictionary in order to
match different options for the checkers that are being used. For this `StaticAnalysisMonitor`
modifies this dictionary. The dictionary not being a deep copy of the original one, the
modifications are echoed in the initial dictionary thus having the potential to lead to
unexpected behavior from `clang-tidy` when generating the checkers list.

Differential Revision: https://phabricator.services.mozilla.com/D76834
2020-05-26 17:23:38 +00:00
Tom Prince 9e8692e9d1 Bug 1639334: Set `run-on-projects` for `gv-junit-e10s-multi` correctly; r=ahal
The original patch add `run-on-projects` to `TEST_VARIANTS`, but nothing
currently looks at that. Move it into a `replace` block, which gets merged with
the task definition.

This is enough to handle this specific change, but if more control is needed
per-test, we should revisit how this is handled. Fission supports
`fission-run-on-projects` and `fission-tier` to override those values based on
the variants, but it would probably make sense to generalize those to have more
general way of specifying variant-specific configuration.

Differential Revision: https://phabricator.services.mozilla.com/D76772
2020-05-26 14:40:56 +00:00
Agi Sferro c1406546b5 Bug 1629113 - Use |class| in GeckoViewPrompt.jsm r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D75879
2020-05-26 07:44:49 +00:00
Agi Sferro c36e973433 Bug 1629113 - Move remaining services to components.conf. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D75878
2020-05-26 07:44:52 +00:00
Agi Sferro 7cdda27e40 Bug 1629113 - Move prompt classes to its own modules. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D75877
2020-05-26 16:35:28 +00:00
Agi Sferro 903fea5453 Bug 1629113 - Use |class| more in GeckoViewPrompt. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D75876
2020-05-26 16:33:21 +00:00
Agi Sferro 4b055fe237 Bug 1629113 - Move GeckoViewPrompt.js to static component. r=droeh,pbz,MattN
Differential Revision: https://phabricator.services.mozilla.com/D75875
2020-05-26 07:44:44 +00:00
Liang-Heng Chen e71ef209f6 Bug 1635984 - use effective cookie behavior in preferences page; r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D74128
2020-05-26 17:35:12 +00:00
egao c37762fb9f Bug 1640716 - correct string substitution in mozbuild/frontend/reader.py r=jmaher
Changes:

Current in-tree code will simply print `{path}` as many times as it reads a path.

This change will ensure that paths that have been read are output to the screen, which is much more useful.

Differential Revision: https://phabricator.services.mozilla.com/D76729
2020-05-26 09:57:17 +00:00
Sebastian Hengst 56c6c55766 Bug 1639380 - Set width and height tests to also pass on Windows 7 DevEdition. r=jgraham DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76879
2020-05-26 17:15:57 +00:00
Markus Stange d069f4cc74 Bug 1635567 - Remove HAVE_UNSORTED_EXIDX code, which worked around a bug in Android ICS which is no longer supported. r=jld
This code was not being built any more.
GeckoView requires Android OS version 4.3 (API Level 18). I'm not sure what the
corresponding ANDROID_VERSION macro constant for API Level 18 is, but it's
definitely higher than 16.

Differential Revision: https://phabricator.services.mozilla.com/D73940
2020-05-23 00:57:58 +00:00
Kartikaya Gupta 91befca134 Bug 1640387 - Only set HitResult::mTargetIsRoot for confirmed-root targets. r=snorp,botond
Differential Revision: https://phabricator.services.mozilla.com/D76594
2020-05-26 16:30:12 +00:00
Kartikaya Gupta e0ccbf2510 Bug 1640387 - Combine a few loose fields in APZCTreeManager into a HitTestResult. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D76593
2020-05-25 17:22:46 +00:00
Erica Wright c8a6793b3b Bug 1640736 - Hover effect on link should be a pointer. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D76752
2020-05-26 13:54:44 +00:00
Tarik Eshaq a9a08b9879 Bug 1638440 - Don't compile viaduct on Andriod. r=eoger
Conditionally link viaduct if the os is not android

Differential Revision: https://phabricator.services.mozilla.com/D76741
2020-05-26 13:43:44 +00:00
Emilio Cobos Álvarez ce1947b502 Bug 1640917 - Remove XBL mentions in layout. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D76846
2020-05-26 16:16:32 +00:00
Nan Jiang 717cc8b65a Bug 1639422 - Add an API to expose the experiment recipe r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D76561
2020-05-26 15:53:43 +00:00
Nicolas Chevobbe e84ce16407 Bug 1578174 - Use target and window from which a CSS warning was emitted to get the list of impacted elements. r=rcaliman,ochameau.
In order to retrieve the list of impacted element for a given CSS warning,
we are evaluating a document.querySelector expression,
using the cssSelector we get from the error itself.

But if the warning message comes from an iframe, we are not retrieving the
impacted elements, only items from the top-level document.

By storing the target actor id a message is emitted from directly in the message
itself, we can retrieve the target front, and use it to do the evaluation against
the right target.

This is not enough though, as non-remote frame don't have a dedicated target,
and we'll be back at square one, using the top-level document to do the evaluation.
In order to fix that, we're passing the innerWindowID to the evaluateJSAsync method,
so it can be used on the server to retrieve the window instance we need.

A test is added to ensure this feature works as expected for iframes, and it
passes with or without fission enabled.

Differential Revision: https://phabricator.services.mozilla.com/D75811
2020-05-26 15:50:57 +00:00
Nicolas Chevobbe 8da874d5df Bug 1640814 - Add a targetFront property on each resource. r=ochameau.
This will allow resource consumers to have a direct access to the target front
a resource was issued from.
At the moment we only use it in the console, where the targetFront is placed
on the console messages.

Differential Revision: https://phabricator.services.mozilla.com/D76790
2020-05-26 15:49:20 +00:00
Belén Albeza 0af9f70730 Bug 1635403 - Part 4: Do not push about:debugging plug to the bottom r=jdescottes
Depends on D75573

Differential Revision: https://phabricator.services.mozilla.com/D75576
2020-05-26 14:44:22 +00:00
Belén Albeza 7e1cc74d9d Bug 1635403 - Part 3: Fix icons in workers page when width is too thin r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75573
2020-05-26 14:42:51 +00:00
Belén Albeza c500bc4c2c Bug 1635403 - Part 2: Place the unregister button in different locations depending on layout r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75571
2020-05-26 14:41:47 +00:00
Belén Albeza 4612ac49b5 Bug 1635403 - Part 1: Implement responsive layout at app/sidebar/page level r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D75555
2020-05-26 14:40:54 +00:00
Gregory Mierzwinski 18cd0c676d Bug 1640429 - Run v8 fetch with --force. r=jmaher
This patch attempts to fix the long-running customv8 toolchain tasks by adding a --force to the `fetch v8` call. This additional option prevents `fetch` from checking for existing .gclient files (which should never exist) to help with the long delay we are seeing in this call.

Differential Revision: https://phabricator.services.mozilla.com/D76857
2020-05-26 15:42:22 +00:00
Tarek Ziadé bddb8551ed Bug 1640747 - Add test-level support for handling exceptions while running the tests r=acreskey
This patch adds the `on_exception` hook, that will let developers
drive the runner behavior when a layer fails.

Differential Revision: https://phabricator.services.mozilla.com/D76794
2020-05-26 13:35:00 +00:00
Tarek Ziadé 92a2c142f7 Bug 1640649 - add --android-timeout r=sparky
This patch surfaces the timeout value for ADBDevice.
It also adds the ability to run a single test with
mach perftest-test and a new --skip-lint option
to skip black/flake8

Differential Revision: https://phabricator.services.mozilla.com/D76791
2020-05-26 14:42:58 +00:00
Gregory Mierzwinski a6ea2774ae Bug 1640171 - Update vendored attrs python module to 19.1.0. r=tarek
This patch updates the vendored `attrs` python module from v18.1.0 to v19.1.0 since the older version fails in some pytest features.

Differential Revision: https://phabricator.services.mozilla.com/D76713
2020-05-26 13:25:42 +00:00
Tarek Ziadé af3ea56177 Bug 1639321 - increase the coverage to 85 r=sparky
Increase the coverage to 85%

Differential Revision: https://phabricator.services.mozilla.com/D76048
2020-05-26 14:44:14 +00:00
Gregory Mierzwinski f94f60a9c2 Bug 1640171 - Make the test file a str before using it. r=mozperftest-reviewers,tarek
This patch fixes a bug where a PosixPath is attempted to be used rather than a string path. There's also a regression in the coverage test run in `./mach perftest-test` on some platforms that is fixed by this patch (the attrs module being used by pytest is too old, so we update during setup). Lastly, a regression test is added to the browsertime tests to ensure that the command only contains knowingly compatible types.

Depends on D76713

Differential Revision: https://phabricator.services.mozilla.com/D76599
2020-05-25 20:07:58 +00:00
Nihanth Subramanya 88c2ed6ab9 Bug 1638502 - [DoH] Persist TRR-selection dry-run result. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D75660
2020-05-26 15:43:30 +00:00
Nihanth Subramanya 9fe605615b Bug 1638502 - Clean up DoH doorhanger's TabProgressListener properly. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D76786
2020-05-26 15:43:30 +00:00
Nihanth Subramanya 0a46357bbd Bug 1607822 - Use waitForPrefChange instead of waitForCondition to observe pref changes in DoH tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D76778
2020-05-26 15:43:18 +00:00