1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-17 19:02:07 +00:00
serenity/Userland/Libraries/LibWeb
Luke Wilde 26f8a441f5 LibWeb: Add audio mime types to HTMLMediaElement.canPlayType
Now that we support audio, we can start correctly reporting we support
certain audio mime types!

Required by certain sites like Gartic Phone, which fails to load audio
because we didn't return a non-empty string for `audio/mpeg`:
```
"https://garticphone.com/sounds/turnundefined", Error: Load failed: 404
```

```js
(new Audio).canPlayType("audio/mpeg") && (this._extension = ".mp3"),
```
2023-06-17 06:26:56 -04:00
..
ARIA
Bindings
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto
CSS LibWeb: Handle calculated vertical-align 2023-06-17 06:33:52 +02:00
DOM LibWeb: Avoid copies while computing ARIA name/description 2023-06-15 08:09:16 +02:00
DOMParsing
Encoding LibWeb: Make 'optional BufferSource' IDL arguments actually optional 2023-05-30 12:50:13 +02:00
Fetch LibWeb: Handover the fetch response's internal body data upon completion 2023-05-29 17:12:46 +02:00
FileAPI LibWeb: Implement FileAPI::Blob::stream() 2023-06-14 06:27:04 +02:00
Geometry
HighResolutionTime Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
HTML LibWeb: Add audio mime types to HTMLMediaElement.canPlayType 2023-06-17 06:26:56 -04:00
Infra
IntersectionObserver
Layout LibWeb: Resolve % min-sizes against 0 while under min-content constraint 2023-06-16 14:39:03 +02:00
Loader LibWeb: Remove ImageLoader and ImageResource 2023-06-11 20:37:12 +02:00
MimeSniff
NavigationTiming
Page Ladybird+LibWeb+WebContent: Add context menu controls for muting audio 2023-06-16 19:34:42 +02:00
Painting LibWeb: Draw a volume scrub bar on media elements to control volume 2023-06-16 13:50:15 +02:00
PerformanceTimeline
PermissionsPolicy
Platform LibWeb: Expose volume controls through the platform audio plugin 2023-06-16 13:50:15 +02:00
ReferrerPolicy
RequestIdleCallback
ResizeObserver
Scripts
SecureContexts LibWeb: Use IPv6Address::loopback() instead of parsing "::1" 2023-06-09 19:38:14 +01:00
Selection
SRI
Streams LibWeb: Implement Web::Streams::readable_stream_enqueue AO 2023-06-14 06:27:04 +02:00
SVG LibWeb: Stop making ComputedValues::stroke_width() optional 2023-06-16 07:03:57 +02:00
Tests
UIEvents LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
URL
UserTiming
WebAssembly
WebAudio
WebDriver LibWeb/WebDriver: Support resolve with callback in execute_async_script 2023-05-30 18:55:47 +02:00
WebGL
WebIDL
WebSockets
XHR
XML LibWeb: Detect when an XML document belongs in the SVG namespace 2023-06-09 01:12:48 +02:00
CMakeLists.txt LibWeb: Use a separate class for shared image requests 2023-06-14 14:23:17 +02:00
Dump.cpp LibWeb: Add table-column-group to layout tree dump 2023-06-10 11:17:21 +02:00
Dump.h
FontCache.cpp
FontCache.h
Forward.h LibWeb: Use a separate class for shared image requests 2023-06-14 14:23:17 +02:00
idl_files.cmake LibWeb: Implement the AudioTrack and AudioTrackList interfaces 2023-06-13 06:14:01 +02:00
Namespace.cpp
Namespace.h
PixelUnits.h LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
TreeNode.h