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

11 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang d164608d66 Bug 1760580 - P2: Provide a reason when request is cancelled with NS_BINDING_ABORTED, r=necko-reviewers,media-playback-reviewers,valentin,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D156071
2022-09-08 09:11:19 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Sylvestre Ledru fde06f6d21 Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
Also add some missing namespace qualifications

Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')

Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila 964cca3198 Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE 2020-11-04 10:54:36 +02:00
Sylvestre Ledru 5f29324f60 Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
Also add some missing namespace qualifications

Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')

Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Chun-Min Chang d97fe95469 Bug 1642729 - P4: Load URL without user-specific data r=ckerschb
The URL specifying the track image should be loaded without any
user-specific data like cookie headers, or HTTP Auth credentials.

Differential Revision: https://phabricator.services.mozilla.com/D83695
2020-07-29 15:59:54 +00:00
Frederik Braun a7153982e8 Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
alwu 654853348d Bug 1647070 - part2 : address null image case. r=chunmin
The image container might be null, so we should handle this case properly as a fail case.

Differential Revision: https://phabricator.services.mozilla.com/D80745
2020-06-25 00:03:24 +00:00
Chun-Min Chang ce90d9b622 Bug 1623971 - P19: Resolve fetching upon image is ready r=alwu
The FetchImageHelp doesn't need to decode the fetched image before
handing the image to its caller since the decoded raw data won't be used
in the caller. The ImagePromise can be resolved upon image is fetched
(ready) instead.

Differential Revision: https://phabricator.services.mozilla.com/D79736
2020-06-19 00:21:31 +00:00
Chun-Min Chang ab055d290e Bug 1623971 - P17: Set media-session's MediaImage to the SMTC interface r=alwu,thomasmo
This patch does the following things:
1. Use `FetchImageHelper` to fetch the MediaImage defined in
   media-session
2. Upon the above image is fetched, set it to the SMTC's thumbnail

Differential Revision: https://phabricator.services.mozilla.com/D77893
2020-06-19 00:21:21 +00:00
alwu 6b3fcc326b Bug 1599938 - Implement a helper class to fetch image data from URL r=ckerschb,kershaw
We implement a helper class `FetchImageHelper` that is used to fetch image via an image URL directly. It would return a promise which would resolve with a surface image, them cusumer can acquire the image data from that surface.

We will use this class to fetch the artwork image which websites set from MediaSession API and display the image on the system virtual control interface.

Differential Revision: https://phabricator.services.mozilla.com/D69288
2020-04-20 17:43:57 +00:00