mirror of
https://github.com/zoriya/v10.git
synced 2026-08-11 08:29:47 +00:00
refactor(packages)!: replace DelegateMixin & ProxyMixin with MediaHost base classes (#1292)
This commit is contained in:
@@ -1194,7 +1194,7 @@ describe('Media element pipeline (end-to-end)', () => {
|
||||
// ─────────────────────────────────────────────────────────────────
|
||||
//
|
||||
// A media element whose delegate extends another delegate (mirrors
|
||||
// MuxMediaDelegate extending HlsMediaDelegate). The builder must
|
||||
// MuxMediaBase extending HlsMediaBase). The builder must
|
||||
// walk the extends chain to include inherited properties. Child
|
||||
// properties override parent definitions.
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Mock complex delegate — mirrors HlsMediaDelegate.
|
||||
* Mock complex delegate — mirrors HlsMediaBase.
|
||||
*
|
||||
* Exercises: multiple getter/setter pairs with JSDoc descriptions,
|
||||
* readonly properties, boolean type, overlap with native Attributes
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Mock extending delegate — mirrors MuxMediaDelegate extending HlsMediaDelegate.
|
||||
* Mock extending delegate — mirrors MuxMediaBase extending HlsMediaBase.
|
||||
*
|
||||
* Exercises: delegate inheritance. The builder must walk the extends chain
|
||||
* to extract properties from both this class and its parent (ComplexDelegate).
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Mock simple delegate — mirrors DashMediaDelegate.
|
||||
* Mock simple delegate — mirrors DashMediaBase.
|
||||
*
|
||||
* Exercises: minimal delegate with just src (read-write) and engine (readonly).
|
||||
* No JSDoc on properties — tests that missing descriptions produce undefined.
|
||||
|
||||
Reference in New Issue
Block a user