aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediasession.rs
Commit message (Collapse)AuthorAgeFilesLines
* Propagate `CanGc` from `Document::new()` (#33386)Andriy Sultanov2024-09-091-3/+4
| | | | | | | | | | | | | * Add canGc as a parameter to autogenerated trait methods Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com> * Propagate CanGc from Document::new() Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com> --------- Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com>
* clippy: Fix let_and_return warnings (#31964)Oluwatobi Sofela2024-04-011-3/+2
|
* clippy: Fix another batch of clippy warnings in `components/scripts` (#31912)Rosemary Ajayi2024-03-281-1/+1
| | | | | | | * boolean can be simplified * boolean can be simplified * boolean can be simplified
* fix: omitted the `let` bindings (#31908)Azhar Ismagulova2024-03-271-2/+1
|
* clippy: Fix dereferenced warnings (#31770)Oluwatobi Sofela2024-03-201-1/+1
|
* rustdoc: Fix many rustdoc errors (#31147)Martin Robinson2024-01-221-9/+9
| | | | This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
* Replace script_plugins with a clippy like rustc driver (named crown) (#30508)Samson2023-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove script_plugins * Use crown instead of script_plugins * crown_is_not_used * Use crown in command base * bootstrap crown * tidy happy * disable sccache * Bring crown in tree * Install crown from tree * fix windows ci * fix warning * fix mac libscript_plugins.dylib is not available anymore * Update components/script/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Update for nightly-2023-03-18 Mostly just based off https://github.com/servo/servo/pull/30630 * Always install crown it's slow only when there is new version * Run crown test with `mach test-unit` * Small fixups; better trace_in_no_trace tests * Better doc * crown in config.toml * Fix tidy for real * no sccache on rustc_wrapper * document rustc overrides * fixup of compiletest * Make a few minor comment adjustments * Fix a typo in python/servo/platform/base.py Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> * Proper test types * Ignore tidy on crown/tests --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-15/+14
| | | | | * strict imports formatting * Reformat all imports
* No tracing of nop traceable fields (#29926)Samson2023-08-041-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `no_trace` option to JSTraceable derive * NoTrace wrapper * Port some types to no_trace schematics * Fixing my unsafe mistakes (not tracing traceables) * Add docs & safety guards for no_trace Safety guards (trait shenanigans) guarantees safety usage of `no_trace` * Port canvas_traits to no_trace * Port servo_media to no_trace * Port net_traits to no_trace * Port style to no_trace * Port webgpu to no_trace * Port script_traits to no_trace * Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace * unrooted_must_root lint in seperate file * Add trace_in_no_trace_lint as script_plugin * Composable types in must_not_have_traceable * Introduced HashMapTracedValues wrapper * `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>` * Port rest of servo's types to no_trace * Port html5ever, euclid, mime and http to no_trace * Port remaining externals to no_trace * Port webxr and Arc<Mutex<_>> * Fix spelling in notrace doc
* Enter a realm when handling mediasession commands.Josh Matthews2020-08-061-3/+3
|
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-6/+1
|
* Remove unnecessary Option.Josh Matthews2020-02-241-3/+1
|
* rename compartment to realmKunal Mohan2020-01-241-3/+3
|
* implement MediaSession.setPositionState methodShinichi Morimoto2019-12-031-0/+59
|
* Fix metadata updateFernando Jiménez Moreno2019-11-201-15/+40
|
* Update media session metadata according to media playerFernando Jiménez Moreno2019-11-201-4/+31
|
* Remove prev and next track action buttons for nowFernando Jiménez Moreno2019-11-201-1/+0
|
* Fix media session action handlingFernando Jiménez Moreno2019-11-201-17/+9
|
* Default media session actionsFernando Jiménez Moreno2019-11-201-2/+27
|
* Move active media session logic to constellationFernando Jiménez Moreno2019-11-201-9/+8
|
* Send MediaSessionAction from AndroidFernando Jiménez Moreno2019-11-201-0/+1
|
* Introduce embedder MediaSessionEvent and move active session to ServoFernando Jiménez Moreno2019-11-201-9/+4
|
* Register media instance with session and prepare communication with embedderFernando Jiménez Moreno2019-11-201-1/+18
|
* Handle media session action, no default handling yetFernando Jiménez Moreno2019-11-201-1/+8
|
* MediaSession: update action handler algorithmFernando Jiménez Moreno2019-11-201-2/+33
|
* Make MediaSession handle embedder requested actionFernando Jiménez Moreno2019-11-201-0/+5
|
* Use BrowsingContextId for MediaSession registrationFernando Jiménez Moreno2019-11-201-11/+9
|
* MediaSession registrationFernando Jiménez Moreno2019-11-201-7/+26
|
* Set MediaMetadata MediaSession ownerFernando Jiménez Moreno2019-11-201-4/+7
|
* MediaSession API DOM bindingsFernando Jiménez Moreno2019-11-201-0/+70