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

93 Коммитов

Автор SHA1 Сообщение Дата
Nico Grunbaum 241dad1c2f Bug 1727083 - stop about:webrtc from flickering;r=jib
Differential Revision: https://phabricator.services.mozilla.com/D123586
2021-08-25 22:01:13 +00:00
Yury d5f55f7fab Bug 1721963 - Fixed packets lost metric in about:webrtc page. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D120698
2021-07-26 22:24:14 +00:00
Jan-Ivar Bruaroey cf18f45105 Bug 1703584 - Fix FoldEffect class in about:webrtc to not eat memory. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D117112
2021-06-09 19:49:42 +00:00
Itiel 007ff58186 Bug 1594920 - Modernize about:webrtc appearance to support dark mode r=ng
Differential Revision: https://phabricator.services.mozilla.com/D103712
2021-02-02 16:25:31 +00:00
Dan Minor fd50ec0311 Bug 1510797 - Migrate about:webrtc to Fluent; r=ng,flod
Differential Revision: https://phabricator.services.mozilla.com/D102931
2021-01-27 12:11:47 +00:00
Nico Grunbaum 233b5ce89c Bug 1669757 - pacerDelay field in about webrtc is reporting the wrong stat;r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93014
2020-10-08 21:29:53 +00:00
Nico Grunbaum 9a0ceb7126 Bug 1668359 - Add call bandwidth estimation to about:webrtc r=dminor,emilio
Differential Revision: https://phabricator.services.mozilla.com/D92038
2020-10-06 04:04:12 +00:00
Dan Minor a6e858b6ff Bug 1657449 - Add "Show tab" button to about:webrtc; r=ng
This adds the current browserId to the internal stats report. The peer
connections are sorted by browserId, and a "Show tab" button is added that will
select the tab associated with the peer connection to make it easier to keep
track of which peerconnection is associated with a tab.

Differential Revision: https://phabricator.services.mozilla.com/D86699
2020-08-12 18:48:21 +00:00
Jan-Ivar Bruaroey c767676926 Bug 1658387 - Bring back "Clear Log" button in about:webrtc that was removed by accident. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D86599
2020-08-10 22:07:26 +00:00
Nico Grunbaum 23016eef02 Bug 1653167 - display user overrides of default webrtc prefs in about:config;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D83728
2020-07-16 20:01:19 +00:00
Dan Minor 9b31893b44 Bug 976669 - Estimate bitrate for local streams; r=ng
This would be improved by smoothing the values a bit, but I'm not sure that is
worth the extra complexity at this point. I left out the remote values because
they do not update regularly, but with smoothing, we might be able to
include them as well.

Differential Revision: https://phabricator.services.mozilla.com/D83318
2020-07-15 15:03:41 +00:00
Dan Minor d154963e52 Bug 976669 - Automatically update ICE and RTP stats; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D83317
2020-07-15 15:03:33 +00:00
Dan Minor 010d197f6a Bug 1624032 - Trim double newlines from SDP in about:webrtc; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D83504
2020-07-14 20:35:16 +00:00
Dan Minor 3d8845fae5 Bug 1438102 - Update colour scheme for ice candidates on about:webrtc; r=ng
This is the pale colour scheme from https://personal.sron.nl/~pault/#sec:qualitative.
It is designed to be used in the backgrounds of tables. It does not conflict
with the default text selection colour on OS X, and should be more friendly to
colour blind people.

Differential Revision: https://phabricator.services.mozilla.com/D83366
2020-07-14 13:41:10 +00:00
Dan Minor 6510cbf560 Bug 1651698 - Display local and remote sdp history in columns on about:webrtc; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D82934
2020-07-13 16:03:14 +00:00
Dan Minor e38b5ba7a3 Bug 1651757 - Update frame rate stats dynamically on about:webrtc; r=ng
This adds an interval timer that periodically requests stats and updates
the values in frame rate table. The tables are given an id that matches
the report's pcid. This is necessary to disambiguate the tables if
multiple peerconnections are present.

This also changes the tables to use a monospace font. I think this is
easier to read anyway, and it reduces the amount of column movement when
tables are layed out again after the values change.

Differential Revision: https://phabricator.services.mozilla.com/D83089
2020-07-10 18:06:15 +00:00
Jan-Ivar Bruaroey 7f97330880 Bug 1647532 - Fix Provided/Not Provided text in about:webrtc renderConfiguration(). r=ng
Depends on D81412

Differential Revision: https://phabricator.services.mozilla.com/D81789
2020-07-01 00:03:20 +00:00
Jan-Ivar Bruaroey 8879965e09 Bug 1647532 - Refactor about:webrtc js code to remove redundant classes. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D81412
2020-06-30 23:52:33 +00:00
Jan-Ivar Bruaroey c30bf92d09 Bug 1647532 - Modernize about:webrtc js code. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D80574
2020-06-30 23:51:24 +00:00
Nico Grunbaum f8f21f2398 Bug 1648600 - add SDP parsing errors to SDP history;r=dminor,jib,emilio
Differential Revision: https://phabricator.services.mozilla.com/D81265
2020-06-30 02:38:40 +00:00
Nico Grunbaum c78d9cccad Bug 1644709 - Add PeerConnection configuration to about:webrtc;r=dminor,jib,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D80787
2020-06-30 02:35:36 +00:00
Nico Grunbaum 5442b2eb88 Bug 1624967 - Display entire SDP history about:webrtc;r=dminor,webidl,smaug,flod
Differential Revision: https://phabricator.services.mozilla.com/D78866
2020-06-10 13:51:41 +00:00
Nico Grunbaum 8108184b4f Bug 1637450 - Add Video Frame statistics to about:webrtc;r=bwc,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D75073
2020-06-10 16:34:25 +00:00
Nico Grunbaum 0b96885663 Bug 1624054 - break apart the raw candidate table in about:webrtc;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D67707

--HG--
extra : moz-landing-system : lando
2020-03-24 18:01:24 +00:00
Nils Ohlmeier [:drno] 0155c1888b Bug 1582320: colour coded ICE state on about:webrtc. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D46380

--HG--
extra : moz-landing-system : lando
2019-09-30 06:02:02 +00:00
Christoph Kerschbaumer 30285b4a58 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950

--HG--
extra : moz-landing-system : lando
2019-09-26 16:22:41 +00:00
Ryan Alderete 4b595ec1a8 Bug 1570158 - Add proxy information to candidates table in about:webrtc r=bwc,baku
This adds a field to about:webrtc which indicates whether an associated
candidate is behind a proxy or not.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 10:04:45 +00:00
Ryan Alderete 3a5af31fab Bug 1571027 - Fix RTP stats section in about:webrtc r=ng
When the RTP stats were refactored to match the specifications, the code that
displays them on about:webrtc was left unchanged.  Update that code to reflect
the new stats types.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:04:59 +00:00
Ryan Alderete b3829a3ca2 Bug 1526039 - Fix protocol field in about:webrtc candidates table r=dminor
"transport" is the old name for the field.  This makes it so that the transport
protocol is no longer printed as "undefined" in the ICE candidate table.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:32:28 +00:00
Victor Porof 0773795931 Bug 1561435 - Format toolkit/content/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 651d8f947a29f5d80b7e833f7e6b99e2afe8bf9d
2019-07-05 11:14:49 +02:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Christoph Kerschbaumer c04c6432f9 Bug 1497216: Apply Meta CSP to about:webrtc.
Differential Revision: https://phabricator.services.mozilla.com/D33916

--HG--
extra : moz-landing-system : lando
2019-06-06 08:58:36 +00:00
Brian Grinstead 08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

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

--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Nico Grunbaum c838f88f22 Bug 1526512 - remote-inbound-rtp stat roundTripTime should be expressed in seconds r=jib,smaug
Changing the units roundTripTime is reported in from milliseconds to seconds

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

--HG--
extra : moz-landing-system : lando
2019-02-12 23:39:49 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Dan Minor 73d9c4cce6 Bug 1498253 - Remove mozAvSyncDelay and mozJitterBufferDelay; r=ng
The value for mozAvSyncDelay has been broken since the branch 57 update
(Bug 1341285). We added SetCurrentSyncOffset() but never called it from
anywhere.

In the future we should be getting stats from AudioReceiveStream rather than
modifying the channel code, the delay_estimate_ms field provides almost the
same information.

Since we're attempting to get rid of moz prefixed stats, it makes sense to just
remove this code rather than fix it. The associated telemetry code has been
broken since Bug 1341285 as well so I think it is safe to remove.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 13:08:12 +00:00
Nico Grunbaum 41a179ba06 Bug 1324788 - Bug 1324688 - Bring RTCIceCandidateStats up to spec r=mjf,jib,smaug
Bug 1324788 - P1 - rename RTCIceCandidate stat "portNumber" to spec "port"
Bug 1324788 - P2 - update RTCIceCandidateStats candidateType enum to spec
Bug 1324788 - P3 - add RTCIceCandidatePair.priority stat
Bug 1324788 - P4 - update WebRTC ICE candidate stats field componentId to spec name transportId
Bug 1324788 - P5 - remove deprecated RTCIceCandidateStats.mozLocalTransport field
Bug 1324788 - P6 - update WebRTC ICE candidate stats field transport to spec name, protocol
Bug 1324788 - P7 - remove deprecated RTCIceCandidateStats.candidateId
Bug 1324788 - P8 - reorder RTCIceCandidateStats dictionary members to match the spec
Bug 1324788 - P9 - make RTCIceCandidateStats.transportId ChromeOnly

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

--HG--
extra : moz-landing-system : lando
2018-11-28 20:30:07 +00:00
Nico Grunbaum 0c719fb462 Bug 1489040 Update WebRTC ICE candidate stats field name ipAddress to address r=mjf,jib,smaug
Bug 1489040 - P1 - Update WebRTC ICE candidate stats field ipAddress to new name, address
Bug 1489040 - P2 - adjust WebRTC stats mochitest for new stat name 'address'
Bug 1489040 - P3 - add test for legacy WebRTC stat names

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

--HG--
extra : moz-landing-system : lando
2018-11-22 00:14:36 +00:00
Philipp Hancke c0cf9f10eb Bug 1435789: implement relayProtocol for localcandidate stats r=smaug,ng
relayProtocol is the standardized variant of mozLocalTransport.
Spec:
  https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol

IDL:
  https://w3c.github.io/webrtc-stats/#icecandidate-dict*

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

--HG--
extra : moz-landing-system : lando
2018-10-07 07:42:48 +00:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Michael Froman b15f168038 Bug 1409868 - include date in about:webrtc session labels. r=ng
MozReview-Commit-ID: 3f8dXaWQzE

--HG--
extra : rebase_source : e55e35926976b791c4ce74be882f4c0435b19ecf
2018-02-05 14:46:22 -06:00
Michael Froman 38bdfba7a2 Bug 1414171 - pt 2 - Sort ICE stats by componentId on about:webrtc. r=drno
- add new component_id field to NrIceCandidatePair
- add the candidate pair component_id to RTCIceCandidatePairStats in
  RecordIceStats_s
- add new column in ice stats table for component id
- sort ice stats by component id first


MozReview-Commit-ID: J89ZIYEUyRk

--HG--
extra : rebase_source : 681a5afa1303b4e377fcc14d099ce0b3d852f22c
2018-01-30 22:23:54 -06:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Michael Froman 6676e836ca Bug 1426130 - make trickle_caption_msg localizable. r=flod,Gijs
MozReview-Commit-ID: 6HjkVa8NWX2

--HG--
extra : rebase_source : b535be55789552dea9f341c4d2546270d5ee634e
2017-12-21 12:40:16 -06:00
Michael Froman a5b6ed41e4 Bug 1414169 - pt 8 - Refactor creating html elements for conciseness. r=ng
MozReview-Commit-ID: 5naesMTOmtI

--HG--
extra : rebase_source : 998bd1fe6f2cf132a9d367576938264f1bdfad85
2017-12-06 11:23:02 -06:00