Commit Graph

576 Commits

Author SHA1 Message Date
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
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Patrick McManus
160a5690a3 Bug 473089. Make sure that our DNS listener (which may be released on random threads) doesn't hold refs to Elements. r+sr=bzbarsky 2009-01-12 10:38:32 -05:00
Patrick McManus
fbf86e6cfb Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIs, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). Now with leak fixes. r+sr=bzbarsky 2009-01-12 10:36:55 -05:00
Boris Zbarsky
e4836796ec Bug 472239. Make sure to set up our listener before trying to call OnStartRequest on it. r+sr=jst 2009-01-09 12:54:23 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Boris Zbarsky
4718bf7b4a Backed out changeset b73e063a3f99 (bug 464838) 2009-01-08 14:58:33 -05:00
Patrick McManus
7d2d500eb0 Bug 464838. Try to resolve performance issues in DNS prefetch by putting elements, not URIS, in the queue, and deferring URI creation to pageload complete (or a timer, if we're not in pageload). r+sr=bzbarsky 2009-01-08 13:08:20 -05:00
Matthew Gregan
a854c4ee45 Bug 471590. Update wave-decoder Pause to handle possible asynchyronous loading. r=doublec,sr=roc
--HG--
extra : rebase_source : 4146cd1a399875992e44769d752effc4f312841f
2009-01-08 21:44:38 +13:00
Chris Double
cdee3a861f Backed out changeset f155c8f39715 2009-01-07 16:33:42 +13:00
Chris Double
508543fa18 Bug 464376 - Fire audio/video progress events as per spec - r+sr=roc 2009-01-07 14:48:52 +13:00
Taras Glek
b9f921376d Bug 472167 - nsIForm outparamdel didn't change IID r+sr=bz 2009-01-05 14:50:04 -08:00
Robert O'Callahan
c149ac33a2 Backed out changeset a5587354082a 2009-01-05 16:33:01 +13:00
Chris Pearce
5f79974815 Bug 451958. Implement load policy for media elements. r+sr=roc
--HG--
extra : rebase_source : 6554a080e91e0cf61807dd29ca5103dd35531cd8
2009-01-05 13:50:33 +13:00
Chris Double
f225c83ebc Bug 470636 - Audio doesn't stop after navigating away from page - r+sr=roc 2009-01-05 13:09:40 +13:00
timeless
5ba3872917 Bug 466384 - "ASSERTION: OnDataAvailable implementation consumed no data" loading standalone video from local file; r+sr=bzbarsky 2009-01-04 09:31:42 +01:00
Mats Palmgren
cd1c6303ff Setting selectedIndex to an out-of-bounds value should have the same effect as setting it to -1. b=471741 r+sr=roc 2009-01-02 16:54:48 +01:00
Olli Pettay
28e3d7cf73 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
ed62696892 Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
f4bf461d7e Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Ben Newman
5a5c94ecb3 Bug 468562 - "ASSERTION: Inserting multiple children without flushing"; r+sr=mrbkap 2008-12-20 01:49:08 +01:00
Robert O'Callahan
d7e2ae3261 Backed out changeset 1a4e7f55120d 2008-12-18 23:17:30 +13:00
Chris Double
fd9291b7fe Bug 464376. Fire progress events reliably and especially be sure to fire a final progress event when the resource finishes loading. r+sr=roc
--HG--
extra : rebase_source : 387866a3c9ad9f05e35e9876ebd1db1224237798
2008-12-18 20:56:32 +13:00
Robert O'Callahan
f4013df6e7 Backed out changeset 70b57b58afe2 2008-12-18 16:55:38 +13:00
Chris Double
9e493d5b6d Bug 464376. Fire progress events more consistently, especially being sure to fire a progress event at the end of a load. r+sr=roc 2008-12-18 14:48:44 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Matthew Gregan
fd9f596d87 Bug 464158 - nsHTMLMediaElement::PickMediaElement does not do media type switching - r=doublec sr=roc 2008-12-16 16:32:03 +13:00
Jesse Ruderman
4605e42d95 Disable test for bug 353713 due to timeouts (bug 469557) 2008-12-14 21:36:46 -08:00
Masayuki Nakano
229283883c Bug 272847 Text input via IME does not work in windowless Flash movie r=ere+josh, sr=roc 2008-12-15 12:54:54 +09:00
Chris Pearce
bae9b8c1a5 Bug462570 - Change Network state and Ready state names in HTMLMediaElement to match spec - r=doublec sr=roc 2008-12-15 16:38:16 +13:00
Matthew Gregan
d69380b6d1 Bug 469598 - nsHTMLMediaElement::MetadataLoaded calls nsMediaDecoder::Seek(0) - r=doublec sr=roc 2008-12-15 15:12:52 +13:00
Matthew Gregan
1d1cb9373a Bug 468190 - ended reports true when seeking after playback ended; r=chris.double sr=roc 2008-12-14 19:02:54 +01:00
Serge Gautherie
ee2fed5dfe Bug 469513 - 453406-1.html : missing |dump('\n');| at end; r+sr=bzbarsky 2008-12-14 16:11:18 +01:00
Boris Zbarsky
4e90868638 Bug 468263. Handle the src attribute being removed or set to by dropping the image. r+sr=sicking 2008-12-12 14:41:11 -05:00
Graeme McCutcheon
4d0acd8eae Bug 345339. Make nsPresState not use a hashtable in favor of using less memory and only storing the things it really wants to store. Switch box objects to their own hashtable. r+sr=roc 2008-12-12 14:25:22 -05:00
Robert O'Callahan
8786ac7740 Bug 448600. Add prefs to disable Ogg and WAVE backends. r=doublec,sr=bzbarsky 2008-12-12 21:17:57 +13:00
Boris Zbarsky
b88062639a Bug 465806. Use all of our security information from a single place. r+sr=jst 2008-12-11 16:00:37 -05:00
Patrick McManus
757343b9cf Bug 467648. Fix shutdown leak by making sure to clear out the deferred DNS prefetch queue at shutdown. r+sr=bzbarsky 2008-12-11 14:16:00 -05:00
Boris Zbarsky
d49131ad24 Fix parent class name. Followup to bug 368773, r+sr=peterv 2008-12-09 12:38:33 -05:00
Chris Double
0d6fa2a241 Bug 465459. totalBytes is no longer part of the HTML5 video spec. r+sr=roc 2008-12-09 13:47:31 +13:00
Chris Double
cb0b0c4a77 Backed out changeset 34f6eb1300f1 due to test failure 2008-12-06 19:53:23 +13:00
Chris Double
b094bb85bd bug 464376 - Fire media progress events as needed - r+sr=roc 2008-12-06 18:25:16 +13:00
Patrick McManus
36e0dca600 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Serge Gautherie
d6255d3171 Backed out changeset: d98cdb0cdd15 2008-12-05 19:26:52 +01:00
Mike Kaplinskiy
b51abf4b07 Bug 440614 - text entry field unable to take focus; r=(bzbarsky + jst + peterv) sr=peterv 2008-12-05 17:27:02 +01:00
Graeme McCutcheon
db7058c5de Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Boris Zbarsky
f7532247af Merging backout 2008-12-03 12:20:32 -05:00
Boris Zbarsky
13333e839e Backed out changeset d351bde7a804 2008-12-03 12:19:47 -05:00
Boris Zbarsky
b99f5c612c Bug 466084. Fix reframing of plugin documents to reinstantiate the plugin correctly. r+sr=jst 2008-12-03 09:41:09 -05:00
Boris Zbarsky
0a75872a01 Bug 465806. Use the principal that corresponds to our securityInfo in document.open. r+sr=jst 2008-12-02 11:01:47 -05:00
Olli Pettay
1da8ce7514 Bug 430214, patch1, r+sr=sicking 2008-12-03 13:09:42 +02:00
Olli Pettay
8cf1e6c4bd Bug 464009, patch1, r+sr=sicking 2008-12-03 12:38:15 +02:00
Olli Pettay
be3b05cfd1 Bug 463424 - Make nsImageDocument/nsPluginDocument participate better in cycle collection, r+sr=peterv 2008-12-03 12:30:26 +02:00
Robert O'Callahan
76e539e029 Backed out changeset 3f5a6da199fc 2008-12-03 13:26:55 +13:00
Matthew Gregan
d3e8426e8c Bug 464158. Implement media type switching based on the MIME type of the loaded resouce. r=doublec,sr=roc 2008-12-03 10:16:15 +13:00
Jesse Ruderman
8a194aa3fe Add bug 353713 crashtest to CLOSED TREE. This test takes about 2 seconds on my machine as it tests mTooDeepWriteRecursion code, making it the slowest crashtest; hopefully this doesn't cause problems. 2008-11-29 18:43:45 -08:00
Blake Kaplan
1871e9b443 Bug 465626 - Fix GCC warning about using rv uninitialized. r+sr=jst, a191=beltzner. 2008-11-28 11:10:24 +01:00
Boris Zbarsky
757f481a59 Bug 462979. Fix synthesizeMouse to send events to the right place. r=enn, sr=roc, a=beltzner 2008-11-26 16:52:42 -05:00
Olli Pettay
a20e91fb88 Bug 464197, r+sr=roc, a=blocking1.9.1+ 2008-11-26 12:52:48 +02:00
Robert O'Callahan
38b1afff17 Backed out changeset ab6c0cda36b2 to fix test failures 2008-11-19 16:21:08 +13:00
Chris Pearce
21090b1054 Bug 451958. Implement access checks for media elements. r+sr=roc,a=beltzner 2008-11-19 14:08:39 +13:00
Boris Zbarsky
127c0998fe Bug 445004. Make the base and document URI of document.written documents be the base and document URI of the document on whose current context our code is running. r+sr=jst, r=dcamp 2008-11-18 17:54:36 -05:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Boris Zbarsky
9e8cad72b1 Bug 460713. Sanity-check the length. r+sr=jst, a=beltzner 2008-11-11 22:36:20 -05:00
Matthew Gregan
873fa1824f b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-07 09:53:20 +13:00
Justin Dolske
c16718dbda Backout 30bfb150da06 (bug 449315) due to unit test timeouts. 2008-11-05 16:37:51 -08:00
Justin Dolske
f701f9d7f5 Backed out changeset 30bfb150da06 2008-11-05 16:36:12 -08:00
Chris Pearce
cb992e4544 b=462953 Remove unimplemented media attributes/methods from media IDL r=doublec,sr=roc 2008-11-06 11:53:29 +13:00
Matthew Gregan
c39fd04c4a b=449315 Support WAV format in <audio> element. r+sr=roc 2008-11-06 11:25:04 +13:00
Justin Dolske
b851587e76 Investigating leaks in bug 463263, backout bug 453403. 2008-11-05 12:55:38 -08:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Doug Turner
7ae65dfa00 Merge to tip 2008-11-04 11:39:05 -08:00
Doug Turner
3a17255902 Quick follow up to 461827. Removing unneeded ifdef WINCE in the last file that has wince specific stuff wrt GetClassName. r=me 2008-11-04 10:15:02 -08:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Patrick McManus
3df57bb663 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:22:04 -05:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00