Commit Graph

656 Commits

Author SHA1 Message Date
Chris Pearce
8504bb216c Chris Pearce - Bug 479711 - Media elements should delay the document 'load' event 2009-03-09 10:01:03 +13:00
Chris Pearce
bec4c67a63 Chris Pearce - Bug 479859 - Implement new new load algorithm r+ doublec sr+ roc. 2009-03-09 09:59:08 +13:00
Boris Zbarsky
2423744439 Bug 481688. Stop firing our DOMLink* events to content. r+sr=smaug 2009-03-06 13:12:20 -05:00
L. David Baron
2a6e824389 Split eCSSUnit_String into eCSSUnit_String (with quotes), eCSSUnit_Ident (without quotes), and eCSSUnit_Families (font family list, but not for @font-face descriptor where the single family is stored as eCSSUnit_String). (Bug 481591) r+sr=bzbarsky 2009-03-06 13:05:01 +09:00
Stuart Parmenter
75e52ee8cb bug 480233. Make the display list item that canvas uses for painting know about the opacity of the canvas. r/sr=roc 2009-03-05 05:43:45 -08:00
Boris Zbarsky
6d09b292f6 Wallpaper for bug 480300. 2009-03-04 13:58:43 -05:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Henri Sivonen
fc40a573c7 Prevent infinite mutual recursion in HTML5 tree builder flush 2009-02-27 19:04:46 +02:00
Henri Sivonen
7705308a38 Add insertion batching to HTML5 tree builder 2009-02-27 18:37:47 +02:00
Henri Sivonen
c56149a406 Really remove code related to HTML5 tree builder reading back from the DOM 2009-02-26 17:09:44 +02:00
Henri Sivonen
e25067fc50 Make HTML5 innerHTML setter not crash; Change the tree builder interface never to read from the DOM 2009-02-26 16:05:43 +02:00
Matthew Gregan
9f3a5b2f76 Bug 470662 - Don't set paused to true when playback ends. Fix handling of playing/suspend attrs. r=chris.double, sr=roc
--HG--
extra : rebase_source : f5161f9a699015b41c4947b52624901786adc852
2009-02-27 00:55:30 +13:00
Henri Sivonen
9dd56634ea Add innerHTML parsing with HTML5 parser 2009-02-20 18:13:48 +02:00
Henri Sivonen
3cb0e1a7ca Count CTOR/DTOR in HTML5 parser; remove debug NS_WARNINGS 2009-02-12 10:30:41 +02:00
Boris Zbarsky
dceb36b6b7 Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Henri Sivonen
c26597853c Make HTML5 parser WriteStreamBytes type modifiers between .h and .cpp match on Windows 2009-02-09 13:18:54 +02:00
Henri Sivonen
5ee2e0c5a7 Add charset sniffing and make standards mode work in the HTML5 parser 2009-02-09 11:20:13 +02:00
Matthew Gregan
3facbf1d48 Merge backout of 59d848818fd8. 2009-02-26 22:06:11 +13:00
Matthew Gregan
241ed4b214 Backed out changeset 59d848818fd8 2009-02-26 21:59:39 +13:00
Robert O'Callahan
0e9a1e6846 Bug 479936 - Correctly handle sizing of video elements 2009-02-26 20:04:42 +13:00
Matthew Gregan
51b1c1c5aa Bug 470662 - Don't set paused to true when playback ends. r=chris.double, sr=roc 2009-02-25 14:41:42 +13:00
Matthew Gregan
620e25b404 Bug 471024 - volume or mute set early in media load ignored. r=chris.double, sr=roc 2009-02-25 23:59:00 +13:00
Mats Palmgren
44d057623f Reset the editing state when the document is removed from the docshell. b=446483 r+sr=peterv 2009-02-21 03:51:48 +01:00
L. David Baron
fa9a21c33d Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 21:29:21 -08:00
Nochum Sossonko
1aafbb746e b=478982 Gecko users may need to prevent autoplay for video/audio content in messages r=roc,dolske sr=roc 2009-02-20 17:05:07 +13:00
Chris Pearce
74bfee1398 b=465458 Media selection algorithm changed in r2403 of HTML5 spec r=doublec sr=roc
--HG--
extra : rebase_source : 09a091ebb5c7a42480a423ac304aacedfa286c4c
2009-02-20 15:49:00 +13:00
Chris Double
da2940fce6 b=478108 Remove Debug log messages for video/audio buffering and rate r+sr=roc 2009-02-20 15:29:23 +13:00
L. David Baron
2eb748571c Backed out changeset fde0b361f25e (bug 322475, main patch) due to Mac talos startup failures and hitting the NS_ABORT_IF_FALSE in SetupBackgroundClip, which may be related. 2009-02-19 13:51:46 -08:00
L. David Baron
d9ac02ed8c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 12:33:09 -08:00
L. David Baron
a91aa25ab0 Back out all 8 changesets that I just landed (bugs 477959, 477961, 322475, 478899, 475215, 478156) again, because Talos Try server builds lie about which changesets they're testing. 2009-02-19 09:06:18 -08:00
L. David Baron
51ef1de194 Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-19 07:29:28 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00
L. David Baron
366992262c Implement multiple background layers, implement fallback background color, and make -moz-background-inline-policy no longer be part of the background shorthand. (Bug 322475) r+sr=roc,bzbarsky 2009-02-18 17:13:25 -08:00
Boris Zbarsky
b0794d1840 Bug 400226. Do text redisplay as soon as it's safe, not after a trip to the event loop. r+sr=mats 2009-02-17 22:27:25 -05:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Robert O'Callahan
5890e02de9 Fixing bustage 2009-02-16 14:35:02 +13:00
Chris Pearce
9375bb735b Bug 462455. Initiate media load when appending <source> child elements to media elements. r=doublec,sr=roc
--HG--
extra : rebase_source : b9bca050ef528705c08988d3677bf9bd8c865f33
2009-02-16 14:05:28 +13:00
Chris Pearce
0528fe151f Bug 476731 - Media element should fire error event when src is a 404; r=chris.double sr=roc 2009-02-15 17:26:32 +01:00
Jesse Ruderman
f154077a31 Add crashtests 2009-02-13 14:54:17 -08:00
Henri Sivonen
77c2b73306 Restart HTML5 parser on meta charset; release stack and list memory in tree builder 2009-01-16 15:21:48 +02:00
Henri Sivonen
130638ff7b HTML5: implement recent spec changes, fix isindex attribute behavior, manage head and form pointer memory properly 2009-01-14 13:52:21 +02:00
Mike Kaplinskiy
b4deb6f35f Bug 468353 - designmode.css is not removed after designMode is turned off; r=bzbarsky sr=(bzbarsky + peterv) 2009-02-12 05:15:59 +01:00
Robert O'Callahan
a60bcefab7 Bug 476811. Fire 'waiting' event when the decoder starts buffering. r=doublec
--HG--
extra : rebase_source : 1ac5d728e4f3f3e83de61d0806b20f328cdf380c
2009-02-11 14:43:45 +13:00
Robert O'Callahan
af7e712e3f Bug 469272. Get rid of mPlayRequested since it's not needed; just use mPaused to remember whether we should be playing or not, if play() is called before the stream is loaded. r=doublec,r=kinetik
--HG--
extra : rebase_source : 2753730346f3159f07214e0116a9a32bc45a348d
2009-02-11 14:23:19 +13:00
Michael Ventnor
a9bf64c109 Bug 477531. Support CSS3 :indeterminate pseudo-class. r+sr=dbaron,r=bzbarsky
--HG--
extra : rebase_source : 03d1be9b5742e8d17114aaeb0b5de20d61926d51
2009-02-11 14:19:37 +13:00
Jesse Ruderman
46006e4349 Use 'skip' instead of commenting-out to disable crashtests 2009-02-11 00:17:29 -08:00
Jim Chen
6513b5e77c Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP (relanding)
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-11 05:56:51 +09:00
Masayuki Nakano
4755de05c7 Backing out the TSF patch of bug 88831. This might cause a timeout failure on test_keycodes.xul
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-11 03:02:05 +09:00
Jim Chen
41a1a807d6 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-10 20:15:36 +09:00
Jesse Ruderman
5f1cc5c3ce Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Chris Double
cb749708f5 Backed out changeset 364777bc90b5 due to test failures 2009-02-09 15:51:16 +13:00
Chris Pearce
8d5bc5908a Bug 476731 - Media element should fire error event when src is a 404 - r=doublec sr=roc 2009-02-09 14:04:10 +13:00
Justin Dolske
455ed37ff6 Bug 467680 - volumechange events are fired synchronously. r=doublec, sr=roc 2009-02-07 13:43:43 -08:00
L. David Baron
ef5fe05834 Revert changeset fc8d54ab29a6 (Bug 88831, Support new IME API "Text Services Framework" from Office XP and Windows XP) due to failure (every time) of the new unit test it added (Test WinTSF) on the Windows tinderbox.
--HG--
rename : content/events/src/nsContentEventHandler.cpp => content/events/src/nsQueryContentEventHandler.cpp
rename : content/events/src/nsContentEventHandler.h => content/events/src/nsQueryContentEventHandler.h
2009-02-07 09:13:30 -08:00
Jim Chen
e53087b660 Bug 88831 Support new IME API "Text Services Framework" from Office XP and Windows XP r=masayuki+peterv, sr=roc
--HG--
rename : content/events/src/nsQueryContentEventHandler.cpp => content/events/src/nsContentEventHandler.cpp
rename : content/events/src/nsQueryContentEventHandler.h => content/events/src/nsContentEventHandler.h
2009-02-07 18:52:59 +09:00
Robert O'Callahan
f4d857085f Bug 476771. 'load', 'emptied' and 'ended' events should be asynchronous as per spec; it's safer anyhow. r=doublec 2009-02-07 21:42:32 +13:00
Robert O'Callahan
c94a302481 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Robert O'Callahan
c752fcbe22 Backed out changeset ba595db2b681 2009-02-05 23:51:24 +13:00
Robert O'Callahan
3c26c1d1a0 Bug 455654. Rework the download-rate, playback-rate and related statistics so they're managed by the decoders in a thread-safe way. Implement proper HTML5 readyState handling with event firing, including 'canplay' and 'canplaythrough' events and autoplay behaviour. Also changes buffering so that we buffer when we're actually about to run out of data, instead of trying to guess when to buffer based on rate estimates. r=doublec 2009-02-05 21:02:21 +13:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
L. David Baron
f5c868d3c6 Clear back-pointer in more cases. (Bug 475136) r+sr=bzbarsky 2009-01-29 12:39:21 -08:00
Boris Zbarsky
3574872d3a Bug 335615. Don't do editor init inside frame construction. r=mats, sr=roc 2009-01-29 14:46:17 -05:00
Jonas Sicking
41e86fb4e9 More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap 2009-01-26 21:41:25 -08:00
Jonas Sicking
8d2deed13d Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Chris Pearce
0e32326db3 Bug 451958 - Implement same-origin check plus Access Controls for video Part 2a - r+sr=roc 2009-01-27 15:32:33 +13:00
Jonas Sicking
6a95c287a3 Backed out changeset e8023bc83264 due to orange 2009-01-26 01:53:20 -08:00
Jonas Sicking
783650f7b1 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Robert O'Callahan
57feb73e0d Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows. 2009-01-26 20:44:15 +13:00
Chris Pearce
45181319ed Bug 451958. Add more CheckLoadURIs. r+sr=roc
--HG--
extra : rebase_source : 395434811dafef97681e881995327d845a59d70b
2009-01-25 21:06:54 +13:00
Chris Pearce
25b0b69cb2 Bug 451958. Implement content policy checks for media elements. r+sr=roc 2009-01-25 12:30:57 +13:00
Chris Pearce
3b0b1c6e28 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : 4a180379a401040f16c4fce80ef116da139ba2cb
2009-01-25 00:00:17 +13:00
Jonas Sicking
cd13cb89e5 Backed out changeset 41045faa0ef6 due to leaks 2009-01-23 15:08:41 -08:00
Jonas Sicking
051c8e95e7 Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Daniel Holbert
31c18a6827 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Robert O'Callahan
876f275609 Backed out changeset a87563d6594e
--HG--
extra : rebase_source : e4687a80f8e88f7f0e156a34ca95f96a1eaf85f6
2009-01-23 17:39:45 +13:00
Chris Pearce
f816163290 Bug 451958. Support Access-Controls for media loads. r+sr=roc
--HG--
extra : rebase_source : ab0be3a0dc18e6accfb4059c5d0f3e252b890afc
2009-01-23 16:13:19 +13:00
Daniel Holbert
b91b56aa62 trivial comment-only typo fix in nsHTMLDocument.cpp: s/presumeably/presumably/ 2009-01-22 07:13:59 -08:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Michael Ventnor
2351d2a4b0 Bug 123836 - Implement indeterminate property on checkboxes and radio buttons - r=roc,jst sr=roc 2009-01-22 13:07:44 +13:00
Chris Double
c8da86bd29 Bug 460738 - Suspend media downloads when in bfcache - r=kinetik sr=roc 2009-01-22 12:54:40 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Chris Pearce
dd26dee475 Bug 463830. Use the video file name as the window title for standalone video objects, for now. r+sr=roc,r+sr=bzbarsky
--HG--
extra : rebase_source : b9ee2200c86a0c3fa06cdb163a39a183aa313380
2009-01-16 22:07:26 +13:00
Robert O'Callahan
b77d06a80b Bug 472878. Allow nsMediaDecoder::Invalidate to UpdateMediaSize on the element even if there is no frame for the element. r=doublec
--HG--
extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
2009-01-16 20:57:37 +13:00
Patrick McManus
a6550e3070 Bug 473974. Don't DNS-prefetch nodes whose document went away. r+sr=bzbarsky 2009-01-16 14:21:32 -05:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Chris Double
525b4dcecb Bug 464376 - Dispatch progress events while media resource is downloading - r+sr=roc 2009-01-16 09:26:51 +13:00
Ben Turner
9853f8d27d Backed out changeset 4c4d0bf8622e for failing unit tests. 2009-01-14 18:22:41 -08:00
Jonas Sicking
864d6c43fd Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap 2009-01-14 17:25:21 -08:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Henri Sivonen
6923a94737 Release memory in the HTML5 parser 2009-01-08 16:34:29 +02:00
Henri Sivonen
dfcd870490 Make each switch-case a block for variable scoping 2009-01-05 17:13:30 +02:00
Henri Sivonen
22db9003f8 Omit unused labels in HTML5 parser 2009-01-05 16:10:23 +02:00
Henri Sivonen
a2b9980280 Remove comma after last enum item to please newer GCC defaults 2009-01-05 15:52:46 +02:00
Henri Sivonen
976036b7a0 Fix build breakage caused by previous merge 2009-01-04 21:49:10 +02:00
Henri Sivonen
372ce72317 Merged HTML5 parsing with m-c from 2008-12-11 2009-01-03 15:01:17 +02:00
Henri Sivonen
bfe0f0b410 Initial attempt at HTML5 parsing in Gecko 2008-12-12 15:10:39 -08:00