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

704279 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione c5353a7809 Bug 1630691: Part 1 - Get rid of most of the remaining mozbrowser API. r=nika,mtigley,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D71226
2020-04-29 19:29:06 +00:00
Alex Chronopoulos ba0acfe03a Bug 1632864 - Handle error state callback in GraphDriver. r=padenot
Till now an AudioCallbackDriver, on error state callback, creates a FallbackDriver, which attempts to start the existing AudioCallbackDriver. If the driver has already started this creates a cr
ash because restart is not allowed.

This patch continues using the FallbackDriver, on cubeb state error but the driver has been enhanced with an error state that will not attempt to restart the driver. The fallback driver will continue advancing the graph similar to a ThreadedDriver until a driver switch takes place.

Depends on D73102

Differential Revision: https://phabricator.services.mozilla.com/D73103
2020-04-29 17:53:08 +00:00
Alex Chronopoulos 60b9cdf7a5 Bug 1632864 - Simulate cubeb error state callback in MockCubeb. r=padenot
The MockCubeb has been reformated to save the latest MockCubebStream. Then a flag is exposed that if true the audio callback will fire a cubeb state change callback with error state and will abort. On top of that, a new unit test has been implemented that triggers the error callback. This results in a crash that is being fixed in the following patch.

Differential Revision: https://phabricator.services.mozilla.com/D73102
2020-04-29 17:53:06 +00:00
Nika Layzell 5325da14b7 Bug 1633204 - Live WindowContexts should keep BrowsingContextGroup alive, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D72893
2020-04-29 18:49:10 +00:00
Scott c113a68612 Bug 1634138 - Fixing newtab PH component from using context to excerpt. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D73107
2020-04-29 18:37:37 +00:00
Perry Jiang 5846eeaf94 Bug 1595197 - fix StreamFilter redirect handling r=zombie,robwu
We need to disconnect the stream filter on redirect and allow the extension
to create a new filter.  However, we also must always retain the channel
provided to us in onStartRequest, otherwise onStop fails.  The request passed
to onStartRequest is always the right channel.

Differential Revision: https://phabricator.services.mozilla.com/D53187
2020-04-29 19:42:25 +00:00
Shane Caraveo a1af8a6df8 Bug 1628239 fix extension permission migration for permissionless extensions r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D72221
2020-04-29 19:45:42 +00:00
Ricky Stewart 233ffddc4d Bug 1632974 - Handle case where mach Command conditions don't have a `__name__` attribute r=glandium
There are `conditions` in tree that are callables but which don't have a `__name__` attribute; for example, `functools.partial` instances don't have a `__name__` since they're effectively anonymous functions. If you get to this branch and one of your `conditions` are that kind of object then you'll get a confusing error message instead of the understandable one we're trying to produce here, so account for that possibility.

Differential Revision: https://phabricator.services.mozilla.com/D72957
2020-04-29 19:32:14 +00:00
Marco Bonardo c0ccd572ea Bug 1633910 - Encode all whitespaces but single or isolated \u0020. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D73026
2020-04-29 12:44:54 +00:00
Julian Descottes 7e8291c458 Bug 1630228 - Add tests for the F12 disabled experiment r=nchevobbe
Depends on D71988

Note: might remote the "devtools_user" test if we decide to drop D71037

Differential Revision: https://phabricator.services.mozilla.com/D72313
2020-04-29 19:27:06 +00:00
Julian Descottes 3478091004 Bug 1630228 - Add telemetry events for OFF 12 devtools experiment r=nchevobbe,janerik
Depends on D71037

Differential Revision: https://phabricator.services.mozilla.com/D71988
2020-04-29 16:19:11 +00:00
Julian Descottes 9dd88b59f5 Bug 1630228 - Enable F12 for all users with selfxss pref > 0 r=Harald,nchevobbe
Depends on D71036

Differential Revision: https://phabricator.services.mozilla.com/D71037
2020-04-29 16:17:57 +00:00
Julian Descottes bdabf1705b Bug 1630228 - Show a doorhanger when using F12 r=fluent-reviewers,nchevobbe,Gijs,victoria
Depends on D71035

When F12 is disabled, if the user presses this key we show a notification hanging below the Firefox Hamburger menu.
This anchor was chosen because this is where the users can normally find the Web Developer menu.
Note that they could also open DevTools via another keyboard shortcut, even if it's not mentioned in the message.

Pressing on F12 again hides the message. The message will be displayed again if the user presses F12 again (ie, F12 is a toggle and the message is not just a one shot)

{F2136447}

Differential Revision: https://phabricator.services.mozilla.com/D71036
2020-04-29 16:17:47 +00:00
Julian Descottes 6bd74b87a0 Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-29 06:34:22 +00:00
Shane Caraveo ad9affc0fe Bug 1628307 fix running webextension in-process tests r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D70265
2020-04-29 19:13:30 +00:00
Geoff Brown c09c016576 Bug 1634111 - Enhance search for profile data in test harnesses; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D73105
2020-04-29 19:16:43 +00:00
Nika Layzell 4a32e81e04 Bug 1633941 - Re-disable test_main.html on fission, r=kmag
This test will no longer crash since bug 1580565, but was accidentally set as
passing in https://hg.mozilla.org/integration/autoland/rev/9555dcc88ac9, despite
still perma-failing due to bug 1580771.

Differential Revision: https://phabricator.services.mozilla.com/D73054
2020-04-29 17:49:30 +00:00
Andrei Oprea a3c983bf38 Bug 1628688 - Update ASRouter to handle endpoint parameters from snippets r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D71186
2020-04-29 16:13:41 +00:00
Simon Giesecke acd58ae811 Bug 1628692 - Make FallibleTArray uncopyable. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D71577
2020-04-29 08:42:52 +00:00
Simon Giesecke 876336129a Bug 1628692 - Prepare dom/base for making FallibleTArray uncopyable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72625
2020-04-29 08:42:37 +00:00
Simon Giesecke 3fdf472914 Bug 1628692 - Prepare dom/filesystem for making FallibleTArray uncopyable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72624
2020-04-29 08:42:25 +00:00
Simon Giesecke fdc86f4c1e Bug 1628692 - Prepare dom/media for making FallibleTArray uncopyable. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D72623
2020-04-29 08:42:17 +00:00
Simon Giesecke 6ccae551a7 Bug 1628692 - Prepare dom/webauthn for making FallibleTArray uncopyable. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D72622
2020-04-29 08:49:18 +00:00
Simon Giesecke 62219e33b9 Bug 1628692 - Prepare media/webrtc/signaling/src/peerconnection/ for making FallibleTArray uncopyable. r=jesup,bwc,erahm
Differential Revision: https://phabricator.services.mozilla.com/D72621
2020-04-29 15:38:28 +00:00
Simon Giesecke e894a6124d Bug 1628692 - Prepare toolkit/components/url-classifier/ for making FallibleTArray uncopyable. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D72620
2020-04-29 08:41:39 +00:00
Simon Giesecke 09520b5285 Bug 1628692 - Prepare dom/crypto for making FallibleTArray uncopyable. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D72619
2020-04-29 17:24:13 +00:00
Simon Giesecke 7cdfb55880 Bug 1628692 - Prepare dom/serviceworkers and dom/workers for making FallibleTArray uncopyable. r=dom-workers-and-storage-reviewers,edenchuang
Differential Revision: https://phabricator.services.mozilla.com/D72618
2020-04-29 08:41:15 +00:00
Simon Giesecke d62827d0da Bug 1628692 - Fix FallibleTArray handling in gfxContext::CurrentDash. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D71576
2020-04-29 08:58:36 +00:00
Simon Giesecke 3d350bb101 Bug 1628692 - Make Sequence infallibly copyable for now. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D71574
2020-04-29 08:50:23 +00:00
Dorel Luca 7a84a62b7f Backed out changeset 6feb116adffe (bug 1631799) for devtools/client/webconsole/test/browser/browser_webconsole_telemetry_reverse_search.js. CLOSED TREE 2020-04-29 22:33:05 +03:00
Dorel Luca 4d9e086d8a Backed out 3 changesets (bug 1602075) for Devtools failures in devtools/client/accessibility/test/browser/browser_accessibility. CLOSED TREE
Backed out changeset d6c51e1b3fb3 (bug 1602075)
Backed out changeset f9017a10e8df (bug 1602075)
Backed out changeset 69d5ff6275a9 (bug 1602075)
2020-04-29 21:35:47 +03:00
Eric Rahm 46564057be Bug 1610067 - Remove nsAutoPtr. r=xpcom-reviewers,nika'
`nsAutoPtr` has been deprecated for 6 years. All remaining references are gone and it can now be removed.

Differential Revision: https://phabricator.services.mozilla.com/D72930
2020-04-29 17:28:06 +00:00
jayati 8a94be457d Bug 1634012 - Remove the browser.tabs.showAudioPlayingIcon pref.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73084
2020-04-29 17:22:48 +00:00
Edwin Takahashi 098fa2f275 Bug 1633536 - remove suite attribute from web-platform.yml r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72739
2020-04-29 10:05:04 +00:00
Shane Caraveo 35a1cb2c57 Bug 1630413 don't prompt for unlimitedStorage extension permission r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71812
2020-04-22 20:51:52 +00:00
Olli Pettay 8ea51efe03 Bug 1629751, WebNavigation's GetInterface isn't guaranteed to return non-null docshell, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D72819
2020-04-29 14:59:30 +00:00
Dylan Roeh 8276ad5d0e Bug 1632231 - Fix potential crash by gracefully failing when GV tries to add/remove/check content blocking exceptions for invalid URIs. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D72012
2020-04-29 16:45:27 +00:00
Chris H-C c51fb084bf Bug 1627024 - Add a rust gtest for FOG r=janerik
Also document the state of FOG testing at the present time.

Differential Revision: https://phabricator.services.mozilla.com/D73061
2020-04-29 16:05:49 +00:00
Lina Cambridge 77b6b013f7 No Bug - Improve rustdocs for `webext_storage_bridge`.
This commit also moves `ext_id` into each `StorageOp` variant, instead
of passing it as an argument to `StorageTask`, to make it easier to
follow what each storage operation does.

Differential Revision: https://phabricator.services.mozilla.com/D73093
2020-04-29 16:58:05 +00:00
David Walsh fe6cfda83a Bug 1630957 - Provide settings menu for debugger UI to allow disabling JavaScript r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D71365
2020-04-29 15:00:43 +00:00
Nicolas Chevobbe f74554002b Bug 1631799 - Fix order of command and its result message when server and client don't have the same clock time. r=jdescottes.
When remote-debugging a device, it might happen that the device clock
is not exactly at the same time as the client clock. In such case, we
may end up in cases where the result of a command as an older timestamp,
which means we could have in the console output a result that was displayed
before the command message that triggered it.
In order to fix this, we add a `startTime` property on the evaluateJSAsync
response, that we can then check on the client. If the server time is
older than the client time, then we remove the existing command message
and add a new one, with the server timestamp.

We could have waited the result of the command before displaying the
command message (so we don't have to add a message, and then remove it
when the timestamps don't match), but the UI wouldn't feel snappy, and
even worse in case of long execution times (e.g. a top-level await fetch command).

Differential Revision: https://phabricator.services.mozilla.com/D72705
2020-04-29 17:12:32 +00:00
Yura Zenevich 5b77e1ed09 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-04-29 17:14:42 +00:00
Yura Zenevich e4233d8a2e Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-04-29 17:14:33 +00:00
Yura Zenevich ade7f7c571 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-04-29 17:14:25 +00:00
Simon Giesecke 74b75d282b Bug 1634023 - Add deduction guides for Span. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D73040
2020-04-29 16:04:56 +00:00
Simon Giesecke 8f5212cd79 Bug 1634014 - Allow Span to be created from two Span iterators. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D73039
2020-04-29 15:20:50 +00:00
Daniel Varga 7e14557d46 Backed out 3 changesets (bug 1633514, bug 1626410) for xpcshell failures xpcshell at components/extensions/test/xpcshell/test_ext_settings_overrides_search_mozParam.js
CLOSED TREE

Backed out changeset 05d9a649538f (bug 1626410)
Backed out changeset e5f8075c881a (bug 1633514)
Backed out changeset 266b32a268d5 (bug 1633514)
2020-04-29 20:05:42 +03:00
Bogdan Tara 606f9e2e6c Backed out changeset 9804951497f9 (bug 1625363) for bustages complaining about nsAVIFDecoder.cpp CLOSED TREE 2020-04-29 19:46:12 +03:00
Bogdan Tara 3c80900e77 Backed out changeset a38011a0bed3 (bug 1572377) for protectionsUI mochitest failures CLOSED TREE 2020-04-29 19:41:44 +03:00
Jon Bauman 1c60246bba Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-29 16:30:54 +00:00