Commit Graph

2693 Commits

Author SHA1 Message Date
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Serge Gautherie
c294f41ab4 Bug 494769 - [MacOSX] mochitest-plain: test_wav_trailing.html (and others) intermittently triggers "malloc: *** error: can't allocate region"; (Fv1) reorder file list 2009-06-09 16:07:22 +02:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Matthew Gregan
2cc8fbe2b4 Bug 494116 - Use system audio timer for a/v sync on Windows. r=chris.double, sr=roc 2009-06-03 10:32:11 +12:00
Chris Pearce
cbd6ab1481 Bug 495507 audio sync - send blank audio when the audio stream has closed, not when there's no audio to present. r+ doublec, sr+roc 2009-06-02 15:05:46 +12:00
Robert O'Callahan
d1aef5f21c Bug 495635. Don't register overlay content in the ID-map etc if it hasn't actually ended up in the document. r+sr=bzbarsky
--HG--
extra : rebase_source : 983d21b9331fac8057bd56606f91cbe20e3a62fa
2009-06-02 10:50:22 +12:00
Robert O'Callahan
85828511ef Bug 495161. Buffer enough data in the Wave decoder that we never immediately leave BUFFERING after entering it. r=mgregan 2009-06-02 09:55:58 +12:00
Robert O'Callahan
353ec097d1 Bug 495319. Fire 'timeupdate' with the correct final time when we finish playing. r=doublec 2009-06-02 09:54:16 +12:00
Zack Weinberg
0412a0974c Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Robert O'Callahan
496609122c Backing out bug 487519 due to reftest failures 2009-06-01 00:09:17 +12:00
Robert O'Callahan
7a349ea412 Fixing bustage (bug 495300) 2009-05-31 22:28:57 +12:00
Chris Double
52d8631083 Bug 487519. Work around Ogg bugs by decoding two frames before we seek to find the duration. r=roc 2009-05-31 22:06:30 +12:00
Matthew Gregan
1c90a953a3 Bug 475110. Stop advertising browser support for loading Wave formats as documents. r=roc 2009-05-31 22:05:17 +12:00
Robert O'Callahan
42b669ed47 Bug 495300. Trigger 'ended' behaviour when seeking to the end of a media resource. r=doublec 2009-05-31 22:02:17 +12:00
Jesse Ruderman
70a165eab3 Add crashtest that used to trigger the assertion in bug 494810 2009-05-29 16:44:57 -07:00
Chris Pearce
fb1b735b72 Bug 495156 - Video playback gets stuck forever when pressing End key. r=doublec sr=roc a=blocking1.9.1+ 2009-05-29 00:15:16 -04:00
Chris Pearce
c9cca633a1 Bug 495336 - liboggz oggz_get_next_page() and oggz_read_get_next_page() wrong r=doublec sr=roc a=blocking1.9.1+ 2009-05-29 00:13:23 -04:00
Chris Double
2b08d28a2e Bug 495129. Propagate errors better. r+sr=roc 2009-05-28 16:39:39 +12:00
Robert O'Callahan
6134d7088d Bug 495145. Don't change the state away from ENDED if we try to pause in the ENDED state. r=doublec 2009-05-28 15:49:22 +12:00
Jesse Ruderman
dddd44794e Add crashtests 2009-05-26 11:53:12 -07:00
Robert O'Callahan
4f81b0342f Since test_load.html waits for load events, make sure it autobuffers and set the cache size to something large so loads aren't suspended. No bug, test-only change. 2009-05-25 12:51:01 +12:00
Chris Double
1ae4c2a0d3 Bug 494035. Never enable tracks we don't use. r=roc
--HG--
extra : rebase_source : ceffc78e6473273893fd1ad000799b32023f5c76
2009-05-25 12:45:47 +12:00
Robert O'Callahan
3dc99d8a9f Bug 494336. In DECODER_STATE_DECODING state, if mBufferExhaused is set then stop waiting for the next frame to become available. r=doublec
--HG--
extra : rebase_source : 8b9a35e65cd0ddde311a493b4762fbd58fa2abf6
2009-05-25 12:44:45 +12:00
Robert O'Callahan
3d39f15314 Bug 475110. Don't try to handle Wave files loaded via links or <object> using our Wave codec, since there are Wave formats we don't support that are actually used in the wild. r=doublec,a=beltzner
--HG--
extra : rebase_source : 562c7c7c17157082483e456f33aa8b211fd07aeb
2009-05-25 12:42:19 +12:00
Olli Pettay
88da1e6840 Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r=neil,kairo,mossop
--HG--
extra : rebase_source : 165c6eac689cbffc2007519d5202711017f49edd
2009-05-22 12:04:02 +03:00
Zack Weinberg
6a08d287a7 Bug 494225: correct check for property-not-set in nsHTMLDocument::Get*LinkColor, r+sr=bzbarsky 2009-05-21 15:42:17 -04:00
Olli Pettay
f8ac6b134b backout Bug 492037 2009-05-21 22:35:49 +03:00
Chris Pearce
4a9eea3922 Bug 493958. When decoding ahead to the desired seek position, save up the audio data as we go, because some of it might be needed for the destination frame and later frames. Also, if we reach the end of the frames without finding our destination position, keep the last frame and display it. r=doublec,roc 2009-05-21 17:55:12 +12:00
Jonas Sicking
f3ab6311bc Add prefs to disable CORS, as well as fix compliance issue in Access-Control-Request-Headers header. r/sr/a=jst 2009-05-20 16:07:18 -07:00
Chris Double
e3232bfecd Fix another FrameData leak (Bug 463358). Fixes intermittent orange. 2009-05-21 03:17:21 +12:00
enndeakin@gmail.com
3dcf82f2cc Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r+sr=smaug
--HG--
extra : rebase_source : 1fe10dd0ee2b7af313f80bdeb8241cd0d7757141
2009-05-20 13:57:01 +03:00
Robert O'Callahan
dfae15cade Fix FrameData leak (bug 463358) 2009-05-20 21:11:48 +12:00
Olli Pettay
1d0c8384b8 Bug 491063 - Mixed mode warning dialog (and other dialog windows) is sometimes not rendered, r+sr=bz 2009-05-20 11:00:04 +03:00
Robert O'Callahan
cda3109ffc Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
--HG--
extra : rebase_source : 4af72350a51255e7e8748c726a17f9e88e1a540b
2009-05-19 11:08:08 +12:00
Chris Pearce
b515f90d78 Bug 463358. Seek to any desired frame without visual artifacts by seeking to the previous keyframe and then decoding forward to the desired frame. r=doublec,roc
--HG--
extra : rebase_source : 602a8f9feb74a1ef88e86424028d8da7bcf57b58
2009-05-20 15:50:44 +12:00
Boris Zbarsky
bc7e96f36d Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Boris Zbarsky
0460675e76 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Zack Weinberg
d1ad418dbf Bug 488649: Unify document.body.{bgColor,text,link,vLink,aLink} with the <body> attributes of the same names. Do not default to prescontext/CSS for these. Remove the unsafe function NS_RGBToHex(). 2009-05-19 22:11:01 -04:00
Jim Mathies
586ad3cbd2 Bug 485101 - Implement panning feedback for touch enabled displays with win7. r+sr=smaug r=blassey. 2009-05-19 21:05:59 -05:00
Jonas Sicking
d378472c28 Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap 2009-05-19 08:54:42 -07:00
Robert O'Callahan
efef7a6bc2 Backing out bug 493109 on suspicion of causing crashes in linux tests 2009-05-20 00:24:37 +12:00
Robert O'Callahan
6256de7f9c Backed out changeset 4b86cbae2846 2009-05-20 00:23:51 +12:00
Robert O'Callahan
f843370660 Bug 486922. Clamp out-of-bounds seek requests. r=doublec
--HG--
extra : rebase_source : deeabc531d4fa6ada6e35740aed44bcc3844f233
2009-05-19 21:55:04 +12:00
Robert O'Callahan
b4d2d7054a Fix test_media_selection.html to handle IDLE network states, since the cache size limit can suspend its loads
--HG--
extra : rebase_source : a90486545fbb993c48dba3ee0025418b7bdc915f
2009-05-19 21:53:38 +12:00
Robert O'Callahan
d848e30d78 Bug 493109. Shut down step-decode thread from the main decoder thread, instead of synchronously on the main thread at bad times. r=doublec
--HG--
extra : rebase_source : 3a1a053308fc209181f7f23b234ba2f396de2a6e
2009-05-19 11:08:08 +12:00
Robert O'Callahan
5b5d6baa5f Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
--HG--
extra : rebase_source : 0a43b053b52a9b1e300f7f516517722c44040992
2009-05-19 11:07:19 +12:00
Chris Double
127a265725 Bug 493673. If a video frame has an audio track but no audio data at all, assume the audio has ended and stuff silence into the audio stream. We need this so that video will keep playing synced to the audio clock. r=roc
--HG--
extra : rebase_source : a1684fbd769ae48602335d312a33aa87ca17b8aa
2009-05-19 17:39:40 +12:00
Robert O'Callahan
3d87360eee Bug 493431. When a frame has no video data, don't try to use the video time. r=doublec
--HG--
extra : rebase_source : 985b41ec426c1cc793634c9f40f6924fbd33ed9b
2009-05-19 17:30:36 +12:00
Chris Pearce
a0da0c82f6 Bug 487612. Let the start time of all media be 0 even if the internal timestamps start with something nonzero. r=doublec,roc
--HG--
extra : rebase_source : ee419a06388a5230cddd79c78ddb86ed99fb6400
2009-05-19 17:25:51 +12:00
Matthew Gregan
f201fe7c68 Bug 454971. Support 'new Audio()' constructor. r+sr=roc
--HG--
extra : rebase_source : 1738d65cd16a79d69408055a8d9feb5ab5d97923
2009-05-19 17:18:41 +12:00