Commit Graph

810 Commits

Author SHA1 Message Date
Pale Moon bc1605ab12 Split some release-specific prefs back out to their individual files. 2018-07-25 01:21:16 +08:00
Pale Moon d6d35a1027 Remove some irrelevant shared prefs. 2018-07-25 01:21:14 +08:00
Pale Moon 498caccd4c Fix preferences. 2018-07-25 01:21:13 +08:00
Pale Moon 50dc5b2470 Make "get more tools" URL a pref. 2018-07-25 01:21:11 +08:00
Pale Moon 4ca478deaf Fix incorrect variable re-use (nested scope). 2018-07-25 01:21:09 +08:00
Pale Moon b86288c9f7 Clamp the resolution of performance.now() calls to 10 microseconds, because otherwise we allow various timing attacks that depend on high accuracy timers. 2018-07-25 01:21:07 +08:00
NTD 8d98d497b3 Enable {Array, %TypedArray%}.prototype.includes 2018-07-25 01:21:05 +08:00
Pale Moon 71b0c81d72 Make the (Offline) application cache work properly with http cache v2.
- Hand out CacheEntry to read-only callback demanding re-validation.
2018-07-25 01:21:03 +08:00
Pale Moon 7be6f3a9d6 Remove pref confusion around cache v2
- Renames browser.cache.use_new_backend to browser.cache.backend
- Sets browser.cache.backend to 1 (use cache v2)
- Removes browser.cache.use_new_backend_temp
2018-07-25 01:21:01 +08:00
janekptacijarabaci 92ce5108d3 DevTools - Fix settings (unused settings): DevToolbar, DevToolsConnect - style clean up 2018-07-25 01:20:59 +08:00
janekptacijarabaci 2be275924d DevTools - Fix settings (unused settings): DevToolbar, DevToolsConnect - fix typo 2018-07-25 01:20:57 +08:00
janekptacijarabaci fa8202fd9d DevTools - Fix settings (unused settings): DevToolbar, ErrorConsole, DevToolsConnect 2018-07-25 01:20:55 +08:00
Lootyhoof ffd8c7efff OS X: Use correct icon mappings for download status icon 2018-07-25 01:20:53 +08:00
Lootyhoof a977bbdfba OS X: Improve tab appearance 2018-07-25 01:20:51 +08:00
Lootyhoof a43dc7dfff OS X: Make bookmarks toolbar/places more OS-native 2018-07-25 01:20:21 +08:00
Pale Moon e91bd88b35 Add UI front-end for MSE preferences. 2018-07-25 01:20:18 +08:00
Pale Moon 98024e9791 Revert "Enable MSE+WebM VP8/VP9 out-of-the-box."
This causes looping audio issues on the one website where it matters most (YouTube).

This reverts commit 367c6723035f1dd506c04ebd1dcf73d9e392250e.
2018-07-25 01:19:51 +08:00
Pale Moon 36d22eeb83 Enable MSE+WebM VP8/VP9 out-of-the-box. 2018-07-25 01:19:44 +08:00
trav90 6501a55548 Make IntervalSet destructor virtual 2018-07-25 01:19:36 +08:00
trav90 7342a619c0 Add Interval and IntervalSet objects
Along with a TimeIntervals class that reimplements all of dom::TimeRanges features.
2018-07-25 01:19:34 +08:00
trav90 78bd0fb5fe Fix Windows build bustage after commit ecd4617 (part 2) 2018-07-25 01:19:32 +08:00
trav90 d81983716b Fix Windows build bustage after commit ecd4617 2018-07-25 01:19:31 +08:00
Pale Moon 129ed2f8dc Unconditionally enable unicode-range CSS support (also in release builds). 2018-07-25 01:19:29 +08:00
trav90 5faffc0065 Parse all trun boxes in MP4 fragments, not just the first one 2018-07-25 01:19:27 +08:00
trav90 e0fec017f3 Remove invalid assertion in MoofParser 2018-07-25 01:19:25 +08:00
trav90 8f2ed1c967 Crash fix: Use fallible array to store MP4 samples index 2018-07-25 01:19:23 +08:00
trav90 850786d1e4 Replace instance of stagefright::Vector with nsTArray 2018-07-25 01:19:21 +08:00
trav90 a6f5fdc72f Fix another typo 2018-07-25 01:19:19 +08:00
trav90 0a855126b2 Add support for the mp4v-es MPEG-4 codec 2018-07-25 01:19:17 +08:00
trav90 c4a761cb2f Fix typo 2018-07-25 01:19:16 +08:00
trav90 de98fbe9c5 Make stagefright work on big-endian systems 2018-07-25 01:19:14 +08:00
trav90 66e89e2014 Use QTv2 header when available 2018-07-25 01:19:12 +08:00
trav90 bd103574cf Show audio as enabled when an audio track is present in stream 2018-07-25 01:19:11 +08:00
trav90 d6335febb4 Rename LargeDataBuffer and DataBuffer objects
This prevents conflicts and crashes with WebRTC libs that use those names already. Some linkers appear to get it wrong and calls the destructor of the wrong class.
2018-07-25 01:19:09 +08:00
trav90 1bd24949dc Properly handle box size marked as 0
This indicates that the box goes to the end of the file.
2018-07-25 01:19:07 +08:00
trav90 733e7ce027 Add 'override' keyword to GetAsAudioInfo(), GetAsVideoInfo(), & Clone() on TrackInfo subclasses 2018-07-25 01:19:05 +08:00
trav90 834dad63d4 Add TrackInfo Clone() and copy constructors 2018-07-25 01:19:04 +08:00
trav90 be6d732fc5 Remove static_cast on TrackInfo objects 2018-07-25 01:19:02 +08:00
trav90 594cf3f51b Remove unused header 2018-07-25 01:19:00 +08:00
trav90 c39022c3c5 Use new MoofParser::HasMetadata in MP4Metadata
This allows MP4Reader::ReadMetadata() to not be unecessarily blocking on partial init segment.
2018-07-25 01:18:58 +08:00
trav90 610a9e101b Add MoofParser::HasMetadata method
Allows to check if we have a full MP4 metadata's atom available in our stream.
2018-07-25 01:18:56 +08:00
trav90 1c861007ca Add ResourceStream class
A Stream abstract over a MediaResource.
2018-07-25 01:18:54 +08:00
trav90 a2daa59046 Add MP4Metadata class
This allows us to abstract the calls to libstagefright and allows future replacement with our own code.
2018-07-25 01:18:53 +08:00
trav90 6085c4ff0c Create virtual getters
Will avoid the need for static_cast to retrieve a particular content from the base class.
2018-07-25 01:18:51 +08:00
trav90 c301ca3b98 Add TrackInfo virtual destructor so TrackInfo objects can be allocated on the stack 2018-07-25 01:18:49 +08:00
trav90 52d5912e97 Remove MP4 Index's libstagefright dependency 2018-07-25 01:18:47 +08:00
trav90 cf43ead582 Remove mp4_demuxer::TrackType 2018-07-25 01:18:45 +08:00
trav90 fdd40e24ec Fix build bustage in GStreamer 2018-07-25 01:18:43 +08:00
trav90 780043741d Simplify retrieval of HTMLVideoElement dimensions 2018-07-25 01:18:41 +08:00
trav90 8d99c39267 Remove redundant mHasAudio/mHasVideo member 2018-07-25 01:18:39 +08:00