Paul Adenot
a76e403529
Bug 1678373 - Remove mAudibleState. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D127559
2021-10-07 15:44:59 +00:00
Paul Adenot
c3e0d55a5d
Bug 1678373 - Don't count muted time without an audio track, but start counting time as soon as an audio track is added. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D126912
2021-10-07 15:44:58 +00:00
Paul Adenot
16b65bd57d
Bug 1678373 - Adjust media telemetry attributes. r=alwu
...
2h is a bit short for video.
Percentage need to be linear and between 0 and 100. 50 buckets are good enough,
having 100 buckets doesn't work, it needs to be lower than the `high` value.
Differential Revision: https://phabricator.services.mozilla.com/D125846
2021-10-07 15:44:58 +00:00
Paul Adenot
13eff79a3a
Bug 1678373 - Count muted time correct when seeking while muted. r=alwu
...
The counter was paused, but `mIsMuted` was getting desynchronized. It's best to
reset the media element muted state, visibility and media content when paused,
they are set again properly in ::Play, preventing any issue.
It is necessary to reset the media content after reporting telemetry, because a
media content of MEDIA_HAS_NOTHING isn't reported.
Differential Revision: https://phabricator.services.mozilla.com/D125845
2021-10-07 15:44:58 +00:00
Paul Adenot
ecc424b1c5
Bug 1678373 - Update description for media playback telemetry probes. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125695
2021-10-07 15:44:57 +00:00
Paul Adenot
dc9fb0994e
Bug 1678373 - Add telemetry probes for audible and muted media. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125694
2021-10-07 15:44:57 +00:00
Paul Adenot
6a8e954392
Bug 1678373 - Add a testcase for MEDIA_PLAY_TIME_MS. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125693
2021-10-07 15:44:56 +00:00
Paul Adenot
4fc40231a3
Bug 1678373 - Prepare tests for test-cases without video. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125692
2021-10-07 15:44:56 +00:00
Paul Adenot
7ca1f38445
Bug 1678373 - Fix displaying the media element by using display: block. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125691
2021-10-07 15:44:56 +00:00
Paul Adenot
b422324e29
Bug 1678373 - Put the new and old value in the assert to diagnose failures better. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125690
2021-10-07 15:44:55 +00:00
Paul Adenot
2e756eee23
Bug 1678373 - Add tests for muted and audible audio. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125689
2021-10-07 15:44:55 +00:00
Paul Adenot
410e29319c
Bug 1678373 - Add a telemetry probe for understanding how media content with audio content is played back. r=alwu data-review=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D125089
2021-10-07 15:44:54 +00:00
Paul Adenot
82125c0639
Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-07 15:44:54 +00:00
Paul Adenot
ef0bfbff05
Bug 1678373 - Fix a typo in the accumulator names. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125087
2021-10-07 15:44:54 +00:00
Paul Adenot
6dc847cdf6
Bug 1678373 - Expose audio telemetry counters as chrome-only attributes like their video counterparts. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125084
2021-10-07 15:44:53 +00:00
Paul Adenot
94b7678216
Bug 1678373 - Rename chrome-only telemetry counter attributes to distinguish audio and video. r=alwu,webidl,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D125083
2021-10-07 15:44:53 +00:00
Paul Adenot
521f23c69b
Bug 1678373 - Make the test more robust, and check constant/increasing accumulators a bit more. r=alwu
...
This was failing locally sometimes. Resolving a Promise is not very
deterministic: it can take some time, or be almost instantaneous. It's simpler
to block the main thread for a time duration longer than the clock resolution of
the OS. Generally, the worst clock resolution is on Windows, it's by default
16ms, and resolving a Promise is often a lot faster than 16ms, so we could have
had the same value here, but the code was correct. The reason that it passed was
because of this code. This is currently changing a lot in Windows, but 30ms is a
good middle ground I thought. The clock resolution on macOS/Linux
desktop/Android/anything else such as BSDs is a lot better than 16ms (in the
microsecond/nanosecond range depending on the kernel), so we're good there.
Differential Revision: https://phabricator.services.mozilla.com/D125082
2021-10-07 15:44:53 +00:00
Paul Adenot
5b350b7fc5
Bug 1678373 - The test was failing because the video ended early. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125081
2021-10-07 15:44:52 +00:00
Paul Adenot
575630f8df
Bug 1678373 - Don't detach the media element from the tree for checking play time probes: it pauses the media element per spec. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125080
2021-10-07 15:44:52 +00:00
Paul Adenot
16baeacc14
Bug 1678373 - Add initial accumulator for audio. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125079
2021-10-07 15:44:51 +00:00
Paul Adenot
d7ef88efff
Bug 1678373 - Add a way to specify the type of content (audio/video/both) in the TelemetryProbesReporter, change a bit visibility event handling. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125078
2021-10-07 15:44:51 +00:00
Paul Adenot
26de5c39a8
Bug 1678373 - Move the call to report that media telemetry has been reported. r=alwu
...
Needed for report audio telemetry in a later patch.
Differential Revision: https://phabricator.services.mozilla.com/D125077
2021-10-07 15:44:51 +00:00
Paul Adenot
1f3a23567c
Bug 1678373 - Only call into the telemetry state change code when the state changes. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125076
2021-10-07 15:44:50 +00:00
Paul Adenot
b934a76011
Bug 1678373 - Rename mTotalPlayTime and friends to mention it's about video. r=alwu
...
Differential Revision: https://phabricator.services.mozilla.com/D125075
2021-10-07 15:44:50 +00:00
Jeff Muizelaar
bcd31bdb9b
Bug 1734511 - Remove unused TiledRegion. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D127754
2021-10-07 15:40:22 +00:00
Sergey Galich
f00d159f71
Bug 1730194 - Prevent Copy button to send information to Cloud Clipboard and Clipboard History on Windows r=dimi,johannh,cmartin
...
Differential Revision: https://phabricator.services.mozilla.com/D125831
2021-10-07 15:32:03 +00:00
Andrei Oprea
d9c4a57805
Bug 1732724 - Report targeting expression source in the case of undesired events r=k88hudson
...
Differential Revision: https://phabricator.services.mozilla.com/D126776
2021-10-07 15:31:29 +00:00
Sebastian Hengst
a8e12d1f3f
Bug 1734622 - set ElementInternals tests for attribute form/label to pass on release and beta. r=edgar DONTBUILD
...
These got added in bug 1556362 and bug 1556373.
Differential Revision: https://phabricator.services.mozilla.com/D127830
2021-10-07 15:27:21 +00:00
Jeff Muizelaar
da04cbec60
Bug 1734506 - Remove Layer. r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D127753
2021-10-07 15:24:07 +00:00
Andrew Halberstadt
a1bb3108bb
Bug 1733950 - Update vendored copies of 'taskcluster', 'taskcluster_urls' and 'slugid', r=aki
...
I'd like to vendor the 'taskcluster-taskgraph' pacakge, but it requires slugid
>= 2.0. In order to update that we also need to update 'taskcluster' and
'taskcluster_urls' as the currently vendored versions don't work with
'slugid>=2.0' (due to slugid returning str rather than bytes here).
Version changes are:
* taskcluster 6.0.0 -> 44.2.2
* taskcluster_urls 11.0.0 -> 13.0.1
* slugid 1.0.7 -> 2.0.0
Differential Revision: https://phabricator.services.mozilla.com/D127680
2021-10-07 15:22:54 +00:00
Butkovits Atila
8c4f4eeecc
Bug 1627379 - disable test_unregister_invalid_json.js on Win_QR for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D127791
2021-10-07 15:21:17 +00:00
Jeff Muizelaar
11406813c8
Bug 1734502 - Remove unused ContainerLayer. r=gfx-reviewers,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D127751
2021-10-07 15:19:25 +00:00
Mike Hommey
e67c38d728
Bug 1734523 - Remove the use of MozbuildObject.mozconfig in mozwebidlcodegen. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D127765
2021-10-07 15:19:03 +00:00
Butkovits Atila
a8ca7acd1e
Bug 1726270
- disable browser_target_command_service_workers_navigation.js on Linux_64_opt and Win_64 for frequent failures. r=intermittent-reviewers,MasterWayZ DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D127799
2021-10-07 15:13:18 +00:00
Randell Jesup
ef6201cb3e
Bug 1698522: Process name setting cleanup r=nika,dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D108446
2021-10-07 14:57:10 +00:00
Butkovits Atila
4d927c1fb4
Backed out 4 changesets (bug 1733384) for causing failures at browser_windowPrompt.js. CLOSED TREE
...
Backed out changeset fa609fadac26 (bug 1733384)
Backed out changeset dd1936d9fe17 (bug 1733384)
Backed out changeset 1a073e40ab1a (bug 1733384)
Backed out changeset 65708a4c708f (bug 1733384)
2021-10-07 17:52:51 +03:00
Edgar Chen
92b7c2a045
Bug 1734238 - Wheel event should be dispatched to the remote target that requests the pointer lock; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D127810
2021-10-07 14:13:50 +00:00
Christian Holler
57ac363238
Bug 1733903 - Add wasm-smith JS shell function. r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D127394
2021-10-07 14:10:37 +00:00
Emilio Cobos Álvarez
73805fe284
Bug 1734325 - Make the disable_xul_cache pref prevent chrome resources from getting cached. r=smaug
...
Do some drive-by clean-up, and remove telemetry for this since add-ons
can no longer tweak this pref.
Differential Revision: https://phabricator.services.mozilla.com/D127812
2021-10-07 13:29:00 +00:00
Gregory Mierzwinski
5172d08ae4
Bug 1734381 - Add a tag to browsertime interactive tests. r=perftest-reviewers,AlexandruIonescu
...
Differential Revision: https://phabricator.services.mozilla.com/D127693
2021-10-07 13:15:27 +00:00
Butkovits Atila
4dad9cc0c3
Backed out changeset 35d10fc51b62 (bug 1732724) for causing failures at test_targeting.js. CLOSED TREE
2021-10-07 17:17:15 +03:00
Butkovits Atila
ff385226b4
Backed out changeset 4ea0edff703f (bug 1727698) for causing bustages in Architecture-x86-shared.h.
2021-10-07 17:14:51 +03:00
Emilio Cobos Álvarez
d8f2308898
Bug 1733384 - Remove some asserts from a test that no longer pass because inert is no longer observable from the computed style.
...
MANUAL PUSH: Orange fix CLOSED TREE
2021-10-07 16:05:34 +02:00
Emilio Cobos Álvarez
6e8a0bc31c
Bug 1733384 - Enable inert in the new dialog test.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2021-10-07 15:16:55 +02:00
Andrei Oprea
6951d3c380
Bug 1732724 - Report targeting expression source in the case of undesired events r=k88hudson
...
Differential Revision: https://phabricator.services.mozilla.com/D126776
2021-10-07 12:42:10 +00:00
Tooru Fujisawa
f8e6d532be
Bug 1728954 - Use ScriptSourceObject as a source of realm/compartment in BaseScript. r=jandem
...
BaseScript::functionOrGlobal_ is renamed to BaseScript::function_ and holds
JSFunction only when the script is function.
BaseScript ctor is moved to JSScript.cpp because GCPtr<JSFunction*> ctor
requires JSFunction definition.
Differential Revision: https://phabricator.services.mozilla.com/D127474
2021-10-07 12:39:11 +00:00
Kagami Sascha Rosylight
84ad995e6d
Bug 1728604 - Normalize path before doc path comparison r=mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D127656
2021-10-07 12:32:57 +00:00
Emilio Cobos Álvarez
445c7b4297
Bug 1734455 - Remove support for -moz-system-color() as chrome code no longer uses it (in favor of color-scheme). r=xidorn
...
Differential Revision: https://phabricator.services.mozilla.com/D127802
2021-10-07 11:56:17 +00:00
Emilio Cobos Álvarez
f9aea965d9
Bug 1733384 - Allow explicitly-inert modal dialog to be inert. r=sefeng
...
This matches the consensus from the CSSWG call.
Differential Revision: https://phabricator.services.mozilla.com/D127423
2021-10-07 11:47:34 +00:00
Emilio Cobos Álvarez
bfdd0fcc77
Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D127422
2021-10-07 11:47:34 +00:00