Fake Media/Fonts/Images: img, video, audio, FontFace, CSS stylesheets, permissions #9
Labels
No labels
bug
docs
feature
housekeeping
html-spec
performance
react-compat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
glow-all/true-headless-browser#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Implement fake media/image/font resources. All HTML elements exist as DOM nodes, but no content is loaded, decoded, or rendered. All onload/onerror events fire to keep pages moving.
What to Build
src/fakes/media.ts
Images
Video / Audio
CSS Stylesheets
src/fakes/fonts.ts
src/fakes/permissions.ts
Resource Behavior (NOOP)
All external resources that a page would load:
Tests
Unit Tests
Fake Media/Fonts/Images: img, video, audio, FontFace, CSS stylesheets, permissions. ✅ Implementiert in src/fakes/media.ts. Tests: media.test.ts.