Commit Graph

112 Commits

Author SHA1 Message Date
Robert O'Callahan
876f275609 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Chris Pearce
f816163290 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Robert O'Callahan
66b0586b81 test_progress1.html still fails, sigh 2009-01-23 08:32:08 +13:00
Ted Mielczarek
961ec917de bug 474754 - sporadic test failures in test_wav_trunc.html. disable this test for now 2009-01-22 10:08:36 -05:00
Robert O'Callahan
6041ff18b9 Reenable test_progress1 to see if it passes now 2009-01-22 22:36:03 +13:00
Robert O'Callahan
4b882b6a59 Bug 474393. Fix bytes-downloaded count. r=doublec 2009-01-22 22:35:27 +13:00
Daniel Holbert
2fc6f19341 Backed out changeset e6566d187edd (bug 466410) on suspicion of causing linux reftest failures in 'ogg-video/basic-1.html' and 'ogg-video/zoomed-1.html' 2009-01-21 22:36:22 -08:00
Robert O'Callahan
1ff5269fcc Bug 466410. Ensure that videoWidth and videoHeight are valid when metadataloaded fires on Ogg videos. r=doublec
--HG--
extra : rebase_source : 9e2a9c286a97ad9ba376a68d53a901af6b8ed312
2009-01-22 13:52:06 +13:00
Chris Double
c8da86bd29 Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc 2009-01-22 12:54:40 +13:00
Robert O'Callahan
8a01e6f96e Add missing tests for bug 463830 2009-01-17 22:26:55 +13:00
Chris Pearce
dd26dee475 Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Chris Pearce
dab0d6b3f3 Bug 469446. Necko should be able to cache byte-range requests when the start offset is zero. Then we can make our initial video load a byte-range request to detect whether the server supports byte-range requests, and the video data can still be cached. r=doublec,sr=roc,r=bzbarsky
--HG--
extra : rebase_source : acec408274be2b770b5f1936b4f915ef1bafa60b
2009-01-16 21:22:08 +13:00
Robert O'Callahan
b77d06a80b Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Robert O'Callahan
82f8d8d1cb Disable randomly-failing progress-event test, properly 2009-01-16 15:24:52 +13:00
Robert O'Callahan
134102b6da Disable randomly-failing progress-event test 2009-01-16 15:15:21 +13:00
Chris Double
525b4dcecb Bug 464376 - Dispatch progress events while media resource is downloading - r+sr=roc 2009-01-16 09:26:51 +13:00
Matthew Gregan
a854c4ee45 Bug 471590. Update wave-decoder Pause to handle possible asynchyronous loading. r=doublec,sr=roc
--HG--
extra : rebase_source : 4146cd1a399875992e44769d752effc4f312841f
2009-01-08 21:44:38 +13:00
Chris Double
cdee3a861f Backed out changeset f155c8f39715 2009-01-07 16:33:42 +13:00
Chris Double
508543fa18 Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc 2009-01-07 14:48:52 +13:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08:00
Chris Pearce
d79cdb7eae Bug 472204. Define event handler scripts before the video/audio elements that reference them, to guard against situations where the video element loads before we've parsed the event handlers. r=roc 2009-01-06 14:18:40 +13:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Robert O'Callahan
374cd3a20b Bug 449142. Scale video so that it fits in the content-box of the element and has the same aspect ratio as the video source. Also adds some Ogg video reftests. r=doublec,sr=dbaron 2008-12-29 21:20:27 +13:00
Robert O'Callahan
d7e2ae3261 Backed out changeset 1a4e7f55120d 2008-12-18 23:17:30 +13:00
Chris Double
fd9291b7fe Bug 464376. Fire progress events reliably and especially be sure to fire a final progress event when the resource finishes loading. r+sr=roc
--HG--
extra : rebase_source : 387866a3c9ad9f05e35e9876ebd1db1224237798
2008-12-18 20:56:32 +13:00
Robert O'Callahan
f4013df6e7 Backed out changeset 70b57b58afe2 2008-12-18 16:55:38 +13:00
Chris Double
9e493d5b6d Bug 464376. Fire progress events more consistently, especially being sure to fire a progress event at the end of a load. r+sr=roc 2008-12-18 14:48:44 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Matthew Gregan
c88fcaacd3 Bug 469595 - Changes to tests only: test_wav_seek* intermittent test failure - r=doublec 2008-12-16 17:58:33 +13:00
Matthew Gregan
fd9f596d87 Bug 464158 - nsHTMLMediaElement::PickMediaElement does not do media type switching - r=doublec sr=roc 2008-12-16 16:32:03 +13:00
Matthew Gregan
da8f3b4280 Bug 469628 - Playing 8-bit Wave files can block writing to the audio backend - r=doublec sr=roc 2008-12-16 12:37:42 +13:00
Matthew Gregan
32d671a197 Bug 466405 - Ogg and Wave specific mochitests should be hidden by appropriate build-time conditional - r=ted.mielczarek 2008-12-16 12:31:51 +13:00
Chris Double
27cf15deb8 Bug 463627 - Audio playback stops after some seconds on Linux - r=kinetik sr=roc 2008-12-16 12:06:22 +13:00
Chris Pearce
bae9b8c1a5 Bug462570 - Change Network state and Ready state names in HTMLMediaElement to match spec - r=doublec sr=roc 2008-12-15 16:38:16 +13:00
Matthew Gregan
d69380b6d1 Bug 469598 - nsHTMLMediaElement::MetadataLoaded calls nsMediaDecoder::Seek(0) - r=doublec sr=roc 2008-12-15 15:12:52 +13:00
Matthew Gregan
35292415af Bug 465498 - HTML5 <audio>: setting 'currentTime' throws exception sometimes; r+sr=roc 2008-12-14 21:46:28 +01:00
Matthew Gregan
1d1cb9373a Bug 468190 - ended reports true when seeking after playback ended; r=chris.double sr=roc 2008-12-14 19:02:54 +01:00
Matthew Gregan
ac28ff340a Bug 469255 - Seeking while seek in progress not handled correctly by Wave decoder; r+sr=roc 2008-12-14 15:54:45 +01:00
Chris Pearce
af426f61f6 Bug 469016 - Seeks after playback ended but before playback ended event are lost; r=chris.double sr=roc 2008-12-14 04:15:18 +01:00
Matthew Gregan
588b67e59c Bug 468992. Use stored mURI to reopen a WAVE stream after we've finished playing it. r+sr=roc 2008-12-12 21:43:36 +13:00
Chris Pearce
7e52bb9825 Bug 468721. Restructure Ogg decoder shutdown, making Stop synchronous on the main thread and queuing an event to destroy the decoder and associated state. r=doublec,sr=roc 2008-12-12 21:41:49 +13:00
Robert O'Callahan
8786ac7740 Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky 2008-12-12 21:17:57 +13:00
Chris Pearce
15797f2c82 Bug 466045 - Intermittent failure of video seek mochitests; r=chris.double sr=roc 2008-12-10 15:30:41 +01:00
Chris Pearce
47107e9da3 Bug 467972 - Load() invoked to do seek in onended results in sending onloadedmetadata; r=chris.double sr=roc 2008-12-10 15:23:23 +01:00
Chris Pearce
e818da7cff Bug 466557. Don't let the Ogg decoder get stuck in states when unexpected transitions happen. r=doublec,sr=roc 2008-12-09 13:49:24 +13:00
Chris Double
8b5ba34291 Bug 465832. Make sure we don't fire any DOM events from a decoder that's shutting down. r=kinetik,sr=roc 2008-12-09 13:43:56 +13:00
Chris Double
cb0b0c4a77 Backed out changeset 34f6eb1300f1 due to test failure 2008-12-06 19:53:23 +13:00
Chris Double
b094bb85bd bug 464376 - Fire media progress events as needed - r+sr=roc 2008-12-06 18:25:16 +13:00
Serge Gautherie
c1a90c994b Backed out changeset: cb9da8789fce 2008-12-05 18:39:22 +01:00