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

735874 Коммитов

Автор SHA1 Сообщение Дата
Boris Chiou 04d9986bd4 Bug 1651776 - aspect-ratio should be used for abspos when insets on the block axis are specified. r=TYLin
Based on https://github.com/w3c/csswg-drafts/issues/5151,
if the block size is auto, we still can use the insets to resolve the auto
block size on absoluate position elements, so we still can use this resolved
block size to calculate the inline size through aspect-ratio.

Differential Revision: https://phabricator.services.mozilla.com/D96277
2020-11-20 22:46:05 +00:00
Boris Chiou d1895eafaa Bug 1651776 - Refine the terminology of writing modes when handling unconstrained block-size on out-of-flow boxes. r=TYLin
I'd like to handle aspect-ratio in those code block, so it'd be better
to always handle unconstrained block-size on the writing mode of the current
block. Besides, we move it as a method of ReflowInput.

Differential Revision: https://phabricator.services.mozilla.com/D97515
2020-11-20 22:38:38 +00:00
Boris Chiou d494534798 Bug 1651776 - Move Compute{Inline|Block}SizeFromAspectRatio() into AspectRatio struct. r=TYLin
We add a new file, AspectRatio.cpp, to definte the method,
ComputeRatioDependentSize. So we don't have to move this function to
WritingModes.h

Besides, we miss the forward declaration of IPC::ParamTraits, so add it
into AspectRatio.h.

Differential Revision: https://phabricator.services.mozilla.com/D95822
2020-11-20 22:38:36 +00:00
Jon Bauman 6af16546a9 Bug 1675987 - No derogatory language: Remove references to "crazy" in dom module. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97654
2020-11-20 23:37:01 +00:00
Emilio Cobos Álvarez b387d88540 Bug 1595483 - Remove visited-status-resolution notification. r=mak
No consumers left.

Differential Revision: https://phabricator.services.mozilla.com/D97776
2020-11-20 16:36:06 +00:00
Emilio Cobos Álvarez 210bda662e Bug 1595483 - Remove visited-status-resolution waiting from bug293235_window.xhtml. r=mak
This is only useful to potentially catch the case where we incorrectly
paint a non-visited link as visited. That's something covered by all the
visited reftests extensively, and can't cause the rest of the test to
race, so it seems removable.

Depends on D97774

Differential Revision: https://phabricator.services.mozilla.com/D97775
2020-11-20 16:13:56 +00:00
Emilio Cobos Álvarez 352562f7ef Bug 1595483 - Remove visited-status-resolution usage from browser_bug461710.js. r=mak
For those subtests we're already waiting for the color elsewhere, see
below.

Differential Revision: https://phabricator.services.mozilla.com/D97774
2020-11-20 16:11:43 +00:00
Olli Pettay 25c8782343 Bug 1674254 - Inside a WebWorker context, calling performance.addEventListener throws a generic NS_ERROR_FAILURE, r=barret
Differential Revision: https://phabricator.services.mozilla.com/D97805
2020-11-20 22:39:58 +00:00
Andrew Osmond 5e7a019944 Bug 1678838 - Ship WebRender to missing Skylake gt4 device. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97849
2020-11-21 15:19:23 +00:00
Butkovits Atila 4f241bf0c5 Backed out changeset f6a72042dd56 (bug 1677293) for failures on fullscreen.py. CLOSED TREE 2020-11-20 15:07:42 +02:00
Nicolas Silva f1b2faadf6 Bug 1677771 - Fix the texture cache allocating rectangles multiple times. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D97574
2020-11-20 12:34:27 +00:00
Butkovits Atila 1fe4bfc1b7 Backed out changeset aaee4ba7af2e (bug 1664849) for failures on test_urlTelemetry.js. CLOSED TREE 2020-11-20 14:32:42 +02:00
Andrew Osmond 30f43fae5d Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 11:34:56 +00:00
Drew Willcoxon 62f3b20e9d Bug 1678506 - Optimize UrlbarPrefs.get by calling only map.get and not map.has. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D97713
2020-11-20 10:02:04 +00:00
Drew Willcoxon e6cc468b9a Bug 1657790 - Allow local search mode buttons to be toggled separately from engines. r=mak,ntim
* Add prefs for each local search shortcut
* Remove the `update2.localOneOffs` pref since it's not necessary with the three
  new prefs
* Modify preferences UI by adding a new row in the engines tree for each local
  shortcut
* Add `UrlbarUtils.LOCAL_SEARCH_MODES` so we have a single place where local
  search modes and their properties are defined
* Add a new test file for the preferences UI
* Modify browser_oneOffs.js to test the three new preferences

Differential Revision: https://phabricator.services.mozilla.com/D97376
2020-11-20 22:35:08 +00:00
Chris H-C 0e0b866ab2 Bug 1670183 - Clean up style of FOG bindings r=janerik
Depends on D97032

Differential Revision: https://phabricator.services.mozilla.com/D97602
2020-11-20 21:39:36 +00:00
Chris H-C 05cf7d0d5d Bug 1670183 - Combine testHas and testGet methods for FOG C++ and JS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D97032
2020-11-20 21:39:29 +00:00
Chris H-C 29c6bf9e69 Bug 1678637 - Regenerate the FOG pytest expected files r=mdroettboom
Differential Revision: https://phabricator.services.mozilla.com/D97802
2020-11-20 22:05:25 +00:00
Julian Descottes 51ed7cc519 Bug 1297132 - [devtools] Stop loading unused globalOverlay.js in toolbox r=rcaliman,bgrins
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1297132#c2 , the APIs from globalOverlay.js seem unused in DevTools. Storage panel and styleeditor are still using goUpdateCommand and others, but they load their own copy of globalOverlay.js

Differential Revision: https://phabricator.services.mozilla.com/D96703
2020-11-20 17:14:31 +00:00
Jon Bauman f5c1a59332 Bug 1675987 - No derogatory language: Remove references to "crazy" in layout module r=emilio,AlaskanEmily
Differential Revision: https://phabricator.services.mozilla.com/D97657
2020-11-20 21:21:03 +00:00
Erica Wright 2e621affde Bug 1595858 - Allow users to select or deselect addons for homepage and newtab without disabling the addons. r=preferences-reviewers,Gijs,mixedpuppy,ahal
Differential Revision: https://phabricator.services.mozilla.com/D93584
2020-11-20 21:40:14 +00:00
Brad Werth d81df7b3bf Bug 1678717: Change PRINT_TIMINGS format. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97813
2020-11-20 21:19:08 +00:00
Erica Wright 71616d9b24 Bug 1677836 - Default off highlights section on New Tab. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D97360
2020-11-20 17:25:21 +00:00
Mike Hommey 9eae3b523e Bug 1678485 - Enable PGO on arm64 mac builds. r=firefox-build-system-reviewers,andi,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D97749
2020-11-20 15:16:14 +00:00
Adam Gashlin f09d99896f Bug 1672585 - Renew migration.uninstaller_profile_refresh probe r=mhowell
Renew for 6 more months on release, 90 is scheduled for 2021-06-15

Differential Revision: https://phabricator.services.mozilla.com/D97383
2020-11-20 20:44:36 +00:00
alwu bf7e451e44 Bug 1659064 - ensure the focus would be gaved back to the original window. r=bryce
In D97474, I removed this line because I think we acutally didn't need to wait until the focus switched to the original window. However, the intermittent fail rate went high after doing that.

Therefore, adding this line back in order to not interfere the following fullscreen test, which would get failed if the window is not being focused.

Differential Revision: https://phabricator.services.mozilla.com/D97796
2020-11-20 18:37:11 +00:00
smolnar 93595da8db Backed out changeset d57553438d94 (bug 1675329) for causing bustages in nsAppShell. CLOSED TREE 2020-11-20 22:37:39 +02:00
Dzmitry Malyshau 09630ed233 Bug 1678454 - Update plane-split dependency to 0.17.1 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97784
2020-11-20 19:52:15 +00:00
Ricky Stewart c9720a8ee7 Bug 1676533 - Consult the base revision for file hashes instead of the on-disk files in `mach artifact` r=ahal
This enables `mach artifact` and `mach bootstrap` to not fail due to local changes.

Differential Revision: https://phabricator.services.mozilla.com/D96892
2020-11-20 18:58:51 +00:00
smolnar ecaaa56bed Bug 1641000 - Fix linting error on buffer.rst r=lint-fix 2020-11-20 21:38:21 +02:00
Andrew Osmond d54e45522a Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 17:38:53 +00:00
Kris Wright 9b20afabaf Bug 1671586 - Let GetPrefValue() fail when updating a mirror. r=sg
In bug 1642727 we assumed this method was now essentially infallible because we do not delete mirror prefs. However, users can input some pref values that cause the value casts in `GetValue` to fail, which causes a crash. This commit reverts this behavior back to what it originally does (fail silently) to prevent crashing. We need to fix the underlying issue (bug 1672265) but we also need to ensure this doesn't crash, and any unexpected behavior caused by incorrect pref entry will return to its original behavior before this change, which relies on the individual components' handling of bad pref values rather than `UpdateMirror`.

Differential Revision: https://phabricator.services.mozilla.com/D94195
2020-11-20 14:00:06 +00:00
Dave Townsend a3cb03324e Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika
Callers can pass an exit code to nsIAppStartup::Quit and it will be returned from the process when
it exits.

Note that I have using uint16_t as the exit code because on Windows the exit code can be a uint and
elsewhere it is an int. A uint16_t will safely convert to either of those and no-one will ever need
more than 64k exit codes!

Differential Revision: https://phabricator.services.mozilla.com/D96857
2020-11-20 19:13:34 +00:00
Luca Greco ec28416cf3 Bug 1675106 - Make browsingData.removePluginData a no-op and to log a deprecation warning. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D97672
2020-11-20 18:00:46 +00:00
Greg Tatum dbae6744d9 Bug 1641000 - Start documenting the Gecko Profiler; r=gerald
This patch represents joint authoriship by Greg Tatum and Gerald Squelart.
This is a work in progress start to documenting the Gecko Profiler. We
collaborated on this on GitHub.

https://github.com/gregtatum/gecko-dev/tree/profiler-docs/tools/profiler/docs

Differential Revision: https://phabricator.services.mozilla.com/D97655
2020-11-20 18:55:26 +00:00
Florian Quèze 005a453c33 Bug 1678418 - avoid stopping the profiler for performance tests that don't require a startup profile, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D97780
2020-11-20 16:50:14 +00:00
Maja Frydrychowicz c87e882f19 Bug 1670332 - [marionette] Replace contentWindow usage with document.defaultView r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D97766
2020-11-20 18:35:37 +00:00
Jan-Ivar Bruaroey 6f7016ff54 Bug 1614055 - Optimize MediaRecorder-peerconnection.https.html test & make Chrome workarounds explicit r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D97229
2020-11-20 17:10:49 +00:00
Jan-Ivar Bruaroey 3ee58d1bcb Bug 1614055 - Simplify MediaRecorder-peerconnection.https.html.ini r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D97228
2020-11-20 17:10:41 +00:00
Jan-Ivar Bruaroey 60b68a1f96 Bug 1614055 - Fix bug in waitForReceivedCodec() helper to not wait forever + improve error handling. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D62335
2020-11-20 17:16:32 +00:00
Jan-Ivar Bruaroey 7c66373670 Bug 1614055 - Avoid Promise constructor anti-pattern & reduce recording time in MediaRecorder-no-sink.https.html as well. r=bryce,bwc
Differential Revision: https://phabricator.services.mozilla.com/D62328
2020-11-20 17:15:39 +00:00
Jan-Ivar Bruaroey 1d8139738f Bug 1614055 - Run different tests on browsers that fail MediaRecorder.isTypeSupported(mimeType). r=bryce,bwc
Differential Revision: https://phabricator.services.mozilla.com/D62285
2020-11-20 17:15:11 +00:00
Jan-Ivar Bruaroey 792365bd49 Bug 1614055 - Avoid Promise constructor anti-pattern & reduce recording time to pass test on android. r=bryce,bwc
Differential Revision: https://phabricator.services.mozilla.com/D62283
2020-11-20 17:14:39 +00:00
Jan-Ivar Bruaroey 15a47f663a Bug 1614055 - Avoid ambiguous mimeTypes in MediaRecorder-peerconnection.https.html for now. r=bryce,bwc
Differential Revision: https://phabricator.services.mozilla.com/D62282
2020-11-20 17:13:59 +00:00
Jan-Ivar Bruaroey 8602f098c1 Bug 1614055 - Remove unused name field in MediaRecorder-peerconnection.https.html test. r=bryce,bwc
Differential Revision: https://phabricator.services.mozilla.com/D62281
2020-11-20 17:13:31 +00:00
Steven Michaud d320389ae7 Bug 1676102 - Prevent access to child process modules not in dyld shared cache. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D97679
2020-11-20 16:51:51 +00:00
Andrey Bienkowski 66e1a90717 Bug 1678303 - Mark testing/mochitest/chrome/test_sanityEventUtils.xhtml as failing in the headless mode r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97750
2020-11-20 16:49:36 +00:00
emcminn e27c30b9c1 Bug 1678018 - Remove obsolete and redundant focus ring from notification bar close button. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D97489
2020-11-20 16:39:29 +00:00
Emilio Cobos Álvarez 38a006e41a Bug 1595483 - Remove visited-status-resolution in test_IHistory. r=mak
This is testing just that the observer is notified. But we're about to
remove it so... :)

Differential Revision: https://phabricator.services.mozilla.com/D97782
2020-11-20 16:35:53 +00:00
Mihai Alexandru Michis e6721cb099 Bug 1677778 - Remove extra lines that cause failures. a=fix
CLOSED TREE
DONTBUILD
2020-11-20 18:28:33 +02:00