Commit Graph

644347 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
379c5bfe4e Bug 1534692 - Part 8: In setIdentityProvider, fall back to the target peer identity if a peerIdentity is not passed. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24793

--HG--
extra : moz-landing-system : lando
2019-03-29 18:38:56 +00:00
Byron Campen [:bwc]
86c7dd204c Bug 1534692 - Part 7: Make RTCPeerConnection-getIdentityAssertion.sub use https, and fix bugs in the test. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24792

--HG--
rename : testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html.ini => testing/web-platform/meta/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html.ini
rename : testing/web-platform/tests/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html => testing/web-platform/tests/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.https.html
extra : moz-landing-system : lando
2019-03-29 18:40:57 +00:00
Byron Campen [:bwc]
6c79e60e7c Bug 1534692 - Part 6: Simplify this identity verification code. Fixes a bug where sRD would not wait for the verification to complete when the target peer identity was set. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24791

--HG--
extra : moz-landing-system : lando
2019-03-29 20:51:19 +00:00
Byron Campen [:bwc]
f247c46edd Bug 1534692 - Part 5: Teach PeerConnectionIdp to cope with SDP with no media sections. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24790

--HG--
extra : moz-landing-system : lando
2019-03-29 18:37:51 +00:00
Byron Campen [:bwc]
d624fdbce8 Bug 1534692 - Part 4: Stop closing the pc when identity validation fails, because that's not what the spec says to do. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24789

--HG--
extra : moz-landing-system : lando
2019-03-29 18:37:44 +00:00
Byron Campen [:bwc]
37a61dcc31 Bug 1534692 - Part 3: Fix bug where PeerConnectionImpl::GetPeerIdentity would always return the empty string. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D24788

--HG--
extra : moz-landing-system : lando
2019-03-29 18:37:33 +00:00
Byron Campen [:bwc]
c057c94e8f Bug 1534692 - Part 2: Make RTCPeerConnection-peerIdentity use https, and fix bugs in test. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24787

--HG--
rename : testing/web-platform/tests/webrtc-identity/RTCPeerConnection-peerIdentity.html => testing/web-platform/tests/webrtc-identity/RTCPeerConnection-peerIdentity.https.html
extra : moz-landing-system : lando
2019-03-29 18:37:31 +00:00
Byron Campen [:bwc]
6e23e3f774 Bug 1534692 - Part 1: Stop using |global|, and fix a typo ('param' should have been 'args') in mock-idp.js r=jib
Differential Revision: https://phabricator.services.mozilla.com/D24786

--HG--
extra : moz-landing-system : lando
2019-03-29 18:37:29 +00:00
Trishul
ab8d5216f0 Bug 1538583: Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice r=kmag
Themes should not show [ALLOWED IN PRIVATE WINDOWS] notice

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

--HG--
extra : moz-landing-system : lando
2019-03-29 20:44:42 +00:00
David Walsh
c28222aaf1 Bug 1537988 - Improve spacing and icons for workers r=jlast
Improves spacing and alignment for workers in the right pane and sources tree.  Also changes the Main thread icon to be document in the worker pane.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:05:40 +00:00
David Walsh
a3681b9588 Bug 1540151 - Sync dictionary and development config from GitHub r=jlast
I keep needing to reset these during commits so we should update MC

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

--HG--
extra : moz-landing-system : lando
2019-03-29 18:02:44 +00:00
Myk Melez
5b6def9858 Bug 1538093 - reopen security_state env as read-only when not writing r=keeler
The new rkv-based cert_storage database caused a Heap Unclassified regression because of memory that LMDB reserves when opening a database in read-write mode. Since cert_storage usage is read-heavy, this change claws back that regression by opening it in read-only mode except when changes are being made.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 19:48:00 +00:00
Geoff Brown
f2bc2b5622 Bug 1540210 - Correct Android 4.3 pgo test's default tier to tier 1; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25459

--HG--
extra : moz-landing-system : lando
2019-03-29 19:52:45 +00:00
Masatoshi Kimura
c759578005 Bug 1528963 - Followup to fix compile error when launcher process is off by default. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D25463

--HG--
extra : moz-landing-system : lando
2019-03-29 19:49:22 +00:00
Ruihui Yan
2dbc54f868 Bug 1508819 - Enable ESLint for dom/bindings (manual changes). r=nika
Depends on D13891

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:47:06 +00:00
Ruihui Yan
894c13cd76 Bug 1508819 - Enable ESLint for dom/bindings (automatic changes) r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13891

--HG--
extra : moz-landing-system : lando
2019-03-28 09:11:04 +00:00
Ciure Andrei
696c9d2139 Backed out changeset e356ebea641d (bug 1539578) for causing browser_WebCrypto_telemetry.js to perma fail CLOSED TREE 2019-03-29 21:21:33 +02:00
Johann Hofmann
3573e05186 Bug 1538684 - Add reportBreakage labels and report prefs for fingerprinters and cryptominers. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D24695

--HG--
extra : moz-landing-system : lando
2019-03-29 18:51:33 +00:00
Brendan Dahl
e78452ab54 Bug 1526822 - Fix headless screenshot that has redirects. r=mossop
The changes in bug 1507352 caused onLocationChange events to be ignored
when there was an http redirect. This caused the screenshot command to hang
since it never attached an event listener on the page it was redirected to.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 20:47:13 +00:00
Francesco Lodolo (:flod)
7fbff6df10 Bug 1535300 - Remove locales from Nightly and Beta build of Fennec (as, en-ZA, mai, or) r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25362

--HG--
extra : moz-landing-system : lando
2019-03-29 17:01:37 +00:00
Francesco Lodolo (:flod)
abaf6253ea Bug 1535299 - Remove locales from Nightly and Beta build of Firefox desktop (as, en-ZA, mai, ml, or) r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25361

--HG--
extra : moz-landing-system : lando
2019-03-29 17:01:21 +00:00
Andrea Marchesini
da174a4757 Bug 1539407 - Use the correct global for DOMEventTargetHelper in IndexedDB, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D25041

--HG--
extra : moz-landing-system : lando
2019-03-29 18:05:11 +00:00
Masatoshi Kimura
26437cdd14 Bug 1528963 - Attach console before launching child. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D23807

--HG--
rename : toolkit/xre/nsNativeAppSupportWin.cpp => widget/windows/WindowsConsole.cpp
extra : moz-landing-system : lando
2019-03-29 18:05:03 +00:00
Julian Descottes
dac606a5ca Bug 1518469 - Redirect old about:debugging routes to This Firefox;r=ladybenko
Depends on D25061
Two motivations to support the old routes:
- we have some links inside Firefox (application panel, about:addons, Developer Menu) that link to about:debugging. With this fix we avoid updating the links with code that depends on the value of the preference. We will fully update the links once the old aboutdebugging codebase is removed.
- there are some external pages that refer to about:debugging#workers or about:debugging#addons (did a quick google search). not a lot of them but this will also allow to keep supporting them

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:21 +00:00
Julian Descottes
0ee8134ffe Bug 1518469 - Enable new about:debugging by default;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D25061

--HG--
extra : moz-landing-system : lando
2019-03-29 17:48:19 +00:00
Eric Rahm
d27ee411ac Bug 1539317 - Add option to ignore mitmproxy shutdown error code. r=rwood
mitmproxy appears to return an error code of 1 if we use the `--no-upstream-cert`. The actual playback works fine. This patch adds an option to reduce the log level to `info` in order to prevent tests from being marked orange due to a shutdown error message.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:26:05 +00:00
J.C. Jones
1746417e71 Bug 1539541 - Enable FIDO U2F API, and permit registrations for Google Accounts r=keeler,qdot
Per the thread "Intent-to-Ship: Backward-Compatibility FIDO U2F support for
Google Accounts" on dev-platform [0], this bug is to:

  1. Enable the security.webauth.u2f by default, to ride the trains

  2. Remove the aOp == U2FOperation::Sign check from EvaluateAppID in
     WebAuthnUtil.cpp, permitting the Google override to work for Register as
     well as Sign.

This would enable Firefox users to use FIDO U2F API on most all sites, subject
to the algorithm limitations discussed in the section "Thorny issues in
enabling our FIDO U2F API implementation" of that post.

[0] https://groups.google.com/d/msg/mozilla.dev.platform/q5cj38hGTEA/lC834665BQAJ

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:16:13 +00:00
Eric Rahm
6f2f0f61bf Bug 1539970 - Support taskcluster cache env var in mozproxy. r=tarek
TaskCluster tasks use the `TOOLTOOL_CACHE` env var to specify which directory to use for the `tooltool` cache. This patch falls back to that value if `TOOLTOOLCACHE` is not found.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 17:12:37 +00:00
Haik Aftandilian
cb205c1542 Bug 1537940 - [Mac] With content sandbox disabled, processes "Not Responding" in Activity Monitor r=Alex_Gaynor
Make sure CGSShutdownServerConnections() is called regardless of whether or not the sandbox is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 13:47:44 +00:00
J.C. Jones
503d325bbb Bug 1539578 - Add telemetry for DH use in WebCrypto API r=keeler
Our WebCrypto implementation supports using DH as an algorithm in generateKey,
which is not one of the recognized algorithms in the published specification [0].

We should seek to remove it from Firefox, but before we do, it'd be good to
gather some telemetry on whether it's used at all, even in its' non-standard
form.

[0] https://www.w3.org/TR/WebCryptoAPI/#algorithm-overview

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:55:54 +00:00
Nika Layzell
a33a880625 Bug 1537977 - Add a ManagedEndpoint IPDL type for manually constructing actors, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D24425

--HG--
extra : moz-landing-system : lando
2019-03-28 20:02:50 +00:00
Andreas Pehrson
3d69980886 Bug 1494675 - Merge SourceListener::Remove into SourceListener::Stop. r=padenot
Depends on: D24903

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:12:20 +00:00
Andreas Pehrson
8a27a07a02 Bug 1494675 - Fix remaining static-analysis warnings in dom/media/webrtc. r=jib
Bug 1538113 fixed most, but apparently some remained. Unclear why -- perhaps I
ran it with a different config this time.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:58:45 +00:00
Andreas Pehrson
4b06f8478d Bug 1494675 - Remove windowID to MediaEngineSource mappings from MediaEngines. r=padenot
These once served a caching-and-reuse purpose it seems, but it makes less sense
when sources are not shared.

There seems to still be functioning code to re-use fake audio devices, but this
seems like premature optimization. Especially since we don't care much about
fake devices in release.

This patch removes it all, together with some plumbing around the mechanism.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 14:10:10 +00:00
Andreas Pehrson
45fe07077f Bug 1494675 - Remove AllocationHandle. r=padenot
The handle was used to keep separate allocations of the same source in a single
process apart. Sources no longer use sharing, so we no longer need allocations
or their handles even as a concept.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 14:10:24 +00:00
Andreas Pehrson
7148d512ea Bug 1494675 - Remove MediaEngineSource::RequiresSharing. r=padenot
Sources are no longer shared.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 14:10:27 +00:00
Andreas Pehrson
5797084794 Bug 1525323 - Remove SourceTrackListener from MediaManager. r=padenot
This moves the responsibility of forwarding NotifyPull() from the graph thread
to MediaEngineSources out of MediaManager and into the sources themselves. This
is better aligned with how the sources work, since not all sources need pulling.
This also clarifies lifetime management of these listeners in relation to when
pulling is enabled for a track, since the sources are already handling enabling
pulling themselves.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 18:05:56 +00:00
Brad Werth
3e8325f6fb Bug 1538042 Part 1: Change nsIFind::Find to have access to text length. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D25005

--HG--
extra : moz-landing-system : lando
2019-03-29 15:55:57 +00:00
Gijs Kruitbosch
a7991ad77c Bug 1538968 - don't register link updates for localization links in system-principal docs, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D24909

--HG--
extra : moz-landing-system : lando
2019-03-29 16:01:37 +00:00
Brian Grinstead
674a426920 Bug 1539665 - Remove arrowScrollbox as 'this' parameter into Array.filter;r=dao
It's unused, since _canScrollToElement is overridden right below and doesn't use 'this'.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 16:00:08 +00:00
Daniel Varga
7af208ab28 Backed out changeset 98452610cfcc (bug 1539407) for browser-chrome failure at /builds/worker/workspace/build/src/dom/indexedDB/IDBRequest.cpp:284. On a CLOSED TREE
--HG--
extra : histedit_source : 236c5d6a7a4440a7b545c1ec5a0a72a8c5777b6b
2019-03-29 18:01:58 +02:00
Kartikaya Gupta
c80e2408ea Bug 1539684 - Don't let scrollPercent become NaN if maxThumbPos is zero. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D25405

--HG--
extra : moz-landing-system : lando
2019-03-29 15:39:35 +00:00
Daniel Varga
baeeb7c24b Backed out 4 changesets (bug 1524276) for mochitest-devtools at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 78fb95dc20e3 (bug 1524276)
Backed out changeset 30570673a894 (bug 1524276)
Backed out changeset 9476f9253c9c (bug 1524276)
Backed out changeset 6f1c417146be (bug 1524276)
2019-03-29 17:48:19 +02:00
Emilio Cobos Álvarez
1994c7afde Bug 1540093 - Add a whitelist entry for browser_parsable_css if -moz-block-height is disabled. r=bustage 2019-03-29 16:39:14 +01:00
Emily Toop
d75296da81 Bug 1532582 - Display autofill popup in correct location.
This autofill popover was being displayed in the incorrect place because the display rect we were providing to the `AutofillManager` was the rect for the `GeckoView` and not the rect for the HTML element that the autofill popover was relating to.

1. Add view dimensions to info passed to autofill in `GeckoViewAutoFill`.
2. Use those view dimensions to calculate the correct location on the screen using `pageToScreenMatrix` in `GeckoSession`.

The resulting locations were incorrect, as the values used by `pageToScreenMatrix` were out of date. The `GeckoSession` was only notified about updated metrics during first composite, which meant that when the metrics changed during zoom and scroll on soft keyboard presentation, `GeckoSession` was unaware of it.

3. Update `GeckoSession` with new screen metrics when they change and not only during first composite.

Despite this change ensuring that `GeckoSession` always had the correct values for the viewport size and location, the request to provide the autofill location was made before the zoom and scroll was complete, meaning that even then out of date values were used during the calculation. The intial solution was to fire an event once zoom was complete, but despite this event being fired after the new screen size had been calculcated in `AsyncCompositionManager`, `GeckoSession` did not receive the values until after the event had been processed (the calls were out by 0.024ms).

5. Call new method `onScreenMetricsUpdated` inside `SessionTextInput` after screen metrics have been updated. Call `AutofillManager#notifyViewEntered` from this function.

This was not my preferred solution to this, but timing issues meant I could not find/think of an alternative way of delaying the calculation of the autofill popover location until after `GeckoSession` had been updated.

This patch currently fixes things on GV apps. Occasionally, on Fennec, the autofill view is out of alignment slightly. This needs further work.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:25:42 +00:00
Masayuki Nakano
de2d589e58 Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:12:47 +00:00
Masayuki Nakano
b7fbcf781f Bug 1540015 - part 2: Make nsPresContext.h stop including nsIPresShel.h and nsIPresShellInlines.h r=smaug
`*Inlines.h` shouldn't be included by another header file, but `nsPresContext.h`
does it.  This causes include-hell which blocks the following fix.

Additionally, it causes an include hell between `PresShell.h` vs.
`nsIPresShell.h` and `nsPresContext.h if `Document.h` includes `PresShell.h`.
Therefore, this patch also solves this include hell with adding
`nsPresContextInlines.h`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:11:22 +00:00
Masayuki Nakano
e705b3211c Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug
If `Document::GetShell()` returns `PresShell*` rather than `nsIPresShell`, it's
a good step to deCOMTaminate `PresShell`.

This patch makes `Document.h` stop including `nsIPresShell.h` since
`nsIPresShell.h` includes `Document.h` indirectly and that causes bustage
when we make `Document::GetShell()` return `PresShell*`.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 15:11:04 +00:00
Alex Gaynor
e845354e42 Bug 1539892 - replace FeatureChange and GPUDeviceStatus IPDL unions with native Maybe syntax; r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D25259

--HG--
extra : moz-landing-system : lando
2019-03-28 21:13:53 +00:00
Staś Małolepszy
3aa3bb6bc9 Bug 1539192 - Update to Fluent.jsm 0.12.0, FluentSyntax 0.12.0. r=zbraniecki
Update the vendored Fluent libraries to their latest versions, both supporting Fluent Syntax 0.9.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 20:43:33 +00:00