Commit Graph

14665 Commits

Author SHA1 Message Date
Vladimir Vukicevic
a33acd773d b=500493; fix bogus getter_AddRefs in canvas code; r=stuart 2009-06-27 16:44:32 -07: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
Robert O'Callahan
017c3d03e8 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
2a3bc2dc98 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
507f48d89a 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
1f03994614 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
5bf110bcd3 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
07f0682802 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
97e33b8c4d 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
fc6c9fa798 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
43bd7e6097 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
6ee870e86b 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
b641e771c8 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
08a4384325 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
6df221580d 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
a3215e3235 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
039e8b80e2 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
961c9fc99a 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
c6f26b735c Relax time constraint in test_buf482461 a bit.
--HG--
extra : rebase_source : 01fda6b6e4f50a8207208b22811a335117f9518c
2009-05-18 15:20:40 +12:00
Robert O'Callahan
06e3105812 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
41e2671e96 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
aafedc777d 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
12cba926fb Fix seeking tests to avoid false assumptions 2009-05-18 12:25:05 +12:00
Robert O'Callahan
7ec7418b2e 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
f3be9df7f6 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
0719504584 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
14fd51447e Bug 489008. Destroy anonymous content off a script-runner. r=bzbarsky 2009-05-18 10:08:08 +12:00
Robert O'Callahan
97c6b9c07b 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
b3ddab0df3 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
2e785549a0 Add the crashtest for bug 490760 2009-05-17 10:22:55 -04:00
Boris Zbarsky
48862631f2 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
4c2a5712cb 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
17fce9cd66 Bug 496308 - Crash [@ nsDOMPopupBlockedEvent::GetRequestingWindow], r+sr=jonas 2009-06-15 13:27:54 +03:00
Olli Pettay
c793d0d750 Bug 493266 - Optimize setting currentTarget, r+sr=bz 2009-06-15 13:21:06 +03:00
Olli Pettay
0b62d46a84 Bug 495098 - [@ nsXMLHttpRequest::StreamReaderFunc ], r+sr=sicking
--HG--
extra : rebase_source : 29d31152455cd9f6702f0788539f0b62bbcf3a98
2009-06-15 13:11:04 +03:00
Olli Pettay
acbff4f66d Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03:00
Olli Pettay
281b4ca4dc Trunk patch for Bug 491134, r+sr=jst 2009-06-15 11:27:29 +03:00
Olli Pettay
fd6786da5d Bug 384003 - XPathEvaluator does not accept a Node as NSResolver, r=sicking, sr=peterv 2009-06-14 21:06:22 +03:00
Phil Ringnalda
cbc3c0c493 Bug 495025 - content/xul/content builds its tests unconditionally, r=ted 2009-06-13 11:53:37 -07:00
Mats Palmgren
ed9eb2214d Test for bug 322588. 2009-06-13 15:51:25 +02:00
Laurent Jouanneau
5cd51dca4d Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
Mats Palmgren
ec3e79fa2e Test for bug 299673. 2009-06-13 01:11:55 +02:00
Neil Deakin
b8523ccc63 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
9820b08314 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
b64b14221a 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
1aad2522fd Disable test "test_videoDocumentTitle.html" due to random failures. b=492821 2009-05-15 23:20:39 -04:00
Peter Van der Beken
19f5997758 Merge backout. 2009-05-15 16:39:20 +02:00
Peter Van der Beken
a13d3e8fd0 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
61994c29ad Bug 461861, r=mrbkap, sr=jst
--HG--
extra : rebase_source : a5aea484f992785a3d67bb03d7fe074ce4f7f95a
2009-05-14 10:03:15 +03:00
Robert O'Callahan
5f9dd68899 Backed out changeset eb93563530d5 2009-05-14 12:38:33 +12:00
Robert O'Callahan
4c03f490b2 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
bb96e85ae7 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
f88d86a439 Disable test_autobuffer2.html for now, it fails a lot (bug 493692 filed) 2009-05-19 17:44:23 +12:00
Robert O'Callahan
aded9b0e65 Make test_autobuffer2.html more informative to try to narrow down the failures 2009-05-19 16:10:08 +12:00
Robert O'Callahan
9a81729d41 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
4f35f8e467 Backed out changeset 49f254a4390e 2009-05-19 16:03:49 +12:00
Chris Double
cc33d9fa6a 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
db0c99f1ca 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
dd020ab03a 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
6ed2191af1 Bug 495163. Trivial code removal, r=roc
--HG--
extra : rebase_source : 5dee5799025c99cad5f7ae8ca7cc4ade3f650a89
2009-06-12 14:08:32 +12:00
Robert O'Callahan
f020867639 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
c41a58c04d 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
373b3baa8d 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
4f55fcf37a Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. 2009-06-11 16:57:09 -07:00
Jonathan Watt
a955b81011 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
1220485428 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
496c0e4796 Bug 495938. Stop using nsIDOMSVGRect objects on the stack. r=longsonr 2009-06-11 17:21:03 +02:00
Boris Zbarsky
b21221fdc8 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
d5488e072b 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
e7721484f4 Bug 495296 - kill nsISVGTextContentMetrics; r+sr=roc 2009-05-29 12:15:40 +02:00
Arpad Borsos
e6fe766c98 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Henri Sivonen
9e0d9098c6 Bug 468708 - Fix serializer code to live in the XHTML namespace world 2009-05-04 11:19:56 -07:00
Henri Sivonen
1f9455f387 Merge the trunk into HTML5 parsing repo 2009-05-04 11:19:16 -07:00
Henri Sivonen
20df79d12f Bug 490941 - Fix visual Hebrew in HTML5 parser 2009-05-04 10:25:29 -07:00
Henri Sivonen
e26f7e19c7 Bug 479774 - Process cache manifests in the HTML5 parser 2009-04-30 15:41:50 -07:00
Henri Sivonen
f228834a96 Bug 489530 - Make meta refresh work in the HTML5 parser 2009-04-30 15:08:35 -07:00
Henri Sivonen
1bac8ebc71 Bug 490271 - Make form state pick up input state in HTML5 parser 2009-04-30 14:45:05 -07:00
Brandon Sterne
ee64697ca8 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
0442e8caf5 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
d82a5883f7 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
54e13d1b23 Bug 492233 [IMM32] Reimplement IME mouse handling r=VYV03354+roc, sr=roc 2009-05-15 09:46:24 +09:00
Henri Sivonen
f443521aed 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
4aa0608b18 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
ae1d3f694e Fix unicode conversion error recovery in HTML5 parser 2009-04-21 14:35:02 +03:00
Henri Sivonen
7aa8302d18 Bug 488854 - In HTML5 parser Insert REPLACEMENT CHARACTER gracefully when Unicode converter returns failure 2009-04-17 18:55:09 +03:00
Henri Sivonen
f6e5e19ce1 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
55d6e97529 Bug 488267 - Flush appends before starting layout 2009-04-17 13:05:19 +03:00
Henri Sivonen
f6c5f201b8 Fix bad merge of bug 468708. 2009-04-17 12:33:20 +03:00
Henri Sivonen
192c8324f2 Merge in patch for bug 468708. 2009-04-16 13:36:59 +03:00
Henri Sivonen
7d40733856 Inline obvious candidates in the HTML5 parser 2009-04-16 13:30:09 +03:00
Henri Sivonen
3ee895d930 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
db106d13aa Get rid of nsHtml5StringLiterals (b=482945) 2009-04-15 12:40:48 +03:00
Henri Sivonen
296874d7d8 Support keygen, fix refcounting of stack nodes in the HTML5 parser 2009-04-10 20:27:09 +03:00
Henri Sivonen
b7f4025746 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
76f41e0f80 Make HTML5 tree builder state snapshots not call a method on null 2009-04-07 15:29:22 +03:00
Henri Sivonen
477438e93b Temporarily make the HTML5 parser leak instead of crashing. 2009-04-07 15:09:39 +03:00
Henri Sivonen
3a07ccc4a3 Fix crasher fallout from deferring HTML5 parser life cycle start. 2009-04-07 14:06:28 +03:00
Henri Sivonen
f7212b589f Add nsHtml5StateSnapshot.* 2009-04-02 12:06:29 +03:00
Henri Sivonen
f94917473c Avoid regressing bug 321781 in the HTML5 parser 2009-04-01 18:29:23 +03:00
Henri Sivonen
524846eeac Merge trunk into HTML5 parsing repo 2009-03-30 15:32:26 +03:00
Robert Longson
678e884ee5 Bug 485544 - crash getting attributeType of target element of animation. r=jwatt 2009-03-29 15:37:58 +01:00
Matthew Gregan
bfa49f248b 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
60c046a220 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
9d60c52786 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
a7381d3c2d 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
95fa6aa4fc 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
abd160c2af Bug 499543: handle total transparency in LegacyRGBToHex. r+sr=bzbarsky 2009-06-01 14:40:14 -04:00
Robert O'Callahan
ca157bbb5a Backing out bug 487519 due to reftest failures 2009-06-01 00:09:17 +12:00
Robert O'Callahan
a500ff4f1a Fixing bustage (bug 495300) 2009-05-31 22:28:57 +12:00
Chris Double
6664a71b4b 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
0c254a71d7 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
74b9d63089 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
8edb3f0a86 Add crashtest that used to trigger the assertion in bug 494810 2009-05-29 16:44:57 -07:00
Chris Pearce
0c2e85ab11 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
73e0202e9d 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
f1db574761 Bug 495129. Propagate errors better. r+sr=roc 2009-05-28 16:39:39 +12:00
Robert O'Callahan
cb8e86ef15 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
b89227c825 Add crashtests 2009-05-26 11:53:12 -07:00
Henri Sivonen
27ccc45764 Merge the trunk into HTML5 parsing repo 2009-03-26 14:10:18 +02:00
Henri Sivonen
6283a3c22e 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
6e2bb93fad 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
3780f9e4ca Fix case-insensitivy in attribute manipulations (bug 468708) 2009-03-24 18:42:03 +02:00
Jonathan Watt
0a8223656c Bug 488314. Kill SetMatrixPropagation, part 1. r=roc 2009-04-29 06:31:34 +02:00
Serge Gautherie
efaca9c4c7 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
c4264c7353 backout Bug 486990 2009-04-28 06:42:59 -07:00
Craig Topper
381741da91 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
175b7d536e Add tests 2009-04-26 23:32:41 -07:00
Chris Pearce
049c3ed353 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
77a43455ed 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
3b8310b1af Bug 485217 - Add a crashtest. 2009-03-25 14:33:36 -07:00
Blake Kaplan
de14b19873 Bug 485217 - Pop the eval context before returning. r+sr=peterv 2009-03-25 13:07:44 -07:00
Olli Pettay
d9e9964f3e 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
864b3079c7 Fix for bug 498897. r/sr=mrbkap.
--HG--
extra : rebase_source : d1f8c9d42fc5c0369e8674d7c148ddc25bdfaaed
2009-06-19 18:31:48 +02:00
Mats Palmgren
8ad57c75dc 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
7fbe6ae71f Backing out changeset b47f0de93a82 (bug 457809) due to test failures 2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
28637b1d1c 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
99a8cc5f1a Merge trunk into HTML5 parsing repo 2009-03-20 17:09:05 +02:00
Henri Sivonen
281b2086b6 Take mScriptsExecuting behavior from nsParser to nsHtml5Parser 2009-03-20 16:59:51 +02:00
Henri Sivonen
0f8172224f More comprehensive fix for HTML nodes in XHTML namespace (bug 468708) 2009-03-20 16:58:37 +02:00
Boris Zbarsky
227c077f37 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Boris Zbarsky
38f7b78d75 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
dde6460538 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Henri Sivonen
aeb7393726 Fix comment in nsHtml5Atoms.cpp not to talk about gklayout 2009-03-19 10:16:19 +02:00
Henri Sivonen
a8e77a6858 Restore some of the debugging code to fix link errors (bug 468708) 2009-03-17 15:48:55 +02:00
Henri Sivonen
0ac237addb Remove obsolete debugging code (bug 468708) 2009-03-17 15:24:17 +02:00
Henri Sivonen
f8f7fb2393 Try to avoid crashing in a timer callback in the HTML5 tree builder 2009-03-17 11:38:08 +02:00
Henri Sivonen
0a585dd859 Eliminate table taint from the HTML5 tree builder 2009-03-16 18:16:26 +02:00
Henri Sivonen
e3e8dd01f6 Revert implementation of HTML5 spec rev 2730 per IRC discussion with Hixie 2009-03-16 17:40:59 +02:00
Henri Sivonen
167cf2e297 Avoid an accidental deletion of a static atom in the HTML5 tree builder 2009-03-16 17:12:21 +02:00
Henri Sivonen
da5e154b03 Add a check to see that HTML5 modula has been initialized properly before use 2009-03-13 14:41:55 +02:00
Henri Sivonen
63bf6755ae Bug 468708 - Missed two HTML namespace URI cases in previous commit 2009-03-13 12:32:32 +02:00
Henri Sivonen
a53c8f897c Bug 482923, bug 468692, bug 468708 - Make HTML namespaceURI and localName HTML5-compliant 2009-03-13 10:48:05 +02:00
Jonas Sicking
3e25d2e548 Merge backout 2009-05-12 17:03:04 -07:00
Jonas Sicking
2394ad2b7d Backed out changeset 888aff8f57d2. Bug 492037 2009-05-12 17:00:53 -07:00
Shawn Wilsher
c113205dde 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
a6c07d5e6a 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
c50a8b7bda Bug 433014, xml templates not loading from file urls, r+sr=smaug 2009-05-12 16:07:25 -04:00
Jeff Muizelaar
bd6823b10e 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
2088f3f325 Fix the test now that bug 480452 is fixed 2009-05-11 23:54:41 -04:00
Boris Zbarsky
4ce33a6c6d 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
913de0f878 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
c77f3164bf 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
5d21145f59 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
dff270d1be 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
1bc6593cf3 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
c3f383ceb7 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
Robert Longson
e242900961 Bug 484176 - Support allowReorder for switch. r=jwatt,sr=roc 2009-05-07 20:37:33 +01:00
Boris Zbarsky
ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Olli Pettay
4ade0eee29 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 7bce078904782a5a907eebbbff7b74a905cfa8c1
2009-05-07 16:59:51 +03:00
Olli Pettay
1af385d3f5 backout bug484775 2009-05-07 10:19:06 +03:00
Olli Pettay
115a0d7046 Bug 484775 - DocumentFragments and Attribute nodes should expose nsIDOMEventTarget to JS, r+sr=peterv
--HG--
extra : rebase_source : 9c6f8f9d3cd1283adb7b69b93440f7da01924326
2009-05-07 09:31:04 +03:00
Patrick McManus
d8ac17d88c Fixing bug 488162. Disable prefetches on proxy config and pref, r+sr=bzbarsky@mit.edu 2009-05-06 14:26:33 -07:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
L. David Baron
4c05a08fb9 Make it so nsDocument::mPendingTitleChangeEvent doesn't keep the document alive after cycle collection expects it to be destroyed. (Bug 488786) r+sr=jst r=bsmedberg 2009-05-06 13:46:01 -07:00
Olli Pettay
794ad26d0d Bug 486502 - Dispatch test events only when running mochitest/chrome/browser-chrome, r+sr=roc 2009-05-06 07:30:39 +03:00
Neil Deakin
716aa890fa Bug 378893, sigh, disable template tests on all platforms 2009-05-05 10:14:37 -04:00
Boris Zbarsky
346daa82d1 Bug 67752. Implement interruptible reflow. r=roc,dbaron 2009-04-21 19:53:52 -04:00
Matthew Gregan
30d18e814f Bug 489830 - Make MediaListener's mNextListener assertion a non-fatal error to avoid crashing in the face of a listener that breaks nsIRequest's contract. r+sr=roc
--HG--
extra : rebase_source : d88fd679bbb532193782f75a8e0cbdff43e602f2
2009-05-05 18:13:26 +12:00
Neil Deakin
9607636d34 Tests are failing on linux, I suspect some form of asynchronous loading issue, but will investigate more later, so disable them for now 2009-05-04 13:39:18 -04:00
Neil Deakin
13f2fd1f72 Bug 378893, actully add the xul template test files 2009-05-04 11:27:09 -04:00
Neil Deakin
473b9cecef Bug 378893, xul template tests, r=smaug 2009-05-04 10:55:44 -04:00
laurent@xulfr.org
517fa34903 Bug 422403 - improvements to the XML and XHTML serializers, r=smaug, sr=sicking
--HG--
extra : rebase_source : ead8a81eb95c4aec6122850ca58c20399f94758b
2009-04-25 12:00:14 +03:00
Olli Pettay
0880b44b86 Bug 486990, move contextmenu listener to system event group, r=enn, sr=neil 2009-04-25 11:45:30 +03:00
Olli Pettay
89440d0a9e Bug 489812 - Suspending timeouts doesn't clear mFiringDepth, r=bent, sr=jst 2009-04-25 02:53:25 +03:00
Olli Pettay
78e6edfe2f bug 489988 - Java Applets reload when print is called, r+sr=roc 2009-04-25 02:46:16 +03:00
L. David Baron
3d247d2320 Mark the tests that were just disabled more clearly in the makefiles. 2009-04-24 15:45:34 -07:00
Bob Clary
c3ca5e7df9 bug 435128 - disable test since it takes too long. 2009-04-24 14:54:24 -07:00
Bob Clary
cea5769936 bug 419132 - disable test due to time required to run. 2009-04-24 14:54:24 -07:00
Bob Clary
0db6736dfc bug 454820 - crash test by Brian Huisman. 2009-04-24 10:08:25 -07:00
Bob Clary
b90837186d bug 384877 - crash test by Martijn Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
c7775a00e1 bug 435209 - crash test by Martin Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
58aa4b1061 bug 435128 - mochikit test by Martijn Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
f286639b62 bug 431906 - crash test by Martijn Wargers. 2009-04-24 10:08:24 -07:00
Bob Clary
b13d67db1b bug 424276 - crash test by Jesse Ruderman, Mats Palmgren. 2009-04-24 10:08:23 -07:00
Bob Clary
476a9f47e5 bug 419132 - mochikit test by Martijn Wargers. 2009-04-24 10:08:22 -07:00
Bob Clary
aa1a7fb4c0 bug 416734 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Bob Clary
67414283bf bug 398088 - crash test by Jesse Ruderman. 2009-04-24 10:08:22 -07:00
Bob Clary
6c5e9b3852 bug 387460 - crash test by Martijn Wargers. 2009-04-24 10:08:21 -07:00
Bob Clary
0054c881ef bug 386914 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
d1dc42223a bug 384663 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
20cc38d003 bug 382568 - crash test by Vlad Sukhoy. 2009-04-24 10:08:19 -07:00
Bob Clary
21fd00e13c bug 360499 - crash test by Martijn Wargers. 2009-04-24 10:08:16 -07:00
Bob Clary
13b6bd8826 bug 360293 - crash test by Vladimir Vukicevic. 2009-04-24 10:08:16 -07:00
Bob Clary
773cfca4f1 bug 336994 - crash test by Martijn Wargers. 2009-04-24 10:08:13 -07:00
Bob Clary
4d0d2930ee bug 336960 - crash test by Martijn Wargers. 2009-04-24 10:08:12 -07:00
Bob Clary
5855485777 bug 336744 - crash test by Martijn Wargers. 2009-04-24 10:08:12 -07:00
Bob Clary
5325a82a9a bug 326644 - crash test by Martijn Wargers. 2009-04-24 10:08:11 -07:00
Peter Van der Beken
283ed25b1f Testcase for bug 483444 (XSLT stylesheet compiler crashes). r/sr=mrbkap.
--HG--
extra : rebase_source : d6f64bf9526e9f029c3888759138ea11f0564097
2009-04-24 16:14:37 +02:00
Olli Pettay
32dfaef124 Bug 489965, r+sr=bz 2009-04-24 16:36:58 +03:00
Olli Pettay
6ae293b233 Bug 489581 - Reduce Addref/Release when calling event handlers, r+sr=jst 2009-04-24 12:18:37 +03:00
Jonathan Watt
6899b93ad5 Bug 487019. Rename IsDependentAttribute to AttributeDefinesGeometry. r=longsonr 2009-04-24 01:41:17 +02:00
Ryo Onodera
e70f2603e4 Bug 489151 - Masking and clipping with objectBoundingBox and non-trivial transforms is broken. r=jwatt 2009-04-24 03:10:22 +09:00
Blake Kaplan
737c9a5565 Bug 475864 - Move native anonymous content checks into a wrapper so that quickstubs don't sidestep them. r=jst sr=bzbarsky 2009-04-23 00:21:22 -07:00
Ginn Chen
fc1e6ae42b Bug 478845 Disable mochitest of test plugin if test plugin is absent r=ted.mielczarek, jwalden 2009-04-23 14:27:04 +08:00
Masayuki Nakano
cfff67f8c9 Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc 2009-04-23 12:27:12 +09:00
L. David Baron
800fa5292f Fix miscellaneous typos in comments that I've had in my tree for ages. 2009-04-22 10:13:48 -07:00
Peter Van der Beken
855de5c02f Backing out 18b1811cd104, fix for bug 480389 (Remove nsIDocument's cached JS object), to try to fix orange. 2009-03-19 14:07:03 +01:00
Peter Van der Beken
180c611bff Fix for bug 480389 (Remove nsIDocument's cached JS object). r/sr=jst.
--HG--
extra : rebase_source : 7e971c32cc922fb866f12f3e037f8c91c09df3bf
2009-03-18 18:56:38 +01:00
Matthew Gregan
f6c6e67fbc Bug 483570 - Initialize nsHTMLMediaElement::mCurrentLoadID and mPausedBeforeFreeze in ctor. r+sr=roc
--HG--
extra : rebase_source : 2f63abfd4a761ec680cd9ac321d20d2d4191d256
2009-03-16 19:05:28 +13:00
Matthew Gregan
b60dc906f5 Bug 483589 - Fix PRBool violation in nsWaveStateMachine::ScanForwardUntil. r+sr=roc
--HG--
extra : rebase_source : d1898e6ea258dd0a1ec1c13e099f70d11ac5ba2d
2009-03-16 18:53:48 +13:00