Commit Graph

14482 Commits

Author SHA1 Message Date
Henri Sivonen
4108e0ae0f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
b963bfd95a Avoid double-free in HTML5 parser when attributes are moved around in the isindex parser macro 2009-06-16 12:09:54 +03:00
Henri Sivonen
4533ccdc75 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Neil Deakin
d430acae31 Bug 497562, accesskeys on radio don't focus properly, r+sr=neil 2009-06-15 11:08:41 -04:00
Henri Sivonen
ee29ae33ce Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
40382651ff Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
16e2287315 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Henri Sivonen
5802f70246 Make HTML5 createContextualFragment support text nodes and documents as context 2009-06-12 17:31:55 +03:00
Henri Sivonen
566e463f3c Avoid using HTML5 contextual fragment code path when context is not nsIContent 2009-06-12 16:42:35 +03:00
Henri Sivonen
e7328c6532 Buf 497580 - Avoid UNICODE as an identifier in the HTML5 parser due to Windows CE compiler 2009-06-12 09:28:10 +03:00
Henri Sivonen
2d33f6a092 Fixing bad automatic merge 2009-06-11 17:11:05 +03:00
Henri Sivonen
5cad7e2a33 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
15df29db77 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
770b7d9955 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
79c88c457e Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03:00
Henri Sivonen
82e13c145b 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
Henri Sivonen
f93baf7cb6 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
2a38c0ddfc Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
34a9141081 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
194b899472 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
5f070d1f64 Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
604f0b133c Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
5306ae71d6 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
612191c82d Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
48ef76f77c Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03:00
Robert O'Callahan
244c6d80b4 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
197958c8d1 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
4c5f1dc42a 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
8a7e78d507 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
861ae41fba 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
b51c4c3b13 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
ca454dd82e backout Bug 492037 2009-05-21 22:35:49 +03:00
Chris Pearce
07fd01c8f8 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
124a6f937e 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
2ad9f5251f Fix another FrameData leak (Bug 463358). Fixes intermittent orange. 2009-05-21 03:17:21 +12:00
enndeakin@gmail.com
668663815c 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
fa8b7ff6dc Fix FrameData leak (bug 463358) 2009-05-20 21:11:48 +12:00
Olli Pettay
46c509ef15 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
Henri Sivonen
e8d8ea388a HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +03:00
Robert O'Callahan
cb30f65532 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
5e17d6a960 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
6882e705e1 Fixing bug 488649 build bustage 2009-05-19 22:40:07 -04:00
Boris Zbarsky
bda41245f7 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
c8a52af86a 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
b7f1e1335d 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
7ac1da9ded 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
038ef03387 Backing out bug 493109 on suspicion of causing crashes in linux tests 2009-05-20 00:24:37 +12:00
Robert O'Callahan
7534c33770 Backed out changeset 4b86cbae2846 2009-05-20 00:23:51 +12:00
Robert O'Callahan
d8d488ca5a 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
075fbf3ff1 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