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

20714 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 067cad5579 Bug 1675409 - Migrated LongTaskMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96038
2020-11-17 22:16:16 +00:00
Dana Keeler e48051a0ac Bug 1634065 - remove the nested event loop in nsComponentManagerImpl::GetServiceLocked r=nika
If the implementation of an XPCOM service constructor involves dispatching an
event to another thread and blocking the current thread on that event, a
deadlock can occur if the target thread is also attempting to obtain that
service at the same time.
For instance, say nsIExampleService needs to be constructed on the main thread,
but some code in thread T is attempting to get a handle on it. Suppose the
implementation checks which thread it's running on and dispatches a synchronous
event to the main thread to do the actual construction work in the case that it
is not on the main thread. Further suppose that before that event is run, other
code on the main thread also attempts to get a handle on nsIExampleService. The
XPCOM service machinery sees that another thread is in the process of
constructing nsIExampleService, so it must wait for that to complete. However,
the thread that is attempting to do this construction is waiting for an event
to be run on the main thread. Thus, these two threads are deadlocked.
Before this patch, the XPCOM service machinery worked around this problem by
processing events on the second thread until it could proceed. However, this
caused a nested event loop, which is bad for stability because all guarantees
relating to when events will run are violated. In particular, this could cause
reentrency into the TLS implementation, which is not expected and has caused
intermittent crashes.
This patch removes the nested event loop in
nsComponentManagerImpl::GetServiceLocked in favor of not synchronously
dispatching events in XPCOM service constructors. One way to fix such
constructors is to move the event dispatch and blocking outside of the XPCOM
service machinery. See the other patch in this bug for an example.

Differential Revision: https://phabricator.services.mozilla.com/D92800
2020-11-17 16:30:06 +00:00
Mihai Alexandru Michis c0d25b01b2 Backed out 24 changesets (bug 1666566, bug 1675409) for causing hazard failures in profiler/core/platform.cpp
CLOSED TREE

Backed out changeset 4d8af8533fd4 (bug 1666566)
Backed out changeset f031a3a8a20f (bug 1675409)
Backed out changeset 2b7e1a031921 (bug 1675409)
Backed out changeset bda5a24b2d0a (bug 1675409)
Backed out changeset 4282e2284314 (bug 1675409)
Backed out changeset 0637f1b26e9f (bug 1675409)
Backed out changeset 67ae04c8f607 (bug 1675409)
Backed out changeset 6c7b3f3618ef (bug 1675409)
Backed out changeset 2f325c22d169 (bug 1675409)
Backed out changeset 1e48ff70ad8f (bug 1675409)
Backed out changeset 1dfc32d6871d (bug 1675409)
Backed out changeset 4f1f218a777b (bug 1675409)
Backed out changeset e6ac8722b38e (bug 1675409)
Backed out changeset cf132e15fb57 (bug 1675409)
Backed out changeset a126e6b00ba9 (bug 1675409)
Backed out changeset fbc7fbb04f33 (bug 1675409)
Backed out changeset 554c69681474 (bug 1675409)
Backed out changeset 44d0521c701f (bug 1675409)
Backed out changeset 04653dfe4720 (bug 1675409)
Backed out changeset 41ca2c043a00 (bug 1675409)
Backed out changeset 264ae4c805d4 (bug 1675409)
Backed out changeset 5f3bbdac0d52 (bug 1675409)
Backed out changeset 11311c11a6e8 (bug 1675409)
Backed out changeset 0355fbc44baf (bug 1675409)
2020-11-17 19:31:28 +02:00
Gerald Squelart f8c24dd6a4 Bug 1675409 - Removed now-unused ProfilerMarkerPayload and all dependencies - r=gregtatum,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96054
2020-11-17 11:40:46 +00:00
Gerald Squelart a2779e6b9f Bug 1675409 - Migrated GC markers to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96046
2020-11-17 11:34:42 +00:00
Gerald Squelart 374448fe41 Bug 1675409 - Migrated LogMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96039
2020-11-17 11:31:37 +00:00
Gerald Squelart ee94544ace Bug 1675409 - Migrated LongTaskMarkerPayload to Markers 2.0 API - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D96038
2020-11-17 11:31:04 +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
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
Markus Stange 4a49a6612c Bug 1676434 - Replace obsolete -moz-mac-yosemite-theme media query with a new -moz-mac-big-sur-theme media query. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D97089
2020-11-16 20:43:35 +00:00
Eitan Isaacson df739e1daf Bug 1198336 - P1: Introduce live region added/removed events. r=Jamie,morgan
VoiceOver pre-caches live region data and does its own deltas to
know what to parts of a subtree changed, and what to announce
based on AXARIAAtomic and AXARIARelevant.

I added a removed event as well. This will help us cache a "live region"
flag in the main process and avoid sync round trips for attributes when not needed.

Differential Revision: https://phabricator.services.mozilla.com/D96291
2020-11-16 20:16:33 +00:00
Cristina Coroiu 1eba664ba7 Merge autoland to mozilla-central a=merge. CLOSED TREE 2020-11-16 18:20:41 +02:00
Mozilla Releng Treescript 49ebb9c28b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-11-16 10:11:15 +00:00
Karl Tomlinson 332494e855 Bug 1213512 remove unused NS_ERROR_DOM_FILE_ABORT_ERR r=baku
Depends on D95967

Differential Revision: https://phabricator.services.mozilla.com/D95968
2020-11-13 07:55:31 +00:00
Steve Fink d0a1ea34ce Bug 1662254 - Merge ICCRunner and CCRunner into a single CCRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90633
2020-11-13 19:38:02 +00:00
Alexis Beingessner 276b0a83da Bug 1674773 - Use the dummy-load-as-a-fence trick for refptr.rs. r=nika
This also introduces a thread_sanitizer feature to gkrust for any other
crates that need similar special handling. (`cfg(sanitizer="thread")` is
unfortunately an unstable feature, so it isn't useful here.)

Differential Revision: https://phabricator.services.mozilla.com/D95950
2020-11-10 21:11:58 +00:00
Olli Pettay 479b3d0bb9 Bug 1676997 - null check callback in PromiseJobRunnable::Suppressed(), r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D96949
2020-11-13 14:27:16 +00:00
Butkovits Atila 119d8f1aa7 Backed out 4 changesets (bug 1198336) for bustage on rules.mk. CLOSED TREE
Backed out changeset 26ad5bb8e1ed (bug 1198336)
Backed out changeset 852dc98e8cf5 (bug 1198336)
Backed out changeset 823511f4191b (bug 1198336)
Backed out changeset 67f5a42ed170 (bug 1198336)
2020-11-13 11:06:12 +02:00
Eitan Isaacson ae837aea6e Bug 1198336 - P1: Introduce live region added/removed events. r=Jamie,morgan
VoiceOver pre-caches live region data and does its own deltas to
know what to parts of a subtree changed, and what to announce
based on AXARIAAtomic and AXARIARelevant.

I added a removed event as well. This will help us cache a "live region"
flag in the main process and avoid sync round trips for attributes when not needed.

Differential Revision: https://phabricator.services.mozilla.com/D96291
2020-11-13 04:04:45 +00:00
Bogdan Tara 3667467db8 Backed out 10 changesets (bug 1662254) for lint failure on generate_static_pref_list.py CLOSED TREE
Backed out changeset 972e63387191 (bug 1662254)
Backed out changeset 3a9d6f0aa380 (bug 1662254)
Backed out changeset 4b3ffe7fe1af (bug 1662254)
Backed out changeset 4834b1025611 (bug 1662254)
Backed out changeset ec1f7afe8a2d (bug 1662254)
Backed out changeset c7a6b927b1de (bug 1662254)
Backed out changeset 2427d85b2605 (bug 1662254)
Backed out changeset 979bf4ac97bb (bug 1662254)
Backed out changeset 3e443333c636 (bug 1662254)
Backed out changeset a5261578ebfc (bug 1662254)
2020-11-12 23:59:07 +02:00
Steve Fink c6c29e644b Bug 1662254 - Minor comment fixes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90901
2020-11-12 19:05:08 +00:00
Steve Fink ebe551ba1a Bug 1662254 - Merge ICCRunner and CCRunner into a single CCRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90633
2020-11-12 19:05:00 +00:00
Kagami Sascha Rosylight 9f8ae58d52 Bug 1673837 - Part 3: Create ForEachAncestorObserver() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D95354
2020-11-10 18:50:00 +00:00
Csoregi Natalia 6ddec72329 Backed out 4 changesets (bug 1198336) for causing leaks. CLOSED TREE
Backed out changeset faa35ea77d35 (bug 1198336)
Backed out changeset 821f94bae182 (bug 1198336)
Backed out changeset ee78c1e8cc3b (bug 1198336)
Backed out changeset 2c56e36b869d (bug 1198336)
2020-11-12 01:46:52 +02:00
Eitan Isaacson 4757842fcf Bug 1198336 - P1: Introduce live region added/removed events. r=Jamie,morgan
VoiceOver pre-caches live region data and does its own deltas to
know what to parts of a subtree changed, and what to announce
based on AXARIAAtomic and AXARIARelevant.

I added a removed event as well. This will help us cache a "live region"
flag in the main process and avoid sync round trips for attributes when not needed.

Differential Revision: https://phabricator.services.mozilla.com/D96291
2020-11-11 21:12:18 +00:00
Haik Aftandilian 0c4a7d9835 Bug 1675441 - Use an x64 Widevine GMP Process for Apple Silicon Native Builds r=bryce,spohl
When running as a "universal" build, use an x64 GMP child process if the CDM library is an x64 binary.

Use ifdefs extensively to reduce risk to Intel builds if the fix needs to be uplifted.

Requires a server-side balrog change to serve an Intel Widevine binary to ARM browser versions.

Differential Revision: https://phabricator.services.mozilla.com/D96288
2020-11-11 02:37:57 +00:00
Butkovits Atila 7c83560854 Backed out 4 changesets (bug 1198336) for bustages on rules.mk. CLOSED TREE
Backed out changeset 8399406e5f2e (bug 1198336)
Backed out changeset 7a2dbe67b6a6 (bug 1198336)
Backed out changeset fd45661dd659 (bug 1198336)
Backed out changeset 68cf7e4b16f2 (bug 1198336)
2020-11-11 02:40:30 +02:00
Eitan Isaacson 85740d386d Bug 1198336 - P1: Introduce live region added/removed events. r=Jamie,morgan
VoiceOver pre-caches live region data and does its own deltas to
know what to parts of a subtree changed, and what to announce
based on AXARIAAtomic and AXARIARelevant.

I added a removed event as well. This will help us cache a "live region"
flag in the main process and avoid sync round trips for attributes when not needed.

Differential Revision: https://phabricator.services.mozilla.com/D96291
2020-11-10 23:07:20 +00:00
Kris Maglione 7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Barret Rennie 927272a89b Bug 1665172 - Add nsIFile::MoveToFollowingLinks{,Native} methods r=nika
Differential Revision: https://phabricator.services.mozilla.com/D96137
2020-11-10 15:56:47 +00:00
Mike Hommey 5f83f09c93 Bug 1674947 - Fix warning: getting the inner pointer of a temporary `CString`. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D95960
2020-11-09 08:31:28 +00:00
Cosmin Sabou f2556d47da Backed out 2 changesets (bug 1674773) for turning Bug 1646925 into almost permafail.
Backed out changeset acd441508a66 (bug 1674773)
Backed out changeset 89babec1b885 (bug 1674773)
2020-11-10 11:27:50 +02:00
Alexis Beingessner 297ab08c2d Bug 1674773 - Use the dummy-load-as-a-fence trick for refptr.rs. r=nika
This also introduces a thread_sanitizer feature to gkrust for any other
crates that need similar special handling. (`cfg(sanitizer="thread")` is
unfortunately an unstable feature, so it isn't useful here.)

Differential Revision: https://phabricator.services.mozilla.com/D95950
2020-11-09 20:14:44 +00:00
Valentin Gosu 07f304d057 Bug 1675203 - Backed out changeset 0bcd9a5ae49f (Bug 1667581) for causing memory usage regressions a=backout
Differential Revision: https://phabricator.services.mozilla.com/D96007
2020-11-05 10:43:09 +00:00
Tim Nguyen e40d211058 Bug 1675400 - Remove menubutton support. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95948
2020-11-05 00:14:58 +00:00
Andrew McCreight f5090a8a7a Bug 1673432 - Add comment about minimizeMemoryUsage being async. r=kmag DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94755
2020-11-03 21:54:46 +00:00
tobar2018 d7a64d8211 Bug 1673051 - Remove OnYosemiteOrLater(), OnElCapitanOrLater(), and OnSierraOrLater(). r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D95304
2020-11-02 16:25:18 +00:00
Bryce Seager van Dyk 1cf44fd8d6 Bug 1673670 - Add vprintf style nsVprintfCString + tests. r=xpcom-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D94851
2020-10-29 14:55:07 +00:00
David Teller 72a77b9404 Bug 1426219 - TypeError is not a developer error anymore;r=yulia
This patch is part of an ongoing work to help our test suite show developer errors that are currently being swallowed by `try { ... } catch (e) { ... }`.

Previous patches in the work used the heuristic that all instances of `TypeError`, `SyntaxError` and `ReferenceError` are developer errors unless specified otherwise. As it turns out, we are throwing `TypeError` in many cases that are not type errors. Since we have no manner of distinguishing which of these cases are actual (developer) errors and which are runtime exceptions, this patch removes `TypeError` from the list of developer errors.

Ideally, a followup patch would carefully reactivate `TypeError`, with a mechanism to annotate which actually represent type errors (typically, those thrown by SpiderMonkey or `throw new TypeError`) and which do not (typically, most of the instances of `TypeError` thrown by DOM operations).

Differential Revision: https://phabricator.services.mozilla.com/D95276
2020-10-30 11:34:37 +00:00
Bryce Seager van Dyk 2f82080b18 Bug 1673917 - Rename vprintf style nsTSubstring::AppendPrintf -> AppendVprintf. r=sg
This patch also expands tests to check that the results of creating string via
both methods are consistent.

Differential Revision: https://phabricator.services.mozilla.com/D95053
2020-10-29 14:51:45 +00:00
Bryce Seager van Dyk 8263739f02 Bug 1673917 - Add gtest for nsTSubString::AppendPrintf. r=sg
This adds some coverage for nsTSubString::AppendPrintf. These tests will be
expanded in future patches, but this gives some baseline coverage. Importantly
for the bug at hand, this provides a test case that shows the unexpected
overload resolution on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D95051
2020-10-29 15:06:59 +00:00
Andi-Bogdan Postelnicu 7f54f93c82 Bug 1626555 - Add `dom/media/mediasource` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D95024
2020-10-29 08:50:28 +00:00
Alexis Beingessner f045afd928 Bug 1506910 - Initialize the poison page with a static initializer. r=glandium,decoder
Poison was setup at the start of xpcom init when that was assumed to be early enough.
Since then, Poison was added to Maybe, and Maybe has been used everywhere, including in
our channel implementation. As a result, poison was being used before it was initialized.

This basically meant our poison pointers were being replaced with null instead, which
dances into some more UB than accessing a page we have actually allocated. Also, tsan
noticed that accesses to the value were racing with the initializer actually being
called!

A (dynamic) static initializer forces the poison initialization as we can reasonably
hope without getting CallOnce or singleton patterns involved.

Other changes:
  * Cleaned up the outdated documentation for mozWritePoison (the alignment
    restriction was removed in Bug 1414901)
  * Removed the poison supression from TSan

Differential Revision: https://phabricator.services.mozilla.com/D94251
2020-10-28 20:38:42 +00:00
Noemi Erli 682e476936 Backed out changeset 9bc0aec298c2 (bug 1673670) for causing windows crashtests CLOSED TREE 2020-10-27 23:03:45 +02:00
Bryce Seager van Dyk 4d900d1a52 Bug 1673670 - Add vprintf style ctor for nsPrintfCString + tests. r=xpcom-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D94851
2020-10-27 18:12:37 +00:00
Bas Schouten 7eea7384d6 Bug 1672597 - Part 1: Make EventQueuePriority the primary method of accessing task. r=smaug
This provides a cleaner API than using static_casts in code that begins directly using tasks.

Differential Revision: https://phabricator.services.mozilla.com/D94409
2020-10-27 15:29:16 +00:00
Benjamin Beurdouche dd15a05890 Bug 1665295 - Remove unnecessary assertion on getting nsICertStorage on AppShutdown. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D91890
2020-10-27 15:24:46 +00:00
Bas Schouten d28711aa34 Bug 1637592 - Part 2: Register name of new threads in appropriate places for profiler and debugger. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94655
2020-10-27 15:29:13 +00:00
Bas Schouten c6472cd2fb Bug 1637592 - Part 1: Integrate off main thread task execution into TaskController. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D75105
2020-10-27 15:29:11 +00:00
Ricky Stewart 210585edd2 Bug 1672023 - Remove excluded files from `black.yml`
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

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

Depends on D94045
2020-10-26 18:21:44 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bryce Seager van Dyk 3b9b491f8b Bug 1669570 - Rename MediaController thread to MediaSupervisor. r=jya
This renames the thread and identifiers derived from the thread's name. This is
to avoid ambiguity over if the thread relates to the MediaController class,
which it does not.

Differential Revision: https://phabricator.services.mozilla.com/D93806
2020-10-26 15:13:37 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart fe80718d67 Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-23 20:40:44 +00:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Denis Palmeiro 42ea68d66a Bug 1673026 - Change type of sCurrentTaskSeqNo to Atomic<uint64_t> r=bas
Differential Revision: https://phabricator.services.mozilla.com/D94608
2020-10-23 19:28:22 +00:00
Valentin Gosu 8374754c9b Bug 1667581 - Use a BackgroundTaskQueue to free up memory segments from nsSegmentedBuffer off main thread r=baku,sg
Also converts some unused code to a gtest.

Differential Revision: https://phabricator.services.mozilla.com/D93995
2020-10-22 10:47:39 +00:00
Jon Coppeard bbfe4d2ef0 Bug 1670358 - Add test for shrinking nsTArrays of JS::Heap<T> r=sg
Depends on D93654

Differential Revision: https://phabricator.services.mozilla.com/D94270
2020-10-21 13:50:37 +00:00
Jon Coppeard 7da8f2fe49 Bug 1670358 - Don't use realloc for shrinking nsTArrays and similar when RelocationStrategy::allowRealloc is false r=sg
My original patch handled the grow case but not the shrink case. When the
current and new allocation sizes are in different size classes jemalloc's
realloc will move the allocation when shrinking, not just truncate the existing
one.

Differential Revision: https://phabricator.services.mozilla.com/D93654
2020-10-21 13:50:36 +00:00
Jeff Walden eadce53226 Bug 1672556 - |NS_INLINE_DECL_REFCOUNTING_INHERITED(Class, Super)| should |using| in |Super|'s |AddRef| and |Release| functions, so that |Class::AddRef| and |Class::Release| are unambiguous whether or not refcount logging is in effect. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D94398
2020-10-22 07:41:47 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Dorel Luca 26941cf2f5 Backed out changeset 94ec15429e21 (bug 1672023) for Backout conflicts with Bug 1654103. CLOSED TREE 2020-10-22 03:43:01 +03:00
Ricky Stewart 8b352f1843 Bug 1672023 - Remove excluded files from `black.yml` r=sylvestre,perftest-reviewers,geckoview-reviewers,agi
These files were omitted from the original patch because reformatting them required some manual intervention in order to avoid breaking unit tests. Generally the `noqa` lines were already there and just needed to be moved from one line to another (due to the reformatting by `black`), but sometimes `black` saw fit to move a bunch of stuff all onto one line, requiring me to introduce new `noqa` lines.

Besides the autoformat by `black` and some manual fixups, this patch contains no other changes.

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94052
2020-10-21 21:29:30 +00:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Florian Quèze be3ab29de7 Bug 1672256 - Record thread creation markers for threads created off main thread, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D94158
2020-10-21 18:23:16 +00:00
Dan Glastonbury 38f9a7cc9f Bug 1660393 - P2: Add `Future` execution support. r=nika
Allow Rust Futures to be polled to completion on the current thread's
`nsIEventTarget`.

Futures don't need to be `Send` since they are polled on the thread spawning the
task responsible to completing the Future.

Differential Revision: https://phabricator.services.mozilla.com/D89694
2020-09-22 00:39:37 +00:00
Dan Glastonbury 21660d203d Bug 1660393 - P1: Add support to moz-task to spin event loop. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89693
2020-09-18 16:23:39 +00:00
Jean-Yves Avenard 43549134bb Bug 1595994 - P14. Don't dealock if we failed to dispatch a task and return error code. r=mattwoodrow
Depends on D91690

Differential Revision: https://phabricator.services.mozilla.com/D91691
2020-10-20 23:28:10 +00:00
Bas Schouten ed50612f0a Bug 1672055: Fix mismatch in nsIRunnablePriority and EventQueuePriority. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94053
2020-10-20 03:57:24 +00:00
Mozilla Releng Treescript 1319f81f81 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-10-19 16:39:05 +00:00
Ricky Stewart 362abcf949 Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges
The `clobber` targets are superseded by `mach clobber`, so we don't need them for any reason. The `clean` target is meant to get you to a post-`configure` state, but it doesn't really work, and if it's necessary for you to be in that state for some reason you can just clobber and re-`configure`, so it doesn't seem worth it to get it working again. Instead, delete all of them. Also delete `everything` which is not useful when `clobber` doesn't exist.

Differential Revision: https://phabricator.services.mozilla.com/D93514
2020-10-15 20:37:18 +00:00
Kris Maglione c1143c12ba Bug 1639739: Add Fission decision status to about:support. r=nika,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D92981
2020-10-14 20:42:16 +00:00
Bogdan Tara 09263ac198 Backed out 11 changesets (bug 1626278) for leaks and WebrtcGlobalInformation related failures CLOSED TREE
Backed out changeset 59228ee9d9e0 (bug 1626278)
Backed out changeset 59da0d11510e (bug 1626278)
Backed out changeset cd2e50c8af34 (bug 1626278)
Backed out changeset afdb75a17ac9 (bug 1626278)
Backed out changeset 5f453c8df70b (bug 1626278)
Backed out changeset 9b612ea670d4 (bug 1626278)
Backed out changeset 387a53fd83f3 (bug 1626278)
Backed out changeset 5870625073f6 (bug 1626278)
Backed out changeset 25c03ac56306 (bug 1626278)
Backed out changeset 3239d49be3ee (bug 1626278)
Backed out changeset 82ed327e71ed (bug 1626278)
2020-10-14 02:34:48 +03:00
Byron Campen [:bwc] 2f60b3af46 Bug 1626278: Test case for MozPromise::AllSettled. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92652
2020-10-13 03:23:11 +00:00
Byron Campen [:bwc] 8fa32bef7b Bug 1626278: Implement MozPromise::AllSettled, based on JS Promise API. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91467
2020-10-12 19:53:07 +00:00
Florian Quèze ba79cac2a8 Bug 1670786 - Add profiler markers with stacks of new thread creations, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D93264
2020-10-13 11:04:57 +00:00
Jon Coppeard 855b11ec23 Bug 1668825 - Change VisitGrayWrapperTargets API to take a tracer rather than a callback r=sfink
This API is only used in one place, with a callback that calls into a tracer,
so we can make this take a tracer in the first place and cut out one level of
indirection.

Depends on D93152

Differential Revision: https://phabricator.services.mozilla.com/D93153
2020-10-12 19:06:16 +00:00
Kartikaya Gupta 6d47eac4ee Bug 1666802 - Remove LayersLogging.*. r=mattwoodrow
The remaining functions are moved to be with their brethren in xpcom.

Differential Revision: https://phabricator.services.mozilla.com/D93146
2020-10-11 21:20:46 +00:00
Bas Schouten 68865466cc Bug 1669256 - Part 5: Remove dead code from ProcessNextEvent and its supporting functions. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92713
2020-10-09 17:38:15 +00:00
Bas Schouten ba72f1b5e7 Bug 1669256 - Part 4: Remove broken code to control input event prioritization and fix it. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92712
2020-10-09 16:57:47 +00:00
Bas Schouten fa8811a91b Bug 1669256 - Part 3: Remove priority related code from ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92711
2020-10-09 16:57:40 +00:00
Bas Schouten c8d25dc789 Bug 1669256 - Part 2: Remove code for idle handling from ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92710
2020-10-09 16:57:38 +00:00
Bas Schouten 25a1b0f61f Bug 1669256 - Part 1: Remove AbstractEventQueue and de-templatize ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92709
2020-10-09 17:56:34 +00:00
Paul Bone 76a1ce49fa Bug 1656155 - pt 3. Report bin stats in about:memory r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D85727
2020-10-08 22:43:18 +00:00
Paul Bone 46597c49d2 Bug 1656155 - pt 2. Provide bin usage stats in jemalloc_stats r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D85726
2020-10-08 22:42:45 +00:00
Sylvestre Ledru cad53f4804 Bug 1588458 - Replace dxr links by searchfox in the code/test r=kats,sparky
Differential Revision: https://phabricator.services.mozilla.com/D92792
2020-10-08 14:02:40 +00:00
Jon Coppeard 7e8b185cb1 Bug 1668825 - Move trace options into a separate options class passed when the tracer is created r=sfink
I gave TraceOptions some implicit consturctors to make it easier to set a
single option by passing an enum value.

Differential Revision: https://phabricator.services.mozilla.com/D92596
2020-10-08 14:39:00 +00:00
Valentin Gosu ca7456a2d0 Bug 1669813 - Pass %s format to VsprintfLiteral instead of logged string r=dragana
ExternMozLog treated aMsg as a format, instead of the string being printed.
If it happened to contain any escape sequences, it led to a crash as the parameters weren't there.

Differential Revision: https://phabricator.services.mozilla.com/D92886
2020-10-08 10:17:12 +00:00
Kris Maglione 832d650ddb Bug 1669538: Expose reason for Fission enablement decision in nsIXULRuntime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92676
2020-10-07 22:13:48 +00:00
Csoregi Natalia 7ede3c3e96 Backed out changeset a5f507cc51ab (bug 1669538) for build bustage on nsAppRunner.cpp. CLOSED TREE 2020-10-08 00:51:52 +03:00
Kris Maglione 00b133dff8 Bug 1669538: Expose reason for Fission enablement decision in nsIXULRuntime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D92676
2020-10-07 18:40:35 +00:00
Razvan Maries 7ed0fd1168 Backed out 2 changesets (bug 1668825) for build bustages on TracingAPI.h. CLOSED TREE
Backed out changeset 5bc8cb307c61 (bug 1668825)
Backed out changeset 0e6a88c27779 (bug 1668825)
2020-10-07 14:34:10 +03:00
Simon Giesecke ad1cc7d864 Bug 1667014 - Improve output of NS_DebugBreak. r=xpcom-reviewers,nika
- Increase maximum message length
- Ensure that file/line output is using the file:line style such that IDEs and
  other tools can easily link it to the source code locations

Differential Revision: https://phabricator.services.mozilla.com/D91239
2020-09-29 15:49:54 +00:00
Simon Giesecke 43f743214c Bug 1667957 - Provide functions that convert an integer to a decimal nsAutoTString. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D91716
2020-10-07 08:00:13 +00:00
Jon Coppeard 71a2c7b27d Bug 1668825 - Move trace options into a separate options class passed when the tracer is created r=sfink
I gave TraceOptions some implicit consturctors to make it easier to set a
single option by passing an enum value.

Depends on D92595

Differential Revision: https://phabricator.services.mozilla.com/D92596
2020-10-06 18:10:01 +00:00
Bas Schouten 5086416d6b Bug 1669214 - Part 6: Remove code for PrioritizedEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92455
2020-10-06 13:21:58 +00:00
Bas Schouten 24a0a286fc Bug 1669214 - Part 5: Construct regular EventQueue using TC forwarding for the main thread. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92454
2020-10-06 13:21:35 +00:00
Bas Schouten f6e295763f Bug 1669214 - Part 4: Add code to forward runnables from EventQueue::PutEvent to the TaskController. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92453
2020-10-06 19:06:57 +00:00
Bas Schouten 00d7c9b62a Bug 1669214 - Part 3: Move IdleTaskManager to be created by nsThreadManager. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92452
2020-10-06 15:04:13 +00:00
Bas Schouten 29168c7162 Bug 1669214 - Part 2: Remove MainThreadQueue.h that serves little purpose now. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92451
2020-10-06 13:20:11 +00:00
Bas Schouten 45e747487b Bug 1669214 - Part 1: Remove environment variable to disable TaskController. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92450
2020-10-06 13:19:51 +00:00
Butkovits Atila c7a174ef52 Backed out changeset 6b9081a6e594 (bug 1667957) for causing bustage on nsString.h. CLOSED TREE 2020-10-06 20:59:53 +03:00
Sylvestre Ledru d9cd198ba1 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/D92459
2020-10-06 16:12:00 +00:00
Simon Giesecke 12f9785cf8 Bug 1667957 - Provide functions that convert an integer to a decimal nsAutoTString. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D91716
2020-10-06 16:26:55 +00:00
Florian Quèze 01d197240a Bug 1524625 - DLL loads during early startup should show profiler markers, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D92340
2020-10-05 13:47:27 +00:00
longsonr 67be8b29cb Bug 1669161 - Remove dead SVG event code r=smaug
-  onSVGZoom is gone and we no longer dispatch it.
- we've never dispatched SVGUnload or SVGResize events and if we did implement these they would be unload and resize events now.

Differential Revision: https://phabricator.services.mozilla.com/D92381
2020-10-05 11:19:47 +00:00
Marcos Cáceres a9ea25e663 Bug 1665252 - remove allowpaymentrequest attribute from HTMLIFrameElement r=dom-workers-and-storage-reviewers,smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D90505
2020-10-05 05:45:38 +00:00
Jon Coppeard 6550bf91b1 Bug 1668825 - Remove unused onChild return value r=sfink
This isn't used anywhere so we can make onChild void.

Differential Revision: https://phabricator.services.mozilla.com/D92257
2020-10-05 07:55:13 +00:00
Jon Coppeard 1d5db9bf4c Bug 1668825 - Split out tracing context information into a separate class r=sfink
This gives JSTracer a nullable pointer to a JS::TracingContext. This will only be set for CallbackTracers.

Differential Revision: https://phabricator.services.mozilla.com/D92256
2020-10-05 07:54:40 +00:00
Jon Coppeard 070d9db800 Bug 1668825 - Combine TracerKindTag and TracerKind r=sfink
Currently we have two different enums that determine the tracer kind. Combine
this into a single enum and move it to the JS namespace.

Differential Revision: https://phabricator.services.mozilla.com/D92253
2020-10-05 07:53:38 +00:00
Jon Coppeard f2905d4d6e Bug 1668825 - Rename WeakMapTraceKind to WeakMapTraceAction and make it an enum class r=sfink
The instances of this are called 'actions' everywhere and I think it makes
sense that the type should be called that. Also make it an enum class and move
it into the JS namespace.

Differential Revision: https://phabricator.services.mozilla.com/D92252
2020-10-05 07:52:59 +00:00
Nika Layzell a21ceee531 Bug 1667426 - fisison.autostart/normandy pref integration improvements, r=kmag,mythmon
Differential Revision: https://phabricator.services.mozilla.com/D91687
2020-10-02 15:52:40 +00:00
Olli Pettay a9405496ad Bug 1668357 - enable SHIP with Fission, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91978
2020-10-01 20:59:27 +00:00
Dorel Luca d8dd11c4ac Backed out 2 changesets (bug 1668054, bug 1667426) for Browser-chrome failure in toolkit/modules/tests/browser/browser_Troubleshoot.js. CLOSED TREE
Backed out changeset 0a0ad7d6a16b (bug 1668054)
Backed out changeset fdd402fe6537 (bug 1667426)
2020-10-02 02:34:22 +03:00
Nika Layzell f99ea5eb78 Bug 1667426 - fisison.autostart/normandy pref integration improvements, r=kmag,mythmon
Differential Revision: https://phabricator.services.mozilla.com/D91687
2020-10-01 15:56:14 +00:00
Dorel Luca 083ffd4c99 Backed out changeset d556d96cfa70 (bug 1668357) for causing assertions in checkouts/gecko/docshell/base/CanonicalBrowsingContext.cpp. CLOSED TREE 2020-10-01 21:32:33 +03:00
Olli Pettay a183efa0c9 Bug 1668357 - enable SHIP with Fission, r=peterv
Depends on D91977

Differential Revision: https://phabricator.services.mozilla.com/D91978
2020-10-01 09:31:10 +00:00
Simon Giesecke bee7693b3b Bug 1668314 - FuncCancelableRunnable::Run should be a no-op after Cancel. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D91948
2020-10-01 11:59:09 +00:00
Gerald Squelart ee701f64d7 Bug 1667915 - Separate marker category from marker options - r=gregtatum
The `category.WithOptions(...)` syntax was a bit strange and difficult to explain.

Now the category and options are separate parameters. Default options can be specified with `MarkerOptions{}` or just `{}`.

As a special case, defaulted-NoPayload functions don't need `<>`, and defaulted-NoPayload functions and macros don't even need `{}` for default options, e.g.:
`profiler_add_marker("name", OTHER); PROFILER_MARKER_UNTYPED("name", OTHER);`

Differential Revision: https://phabricator.services.mozilla.com/D91680
2020-10-01 11:02:23 +00:00
David Major 05303de70a Bug 1667872 - Fix GetWindowsFolder storage r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D91780
2020-09-30 23:58:23 +00:00
Bogdan Tara ababae891b Backed out 2 changesets (bug 1667915) for platform related bustage CLOSED TREE
Backed out changeset e7a0788a1741 (bug 1667915)
Backed out changeset d34505b2d81b (bug 1667915)
2020-10-01 12:34:39 +03:00
Gerald Squelart e07ae06a1d Bug 1667915 - Separate marker category from marker options - r=gregtatum
The `category.WithOptions(...)` syntax was a bit strange and difficult to explain.

Now the category and options are separate parameters. Default options can be specified with `MarkerOptions{}` or just `{}`.

As a special case, defaulted-NoPayload functions don't need `<>`, and defaulted-NoPayload functions and macros don't even need `{}` for default options, e.g.:
`profiler_add_marker("name", OTHER); PROFILER_MARKER_UNTYPED("name", OTHER);`

Differential Revision: https://phabricator.services.mozilla.com/D91680
2020-10-01 01:44:47 +00:00
Valentin Gosu cd32ff2743 Bug 1589337 - Use nsIClassInfoImpl in nsStandardURL and children r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D90258
2020-09-29 11:41:44 +00:00
Valentin Gosu cf8a03778f Bug 1589337 - Use nsIClassInfoImpl in nsSimpleURI and children r=necko-reviewers,kershaw,xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D90257
2020-09-29 11:41:26 +00:00
Valentin Gosu 32d406eed2 Bug 1589337 - Use nsIClassInfoImpl in DefaultURI r=necko-reviewers,xpcom-reviewers,kershaw,sg
Differential Revision: https://phabricator.services.mozilla.com/D90254
2020-09-29 11:40:28 +00:00
Simon Giesecke e003e4d581 Bug 1667019 - Simplify moving of Results for PackingStrategy NullIsOk. r=emilio
No longer reset a moved-from Result to an error state, which required
UnusedZero<E>::GetDefaultValue, which was somewhat confusing, and might
also be inefficient. Leaving Result in a valid state, which might be a
success or error state is sufficient.

Differential Revision: https://phabricator.services.mozilla.com/D91250
2020-09-29 08:09:02 +00:00
Florian Quèze 55e7194f29 Bug 1667272 - Add profiler markers when Services are loaded, r=mstange.
Differential Revision: https://phabricator.services.mozilla.com/D91459
2020-09-28 15:12:14 +00:00
Olli Pettay 97778cf44a Bug 1667449 - Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Markus Stange fb91479c33 Bug 1667461 - Add a note about class name collisions. r=nika,xpcom-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91473
2020-09-25 20:35:13 +00:00
Doug Thayer c0eae2f201 Bug 1665453 - Poll for native events in between prefetching early dlls r=agashlin
In the initial patches for bug 1656526, mhowell noticed that for startups which
take a very long time, if the user interacts with the skeleton UI window, the OS
will flag us as not responsive, which could be a poorer user experience than
seeing nothing. Since our UI is designed to look non-interactive anyway, we
assume that a better experience would be to simply squash the not responsive
response from the OS by trivially processing native events. It's not perfect in,
say, the event that startup is hung for some reason, but it's arguably preferable
to our old model of startup being hung, which was just nothing being displayed at
all.

Differential Revision: https://phabricator.services.mozilla.com/D91005
2020-09-24 23:51:42 +00:00
tobar2018 9d2d6fb472 Bug 1659264 - Remove all references to the preference 'layout.css.moz-touch-enabled.enabled'. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D91401
2020-09-25 10:29:08 +00:00
Christoph Kerschbaumer 9abdc0cc16 Bug 1667326: Remove unnecessary pref for SRI. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D91399
2020-09-25 10:04:08 +00:00
Kris Maglione bbfbd2f113 Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-25 02:01:15 +00:00
Paul Bone 27620f53b7 Bug 1666746 - pt 3. Improve some messages from TestPLDHash r=njn
Add labels to some console messages in this test so that the caller can be
identified easilly.

Depends on D89566

Differential Revision: https://phabricator.services.mozilla.com/D91120
2020-09-25 00:09:35 +00:00
Paul Bone 1dfcb71d2f Bug 1666746 - pt 2. Reuse SlotForIndex to avoid duplicate code r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D89566
2020-09-25 00:10:18 +00:00
Paul Bone fef68ccce5 Bug 1666746 - pt 1. Add an IsAllocated method r=froydnj
Adding this method makes it clearer what code is doing when it checks that
the storage has been allocated.

Differential Revision: https://phabricator.services.mozilla.com/D89564
2020-09-25 00:09:35 +00:00
Razvan Maries 8de1e9f262 Backed out changeset 737f0e3e2f94 (bug 1660057) for xpcshell perma failures. CLOSED TREE 2020-09-24 23:25:54 +03:00
Kris Maglione 04dc79653a Bug 1660057: Add preferences for Fission rollout Normandy experiment. r=nika,marionette-reviewers,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91066
2020-09-24 18:35:58 +00:00
Dorel Luca eb27bbe130 Backed out changeset a06cc26fbb60 (bug 1665252) for WPT failures in feature-policy/payment-allowed-by-feature-policy-attribute.https.sub.html. CLOSED TREE 2020-09-24 15:06:19 +03:00
Marcos Cáceres 41461b2487 Bug 1665252 - remove allowpaymentrequest attribute from HTMLIFrameElement r=dom-workers-and-storage-reviewers,smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D90505
2020-09-24 03:41:26 +00:00
Simon Giesecke de7bab0f06 Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Kris Maglione afcc0476d6 Bug 1663747: Part 1 - Fix sCurrentShutdownPhase and add PastShutdownPhase() API. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89809
2020-09-22 17:13:27 +00:00
Makoto Kato 3759e7c3b5 Bug 1425291 - Part 1. Implement autocapitalize attribute. r=webidl,smaug
Virtual keyboard on Android (and API level of GTK) supports autocapitalization
that is automatically capitalize words and etc.

atucapitalize attribute inherits from form element if the element is button,
fieldset, input, output, select and textarea. Its tests are included in wpt.

WebKit on iOS and Blink on Android already support this HTML attribute, so I
would like to support this on Firefox/GeckoView Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D86674
2020-09-15 14:33:27 +00:00
Doug Thayer 71de614a1d Bug 1666310 - Enable IOInterposer on early beta r=aklotz
We want to collect information on late writes via telemetry. We have been
doing this in Nightly for a while now, but want to do so in beta/release. I
was actually initially unaware of this limitation of the IOInterposer, but
we need the IOInterposer to collect information on late writes, so I would
like to enable it for just early beta, in the hopes that we can catch any
late writes that may be happening, without adding a performance tax onto
release.

Accordingly, is perf the only reason that this was restricted to Nightly?
And if so, did we measure a perf difference, or was this just general
caution regarding the performance impact? Is there anything else to look
out for?

Differential Revision: https://phabricator.services.mozilla.com/D90894
2020-09-21 21:32:07 +00:00
Mihai Alexandru Michis a9f468308c Backed out 2 changesets (bug 1663747) for causing xpcshell failures in ThrottledEventQueue.
CLOSED TREE

Backed out changeset 643aa6baf458 (bug 1663747)
Backed out changeset 491472fe44f4 (bug 1663747)
2020-09-22 03:54:59 +03:00
Kris Maglione 5ae4ea4f07 Bug 1663747: Part 1 - Fix sCurrentShutdownPhase and add PastShutdownPhase() API. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89809
2020-09-21 19:18:43 +00:00
Dorel Luca 958a7c0ba0 Merge autoland to mozilla-central. a=merge 2020-09-22 00:34:52 +03:00
Mozilla Releng Treescript 5aa7b6ef9e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-09-21 14:12:25 +00:00
Sylvestre Ledru fd8b54c40d Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,necko-reviewers,valentin
# ignore-this-changeset

Depends on D90793

Differential Revision: https://phabricator.services.mozilla.com/D90794
2020-09-20 16:09:26 +00:00
Sylvestre Ledru ec8859e69e Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D90793
2020-09-20 10:14:09 +00:00