Commit Graph

54 Commits

Author SHA1 Message Date
Bryce Seager van Dyk
da944be108 Bug 1642465 - Add EncryptedMedia actors to handle EME messages. r=Gijs
This patch also removes the code that is replaced by the new actors.

Differential Revision: https://phabricator.services.mozilla.com/D77861
2020-06-29 21:56:25 +00:00
Dan Minor
3eb6429b8e Bug 1356046 - Remove expired media telemetry; r=jya,alwu,bryce
This removes all telemetry which expired in Firefox 69 or earlier, with the
exceptions of the following, which we plan to renew:
* AUDIO_TRACK_SILENCE_PROPORTION
* MEDIA_AUTOPLAY_WOULD_BE_ALLOWED_COUNT
* MEDIA_AUTOPLAY_WOULD_NOT_BE_ALLOWED_COUNT
* MEDIACACHESTREAM_LENGTH_KB
* MEDIA_MKV_CANPLAY_REQUESTED
* MEDIA_PAGE_COUNT
* MEDIA_PAGE_HAD_MEDIA_COUNT
* VIDEO_DROPPED_FRAMES_PROPORTION
* VIDEO_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE
* VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE
* VIDEO_INTER_KEYFRAME_AVERAGE_MS
* VIDEO_INTER_KEYFRAME_MAX_MS
* VIDEO_SUSPEND_RECOVERY_TIME_MS
* VIDEO_VP9_BENCHMARK_FPS
* WEB_AUDIO_BECOMES_AUDIBLE_TIME
* WEBVTT_TRACK_KINDS

Differential Revision: https://phabricator.services.mozilla.com/D37313
2019-08-02 18:17:45 +00:00
arthur.iakab
2158fca6a8 Backed out changeset b8661a3b5dc2 (bug 1356046) for causing buid bustages on HTMLMediaElement.cpp CLOSED TREE 2019-08-02 19:00:45 +03:00
Dan Minor
68cd685c10 Bug 1356046 - Remove expired media telemetry; r=jya,alwu,bryce
This removes all telemetry which expired in Firefox 69 or earlier, with the
exceptions of the following, which we plan to renew:
* AUDIO_TRACK_SILENCE_PROPORTION
* MEDIA_AUTOPLAY_WOULD_BE_ALLOWED_COUNT
* MEDIA_AUTOPLAY_WOULD_NOT_BE_ALLOWED_COUNT
* MEDIACACHESTREAM_LENGTH_KB
* MEDIA_MKV_CANPLAY_REQUESTED
* MEDIA_PAGE_COUNT
* MEDIA_PAGE_HAD_MEDIA_COUNT
* VIDEO_DROPPED_FRAMES_PROPORTION
* VIDEO_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE
* VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE
* VIDEO_INTER_KEYFRAME_AVERAGE_MS
* VIDEO_INTER_KEYFRAME_MAX_MS
* VIDEO_SUSPEND_RECOVERY_TIME_MS
* VIDEO_VP9_BENCHMARK_FPS
* WEB_AUDIO_BECOMES_AUDIBLE_TIME
* WEBVTT_TRACK_KINDS

Differential Revision: https://phabricator.services.mozilla.com/D37313
2019-08-02 15:37:59 +00:00
Victor Porof
a3641f184a Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041
2019-07-05 09:48:57 +02:00
Trushita
19b14883c7 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795
2019-04-09 20:40:26 +00:00
Alexander Surkov
62ec0b0d61 Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595
2019-02-12 19:14:40 -05:00
Mark Banner
462116b7f9 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
2018-08-31 05:59:17 +00:00
Bryce Van Dyk
8d12ba3f14 Bug 1431153 - Remove unused CDM version check path from browser-media.js r=Gijs
Bug 1314445 removed GMPService::GetPluginVersionForAPI and cleaned up code paths
around this that would notify users if the content decryption module (CDM) did
not satisfy version requirements. Some dead code appears to have been overlooked
and is removed by this patch.

Differential Revision: https://phabricator.services.mozilla.com/D3972
2018-08-22 14:11:15 +00:00
Dave Townsend
7c2cace29b Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489
2018-07-31 19:13:38 +00:00
Jonathan Kingston
9b880fdc20 Bug 1374741 - Within browser/ make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 1NQrlWzIBja
2018-02-21 14:28:48 +00:00
Peter Van der Beken
317400d75b Bug 1448850 - Remove nsIMessageListener and nsIMessageListenerManager. r=bz. 2018-02-16 15:28:31 +01:00
Mike Taylor
16e86d0d5b Bug 1422985. Update decoder doctor to JSON encode details param value. r=Gijs
MozReview-Commit-ID: JUf4rw5CeCH
2018-01-26 16:46:03 -06:00
Gijs Kruitbosch
57a7dfb2e1 Bug 1431428 - use DOM instead of innerHTML for extension messaging in prefs, r=jaws
MozReview-Commit-ID: JkG6zT8ADDU
2018-01-18 18:19:10 +00:00
Gijs Kruitbosch
b573a74932 Bug 1431471 - fix regexes for l10n parameter replacement in two places, r=flod
MozReview-Commit-ID: 3zQrmMmyrxV
2018-01-18 18:21:04 +00:00
Gijs Kruitbosch
79b009109b Bug 1430974, r=florian 2018-01-17 10:55:34 +00:00
Dan Banner
5af4450327 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Ricky Chien
6bbcb028a8 Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Sebastian Hengst
c97c631ff5 Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
Ricky Chien
4dd95d9a6c Bug 1349689 - Remove old preferences fork r=jaws
MozReview-Commit-ID: GNPcQGUTUKJ
2017-08-21 17:48:18 +08:00
Tim Nguyen
7e057ce4a4 Bug 1392416 - Update notification icons to use photon assets. r=dao
MozReview-Commit-ID: A5Y0GDJcwh1
2017-08-22 17:19:15 +02:00
Ricky Chien
55fa701e69 Bug 1384402 - Fix broken about:preferences link after reorg v2 r=jaws
MozReview-Commit-ID: LnQsKHhrDWI
2017-07-27 11:30:05 +08:00
Evan Tseng
3a1ced1fc8 Bug 1380205 - Check preferences version for some openPreferences calls need to direct to different pane in different version. r=mconley
MozReview-Commit-ID: DFltTFRkPrA
2017-07-12 09:01:25 +08:00
Frederik Braun
96b2642639 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Fischer.json
b2508dd4e6 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Gerald Squelart
503dfbd8fd Bug 1357209 - Add label=type-media to invoked webcompat URL - r=Gijs
Following https://github.com/webcompat/webcompat.com/issues/1360 , WebCompat
now accepts an arbitrary label (to help with sorting incoming reports), which
for media issues should be "type-media".

MozReview-Commit-ID: B3vaUOlhTBm
2017-04-18 14:11:51 +12:00
Gerald Squelart
3c2dc02750 Bug 1343442 - Handle decode-error/warning in browser-media.js - r=Gijs
Open webcompat.com in new tab, similar to what "Report Site Issue" button does.

MozReview-Commit-ID: 1ESOY3upHgc
2017-04-11 13:37:52 +12:00
Zack Herrick
50c0d3d538 Bug 1335907 - Reorganize the preferences based on feedback from user research. r=mconley
The FX_PREFERENCES_CATEGORY_OPENED probe must be extended to version 59 to support the fallback "forked" preference implementation (in-content-old).

The switchToAdvancedSubPane within utilityOverlay's openPreferences must also remain until the fallback has been removed (bug 1349689).

Patch co-authored by Zack Herrick <herrickz@msu.edu> and Ziyan Long <lzylong@gmail.com>.

MozReview-Commit-ID: 1sx0Wj15yM7
2017-03-29 11:52:08 -04:00
Frederik Braun
fdc59ef20e Bug 1346720 - Disallow invalid report IDs early on. r=gerald
MozReview-Commit-ID: GBDnzYh0gPt
2017-03-13 18:40:45 -04:00
Gerald Squelart
381c653253 Bug 1331484 - Removed mentions of Adobe from browser-media.js - r=Gijs
We do not support Adobe Primetime anymore, so there is no need to handle
related issues.

MozReview-Commit-ID: AvKarZabyDM
2017-02-02 16:50:29 +11:00
Chris Pearce
65b0abb993 Bug 1329543 - Remove use of gmp-eme-adobe prefs from browser-media.js. r=Gijs
MozReview-Commit-ID: L1m5R8wqPYe
2017-01-09 21:56:25 +08:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Dão Gottwald
1367ab44f5 Bug 1330001 - Remove browser code behind Windows XP and Vista version checks. r=jaws 2017-01-11 10:54:16 +01:00
Chris Peterson
eb22fb1e9e Bug 1329547 - Remove messages about missing CDM on XP. r=Gijs
MozReview-Commit-ID: nTEgsecM8h
2017-01-08 00:43:12 -08:00
Chris Peterson
47fe26c0a2 Bug 1329547 - Remove messages about missing codecs on XP. r=Gijs
MozReview-Commit-ID: 2YH1Hv1bj19
2017-01-07 23:27:25 -08:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
André Bargull
2980c46ca7 Bug 1320144 - Remove String generics uses in browser/base/content. r=gijs 2016-11-24 13:18:26 -08:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Chris Pearce
f6bca0a3cf Bug 1314445 - Remove unused EME notification handlers from browser-media.js. r=Gijs
Gecko no longer emits these notifications, so there's no point handling them in
the front end code.

MozReview-Commit-ID: KGysG56m3QO
2016-11-02 13:07:14 +13:00
Gijs Kruitbosch
fc10f65b04 Bug 1312416 - use tabbrowser message manager group to listen for decoder doctor messages, r=jaws
For browsers in e.g. panels, we can't really make decoder doctor work well, so we simply elect to only listen for such messages within tabbrowser browsers.

MozReview-Commit-ID: Frrhf6AOgAy
2016-10-28 18:15:30 +01:00
Gerald Squelart
50e6581f24 Bug 1263665 - Frontend notification of unsupported libavcodec - r=gijs
Inform the user through a drop-down notification, that the installed
libavcodec is not supported (possibly because it is vulnerable) and should
be updated.

MozReview-Commit-ID: J4VSCeTYyO0
2016-09-22 00:07:45 -07:00
Gerald Squelart
0339f31801 Bug 1247056 - Show notification when PulseAudio cannot be used - r=Gijs
MozReview-Commit-ID: 4q4CLb9VjcU
2016-09-13 20:10:58 -07:00
Gerald Squelart
5b711deb8f Bug 1247056 - More flexible SUMO link - r=Gijs
Instead of always pointing to the same fix-video-audio-problems-firefox-windows
SUMO page, make it possible to point at others depending on the issue.

Also we won't show a "Learn How" button for WinXP anymore, as the linked
page is not relevant to XP, and CDMs are not available on XP anyway.

MozReview-Commit-ID: 7YR43Wa0IRe
2016-09-27 00:03:06 -07:00
Gerald Squelart
81ae01695a Bug 1303707 - Fix collecting of formats-at-issues - r=Gijs
Array.filter was given the wrong information, so we were only adding
existing name, instead of adding new ones.
This is not critical, as this is only useful to better find when issues
are fixed, that's why I'm fixing it in a fly-by here.

MozReview-Commit-ID: CGkN3BbSTge
2016-09-18 22:24:47 -07:00
Gerald Squelart
4a75936921 Bug 1303255 - Use correct dec-doc messages on Vista - r=Gijs
MozReview-Commit-ID: FeaFlvaL8t4
2016-09-15 00:15:59 -07:00
Kilik Kuo
5e0d0c667e Bug 1150371 - [Part2] DRM UI should not show up when Clearkey is the only one CDM created successfully. r=florian
MozReview-Commit-ID: GaklA7OEmQy
2016-08-09 16:19:05 +08:00
Kilik Kuo
836f6c8d80 Bug 1136707 - [Part2] Remove the pref 'media.eme.clearkey.enabled' in browser. r=Gijs
MozReview-Commit-ID: LsUdsFOaJlz
2016-07-27 12:05:00 +08:00
Gerald Squelart
f28531692d Bug 1271483 - p10. Front-end handling of prefs&telemetry - r=gijs
When an issue is reported, save the unplayable formats/key-systesm in a pref,
keyed by the detailed issue string id, and report the infobar-shown telemetry.
More telemetry when the "Show me how" button is clicked.
And final telemetry (and clearing the prefs) when the issue is solved.

MozReview-Commit-ID: 4PgaPMVfjsQ
2016-05-26 23:46:52 +10:00