Commit Graph

3047 Commits

Author SHA1 Message Date
Henri Sivonen
9f40c21137 Clean up nsHtml5Parser destructor 2009-06-24 09:59:03 +03:00
Henri Sivonen
ed38c9a3c6 Make test_bug417255.html use <div> instead of <p> because HTML5 parser closes <p> earlier than the test needs 2009-06-24 09:56:37 +03:00
Henri Sivonen
c2f88d2327 Make app cache not crash HTML5 parser when it calls Terminate() in mid-flight. 2009-06-24 09:55:38 +03:00
Henri Sivonen
496b19a91d Merge trunk into HTML5 repo 2009-06-23 10:17:29 +03:00
Henri Sivonen
02dfbcf3ff Bug 497865 - Make serializer not reverse attributes when HTML5 parser used (patch by Mats Palmgren) 2009-06-22 12:16:37 +03:00
Henri Sivonen
43e0fcb133 Merge trunk into HTML5 repo 2009-06-22 10:05:55 +03:00
Henri Sivonen
fc7407d5c6 Fix bad merge between HTML5 repo and trunk 2009-06-21 16:23:03 +03:00
Henri Sivonen
0ffb6117a2 Make HTML5 parser enablement use AddBoolPrefVarCache 2009-06-21 16:14:38 +03:00
Henri Sivonen
5c2176286d Move static inline void on one line in nsHtml5ArrayCopy.h 2009-06-21 15:46:29 +03:00
Boris Zbarsky
3878fd4be6 Bug 497242. GetElementsByName should not find non-HTML elements. r+sr=sicking 2009-06-19 16:57:39 -04:00
Henri Sivonen
057b4f1b12 Zap tests for bug 448564 that the HTML5 parser obsoletes. 2009-06-18 18:01:51 +03:00
Henri Sivonen
0730ae2a8f Bug 497845 - Hook cycle collector into the HTML5 parser 2009-06-18 16:24:51 +03:00
Henri Sivonen
5472755269 Fix bad automatic trunk merge. 2009-06-17 10:51:23 +03:00
Henri Sivonen
420d38551f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Henri Sivonen
34f853a2de 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
d1ad385038 Fix GetChannel() in HTML5 parser to deal with null channels the properly 2009-06-16 09:58:13 +03:00
Neil Deakin
718c760715 Bug 497562, accesskeys on radio don't focus properly, r+sr=neil 2009-06-15 11:08:41 -04:00
Henri Sivonen
b045a5d8bf Make test_bug461555.html not crash HTML5 parser 2009-06-15 14:11:36 +03:00
Henri Sivonen
fa3e4b55a2 Disable HTML5 parser by default 2009-06-15 10:17:52 +03:00
Henri Sivonen
1313b37fa2 Initialize HTML5 TreeBuilder fields properly patch from Mats Palmgrem. r=hsivonen 2009-06-15 10:05:00 +03:00
Henri Sivonen
6f2dda34a3 Make HTML5 createContextualFragment support text nodes and documents as context 2009-06-12 17:31:55 +03:00
Henri Sivonen
2c937dc855 Avoid using HTML5 contextual fragment code path when context is not nsIContent 2009-06-12 16:42:35 +03:00
Henri Sivonen
3aede6927e 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
e436bd77a1 Fixing bad automatic merge 2009-06-11 17:11:05 +03:00
Henri Sivonen
bb1733dfd5 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
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
044238db06 Bug 381885 - Avoid underflow in unsigned computation order. patch by Mats Palmgren. r=hsivonen 2009-06-09 11:56:18 +03: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
Henri Sivonen
8887124861 Bug 483015 - Expose line numbers for <style> and <script> in the HTML5 parser 2009-06-08 16:29:54 +03:00
Henri Sivonen
d839728b28 Bug 483158 - Make the HTML5 tokenizer not write into the input buffer 2009-06-05 15:51:00 +03:00
Henri Sivonen
69949bfe89 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Dirk Schulze
af1d0235a1 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.

Relanding this now that 499161 has landed which should fix test failures.
2009-06-17 13:57:50 -04:00
Jonathan Watt
0c1ff4dba4 Bug 498275. Stop using nsIDOMSVGMatrix in nsSVGForeignObjectFrame + fixes. r=longsonr 2009-06-18 13:31:25 +02:00
Robert Longson
59091587f8 Bug 327756 - ASSERTION: can't find nsISVGValue interface on mMatrix. r=roc 2009-06-17 22:39:59 +01:00
Robert Longson
ca3f800907 Bug 496420 - ASSERTION: no presShell' changing currentScale in display:none iframe. r=jwatt 2009-06-17 22:35:49 +01:00
Robert Longson
41938ef925 Bug 393832 - svg circle with infinite radius causes hang. r=jwatt 2009-06-17 21:58:38 +01:00
Jeff Muizelaar
ea694cb6f0 Backout Bug 471281 changeset b116b49459f8 because of Mochitest failures on Mac OS X 2009-06-17 16:43:12 -04:00
Robert Longson
387a9578c5 Bug 495135 - nsSMILValue forward declared as a struct in one place. r=jwatt 2009-06-17 21:38:15 +01:00
Robert Longson
1973deec58 Bug 486936 - image-rendering style should apply to canvas element. r=vladimir 2009-06-17 21:31:18 +01:00
Dirk Schulze
50a8dd0633 Bug 471281. Reimplement arcTo() to match Canvas spec. r=jrmuizel
This is based on Philip Taylor's emulation written in JavasScript.
2009-06-17 13:57:50 -04:00
Olli Pettay
4f0aa79a1e backout Bug 486990
--HG--
extra : rebase_source : 5947dd5fcc29bfb333c53cc2f60a00895910e9bb
2009-06-17 16:22:37 +03:00
Olli Pettay
b4d60fb950 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
--HG--
extra : rebase_source : a425f116d1350ff1204f1b031754a262ec73f8b1
2009-06-17 13:26:21 +03:00
Olli Pettay
c1ef3d1afe Bug 496317 - Remove nsPopupBlockedEvent, r+sr=sicking
--HG--
extra : rebase_source : 354385de35d48a6f2c911c20175b1715c89c9196
2009-06-16 19:07:56 +03:00
L. David Baron
0d06184f97 Remove support for fallback background colors. (Bug 496721) r+sr=bzbarsky 2009-06-16 08:00:20 -07:00
Christian Biesinger
75d4cbb2e8 bug 498433 Add [ ] to the EscapeURI whitelist, so that IPv6 literals get
serialized correctly.
r+sr=bz
2009-06-16 15:15:57 +02:00
Olli Pettay
6ede3e22fa reuse etci pool, r+sr=sicking
--HG--
extra : rebase_source : 698eae6de79ab094c978cf06f938dd2240a31bc8
2009-06-16 12:15:46 +03:00
timeless@mozdev.org
b9104e9f88 Bug 494688 nsCanvasRenderingContext2D::CreateImageData warning: comparison between signed and unsigned
r+sr=vlad
2009-06-27 18:42:51 -07:00
timeless@mozdev.org
1b1c60d518 Bug 494687 txEXSLTFunctionCall::evaluate warning: comparison between signed and unsigned
r+sr=sicking
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
6a0ab1b900 Bug 494685 nsMathMLElement::MapMathMLAttributesInto comparison between signed and unsigned
r+sr=roc
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
14b4633569 Bug 494684 nsXBLStreamListener::~nsXBLStreamListener warning: comparison between signed and unsigned
r+sr=neil
2009-06-27 18:42:50 -07:00
timeless@mozdev.org
836e302da1 Bug 493716 gEventIdTable is unused
r=smaug sr=smaug
2009-06-27 18:42:50 -07:00
Vladimir Vukicevic
5e215020b8 fixup for msvc 2009-06-27 17:33:06 -07:00
Vladimir Vukicevic
d49b688ab5 b=500883; put canvas3d into core (disabled by default, configure flag to enable); r=me,npotb 2009-06-27 16:44:35 -07:00
Vladimir Vukicevic
4ffe8ab539 b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07:00
Henri Sivonen
f09b30c3b5 Bug 488818 - Mark malformed scripts as malformed in HTML5 tree builder. 2009-05-29 15:44:40 +03:00
Henri Sivonen
54e806273c Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Henri Sivonen
137e64c272 Make HTML5 tree builder match the scripting state. 2009-05-28 17:17:42 +03:00
Henri Sivonen
94393e75e1 Make document-initiated flushes no-ops in HTML5 parser 2009-05-26 12:00:37 +03:00
Henri Sivonen
7b8db88561 Merge trunk into HTML5 repo 2009-05-25 19:16:57 +03:00
Henri Sivonen
498d1488eb Inline read() method in HTML5 tokenizer 2009-05-25 11:59:22 +03: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
Henri Sivonen
15213180ab HTML5 (and other browsers) do not infer <select> on <optgroup> 2009-05-19 15:41:00 +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
Robert O'Callahan
bb3c7fc0f9 Bug 492420. Delay a little before playing a live stream to try to reduce the likelihood we'll have to buffer. r=doublec
--HG--
extra : rebase_source : 022aa4d89644b3cfef62f95b4349932594de734f
2009-05-19 17:14:20 +12:00
Robert O'Callahan
acdb5cc508 Bug 480058. Handle non-square Theora pixel-aspect-ratio property. r=doublec
--HG--
extra : rebase_source : 762e10566ae85d0f73d7080ccb090533d50bfe66
2009-05-19 11:07:19 +12:00
Robert O'Callahan
0855ba8432 Bug 493509. Don't fire 'suspend' when the resource is actually fully loaded. r=doublec
--HG--
extra : rebase_source : a7ae1b2f53c7eb4b8a0e270510028d155d79f319
2009-05-19 11:06:10 +12:00
Robert O'Callahan
f1b439157e Bug 487659. Make sure we never pass a playback rate of 0 to the media cache. r=doublec
--HG--
extra : rebase_source : af86613bb5283e777acf1ca01d67eaa734cb8a0f
2009-05-19 11:05:13 +12:00
Robert O'Callahan
0785b005eb Bug 493187. Call nsOggDecoder::UpdateReadyStateForData more often so we don't fail to notice state changes, and make it smarter about examining the frame queue. r=doublec
--HG--
extra : rebase_source : 9a45e7cf9dc048956971ecf83b0bcc9bb2e45491
2009-05-19 10:47:08 +12:00
Robert O'Callahan
a3f433b1b3 Bug 493443. Set readyState to HAVE_CURRENT_DATA whenever the Ogg frame queue is empty or we're buffering/seeking, instead of trying to hardcode it based on other events like PlaybackEnded. r=doublec
--HG--
extra : rebase_source : 0b2f938e5f19cbb21258248da9da09e2a525db81
2009-05-19 10:44:17 +12:00
Benjamin Smedberg
bb1c33c4ea Bug 488175 - flatten dist/include and provide mechanism to install certain headers in namespaced subdirectories (e.g. #include "mozilla/XPCOM.h") r=ted
--HG--
rename : xpcom/ds/nsTimeStamp.cpp => xpcom/ds/TimeStamp.cpp
rename : xpcom/ds/nsTimeStamp.h => xpcom/ds/TimeStamp.h
2009-05-18 14:15:05 -04:00
Olli Pettay
f9fa7407e7 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
Robert O'Callahan
ceaf55f434 Fix test_media_selection.html; its video resource needs to be autobuffer so it doesn't stop loading
--HG--
extra : rebase_source : 937602951c6a8c9831f6a73adc913457e913a7d6
2009-05-18 20:18:43 +12:00
Robert O'Callahan
2d8939e3ca Fix test_autobuffer2 to handle the case when a suspend happens when all the data is already loaded.
--HG--
extra : rebase_source : 7923d3fde3e4aef1723e424631f65a64d663f2a3
2009-05-18 16:37:10 +12:00
Robert O'Callahan
5c3106e300 Relax time constraint in test_buf482461 a bit.
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
9ae2cf2709 Bug 479863. AdFire 'suspend' event and do correct networkState transitions when downloads suspend and resume. Also avoid firing 'stalled' while the download is suspended. r=doublec
--HG--
extra : rebase_source : 0615871c062638d575a66e29b630040821a9f9cf
2009-05-18 14:03:37 +12:00
Robert O'Callahan
710d28a4e6 Bug 479863. Add ability to close and reopen suspended streams, and recover from server-side disconnect of suspended streams. r=doublec
--HG--
extra : rebase_source : 5ed7825cd919ad3f997f58dafb61c2d4249b60d4
2009-05-18 14:02:20 +12:00
Robert O'Callahan
a2a28c523b Bug 479863. Stop buffering media elements by default, implement 'autobuffer' attribute to control buffering. r=doublec
--HG--
extra : rebase_source : 5fa0b63da981fdfcf7b1555174b6d1122bf2ae97
2009-05-18 14:00:44 +12:00
Robert O'Callahan
80975dcc56 Fix seeking tests to avoid false assumptions 2009-05-18 12:25:05 +12:00
Robert O'Callahan
ee1a877ccf Fix test_seek5; it should not depend on reading currentTime for the first seek during the asynchronous 'seeking' event, since the second seek may well have already happened. 2009-05-18 12:15:32 +12:00
Chris Pearce
58241ba80b Bug 485471. nsHTMLMediaElement's mChannel should be updated when redirects happen. r=bzbarsky,sr=roc 2009-05-18 10:20:37 +12:00
Chris Pearce
ff942d65f4 Bug 469408. Make seeking in bufferred ranges fast by trying a 'bounded seek' in each buffered data range before falling back to a seek over the whole resource. r=doublec,sr=roc 2009-05-18 10:15:57 +12:00
Robert O'Callahan
9eb2887534 Bug 489008. Destroy anonymous content off a script-runner. r=bzbarsky 2009-05-18 10:08:08 +12:00
Robert O'Callahan
c2bc1f2907 Bug 476973. Don't get confused by repeated seeks in the Ogg decoder. r=doublec 2009-05-18 10:03:03 +12:00
Boris Zbarsky
7ffb5c2980 Fixing test
--HG--
rename : content/base/test/test_bug490760.xhtml => content/base/crashtests/490760-1.xhtml
2009-05-17 13:12:20 -04:00
Boris Zbarsky
87baef0972 Add the crashtest for bug 490760 2009-05-17 10:22:55 -04:00
Boris Zbarsky
0f6dae2977 Bug 489050. Make sure to not notify on our content once we've disconnected from the document. r=bent, sr=sicking 2009-05-17 10:22:55 -04:00
Boris Zbarsky
6f4f48e0e7 Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Olli Pettay
0d4aa15af4 Bug 496308 - Crash [@ nsDOMPopupBlockedEvent::GetRequestingWindow], r+sr=jonas 2009-06-15 13:27:54 +03:00
Olli Pettay
5f13578f13 Bug 493266 - Optimize setting currentTarget, r+sr=bz 2009-06-15 13:21:06 +03:00
Olli Pettay
2fac929f6b Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay
122deedb9f Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03:00
Olli Pettay
42ec618ee6 Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay
0909c69d98 Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
Phil Ringnalda
dae845ed21 Bug 495025 - content/xul/content builds its tests unconditionally, r=ted 2009-06-13 11:53:37 -07:00
Mats Palmgren
d108510b8e Test for bug 322588. 2009-06-13 15:51:25 +02:00
Laurent Jouanneau
1eaf91e8f7 Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
Mats Palmgren
e0c38624c4 Test for bug 299673. 2009-06-13 01:11:55 +02:00
Neil Deakin
9e567b4175 Bug 494113, wait for datasources to load in test for bug 441785, r=smaug
--HG--
rename : content/xul/templates/src/crashtests/441785-1.rdf => content/xul/templates/tests/bug441785-1.rdf
rename : content/xul/templates/src/crashtests/441785-2.rdf => content/xul/templates/tests/bug441785-2.rdf
rename : content/xul/templates/src/crashtests/441785-1.xul => content/xul/templates/tests/test_bug441785.xul
2009-06-12 14:23:15 -04:00
Neil Deakin
53bedd0e8d Bug 378893, fix template tests so that they wait for the datasource to load first, r=smaug 2009-06-12 14:23:14 -04:00
Peter Van der Beken
98633d5f16 Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Josh Aas
2f6891c68f Disable test "test_videoDocumentTitle.html" due to random failures. b=492821 2009-05-15 23:20:39 -04:00
Peter Van der Beken
e07ba2eafd Merge backout. 2009-05-15 16:39:20 +02:00
Peter Van der Beken
a45851d286 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Olli Pettay
a26f88717b Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Robert O'Callahan
bb0f8610f9 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
9926956f04 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec
--HG--
extra : rebase_source : 2551f25e1828939dbb1619c31d3cedc2217a6623
2009-05-14 09:52:50 +12:00
Chris Double
f875415388 Bug 474540 - Moves oggplay decoder to separate thread for better playback performance in big videos - r=kinetik sr=roc
--HG--
extra : rebase_source : 8f6925b3dc3a50e8bb02f39d76d2b2444b089b6d
2009-05-13 11:47:52 +12:00
Robert O'Callahan
9bc46422a9 Disable test_autobuffer2.html for now, it fails a lot (bug 493692 filed) 2009-05-19 17:44:23 +12:00
Robert O'Callahan
e2ae04f459 Make test_autobuffer2.html more informative to try to narrow down the failures 2009-05-19 16:10:08 +12:00
Robert O'Callahan
45d2769b54 Backing out bug 480058 since it seems to have caused reftest failures on Windows 2009-05-19 16:04:16 +12:00
Robert O'Callahan
fb15d8ccac Backed out changeset 49f254a4390e 2009-05-19 16:03:49 +12:00
Chris Double
7d1ceb826c Bug 461286. Don't try to get more frames if we've completed decoding. r=roc
--HG--
extra : rebase_source : 11346f044176fdaba753e5a4ce5d74ef91ffc493
2009-05-19 12:07:27 +12:00
Chris Double
16b6058725 Bug 493494. Stop playback when a seek occurs so that A/V sync doesn't get confused. r=roc
--HG--
extra : rebase_source : 8dd4c7d5e95472cb17f7523db56446966f11f704
2009-05-19 11:11:59 +12:00
Chris Double
828918bcb5 Bug 496456. When we seek to the end, we should only fire end stuff if we're not playing, otherwise playing should be responsible for ending. Set the current frame time at the end of the stream to the duration, if it's longer than our end time estimate, because the duration can include more than one frame-time's worth of audio. Also, don't replicate a frame of audio in DecodeToFrame when seeking. r=cpearce,sr=roc
--HG--
extra : rebase_source : e34cc28482e2b0ced5ec0774ce73865501400ca6
2009-06-12 14:14:28 +12:00
Matthew Gregan
f86e17cca9 Bug 495163. Trivial code removal, r=roc
--HG--
extra : rebase_source : 5dee5799025c99cad5f7ae8ca7cc4ade3f650a89
2009-06-12 14:08:32 +12:00
Robert O'Callahan
f600456032 Bug 496581. If we seek to the end, enter COMPLETED state instead of trying to decode more. r=doublec
--HG--
extra : rebase_source : 16d4e604e40384221b148bf8939339179a93d96c
2009-06-12 14:07:08 +12:00
Robert O'Callahan
2e0c46ca2e Bug 494322. nsMediaCache verification code is super slow in debug builds, so turn it off during seeking so we don't get O(N^2) slowdowns. r=doublec
--HG--
extra : rebase_source : a088ef84206eeb7e6e77d42fecb1bbd8f0721c60
2009-06-12 13:43:23 +12:00
Chris Pearce
be07afd637 Bug 496147 - Ensure ended is true when video playback is ended. r=doublec,sr=roc
--HG--
extra : rebase_source : dc04fe505e75d91e5e1f694728aba8f5be0e32b2
2009-06-12 12:56:50 +12:00
Shawn Wilsher
c75ae311ff Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. 2009-06-11 16:57:09 -07:00
Jonathan Watt
befc705ae5 Bug 119061. SVG elements to which the :hover pseudo class apply do not restyle when moved under the mouse pointer. r=roc 2009-06-11 21:49:34 +02:00
Bernd
5f442c604e Bug 192902 - "Words wrap in nowrap cell when width=0 and next cell have width=100%". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Jonathan Watt
f703960fe8 Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr 2009-06-11 17:21:03 +02:00
Boris Zbarsky
7b0ee90b96 Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Zack Weinberg
a6f28c8853 Bug 493881: ignore attempts to set legacy color props on a HTML document object before its body element exists. r+sr=bzbarsky 2009-06-11 10:35:40 -04:00
Arpad Borsos
be212f351c Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Henri Sivonen
70bbf4241e Bug 468708 - Fix serializer code to live in the XHTML namespace world 2009-05-04 11:19:56 -07:00
Henri Sivonen
fee082ae9f Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Henri Sivonen
802b683c22 Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
91398b9466 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
00e19536e2 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00
Henri Sivonen
bafd95b750 Bug 490271 - Make form state pick up input state in HTML5 parser 2009-04-30 14:45:05 -07:00
Brandon Sterne
0409e5a0a5 Bug 490760. Don't crash on changes to the child node list. r+sr=jst 2009-05-15 15:16:04 +12:00
Robert O'Callahan
54052b20f1 Bug 489415. Handle media streams with data from different principals in the media cache. r=bzbarsky,doublec 2009-05-14 09:52:50 +12:00
Chris Double
9f038bfa2e Bug 466699 - Fix out of sync video and audio - r+sr=roc
--HG--
extra : rebase_source : ee8eedf72add30627fdbeef7cf22bc70a9415362
2009-05-15 13:29:05 +12:00
Masayuki Nakano
feee8b464b Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Henri Sivonen
fd39702cad Make the HTML5 parser deal with files under 512 bytes that do not have an encoding declaration 2009-04-23 15:19:10 +03:00
Henri Sivonen
5c1801d482 Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content. 2009-04-22 12:17:08 +03:00
Henri Sivonen
d8642cb637 Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
05cfc0ab33 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
797e7e764b Make sure the encoding of the HTML5 parser is confident when the entire doc is document.written() 2009-04-17 15:54:59 +03:00
Henri Sivonen
eed73a0439 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
c6a0307a21 Fix bad merge of bug 468708. 2009-04-17 12:33:20 +03:00
Henri Sivonen
458a64c0ce Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
027ef67503 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
51bb8f55eb Bug 468708 - Make namespace URI for HTML elements be http://www.w3.org/1999/xhtml 2009-04-16 13:28:40 +03:00
Henri Sivonen
7c4afa67c2 Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
0eb04fe085 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
de40e2dc85 Add null check to removing elements from the list of active formatting elements in the HTML5 parser 2009-04-07 17:58:37 +03:00
Henri Sivonen
6542f8acb8 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
83996972d9 Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
eba1d8fecf Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
a602adb4a9 Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
5712cc9dc6 Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Henri Sivonen
e096617179 Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Robert Longson
f686b035cd Bug 485544 - crash getting attributeType of target element of animation. r=jwatt 2009-03-29 15:37:58 +01: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
Henri Sivonen
4a6930f177 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Henri Sivonen
07ebe81fb3 Make the HTML5 parser pass http://hixie.ch/tests/adhoc/dom/level0/write/003.html 2009-03-26 13:50:24 +02:00
Arpad Borsos
726ab5be17 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking 2009-03-26 09:29:49 +01:00
Henri Sivonen
f34870fa9e Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Jonathan Watt
f34d9fa3aa Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Serge Gautherie
3f32fc862d Bug 397227 - Reduce the effort needed to write C++ tests; (Cv1) Remove leftover LOCAL_INCLUDES; r=ted.mielczarek 2009-04-29 00:48:29 +02:00
Olli Pettay
bdb6b5dd69 backout Bug 486990 2009-04-28 06:42:59 -07:00
Craig Topper
0a6f7ad6c7 Bug 474230. Cleanup scale and translate in nsSVGElement similar to the new style SVG classes. r=jwatt 2009-04-28 15:25:03 +02:00
Jesse Ruderman
431af365ff Add tests 2009-04-26 23:32:41 -07:00
Chris Pearce
79d9578afd Bug 488961 - Don't listen for 'stalled' event in content/media/video/test_load.html 2009-04-27 13:03:47 +12:00
Blake Kaplan
0572816957 Bug 485286 - Allocate all of these consistently. r+sr=peterv/sicking (a=ss for checkin into a CLOSED TREE). 2009-03-26 00:23:09 -07:00
Blake Kaplan
6457c82e1d Bug 485217 - Add a crashtest. 2009-03-25 14:33:36 -07:00
Blake Kaplan
ffa24f05a8 Bug 485217 - Pop the eval context before returning. r+sr=peterv 2009-03-25 13:07:44 -07:00
Olli Pettay
e511e04fa7 Bug 484658 - element.focus() handing when called during event suppression, r+sr=jst 2009-03-25 16:11:11 +02:00
Peter Van der Beken
ee568a5ae0 Fix for bug 498897. r/sr=mrbkap.
--HG--
extra : rebase_source : d1f8c9d42fc5c0369e8674d7c148ddc25bdfaaed
2009-06-19 18:31:48 +02:00
Mats Palmgren
d04121109e Bug 382369. Distinguish click from click-drag on a <label> so text selection works. r+sr=roc, help from Zack Weinberg 2009-03-24 13:55:29 +13:00
Boris Zbarsky
1c1a3affbf Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
2129bba0b3 Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz 2009-03-24 12:52:00 -04:00
Henri Sivonen
d4a2fbc016 Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Henri Sivonen
a39509c245 Take mScriptsExecuting behavior from nsParser to nsHtml5Parser 2009-03-20 16:59:51 +02:00
Henri Sivonen
973b99cba4 More comprehensive fix for HTML nodes in XHTML namespace (bug 468708) 2009-03-20 16:58:37 +02:00
Boris Zbarsky
1d325109b3 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
1dce1d2ebf Bug 484820. When closing the head context, flush out notifications on its kids, so we won't forget to notify on them. r+sr=mrbkap 2009-03-23 18:10:12 -04:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Henri Sivonen
56e3cf051d Fix comment in nsHtml5Atoms.cpp not to talk about gklayout 2009-03-19 10:16:19 +02:00
Henri Sivonen
af5a6d7e8d Restore some of the debugging code to fix link errors (bug 468708) 2009-03-17 15:48:55 +02:00
Henri Sivonen
d3ed56d492 Remove obsolete debugging code (bug 468708) 2009-03-17 15:24:17 +02:00
Henri Sivonen
9936094021 Try to avoid crashing in a timer callback in the HTML5 tree builder 2009-03-17 11:38:08 +02:00
Henri Sivonen
564b78820e Eliminate table taint from the HTML5 tree builder 2009-03-16 18:16:26 +02:00
Henri Sivonen
53cb8896a8 Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie 2009-03-16 17:40:59 +02:00
Henri Sivonen
4a1c16d1a1 Avoid an accidental deletion of a static atom in the HTML5 tree builder 2009-03-16 17:12:21 +02:00
Henri Sivonen
b8ec0e3dcd Add a check to see that HTML5 modula has been initialized properly before use 2009-03-13 14:41:55 +02:00
Henri Sivonen
12316bb6fe Bug 468708 - Missed two HTML namespace URI cases in previous commit 2009-03-13 12:32:32 +02:00
Henri Sivonen
501448fc33 Bug 482923, bug 468692, bug 468708 - Make HTML namespaceURI and localName HTML5-compliant 2009-03-13 10:48:05 +02:00
Jonas Sicking
71d1f7c6ba Merge backout 2009-05-12 17:03:04 -07:00
Jonas Sicking
56c68587fc Backed out changeset 888aff8f57d2. Bug 492037 2009-05-12 17:00:53 -07:00
Shawn Wilsher
98d5d376f8 Bug 490833 - mozIStorageStatement::getParameterIndex should only accept :-named parameters
This change makes the XUL template builder work with the API change.
r=enn
2009-05-12 17:08:49 -04:00
Neil Deakin
e8df233874 Bug 492037, EndUpdateBatch not properly being called for tree builders in some cases, r+sr=smaug 2009-05-12 16:07:28 -04:00
Neil Deakin
279ddd04ac Bug 433014, xml templates not loading from file urls, r+sr=smaug 2009-05-12 16:07:25 -04:00
Jeff Muizelaar
ab93609bae Bug 487305 - create video surface element with RGB24 colour format instead of ARGB32. r=joe 2009-05-12 15:25:05 -04:00
Boris Zbarsky
096c04f43f Fix the test now that bug 480452 is fixed 2009-05-11 23:54:41 -04:00
Boris Zbarsky
090012235c Bug 486741. Remove hack around broken scrollbars, since it's not needed anymore. r+sr=jst 2009-05-11 22:04:58 -04:00
Peter Van der Beken
1ec8d2bfcb Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
--HG--
extra : rebase_source : 8a05db1e4aab7dde3b38c7613488314dde05f163
2009-05-07 11:19:41 -07:00
Daniel Holbert
8e11869ccb Bug 492081: In SVG Animation (SMIL), update pause start time during setCurrentTime calls. r+sr=roc 2009-05-09 08:29:24 -07:00
Robert O'Callahan
388684b649 Disable test_plugin_freezing.html for now since it causes focus problems
--HG--
extra : rebase_source : 5d2a0e81b7c39993a666b6dc4841ae1ba0097dac
2009-05-09 21:12:11 +12:00
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12:00
Matthew Gregan
016153f95a Bug 488287. When playback ends, readyState should change to HAVE_CURRENT_DATA. r=doublec,sr=roc
--HG--
extra : rebase_source : ea224af1634304c40d7e4ea0f564e72ccab65caa
2009-05-08 14:25:13 +12:00
Robert O'Callahan
0d7d241faf Bug 480819. Explicitly track all elements that need to be frozen when a document enters bfcache. r+sr=jst
--HG--
extra : rebase_source : cf8294ebf52bf91b067dc065ccf92098c529a445
2009-05-08 13:32:32 +12:00