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

735013 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru 2b401f7e24 Bug 1677432 - mozlint/license: be more precriptive in the tests detection r=linter-reviewers,ahal
We were not managing /testing/ because /test was catching it

Differential Revision: https://phabricator.services.mozilla.com/D97136
2020-11-17 02:22:39 +00:00
Ting-Yu Lin bccb437849 Bug 1676585 Part 2 - Use LogicalRect to compute joining boxes' border area. r=mats
The original code doesn't work for "writing-mode:vertical-rl" because
its block flow direction is the opposite of "writing-mode:vertical-lr."

Differential Revision: https://phabricator.services.mozilla.com/D96786
2020-11-17 05:36:42 +00:00
Ting-Yu Lin 7e3b64c3f2 Bug 1676585 Part 1 - Simplify vertical-wm-001.html by using logical properties. r=mats
This patch shouldn't change the rendering of the test at all.

Differential Revision: https://phabricator.services.mozilla.com/D96785
2020-11-17 05:35:33 +00:00
Karl Tomlinson bd1534b615 Bug 1675891 move input validation to implement already-rejected Promise return values for getUserMedia() r=jib
The navigator.mozGetUserMedia() fully active test is merged into the existing single-level
active test with a synchronous exception.  The async error dispatch for empty constraints,
which aligns with the spec, is retained.

Differential Revision: https://phabricator.services.mozilla.com/D96519
2020-11-17 04:04:25 +00:00
Karl Tomlinson 9763cf2647 Bug 1675891 get relevant global for returned promises from wrapper cache r=jib
Differential Revision: https://phabricator.services.mozilla.com/D96518
2020-11-17 04:48:32 +00:00
Karl Tomlinson baa4be8422 Bug 1675891 test for rejected promise from getDisplayMedia() in a discarded browsing context r=jib
Differential Revision: https://phabricator.services.mozilla.com/D96517
2020-11-16 11:56:31 +00:00
Karl Tomlinson e70396f726 Bug 1675891 Test promises from MediaDevices methods in a discarded browsing context r=jib
Differential Revision: https://phabricator.services.mozilla.com/D96516
2020-11-16 11:56:31 +00:00
Karl Tomlinson df62720f6a Bug 1675891 check for already-rejected promises from getDisplayMedia() r=jib
Differential Revision: https://phabricator.services.mozilla.com/D96515
2020-11-16 11:56:31 +00:00
Karl Tomlinson c8c57ca2d9 Bug 1675891 check for already-rejected promise from getUserMedia() r=jib
Differential Revision: https://phabricator.services.mozilla.com/D96514
2020-11-16 11:56:30 +00:00
David Major c7dcbe9387 Bug 1675600 - Use the new pass manager during LTO r=firefox-build-system-reviewers,glandium
Currently, in LTO builds, we use the new pass manager during the initial translation to bitcode but not for the final optimization during linking.

On Linux, we can enable the new pass manager during LTO with a plugin option. I've landed a patch upstream to allow it on Windows as well, which is included here.

Switching the pass manager brings speed improvements on its own, but it also reduces code size by ~6%, which we can use a portion of as budget to increase the import limit (via the hot multiplier) for even more speed improvements.

Differential Revision: https://phabricator.services.mozilla.com/D96108
2020-11-17 04:07:54 +00:00
Maja Frydrychowicz 31e88a9520 Bug 1677665 - Update Architecture docs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97250
2020-11-17 03:35:16 +00:00
Noemi Erli 60669a2ed8 Backed out changeset 18448a7ebf82 (bug 1585070) for causing failures in test_cocoa_window_focus.html CLOSED TREE 2020-11-17 06:09:50 +02:00
Noemi Erli e0fd535990 Backed out changeset c5f7092adb7a (bug 1665844) for causing mass mochitest automation errors CLOSED TREE 2020-11-17 05:50:06 +02:00
Lee Salzman 8b495f9b45 Bug 1677514 - always wait for SwComposite jobs to become available when job count is non-zero. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97243
2020-11-17 02:06:49 +00:00
Steven MacLeod 2c4c433439 Bug 1585070 - move nsPIDOMWindowOuter::mIsActive to BrowsingContext. r=kmag
A new `BrowsingContext` field has been added to track the active
browser window for the `:-moz-window-inactive` pseudoclass. This
field takes the place of `nsPIDOMWindowOuter::mIsActive`.

With this change `:-moz-window-inactive` is now fission compatible.

Differential Revision: https://phabricator.services.mozilla.com/D86422
2020-11-16 22:37:51 +00:00
James Teh b81acb3f85 Bug 1677016: Provide ability for browser a11y tests to load XUL documents in the parent process. r=yzen
addAccessibleTask can now take a chrome: true option to load the test in the parent process if it is a XUL document.

Differential Revision: https://phabricator.services.mozilla.com/D96960
2020-11-16 23:50:02 +00:00
Kartikaya Gupta 58f3191c3d Bug 1674382 - Further restrict where we record APZ_ZOOM_ACTIVITY. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96894
2020-11-16 22:38:46 +00:00
Kartikaya Gupta 4610c824d1 Bug 1674382 - Fix typo in function name. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96893
2020-11-13 18:29:31 +00:00
Csoregi Natalia 14c871661c Backed out changeset 143c0cc67d52 (bug 1649615) for assertions on AlreadyAddRefed.h. CLOSED TREE 2020-11-17 04:10:44 +02:00
Csoregi Natalia 9eab74eb27 Backed out 2 changesets (bug 1645433) for reftest failures. CLOSED TREE
Backed out changeset 34c5981b4667 (bug 1645433)
Backed out changeset 7e28049666b7 (bug 1645433)
2020-11-17 02:53:42 +02:00
Dzmitry Malyshau 8ffa84e50d Bug 1640960 - Support storage buffers with non-instanced rendering r=gw
This change adds a code path to avoid instancing, enabled (if supported) on non-Intel GPUs.

Side note: we still need a plan on what to do on devices that support neither of base-instance or SSBO.

Differential Revision: https://phabricator.services.mozilla.com/D87826
2020-11-17 00:10:14 +00:00
Markus Stange 341ef77cb4 Bug 1677275 - Cancel fling acceleration at the end of touch gestures that didn't cause a fling. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D97088
2020-11-16 23:16:39 +00:00
Mike Hommey 824a5891ad Bug 1677023 - Set UPLOAD_DIR on generic-worker like we do for docker_worker. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D96964
2020-11-16 23:51:30 +00:00
Mike Hommey 5bfabfaaf1 Bug 1677022 - Allow to run toolchain tasks on mac workers. r=taskgraph-reviewers,aki
By using a string instead of list for the command, we leave it to
the run-task transform to wrap with bash, which we don't need to do
ourselves anymore.

Differential Revision: https://phabricator.services.mozilla.com/D96963
2020-11-16 23:51:30 +00:00
Mike Hommey eb485ced35 Bug 1677020 - Always cap try tasks to a 28 days expiry. r=taskgraph-reviewers,jmaher
Currently, if a task defines its own expiry with a very large value,
that will be respected even on try, where we actually don't want that to
happen.

This also helps simplify the setup for docker images.

We also take on the occasion to remove the discrepancy between the
default expiry for tasks in general and tests in particular. Bug 1258497
set the original expiry to 14 days, bug 1281004 added another place
where the expiry was set to 14 days for tests specifically, and then bug
1304180 changed the expiry to 28 days, but it just seems the location
for tests was overlooked rather than deliberately left to 14 days.

Differential Revision: https://phabricator.services.mozilla.com/D96962
2020-11-16 23:51:22 +00:00
Csoregi Natalia d5d9829015 Backed out changeset 59fc06b10800 (bug 1677432) for linting failures. CLOSED TREE 2020-11-17 01:59:23 +02:00
Csoregi Natalia 8cdde07a53 Backed out changeset 8d61a17c6f6e (bug 1640960) for wrench failures on shadow-transforms.yaml. CLOSED TREE 2020-11-17 01:56:30 +02:00
Ted Campbell c7dfc0a012 Bug 1677184 - Remove IsLikelyConstructorWrapper optimization. r=jandem
This is unused now that TypeInference is disabled and can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D97038
2020-11-16 15:37:51 +00:00
Ted Campbell 5a6f8d148b Bug 1677177 - Move delazification function-name update to UpdateEmittedInnerFunctions. r=arai
This code was originally moved because ParserAtom -> JSAtom conversion was
fallible. Now that we instantiate JSAtoms in bulk, we can move the name
update code to the same place as other inner-function updates.

Differential Revision: https://phabricator.services.mozilla.com/D97057
2020-11-16 15:37:44 +00:00
Ted Campbell 94d5e4e4df Bug 1677177 - Remove ScriptStencil::isStandaloneFunction. r=arai
Now that we don't need to update ObjectGroup while instantiating stencil, we
don't need to worry about the standalone function case. A standalone function
also has the name set already so we do not need to worry about that either.

Differential Revision: https://phabricator.services.mozilla.com/D97056
2020-11-16 15:37:36 +00:00
Ted Campbell 85fd3c3006 Bug 1677177 - Remove run-once-lambda/singleton-group heuristic. r=jandem
This mechanism does nothing without TypeInference, so we can remove it now.
This is particularly valuable as this was the remaining case where the
ImmutableScriptFlags of a BaseScript could be mutated during delazification.

Differential Revision: https://phabricator.services.mozilla.com/D97030
2020-11-16 15:37:29 +00:00
Ted Campbell 9f8df387da Bug 1677177 - Remove JSFunction::setTypeForScriptedFunction. r=jandem
This is not needed now that TypeInference is permanently disabled. Release
asserts are used until the last vestiges of TI are removed.

Differential Revision: https://phabricator.services.mozilla.com/D97029
2020-11-16 15:37:13 +00:00
sagudev 2c2640694d Bug 1658008 - Add preference to control Accept HTTP header and genarate header based on image Accept header. r=jbauman,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95668
2020-11-16 21:47:10 +00:00
Oriol Brufau fddd41228d Bug 1552648 - Avoid too much recursion when inspecting nested promises. r=nchevobbe,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96317
2020-11-16 18:15:14 +00:00
Mike Hommey 82a882888d Bug 1543149 - Use `mach python` to run mozharness build script and remove PYTHONPATH hack. r=releng-reviewers,aki
Also fix the gecko path on extra-config-path flags on mac tasks
(currently not causing problems because unused).

And while here, we switch to python3.

Differential Revision: https://phabricator.services.mozilla.com/D96961
2020-11-13 18:32:28 +00:00
Emma Malysz 657f008472 Bug 1649615, remove OS.File usages from PlacesBackups.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D96759
2020-11-16 23:42:36 +00:00
stransky 370bfbe6bc Bug 1665844 [Wayland] Fix mutter to start in Wayland mode in Mozilla automation, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D97161
2020-11-16 18:52:09 +00:00
Emily McDonough 63aa65a2fb Bug 1676976 - Have nsPrinterCUPS::TryEnsurePrinterInfo return a DataMutex::AutoLock r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D96937
2020-11-13 19:58:25 +00:00
Emily McDonough e5edc9c72e Bug 1676977 - Make DataMutex::AutoLock public r=sg
Since it's already possible to use the type if its declaration is auto, this
change just allows us to return it from functions.

Differential Revision: https://phabricator.services.mozilla.com/D96936
2020-11-13 10:04:22 +00:00
Gavin Lazar Suntop 2d108b4b23 Bug 1675568 - complete LOS styling r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D96613
2020-11-16 19:16:22 +00:00
sotaro 7120835c49 Bug 1676576 - Remove unused functions of CompositorBridgeParent r=nical
Differential Revision: https://phabricator.services.mozilla.com/D96674
2020-11-12 08:44:25 +00:00
Gregory Mierzwinski c7a02fda76 Bug 1677478 - Disable conditioned profiles on mobile browsertime. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97174
2020-11-16 22:46:19 +00:00
Mike Hommey ff50994089 Bug 1672888 - Setup plain mac builds on automation. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D96958
2020-11-13 14:22:08 +00:00
Haik Aftandilian 04e352768f Bug 1677029 - With universal builds on Apple Silicon, first launch of the GMP process is slow r=bryce,spohl
Like Chromium, use the undocumented rosetta_translate_binaries function from
libRosetta.dylib to pre-translate XUL and the plugin file at browser startup
to reduce translation delays incurred when starting an x64 plugin process.

All changes #ifdef'd to Mac ARM64.

Differential Revision: https://phabricator.services.mozilla.com/D97105
2020-11-16 22:34:31 +00:00
Sylvestre Ledru d44ee5d99e Bug 1677432 - mozlint/license: be more precriptive in the tests detection r=linter-reviewers,ahal
We were not managing /testing/ because /test was catching it

Differential Revision: https://phabricator.services.mozilla.com/D97136
2020-11-16 22:10:40 +00:00
Sylvestre Ledru 0129dd3f83 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D96608
2020-11-16 22:09:25 +00:00
Dzmitry Malyshau 414eebcd57 Bug 1640960 - Support storage buffers with non-instanced rendering r=gw
This change adds a code path to avoid instancing, enabled (if supported) on non-Intel GPUs.

Side note: we still need a plan on what to do on devices that support neither of base-instance or SSBO.

Differential Revision: https://phabricator.services.mozilla.com/D87826
2020-11-16 21:58:25 +00:00
Dragana Damjanovic df04047c08 Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin
This needs to count encrypted data, therefore it is implemented as a NSPR layer right above the PR_NSPR_IO_LAYER layer.

Differential Revision: https://phabricator.services.mozilla.com/D96083
2020-11-16 20:38:25 +00:00
Emilio Cobos Álvarez 295535a2b2 Bug 1676632 - Throw more descriptive actor errors. r=smaug,nika
Differential Revision: https://phabricator.services.mozilla.com/D96704
2020-11-16 21:18:49 +00:00
Kartikaya Gupta 78936e95e4 Bug 1645433 - Add a test. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96077
2020-11-16 21:18:36 +00:00