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

694823 Коммитов

Автор SHA1 Сообщение Дата
Steve Fink 4e2511c87c Bug 1619475 - also convert jstests from optparse to argparse r=arai
Differential Revision: https://phabricator.services.mozilla.com/D65400

--HG--
extra : moz-landing-system : lando
2020-03-06 18:17:10 +00:00
Steve Fink 4efc95ae8c Bug 1619475 - partial Python 3 compatibility for jit-tests and jstests r=arai
This fixes all of the jit-test problems I encountered, and fixes all but the wpt portion of jstests. This is unnecessary, but it also ports jstests from optparse to argparse (because optparse is deprecated, because I like argparse better, and because it happened to fix the minor compatibility issue I ran into even though it has a trivial fix on its own.)

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:07:38 +00:00
Stepan Stava 24227e63dc Bug 1601533 - Indicate that function references in tooltips can be clicked to jump r=jlast
Added 'jumpToDefinitionButton' to the function preview with a title containing target source + location.
The button is not rendered for ignored source urls similarly like in the console.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:22:44 +00:00
Kartikaya Gupta 42cf127828 Bug 1613514 - Emit a helpful note for people trying to use the wrong requestLongerTimeout. r=ahal
SimpleTest.requestLongerTimeout silently doesn't work in browser mochitests,
and I wasted time trying to figure out what was going on.

Depends on D65558

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

--HG--
extra : moz-landing-system : lando
2020-03-05 19:31:39 +00:00
Kartikaya Gupta c1d276b2c9 Bug 1613514 - Increase the timeout for the APZ fission tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D65558

--HG--
extra : moz-landing-system : lando
2020-03-06 17:28:23 +00:00
Kashav Madan 0f6fedc8ee Bug 1580176 - Part 2: Log sent and received messages in JSWindowActor, r=nika
Also logs JSWindowActor{Child,Parent}::Init and JSWindowActor::{Start,After}Destroy.

Originally authored by :freddyb.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:10:40 +00:00
Kashav Madan 4ea86a1e83 Bug 1580176 - Part 1: Make some common actor utility methods virtual, r=nika
Adds GetManager on JSWindowActor (returns the associated WindowGlobalActor),
and IsInProcess on WindowGlobalActor (returns whether the actor is in process
or not).

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

--HG--
extra : moz-landing-system : lando
2020-03-06 18:10:38 +00:00
Logan Smyth 576f75f1f3 Bug 1619993 - Use Debugger.Object values consistently across watchpoints. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D65671

--HG--
extra : moz-landing-system : lando
2020-03-06 18:00:54 +00:00
Sebastian Hengst 5b855de25b Bug 1609278 - Replace bugzilla product and component assignment 'Firefox for Android :: General' with 'GeckoView :: General'. r=kbrosnan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D61512

--HG--
extra : moz-landing-system : lando
2020-03-06 17:54:58 +00:00
alwu 6557ceeb66 Bug 1617033 - part9 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D63929

--HG--
extra : moz-landing-system : lando
2020-03-06 17:53:28 +00:00
alwu 7dc5318e3b Bug 1617033 - part8 : add an eligible media duration value to filter out notification sound. r=chunmin
Intercepting media control keys would also come up with the virtual control interface in most of platforms, and for the notification sound we don't want either to show the interface or control them.

Currently we use 3s as a threshold to filter those short duration media which are possible to be a notification sound.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:52:15 +00:00
alwu 7eec59aab2 Bug 1617033 - part7 : modify tests to allow simulating media keys would always happen after controller's playback changes. r=chunmin
Whenever pressing the media control keys, it would not only change the media playback state, but also change the playback state of the media controller. Therefore, we want to ensure simulating events always happen after media controller changes its playback state.

In addition, for `play/pause` key, it would check controller's playback state to decide if we should file `play` event or `pause` event, so we definitely have to do that only after the controller changes its playback state.

Changing a file to non-autoplay to prevent missing the `main-media-controller-playback-changed` notification, because we can control when to start media and ensure we have already create a listener for that event.

For non-browser test, we have no way to listen to that notification, which could only be observed in the chrome process, so we do a hack to listen `timeupdate` several times to wait and hope the controller has been created and changed its state in the chrome process.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:51:48 +00:00
alwu dd40c9b01a Bug 1617033 - part6 : make utility functions more general. r=chunmin
By providing element Id, we can use these functions to access video element on other files.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:50:18 +00:00
alwu ec0addbd74 Bug 1617033 - part5 : remove unecessary async. r=chunmin
`async` is actually useless here because we don't have anything to do after `await` so we could return the promise `SpecialPowers.spawn()` generate instead.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:48:54 +00:00
alwu 00f2d0c596 Bug 1617033 - part4 : add a timer to stop listening to media control key events. r=chunmin
This patch is used to prevent intercepting media keys from other applications which should really receive media keys. For example, if user finishes watching a video but doesn't close that tab, and switch to other tasks. Then if they have other applications which are playing music, when they press media keys, the application which should receive media keys should be those background music app, not Firefox.

Therefore, if the media has been paused for a while, then that might indicate that user won't need to control this media anymore. Therefore, we create a timer, which default expire time is 60s, to stop listening media control key events for those kinds of media. But if the media starts again during this period, we would destroy timer and continue to control that media.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:47:58 +00:00
alwu c1a25664ec Bug 1617033 - part3 : add comment to explicitly mention some functions should only be used after starting listener. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D63916

--HG--
extra : moz-landing-system : lando
2020-03-06 17:46:44 +00:00
alwu ef135def22 Bug 1617033 - part2 : only update audible state after starting listener successfully. r=chunmin
It's useless to update the audible state before starting listening to the media control keys event, so we make it consistent with other functions which could only be used after starting the listener.

As the audible change could happen before we start the listener, we have to manually update audible state to the controller after we start the listener.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:46:07 +00:00
alwu ddbd4e27df Bug 1617033 - part1 : start listening to the event after media becomes audible. r=chunmin
When media is not audible yet, or it's inaudible at all (maybe it's used as a background video or GIF-like image), or the media is in the tab which has been muted totally, we don't want to use media control to control those media, so we should postpone starting listening to the media control keys for them event until they become audible.

Once they become audible, we would keep control them all the time even if they become inaudible again.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 17:45:29 +00:00
Andreea Pavel 81c91b4d3c Backed out changeset 2a5f4092b45b (bug 1618867) for build bustages on a CLOSED TREE
--HG--
extra : rebase_source : 18992b448b7f4779cf13beda35930160fe534237
2020-03-06 19:54:04 +02:00
emcminn 74eb8e3288 Bug 1620258 - Added telemetry ping to the "Start Browsing" button in simplified about:welcome. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D65646

--HG--
extra : moz-landing-system : lando
2020-03-06 17:51:46 +00:00
Mark Banner 0be0a4923e Bug 1620227 - Handle shutdown occurring during SearchService initialisation. r=mikedeboer
Abort it before writing the cache to avoid potentially writing a incomplete cache.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 14:32:13 +00:00
Michael Cooper 7684d8dbd9 Bug 1607894 - Add debugging assert to Normandy test for intermittent r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D63936

--HG--
extra : moz-landing-system : lando
2020-03-06 17:47:12 +00:00
Harry Twyford 6288a024ad Bug 1618867 - Standardize /urlbar/tests names. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D65192

--HG--
extra : moz-landing-system : lando
2020-03-06 17:42:42 +00:00
Boris Zbarsky 7df96355fc Bug 1448992. Get rid of nsXPCComponentsBase. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D65737

--HG--
extra : moz-landing-system : lando
2020-03-06 17:40:57 +00:00
Mike Shal 6133e75b71 Bug 1620449 - Convert gen_cert_header.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65632

--HG--
extra : moz-landing-system : lando
2020-03-06 17:31:15 +00:00
Ricky Stewart bd01350f97 Bug 1619788 - Ensure files generated by `./mach configure` don't have CRLF line endings, even under Python 3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D65354

--HG--
extra : moz-landing-system : lando
2020-03-06 02:19:21 +00:00
Liang-Heng Chen 70053c6f5f Bug 1620239 - ensure not to access null pointer; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65576

--HG--
extra : moz-landing-system : lando
2020-03-06 17:20:49 +00:00
Yura Zenevich fc528a6c7a Bug 1599806 - update accessibility actors tests to support parent accessibility actor. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D58808

--HG--
extra : moz-landing-system : lando
2020-03-06 16:28:27 +00:00
Yura Zenevich cbbc2cdd24 Bug 1599806 - remove setupInParent from accessibility actor and split up child/parent functionality into two separate actors. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D58807

--HG--
rename : devtools/server/actors/accessibility/accessibility-parent.js => devtools/server/actors/accessibility/parent-accessibility.js
extra : moz-landing-system : lando
2020-03-06 17:18:58 +00:00
Yura Zenevich aabab512b9 Bug 1599806 - introduce accessibility proxy that would be responsible for interacting with panel's UI instead of directly referencing accessibility related fronts. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58806

--HG--
extra : moz-landing-system : lando
2020-03-06 16:28:07 +00:00
Yura Zenevich 041d2c6235 Bug 1605757 - decouple accessibility front front the accessibility panel UI. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D58553

--HG--
extra : moz-landing-system : lando
2020-03-06 16:27:59 +00:00
manishsahani1351111 aa241077e3 Bug 1619590 - Fix Failed prop type warnings in InspectAction and _ActionButton r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D65217

--HG--
extra : moz-landing-system : lando
2020-03-06 17:04:33 +00:00
Ehsan Akhgari 5a4c537105 Bug 1620322 - Part 1: Refactor the code for content blocking allow list out of AntiTrackingCommon.cpp; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D65662

--HG--
extra : moz-landing-system : lando
2020-03-06 16:36:01 +00:00
Dão Gottwald 1f136fd774 Bug 1610475 - Move URLBarSetURI to UrlbarInput. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D65535

--HG--
rename : browser/components/urlbar/tests/browser/browser_URLBarSetURI.js => browser/components/urlbar/tests/browser/browser_UrlbarInput_setURI.js
extra : moz-landing-system : lando
2020-03-06 16:27:16 +00:00
Sebastian Streich c05fb6d867 Bug 1619762 - Remove Geturi calls in LocationBase.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D65207

--HG--
extra : moz-landing-system : lando
2020-03-06 16:15:19 +00:00
Mike Shal b9a43d893b Bug 1620140 - Convert gen_process_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65465

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:07 +00:00
Mike Shal fafac61597 Bug 1620140 - Convert gen_process_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65464

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:05 +00:00
Mike Shal d73050302c Bug 1620140 - Convert gen_event_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65463

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:02 +00:00
Mike Shal 76e55932f5 Bug 1620140 - Convert gen_event_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65462

--HG--
extra : moz-landing-system : lando
2020-03-06 16:03:00 +00:00
Mike Shal 891abab72e Bug 1620140 - Convert gen_scalar_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65461

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:58 +00:00
Mike Shal 7f06e347ca Bug 1620140 - Convert gen_scalar_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65460

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:55 +00:00
Mike Shal 93d37217b2 Bug 1620140 - Convert gen_histogram_phf.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65459

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:51 +00:00
Mike Shal de00dfe84f Bug 1620140 - Convert gen_histogram_enum.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65458

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:50 +00:00
Mike Shal f62e78903f Bug 1620140 - Convert gen_histogram_data.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65457

--HG--
extra : moz-landing-system : lando
2020-03-06 16:02:50 +00:00
Sebastian Hengst a23651529b Bug 1620610 - Remove coalescing for tasks. r=catlee
Bug 1602446 disabled coalescing for tasks which was designed to reduce load on
the pools which ran those tasks by skipping some of them. After coalescing was
affecting almost no tasks, it started to coalesce more tasks in November 2019
(bug 1602446) up to a level for which too few tasks ran and test coverage was
impacted. Coalescing got disabled and the conclusion is that coalescing is
currently not needed.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 15:52:51 +00:00
shindli 0af78314e9 Backed out changeset 0b092833a6ef (bug 1407276) for wpt14 permafailures CLOSED TREE 2020-03-06 18:09:03 +02:00
Andreea Pavel 110347c99a Backed out 8 changesets (bug 1617170) for build bustages at nsTArray.h on a CLOSED TREE
Backed out changeset ed7eaba53757 (bug 1617170)
Backed out changeset 0021ab4bcf77 (bug 1617170)
Backed out changeset 92f4ef8809ec (bug 1617170)
Backed out changeset c9561cb90821 (bug 1617170)
Backed out changeset 739dafac70bc (bug 1617170)
Backed out changeset 51c699b06d04 (bug 1617170)
Backed out changeset 2ae6b424f492 (bug 1617170)
Backed out changeset 6acafdd56175 (bug 1617170)
2020-03-06 17:57:23 +02:00
Marco Bonardo 7f9b896113 Bug 1592976 - Expire some favicons more aggressively. r=Standard8
Expire favicons older than 6 months when:
 * they are for permanently redirecting urls, that are unlikely to receive
   updated favicons
 * they are for urls with refs (often mail, docs) that have a fallback root
   favicon for their origin

Expiration happens in chunks, mostly on idle-daily.

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

--HG--
extra : moz-landing-system : lando
2020-03-06 15:39:39 +00:00
Simon Giesecke 5432a3d723 Bug 1617170 - Unfriend FileInfo from FileManager and encapsulate access to mFileInfos. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64346

--HG--
extra : moz-landing-system : lando
2020-03-06 15:37:52 +00:00
Simon Giesecke 6cb20b0f86 Bug 1617170 - Added const at a few places. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64342

--HG--
extra : moz-landing-system : lando
2020-03-06 15:37:23 +00:00