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

668177 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 04f22f20a5 Bug 1573102 - Remove mGraph from HTMLMediaElement::OutputMediaStream and OutputStreamManager. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43666

--HG--
extra : moz-landing-system : lando
2019-08-29 13:32:50 +00:00
Andreas Pehrson 5b70e980ff Bug 1573102 - Remove mGraph from HTMLMediaElement::MediaStreamRenderer. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D43665

--HG--
extra : moz-landing-system : lando
2019-08-29 13:32:31 +00:00
Agi Sferro 426bf8391a Bug 1561964 - Re-enable all tests in dom/security/test on Android. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37488

--HG--
extra : moz-landing-system : lando
2019-08-29 16:04:14 +00:00
Eitan Isaacson c7e39034b6 Bug 1576690 - Prune de-slotted accessibles, or relocate them to new slot. r=Jamie,emilio
This patch does several things:
 1. If there is a change to a host or a slot, check the slottable
    elements to see if they are rendered in the tree. Remove them if not.
 2. Check slot elements' fallback content if it is rendered and remove if
    not.
 3. Allow accessibles to be reinserted into a different parent or index.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 16:14:48 +00:00
Andreea Pavel 4760cf4b6c Bug 1575369 - disabled browser_ext_sidebarAction_incognito.js on all platforms r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43972

--HG--
extra : moz-landing-system : lando
2019-08-29 16:02:40 +00:00
Florens Verschelde afdfc5639c Bug 1576604 - Avoid array indexes as identifiers for open accordion items in Layout; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D43834

--HG--
extra : moz-landing-system : lando
2019-08-29 15:56:01 +00:00
Elliot Stirling 650412e66c Bug 1521094 - Basic API for handling nsIHangReport in GeckoView r=geckoview-reviewers,snorp
Hooks up slow script reporting to the ContentDelegate. Allowing slow script prompts to be implemented.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:51:55 +00:00
Emma Malysz 4e26c4ce54 Bug 1576677, removes message property from all ACTORS in BrowserGlue.jsm and ActorManagerParent.jsm r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D43484

--HG--
extra : moz-landing-system : lando
2019-08-29 15:57:03 +00:00
Agi Sferro cc74d4804d Bug 1577314 - Enforce @TimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D43827

--HG--
extra : moz-landing-system : lando
2019-08-29 15:50:59 +00:00
Gabriel Luong 3a9a56b002 Bug 1577282 - Part 3: Convert Spectrum to ES6 Class. r=Maliha
Depends on D43979

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:01:07 +00:00
Gabriel Luong bcd4446fba Bug 1577282 - Part 2: Move functions outside of the Spectrum prototype. r=Maliha
Depends on D43978

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

--HG--
extra : moz-landing-system : lando
2019-08-29 14:47:52 +00:00
Gabriel Luong 8afc61ef29 Bug 1577282 - Part 1: Move the requires before the constants and format the markup. r=Maliha
Differential Revision: https://phabricator.services.mozilla.com/D43978

--HG--
extra : moz-landing-system : lando
2019-08-29 14:40:52 +00:00
Jared Wein 5041c8bd69 Bug 1576735 - Canceling the create login form when no logins are in the list should revert to the previous view. r=MattN
If there are no stored logins, the Cancel button is hidden.
If there are visible stored logins, clicking the Cancel button will exit and move to the first login in the list.
If there are no visible stored logins, clicking the Cancel button will reset the search filter, exit, and move to the first login in the list.

This patch also fixes a race condition where we could end up with multiple observer notifications if about:logins was loaded multiple times very quickly.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:44:25 +00:00
Jared Wein a61e2d7a78 Bug 1572478 - Don't prompt for master password when re-rendering the login-item. r=MattN
We should only prompt for master password when copying a password, or when changing from a hidden to revealed password.

This patch maintains the revealed state when going from readonly to edit mode of the login. When leaving edit mode, whether through cancel or save, the revealed state is reset.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:44:24 +00:00
Jared Wein b28d468032 Bug 1576271 - Logins with no username should show '(no username)' in the login-item view when not editing. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43334

--HG--
extra : moz-landing-system : lando
2019-08-29 15:44:22 +00:00
L. David Baron a08b5323cb Bug 1576972 - Keep lastRealFrame up-to-date even when we skip empty text frames. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D43885

--HG--
extra : moz-landing-system : lando
2019-08-29 10:14:08 +00:00
Nicolas Chevobbe 2f132ce44f Bug 1572484 - Add a mochitest for expanding content-originated logged object in browser console. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D43266

--HG--
extra : moz-landing-system : lando
2019-08-29 15:33:31 +00:00
Nicolas Chevobbe 56033d41ed Bug 1577431 - Cleanup Browser Console when closing its window. r=ochameau.
We  store the created DebuggerClient when opening the Browser Console
so we can close it when closing the Browser Console window.
The Browser Console window `unload` event listener is moved out of
the BrowserConsole class to the BrowserConsoleManager, so we can close
the DebuggerClient when the window is closed (plus it makes more sense
to have it here since that's where we create the window).

Finally, functions that were inlined in toggleBrowserConsole are moved
as method of the BrowserConsoleManager for clarity.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:31:12 +00:00
Johann Hofmann df1a4c6f84 Bug 1576072 - Add a new icon for granted permissions in the identity block + panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D43950

--HG--
extra : moz-landing-system : lando
2019-08-29 15:30:51 +00:00
Johann Hofmann 5b52ed56cf Bug 1576072 - Backed out changeset 93ae831e2fb9. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43949

--HG--
extra : moz-landing-system : lando
2019-08-29 15:30:39 +00:00
Johann Hofmann cd5966c452 Bug 1576072 - Backed out changeset 0a7463d82e5f. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D43948

--HG--
extra : moz-landing-system : lando
2019-08-29 15:30:26 +00:00
Andreas Pehrson 46f4203220 Bug 1507193 - Don't leave dangling js promises after seeking. r=jya
Only SeekToNextFrame cares about promises, but prior to this patch the common
method HTMLMediaElement::Seek() would always return a promise.

When the caller was not SeekToNextFrame (e.g., SetCurrentTime, FastSeek), the
promise would end up *not* being exposed. When later rejected, we would catch
this and write an error to the js console.

This patch lifts the handling of the promise out of Seek() and into
SeekToNextFrame() so that we avoid creating promises that would not get exposed
to js.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 14:30:06 +00:00
Matthew Noorenberghe 1faa130d15 Bug 1577180 - Get a profile before accessing BrowserGlue in test_getPotentialBreachesByLoginGUID.js. r=jaws
I'm not sure of the exact cause since that would require doing a local Windows beta build and the getService error doesn't indicate what failed inside the component. I mostly guessed that this was the problem by looking at other tests which do the same thing.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:20:53 +00:00
Alexander Surkov 7a0e27bfdd Bug 1574819 - Bookmarks Menu Button popup doesn't auto-open on drag enter r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43801

--HG--
extra : moz-landing-system : lando
2019-08-29 13:15:51 +00:00
Nicolas Chevobbe 0cfab94fcf Bug 1534445 - Use same colors as webconsole warning messages in settings panel deprecation label. r=rcaliman .
In order to do this properly, we create new variable in
variables.css that hold the same values as the console-warning-*
variables we have in webconsole.css.
We take this as an opportunity to replace the box shadow on
the deprecation label by an outline. I think this was done
so the border doesn't take additional height, and outline
seems perfect for this job.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:03:51 +00:00
David Heiberg 7889728528 Bug 1575263 - Allow clippy double option, remove redundant let binding r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D43976

--HG--
extra : moz-landing-system : lando
2019-08-29 14:50:28 +00:00
Andreea Pavel 16876a7882 Bug 1544810 - test disabled on linux64 and macosx 10.14 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D43974

--HG--
extra : moz-landing-system : lando
2019-08-29 14:15:03 +00:00
Mark Banner 511a7ababf Bug 1562929 - Use the default private search engine in the context menu. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D43771

--HG--
extra : moz-landing-system : lando
2019-08-29 14:43:43 +00:00
Mark Banner 4256dfcab4 Bug 1562926 - Use the default private search engine in the address bar. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D43244

--HG--
extra : moz-landing-system : lando
2019-08-29 14:43:43 +00:00
Mark Banner fb6609d49c Bug 1562922 - Add more tests to ensure the private search engine is correctly loaded from settings. r=daleharvey
Depends on D43091

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

--HG--
extra : moz-landing-system : lando
2019-08-29 10:04:34 +00:00
Mark Banner 51b5e517ad Bug 1562922 - If the default private search engine is different to normal mode, it should default to second in the sorted list. r=daleharvey
Depends on D42957

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

--HG--
extra : moz-landing-system : lando
2019-08-29 09:45:19 +00:00
Mark Banner ae0b82c65b Bug 1562922 - Handle removing the currently set default private search engine. r=daleharvey
Depends on D42956

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

--HG--
rename : toolkit/components/search/tests/xpcshell/test_currentEngine_fallback.js => toolkit/components/search/tests/xpcshell/test_defaultEngine_fallback.js
extra : moz-landing-system : lando
2019-08-29 09:35:34 +00:00
Mark Banner ee749e9266 Bug 1562922 - Implement handling a separate private default engine via nsISearchService.defaultPrivateEngine. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D42956

--HG--
extra : moz-landing-system : lando
2019-08-29 09:34:35 +00:00
Matthew Noorenberghe a41be805f6 Bug 1574812 - Don't try...catch routeMessageToTarget, only the sendAsyncMessage. r=Mardak
As far as I can tell the try...catch was originally added around various sendAsyncMessage calls but then when some logic got moved to a helper, the try...catch didn't move along with it. This try...catch made it very annoying to debug an issue with bug 1570372 because it swallowed errors that were getting thrown. It doesn't seem like a good idea to swallow all errors for large pieces of code.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 05:03:30 +00:00
Tom Ritter 821203b7b6 Bug 1577243 - Backed out changeset cae99e27ccdd, restoring document.timeline and rAF timestamp comparisons r=birtles
Depends on D43788

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

--HG--
extra : moz-landing-system : lando
2019-08-28 23:44:14 +00:00
Tom Ritter 7f0055c7a2 Bug 1577243 - Unconditionally clamp the requestAnimationFrame timestamp (and clamp/jitter it in RFP mode) r=birtles
In Bug 1387894 we created a mode for Firefox where it unconditionally clamps all timestamps to 20 microseconds. This happens if you disable privacy.reduceTimerPrecision (which is on by default) and is so we don't inadvertently leak super-high-resolution (nanosec) timestamps.

As part of that patch, we started clamping animation timestamps - which are exempted from privacy.reduceTimerPrecision because it was too difficult to get them working at the time. (We should still fix that though.)

This caused new test failures, and one of those was a comparison between document timelines and the timestamp in requestAnimationFrame. we were not clamping the timestamp in requestAnimationFrame under the logic that it fires in predictable intervals.

However discussions about the WPT change we made to 'fix' the now-broken comparison https://github.com/web-platform-tests/wpt/pull/18172 and https://github.com/web-platform-tests/wpt/pull/18357 showed me that document.timeline is supposed to be slaved to the requestAnimationFrame timestamp (or vice versa.)

The correct fix is therefore to unconditionally clamp the requestAnimationFrame timestamp AND the document.timeline timestamp. In doing so we also start clamping/jittering the requestAnimationFrame timestamp in Resist Fingerprinting mode, so that might cause some new/unexpected behaviors for that mode we should watch out for.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 23:44:07 +00:00
Ed Lee 75a5f21f80 Bug 1565555 - Set pref to enable What's New panel by default r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D43502

--HG--
extra : moz-landing-system : lando
2019-08-29 14:16:41 +00:00
Boris Zbarsky dd6deca547 Bug 1575204. Fix crash when trying to run worker runnables on a not-ready-for-it worker thread. r=baku
We're getting crashes because either there's no CycleCollectedJSContext or it
has a null JSContext.  Hard to tell which, and whether this is happening
because our runnable comes really early in thread setup or really late in
thread teardown.  In either case, this is restoring the null-check that used to
be there in this code.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 07:40:58 +00:00
Andrei Oprea 8f00553d5f Bug 1577458 - Add fluent branding files to Whats New Panel r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D43964

--HG--
extra : moz-landing-system : lando
2019-08-29 14:12:59 +00:00
Dan Mosedale c3453c7a04 Bug 1567924 - add newtab/messaging unit testing to taskcluster r=Mardak,ahal
Adds unit tests for the Home page code and Messaging System code in browser/component/newtab into treeherder/try automation.  Currently at Tier 2, should move to Tier 1 before long.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 14:06:38 +00:00
kanurag94 17e4078da3 Bug 1556840 - Enable more ESLint rules for image/. r=Standard8,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D43351

--HG--
extra : moz-landing-system : lando
2019-08-29 12:59:57 +00:00
Yura Zenevich ce078800eb Bug 1555770 - update badge icons to correspond to the score of the accessibility issue. r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D43812

--HG--
extra : moz-landing-system : lando
2019-08-29 13:55:47 +00:00
Yura Zenevich 9d237bbf60 Bug 1555770 - update contrast FAIL icon in a11y panel sidebar checks section and in inspector color picker. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D43811

--HG--
extra : moz-landing-system : lando
2019-08-29 13:45:58 +00:00
Yura Zenevich 2d3572b6a5 Bug 1555770 - update contrast highlighter FAIL icon to red circle with ! similar to other audit types. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D43810

--HG--
extra : moz-landing-system : lando
2019-08-29 13:45:57 +00:00
David Heiberg 783e181e2a Bug 1575263 - Move closure out of if statement r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D43971

--HG--
extra : moz-landing-system : lando
2019-08-29 13:38:32 +00:00
David Heiberg e48b0cb122 Bug 1575263 - Change to_ to into_ to suit naming convention regarding self methods r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D43970

--HG--
extra : moz-landing-system : lando
2019-08-29 13:25:18 +00:00
Dan Minor eae489fda9 Bug 1554976 - Use StunAddrs to set interface for mdns_service; r=mjf
The Rust get_if_addrs library previously used does not build on Android with
our build system. Since we're already using nICEr to determine the local
interface addresses, rather than fix the Rust library, we can use those
addresses to set the interface on which mdns_service listens.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:51:18 +00:00
Dan Minor 6e5937318f Bug 1554976 - Move thread assertion inside if statement in OnLookupComplete; r=mjf
Checking this assertion outside of the if statement can result in
a use-after-free in debug builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:51:06 +00:00
Dan Minor 2511d2ab0c Bug 1554976 - Make mDNS service a singleton; r=mjf
The current code causes one mDNS service to be created for each PeerConnection.
Due to Bug 1569311, the services persist until shutdown, which can lead to a
lot of mDNS threads running on sites which use WebRTC for fingerprinting. This
change makes it so we start at most one mDNS service.

I've filed Bug 1569955 to look at shutting down the mDNS service after the
last hostname is unregistered. As an alternative, if we fix Bug 1569311, we
could also use refcounting and stop the mDNS service after the last
StunAddrsRequestParent is freed.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:51 +00:00
Dan Minor 51353ec9f7 Bug 1554976 - Use mdns_service to generate UUIDs; r=mjf
With the move to the socket process, the UUID service is no longer available
in nricectx. This adds a pair of helper functions to mdns_service to generate
UUIDs and uses them to generate hostnames inside nricectx.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:50:44 +00:00