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

692265 Коммитов

Автор SHA1 Сообщение Дата
Yaron Tausky 5c6bfb7d9a Bug 1610692 - Move call that can run content code out of constructor. r=dom-workers-and-storage-reviewers,asuth
ServiceWorkerRegistration::UpdateState can call content code, which
in turn can result in the registrations getting deleted. This
commit moves the call outside the constructor, so the
registration's creator has a chance to get a proper RefPtr to it.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 13:06:18 +00:00
prathiksha 1624e3f67f Bug 1613477 - Add relevant info to the advanced section of the captive portal page and make the buttons work. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D62204

--HG--
extra : moz-landing-system : lando
2020-02-20 12:59:05 +00:00
Daisuke Akatsuka cbe2c77a39 Bug 1603176: Add a test for target-switching on memory panel. r=jdescottes
Depends on D61348

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:31:12 +00:00
Daisuke Akatsuka 7a67417ac2 Bug 1603176: Install target-switing mechanism. r=jdescottes
Depends on D61347

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

--HG--
extra : moz-landing-system : lando
2020-02-20 12:31:54 +00:00
Daisuke Akatsuka a6ec55dfdd Bug 1603176: Introduce updateMemoryFront action. r=jdescottes
Depends on D61346

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

--HG--
extra : moz-landing-system : lando
2020-02-17 10:15:26 +00:00
Daisuke Akatsuka 51006a17eb Bug 1603176: Remove unused variable. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61346

--HG--
extra : moz-landing-system : lando
2020-02-17 09:06:32 +00:00
Christian Holler 583260130a Bug 1615265 - Suppress data race in OffThreadDecodeCallback. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D63448

--HG--
extra : moz-landing-system : lando
2020-02-20 10:00:12 +00:00
Simon Giesecke 9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Simon Giesecke 5cce787baa Bug 1613985 - Add macros to conditionally default ctor/dtor that only calls MOZ_COUNT_CTOR/MOZ_COUNT_DTOR. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62603

--HG--
extra : moz-landing-system : lando
2020-02-19 20:26:11 +00:00
Simon Giesecke 31ca390597 Bug 1499099 - Clamp result codes to NS_ERROR_MODULE_DOM_FILEHANDLE result codes in ActorsParent. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D63155

--HG--
extra : moz-landing-system : lando
2020-02-20 11:39:51 +00:00
Simon Giesecke 9680a43af5 Bug 1594138 - Do not assert on unsupported size value passed to IDBFileHandle.truncate from script. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D60706

--HG--
extra : moz-landing-system : lando
2020-02-19 17:56:50 +00:00
Simon Giesecke 69c43374e7 Bug 1594138 - Added assertThrowsInstanceOf function to helpers.js. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D62767

--HG--
extra : moz-landing-system : lando
2020-02-19 14:45:10 +00:00
sotaro cecac7d080 Bug 1611886 - Add VRManagerParent::Shutdown() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D61144

--HG--
extra : moz-landing-system : lando
2020-02-20 06:46:11 +00:00
Emilio Cobos Álvarez af44ad742c Bug 1607553 - Remove an invalid assert. r=heycam
This assert was wrong. The assert may fire if we resurrect the node from a
different thread and insert a kid fast enough.

We allow resurrecting nodes (bumping the nodes from zero to one) to avoid
allocation churn.

In particular, while the thread dropping the node gets to read the children (so
after the fetch_sub from the refcount, but before the read() of the children),
another thread could plausibly bumped the refcount back, and added a children.

This is a very big edge case of course, but I'm kinda sad I hadn't realized
before.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 08:43:08 +00:00
Jon Coppeard 21292e4991 Bug 1616230 - Enable weakref JS reftests in the browser r=jandem
This implements the special clearKeptObjects() function for the browser and turns on the pref to allow the tests to run.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 10:41:27 +00:00
Jon Coppeard 6218dfbbcd Bug 1616230 - Make clearKeptObjects a testing function rather than shell only so we can use it for test262 tests r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D63221

--HG--
extra : moz-landing-system : lando
2020-02-20 10:41:27 +00:00
Jon Coppeard 2370379a75 Bug 1616277 - Avoid unintentially changing the contents of the weak ref map while sweeping r=sfink
Depends on D63188

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

--HG--
extra : moz-landing-system : lando
2020-02-18 19:16:20 +00:00
Jon Coppeard aacd2f0563 Bug 1616272 - Assert that HeapPtr::init is only called to initialize uninitialized HeapPtrs r=jandem
Added assertion and removed unnecessary (and incorrect) use of this via ObjectGroup's finalizer.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 16:37:09 +00:00
Mathieu Leplatre b26270876b Bug 1597688 - Catch Remote Settings worker crashes r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63161

--HG--
extra : moz-landing-system : lando
2020-02-19 17:40:54 +00:00
Gabriele Svelto c2f8e56536 Bug 1616262 - Prevent the main process from crashing in response to an early GPU/VR/Socket/RDD process crash r=froydnj
Previously we passed a potentially NULL pointer to
CrashReporterHost::FinalizeOrphanedMinidump() which always assumed it to be
non-NULL. This patch solves the issue but preventing the pointer from being
NULL and making CrashReporterHost::GenerateCrashReport() infallible. In the
case we fail to take a minidump the only visible effect will be that the
minidump ID will be empty, and existing code already expects and handles this
scenario correctly.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 10:40:29 +00:00
Jonathan Kew bbb6c04d13 Bug 1616268 - Back out changeset 780285749c80 (bug 1611617) for cold-start regressions on various sites. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D63376

--HG--
extra : moz-landing-system : lando
2020-02-20 02:33:41 +00:00
Bastien Abadie 8a92639faf Bug 1609116 - Activate warnings for rustfmt on code review mode, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D59859

--HG--
extra : moz-landing-system : lando
2020-01-17 08:05:40 +00:00
Tooru Fujisawa ef9bcd5079 Bug 1616221 - Align some BinAST classes to pointer. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D63180

--HG--
extra : moz-landing-system : lando
2020-02-18 17:58:11 +00:00
Masatoshi Kimura 11a443c5ea Bug 1615896 - Stop using CreateFileA in memory/replace/logalloc/. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D63023

--HG--
extra : moz-landing-system : lando
2020-02-20 08:05:25 +00:00
sotaro 37a327c1ad Bug 1615590 - Skip takeWindowSnapshot() with WebRender r=nical
takeWindowSnapshot() could take long time with WebRender native compositor. Then skip takeWindowSnapshot() with WebRender. It was fall out from D63125.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 09:10:51 +00:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E) 80c9ad8e01 Bug 1612903 - TV failure in browser_urlbar_interventions.js. r=adw
Opening modal dialogs seems to cause focus misbehavior on Linux, run tests in new tabs to better isolate them.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 09:31:08 +00:00
Andreea Pavel 7c1d6a5705 Backed out changeset 3cfea5c3c067 (bug 1612403) for failing test_bug449141.html on a CLOSED TREE 2020-02-20 11:55:52 +02:00
Duncan Dean 2db22c93fd Bug 1613988 - Allow wildcards for blocking URLs. r=Honza,Harald
Differential Revision: https://phabricator.services.mozilla.com/D63020

--HG--
extra : moz-landing-system : lando
2020-02-20 09:26:56 +00:00
Nicolas Silva dddad2c070 Bug 1616594 - Use the scene's frame builder config during frame building. r=gw
The render backend's frame builder config is kept only in order to send updates to the scene builder's frame builder config which will update the scene's in the next transaction. If need be the scene configs can be updated right away by looping over the documents. This avoids confusing bugs where only updating the backend's config affects the visibility pass but not the rest.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 09:06:47 +00:00
Nicolas Silva 8d2152543a Bug 1616592 - Control the batching lookback count via a pref. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63336

--HG--
extra : moz-landing-system : lando
2020-02-20 03:45:17 +00:00
Jan de Mooij 873d792d37 Bug 1616188 part 4 - Add a --no-ti shell flag. r=iain
For now this is Nightly-only so that IsTypeInferenceEnabled() shouldn't
impact performance for our non-Nightly users.

Depends on D63143

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

--HG--
extra : moz-landing-system : lando
2020-02-19 04:13:25 +00:00
Jan de Mooij 60ca7892a4 Bug 1616188 part 3 - Add isTypeInferenceEnabled() function, use it to disable some jit-tests. r=iain
Also fix the getWaitForAllPromise testing function to not use IsPackedArray
because that depends on type information and caused test failures.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 04:13:25 +00:00
Jan de Mooij f7c7509bbd Bug 1616188 part 2 - Use IsTypeInferenceEnabled to disable parts of heap TI. r=iain
Unlike stack type monitoring, heap TI is much harder to disable completely
because it's intertwined with a lot of other things. This patch does the
following:

* Don't track type information for any ObjectGroups (in ObjectGroupRealm::makeGroup).

* Turn off heuristics for singletons, allocation-site groups, function groups.

* Turn off type update ICs in Baseline.

* Add early returns to some hot functions.

Depends on D63140

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

--HG--
extra : moz-landing-system : lando
2020-02-19 09:33:56 +00:00
Jan de Mooij 5d67f5573d Bug 1616188 part 1 - Add IsTypeInferenceEnabled and use it for type monitoring code. r=iain
If TI is disabled we don't allocate any StackTypeSets in JitScript and we don't
allocate/use type monitor ICs.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 17:37:06 +00:00
Tom Tung fbb4d8f377 Bug 1615273 - Cleanup decode-utf8.any.ini file; r=perry
Differential Revision: https://phabricator.services.mozilla.com/D63348

--HG--
extra : moz-landing-system : lando
2020-02-20 07:08:01 +00:00
Jan Odvarko 213f623867 Bug 1613313 - Network monitor is not included in the index.md file r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61711

--HG--
rename : devtools/client/netmonitor/README.md => devtools/client/netmonitor/doc/architecture.md
extra : moz-landing-system : lando
2020-02-19 23:35:59 +00:00
Marco Bonardo ea2e250303 Bug 1612403 - File extensions are duplicated for file inputs with custom 'accept'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D63071

--HG--
extra : moz-landing-system : lando
2020-02-19 16:48:10 +00:00
Andrea Marchesini 688f40008c Bug 1577040 - Part 7: Get rid of nsIClassifiedChanel::IsTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63305

--HG--
extra : moz-landing-system : lando
2020-02-20 07:30:30 +00:00
Andrea Marchesini cf9f5de771 Bug 1577040 - Part 6: Fix a couple of tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63304

--HG--
extra : moz-landing-system : lando
2020-02-20 07:30:02 +00:00
Andrea Marchesini 18bd8fc8dd Bug 1577040 - Part 5: Remove nsContentUtils::IsTrackingResource() from anti-tracking, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63303

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:44 +00:00
Andrea Marchesini 58c13b1a1e Bug 1577040 - Part 4: Get rid of nsIClassifiedChannel::IsSocialTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63302

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:24 +00:00
Andrea Marchesini 2d1c9c8f37 Bug 1577040 - Part 3: Replace nsIHttpChannel.isTrackingResource() with isThirdPartyTrackingResource() in the url-classifier tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63301

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:15 +00:00
Andrea Marchesini 43b62b8d44 Bug 1577040 - Part 2: Remove nsContentUtils::IsTrackingResourceWindow() and replace its calls with IsThirdPartyTrackingResourceWindow(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63300

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:11 +00:00
Ehsan Akhgari c8bd96de51 Bug 1577040 - Part 1: Remove the usages of nsIHttpChannel::IsTrackingResource() in the cookie service, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63299

--HG--
extra : moz-landing-system : lando
2020-02-20 07:27:24 +00:00
Andrea Marchesini 09465dbf49 Bug 1577040 - Part 0: nsIClassifiedChannel.isThirdPartySocialTrackingResource(), r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63298

--HG--
extra : moz-landing-system : lando
2020-02-20 07:26:54 +00:00
Cosmin Sabou 5a10be606f Bug 1578763 - Update expectations for pointerevent_pointermove_on_chorded_mouse_button_when_locked.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D61930

--HG--
extra : moz-landing-system : lando
2020-02-19 08:53:09 +00:00
Andreea Pavel 933ae57c5d Bug 1564891 - increase fuzzy in img-simple-3-ref.html r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63120

--HG--
extra : moz-landing-system : lando
2020-02-18 07:59:07 +00:00
Daniel Varga 8ae244478e Backed out 2 changesets (bug 1614921) for causing reftest failures at layout/reftests/high-contrast/backplate-bg-image-001.html
Backed out changeset 1221e1369f08 (bug 1614921)
Backed out changeset 0551e1798d61 (bug 1614921)

--HG--
extra : rebase_source : 0781cc7d28bbc49af8a2a111a4449e71e1484bce
2020-02-20 06:32:00 +02:00
Mark Hammond b83fb2379a Bug 1611690 - sending a tab now prompts for a master-password. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D63440

--HG--
extra : moz-landing-system : lando
2020-02-20 04:11:41 +00:00
Daniel Varga 2246aa1650 Backed out changeset 53b2c37566d3 (bug 1614958) for causing wpt failure /media-source/mediasource-changetype-play-implicit.html
CLOSED TREE
2020-02-20 06:05:50 +02:00