Peter Van der Beken
f95d18d798
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
2012-11-22 12:09:43 +01:00
Paul Adenot
a641c73fd5
Bug 455165 - Add support for chained ogg audio file and proper metadata dispatching. r=cpearce
2012-11-30 14:17:54 +01:00
Ralph Giles
18c4b91b29
Bug 816261 - Remove redundant MetadataTags namespace prefix. r=cpearce
...
In bug 811381, the MetadataTags struct was moved from the
nsHTMLMediaElement class to the mozilla namespace, requiring
an explicit path for this previously local reference.
However, bug 811381 added a local typedef so the explicit
namespace is no longer necessary.
2012-11-28 14:08:53 -08:00
Boris Zbarsky
6fa18e5571
Bug 815671 part 2. Make some content code use array references instead of array objects with implicit copies. r=smaug
2012-11-29 11:14:13 -05:00
Ed Morley
6235b77c71
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00
Peter Van der Beken
147e2bb1eb
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Peter Van der Beken
e441579753
Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
...
--HG--
extra : rebase_source : 878d559d1a57ad69bdac7bea682ea344ecdea96a
2012-11-19 11:59:13 +01:00
Daniel Holbert
c491e9d557
Bug 815928 part 4: Fix typo s/elemnet/element/ in comments & tests. DONTBUILD, rs=Waldo
2012-11-27 19:15:36 -08:00
Ehsan Akhgari
7d0b7e0454
Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
...
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken
38840fde33
Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
...
--HG--
extra : rebase_source : 0cd9bf993ed3981c1f2e37975ca8daf0b8e8ece7
2012-11-19 11:59:13 +01:00
Peter Van der Beken
9ac91a75ad
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Mounir Lamouri
85440b01dc
Bug 813936 - Update nsHTMLInputElement::GetStepBase() to return the default value if there is no min. r=smaug
2012-11-26 11:35:26 +00:00
Marco Chen
4502a45c4e
Bug 813426 - Fail to assign mozAudioChannelType twice. r=kinetik, a=blocking-basecamp
...
Return NS_OK when mozAudioChannelType is assiged to the same type even
if mDecoder is already set up.
2012-11-22 18:03:15 +08:00
Ehsan Akhgari
6248361b00
Bug 814284 - Part 2: Move the logic of dealing with requested codecs down into DecoderTraits::CanHandleMediaType; r=cpearce
2012-11-22 13:49:37 -05:00
Ehsan Akhgari
e83a5e9f35
Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce
2012-11-21 22:10:41 -05:00
Paul Adenot
02703184c2
Bug 495040 - Implement playbackRate and related bits r=kinetik
2012-11-22 11:38:28 +01:00
Matthew Gregan
173e3e502c
Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce
2012-11-22 16:38:39 +13:00
Boris Zbarsky
68481c3ece
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Nicholas Cameron
8fedf88e00
Bug 812453; fix CopyInnerTo; r=bz
2012-11-22 10:55:37 +13:00
Nicholas Cameron
0992344f55
Bug 814149. Fix GetCanvas. r=bz
2012-11-22 10:55:36 +13:00
Bobby Holley
760ce581ed
Bug 808608 - Remove unnecessary outparam. r=mrbkap
2012-11-21 13:20:05 -08:00
Ryan VanderMeulen
47710276d9
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
52e3d77eed
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Simon Montagu
982988287e
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Simon Montagu
000dc5ba87
Changes to existing tests caused by bug 548206
2012-11-21 02:13:55 -08:00
Seth Fowler
630ed49838
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
L. David Baron
b76b368af6
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
L. David Baron
be38660c66
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
Phil Ringnalda
305c73b87c
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Simon Montagu
e3a9ed59c0
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
Simon Montagu
608f139019
Changes to existing tests caused by bug 548206
2012-11-20 06:21:13 -08:00
Ehsan Akhgari
d5bdac2156
Bug 812032 - Refactor the media reader classes to not access MediaDecoder directly; r=cpearce
2012-11-19 10:11:21 -05:00
Marco Chen
88788c1c05
Bug 795237 - Web API for setting audio stream type. Part 2. r=kinetik, a=blocking-basecamp
...
Implementation on path of audio and video element
2012-11-16 11:25:26 +08:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Robert O'Callahan
ef63ff8332
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00
Boris Zbarsky
d23220892d
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
e369ff0f95
Bug 811449 part 3. Eliminate nsGenericElement as a separate class.
2012-11-14 14:10:07 -08:00
Matthew Gregan
a618a9e67f
Bug 806263 - Move {Get,Set}ValueItemText up to MediaElement. r=doublec
2012-10-29 15:09:07 +13:00
Peter Van der Beken
04d165e18c
Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
...
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Chris Pearce
9abb830db0
Bug 811381 - Remove ns prefix from media code. r=roc
...
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
42d7fd21b1
Bug 811381 - Move media code into mozilla namespace. r=roc
2012-11-14 11:45:33 -08:00
Chris Pearce
43653d0ccc
Bug 811381 - Move NextFrameStatus to MediaDecoderOwner, so that nsHTMLMediaElement doesn't need to include all of nsBuiltinDecoder. r=roc
2012-11-14 11:45:31 -08:00
Chris Pearce
f9e8b1f20a
Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc
2012-11-14 11:45:13 -08:00
Daniel Glazman
ec5abc800c
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08:00
Boris Zbarsky
bc9949138a
Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug
2012-11-14 10:05:41 -08:00
Bobby Holley
46b9d205df
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley
b47760337b
Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors
2012-11-14 16:45:28 +00:00
Peter Van der Beken
a6c1144dae
Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
...
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Peter Van der Beken
bc29ba2c56
Add testcase from bug 811226.
...
--HG--
extra : rebase_source : f3b7fc79491b6661d8a15ff2ef3302158c49e715
2012-11-13 16:52:00 +01:00
Nicholas Cameron
b75eec07c3
Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
...
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Brad Lassey
edd5ac461b
bug 739542 - Disable screen timeout when playing HTML5 <video> (webm, H.264) r=doublec
2012-11-01 08:47:51 -04:00
Peter Van der Beken
508194a997
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Justin Lebar
8c64b0474c
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
f774dcd8ba
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
19b287d268
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Peter Van der Beken
584658dc3e
Fix for bug 804991 (Make FromContent expect a non-null pointer and add FromContentOrNull). r=bz.
...
--HG--
extra : rebase_source : 52e1c9171d05ba034971cfa16741e12061e7335d
2012-09-26 16:17:51 +02:00
Boris Zbarsky
721e804d9a
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
2012-11-09 07:59:33 -08:00
Mounir Lamouri
2671f5a513
Bug 807613 - Add a pref to make the placeholder disappear when a text field is focused. r=bz
2012-11-09 10:32:58 +00:00
Mounir Lamouri
5eed937cc5
Bug 809584 - Move the placeholder visibility logic to nsTextEditorState. r=ehsan
2012-11-09 10:31:34 +00:00
Mounir Lamouri
58aa0a96d8
Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz
2012-11-09 10:24:23 +00:00
Mounir Lamouri
b48108567b
Bug 737786 - 1/5 - Show/hide placeholder based on display lists instead of CSS class. r=bz
2012-11-09 10:22:29 +00:00
Ehsan Akhgari
f739744839
Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
...
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface. In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Ehsan Akhgari
94d2c303e6
Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
...
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder. These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode. This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00
Ehsan Akhgari
0704216980
Bug 810177 - Part 2: Break MetadataTags out of nsHTMLMediaElements; r=cpearce
...
This patch simply moves the MetadataTags typedef to nsMediaDecoder.h to
reduce the dependencies on nsHTMLMediaElements.h. The rest of the
changes are made to make this compile.
2012-11-08 19:40:08 -05:00
Ehsan Akhgari
12f30adf52
Bug 810177 - Part 1: Move NextFrameStatus to nsMediaDecoder; r=cpearce
...
This patch simply moves the NextFrameStatus enum to nsMediaDecoder and
reorganizes things so that they compile again.
2012-11-08 18:22:32 -05:00
Dave Hylands
8d4907583e
Backout e655c9d59704 Bug 809186 until we decide that we really want this.
2012-11-08 21:50:08 -08:00
Dave Hylands
6e9b2d5735
Bug 809186 - Recognize .aac file extensions, and the audio/aac-adts mimetype for b2g. r=doublec
2012-11-08 10:08:48 -08:00
Robert O'Callahan
6b2b2ee5c8
Bug 792675. Part 7: Add support for MediaStream URIs to media elements. r=cpearce
...
--HG--
extra : rebase_source : 1c27fa7038dcdd3ab4e7eac6219b2ed5a6affa4a
2012-09-25 15:25:43 +12:00
Justin Lebar
d94c61c8ac
Bug 809587 - Increment the JS malloc counter when doing canvas.toBlob(). r=khuey
2012-11-07 17:49:21 -08:00
Masatoshi Kimura
3bd83e2eac
Bug 801402 - Use EncodingUtils::FindEncodingForLabel from DOM. r=sicking
2012-11-07 18:04:22 -05:00
s@rednaks.tn
fe869f336f
Bug 808964 - AccessKeyLabel should be empty string for elements without the accesskey attribute,r=smaug
2012-11-07 20:47:34 +02:00
Aryeh Gregor
a48443ba83
Bug 805287 - Block scripts in PrepareEditorEvent::Run; r=ehsan
...
--HG--
extra : rebase_source : cfe5bf684a384421094acb3f1e7bdea7bedc51bc
2012-11-04 14:27:49 +02:00
Boris Zbarsky
bad3a03ce9
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
da22cd5b71
Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger
2012-11-05 11:58:03 -05:00
Ms2ger
dd0deeb865
Merge PGO-green chanageset from inbound to m-c.
2012-11-04 10:26:52 +01:00
Ms2ger
48475a4d75
Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas
2012-11-04 09:05:25 +01:00
Jonathan Kew
6be1bd5f98
bug 804927 - fix text control frame and accessibility issues. r=ehsan,tbsaunde
2012-11-03 12:08:09 +00:00
Jan Beich
95464f420e
Bug 806139 - Add more supported h264 codecs, used by youtube for 1080p/720p and 240p. r=doublec
2012-11-02 16:11:51 -04:00
Justin Lebar
d75eb03310
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Justin Lebar
7e748f5b3a
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
6bd563b2ee
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
c936f604ec
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Chris Pearce
d33bf73a47
Bug 803287 - Don't use GStreamer (when enabled) for Ogg/WebM if builtin backends present. r=doublec
2012-10-30 14:38:42 +13:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Chris Pearce
818603ae1d
Bug 805301 - Rename iframe.mozallowfullscreen to allowfullscreen. r=jlebar
2012-10-30 11:02:24 +13:00
Josh Matthews
fcf5f9bfe7
Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan
2012-06-30 07:50:07 -07:00
Ryan VanderMeulen
dd87cc277e
Bug 799917 - Backout for various regressions.
2012-10-28 08:49:20 -04:00
Robert O'Callahan
981ed9e7ef
Bug 805254. Part 13: Make nsAudioStream::Write take an AudioDataValue* parameter instead of void. r=kinetik
2012-10-25 23:10:51 +13:00
Robert O'Callahan
4dcad1fa98
Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik
...
Replace nsAudioStream::Format with an AUDIO_OUTPUT_FORMAT enum value so we
can use it as a template parameter.
Introduce AudioSampleTraits<AudioSampleFormat> to give us access to the C++ type
corresponding to an enum value.
Move SampleToFloat/FloatToSample to AudioSampleFormat.h.
Introduce ConvertAudioSamples and ConvertAudioSamplesWithScale functions
and use them from various places.
Moves AudioDataValue to AudioSampleFormat.h. The name isn't great, but it'll do.
2012-10-25 23:09:40 +13:00
Robert O'Callahan
b1f3765e26
Bug 805254. Part 7: Move SampleFormat to mozilla::AudioSampleFormat in its own file. r=kinetik
2012-10-25 23:09:40 +13:00
Robert O'Callahan
d92a1b5efc
Bug 805254. Part 6: Replace some #ifdefs with if statements. r=kinetik
...
This is largely obsoleted by part 8. Sorry.
2012-10-25 23:09:39 +13:00
Nikhil Marathe
36f99c3113
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
17ccba841b
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
453b3dce5f
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Bobby Holley
24bb12ef77
Bug 801576 - Fix sandbox test. r=mrbkap
2012-10-24 12:04:18 +02:00
Ms2ger
38df9b3843
Bug 801486 - Skip script elements in HTMLOptionElement.prototype.text; r=bz
2012-10-21 09:38:40 +02:00
Olli Pettay
f5c0c70f94
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Kan-Ru Chen (陳侃如)
b004178115
Bug 791711 - Invalidate again if the SharedImageID was removed. r=nical
2012-10-20 08:18:31 +08:00
Ed Morley
c5fc1ce464
Merge mozilla-central to mozilla-inbound
2012-10-19 15:24:43 +01:00
Kyle Huey
f7d552a878
Bug 802926: Null check the callback passed to toBlob. r=sicking
2012-10-18 23:59:38 -07:00
Henri Sivonen
9f6eeef233
Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug.
2012-10-16 10:42:54 +03:00
Peter Van der Beken
57adeb4354
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
bzbarsky@mit.edu
696273ce6e
Bug 802243 - WrapperCache DOMStringMap, quickstub, r=smaug
...
--HG--
extra : rebase_source : 3c1bb6ab18692d647461af42e732e5f150ae8500
2012-10-17 04:14:32 +03:00
Olli Pettay
a25fbe40e2
Bug 802243 - WrapperCache DOMStringMap, r=bz
...
--HG--
extra : rebase_source : e908d30b301fc478c843b9c32c1b1846606fd6d2
2012-10-17 04:09:42 +03:00
Bobby Holley
2d8eff9c4b
Bug 797304 - Replace MoveWrapper nonsense with orphan fixup. r=peterv
2012-10-16 15:07:54 +02:00
Bobby Holley
560193a58b
Bug 797304 - Explicitly reparent the document to the new scope during document.open. r=peterv
2012-10-16 15:07:54 +02:00
Ed Morley
c9faf83062
Backout 6db369a15ea7 (bug 599320) for frequent failures in bug599320-1.html
2012-10-16 12:22:31 +01:00
Henri Sivonen
52e012a82d
Bug 599320 - Refuse encodings that are not rough ASCII supersets as hints from parent, previous doc or cache. r=smaug.
2012-10-16 10:42:54 +03:00
Kyle Huey
dd5b297749
Bug 648610: Followup for build bustage.
2012-10-15 14:57:40 -07:00
Kyle Huey
e860e3a746
Bug 648610: Implement <canvas>.toBlob. r=smaug
...
--HG--
rename : content/canvas/test/test_mozGetAsFile.html => content/canvas/test/test_toBlob.html
2012-10-15 14:15:25 -07:00
Aryeh Gregor
45b3e80460
Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu
2012-10-14 10:13:19 +02:00
Aryeh Gregor
2f24871362
Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz
2012-10-11 14:48:31 +02:00
Chris Pearce
56bc62cca5
Bug 690989 - Work around fullscreenchange events sometimes being dispatched before fullscreen transition completes on Linux. r=smaug
2012-10-09 11:21:57 +13:00
Josh Matthews
80112a2809
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-12 12:11:23 -04:00
Josh Matthews
36511684e4
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-12 12:11:22 -04:00
Josh Matthews
2c57ae944e
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-12 12:11:22 -04:00
Ed Morley
f71c7a0f14
Merge mozilla-central to mozilla-inbound
2012-10-12 12:22:14 +01:00
Olli Pettay
92201e89ad
Bug 797982 - investigation patch for StringBuilder::Unit crash, r=hsivonen
2012-10-12 14:14:15 +03:00
Nicholas Cameron
2e1a97f864
Bug 734668; rename files and classes. r=roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.h => content/canvas/src/CanvasRenderingContext2D.h
extra : rebase_source : ded29b0c029bbcee232c4760c49539f465d40399
2012-10-12 22:42:52 +13:00
Nicholas Cameron
a18fe5707c
Bug 734668; remove Thebes canvas. r=roc
...
--HG--
extra : rebase_source : 57b08c33f72cd611deb30dc1639060a719747849
2012-10-12 22:42:51 +13:00
Josh Matthews
08a5eceeeb
Back out bug 585385 for build bustage.
2012-10-11 21:58:24 -04:00
Josh Matthews
ae359191a3
Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe
2012-10-11 21:34:24 -04:00
Josh Matthews
de69f2ada1
Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe
2012-10-11 21:34:23 -04:00
Josh Matthews
f3459980ad
Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe
2012-10-11 21:34:23 -04:00
Anthony Jones
5fe12bbdd6
Bug 798802 - Fix layer uninitialised in nsHTMLCanvasElement::InvalidateCanvasContent(). r=mattwoodrow
2012-10-11 21:31:39 -04:00
Trevor Saunders
3d3592cd63
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
Chris Peterson
9608a360e1
Bug 794171 - Part 2: Add comments to GStreamer and Gonk's list of H.264 codecs. r=doublec
2012-10-10 18:08:42 -07:00
Aryeh Gregor
e6243dd74e
Bug 795804 - Use WeakPtr for nsTextEditorState where appropriate; r=ehsan
2012-10-10 15:22:27 -04:00
Masatoshi Kimura
5637d27654
Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu
2012-10-10 06:32:37 -04:00
Edwin Flores
f595565b88
Bug 795623 - Add audio/mpeg to list of supported OMX codecs r=doublec
2012-10-09 17:06:34 +13:00
Nicholas Cameron
eba282b1d5
Bug 748113; fallback to an Azure canvas with different backend, rather than Thebes canvas. r=Bas
...
--HG--
extra : rebase_source : c6f0b9cc0c8ebd3963ec44283d55bcaba1097e08
2012-04-26 10:04:36 +12:00
Boris Zbarsky
eaf7ffcf74
Bug 795221 part 6. Hook up xml-stylesheet PIs to cycle collect their stylesheet. r=smaug
2012-10-07 22:39:09 -04:00
Boris Zbarsky
9534d07c69
Bug 795221 part 5. Hook up <svg:style> elements to cycle collect their stylesheet. r=smaug
...
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-4.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
e192ce8c57
Bug 795221 part 4. Hook up <link> elements to cycle collect their stylesheet. r=smaug
...
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-3.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
529cae9883
Bug 795221 part 3. Implement cycle collection for GroupRule objects. r=smaug,dbaron
...
--HG--
rename : content/html/content/crashtests/795221-1.html => content/html/content/crashtests/795221-2.html
2012-10-07 22:39:09 -04:00
Boris Zbarsky
4f595e9bae
Bug 795221 part 2. Hook up <style> elements to cycle collect their stylesheet. r=smaug
2012-10-07 22:39:09 -04:00
Chris Pearce
223b7d2f32
Bug 795184 - Make iframe.mozallowfullscreen percolate across process boundaries. r=jlebar
2012-10-08 10:12:50 +13:00
Ed Morley
b9d0962f13
Merge mozilla-central to mozilla-inbound
2012-10-06 21:47:07 +01:00
Ed Morley
5abdf356a2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Ed Morley
cc9e8c3305
Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted
2012-10-06 16:46:09 +01:00
Ms2ger
9edc9e06ba
Bug 797113 - Reinstate support for setting select.options[n] to null; r=bz
...
--HG--
rename : content/html/content/test/test_bug780993.html => content/html/content/test/test_bug797113.html
2012-10-06 09:23:23 +02:00
Ms2ger
7789eca047
Bug 795610 - Part f: Prepare HTMLElement.innerHTML for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
eeb63e5593
Bug 795610 - Part e: Prepare HTMLElement.focus() for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
f5b72a0de2
Bug 795610 - Part d: Prepare HTMLElement.click() for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
ade404accf
Bug 795610 - Part c: Prepare HTMLElement.draggable for WebIDL bindings; r=mounir
2012-10-06 09:19:52 +02:00
Ms2ger
556952563a
Bug 795610 - Part b: Prepare HTMLElement.tabIndex for WebIDL bindings; r=mounir
2012-10-06 09:19:51 +02:00
Justin Dolske
56267a7d31
Bug 793366 - Add noise to the white background used for transparent images in image documents. r=jaws r=bz r=joe
...
--HG--
rename : toolkit/themes/pinstripe/global/TopLevelImageDocument.css => toolkit/themes/pinstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/pinstripe/global/TopLevelVideoDocument.css => toolkit/themes/pinstripe/global/media/TopLevelVideoDocument.css
rename : toolkit/themes/winstripe/global/TopLevelImageDocument.css => toolkit/themes/winstripe/global/media/TopLevelImageDocument.css
rename : toolkit/themes/winstripe/global/TopLevelVideoDocument.css => toolkit/themes/winstripe/global/media/TopLevelVideoDocument.css
2012-10-05 14:44:11 -07:00
Patrick Wang
30e3ec5d36
Bug 777384 - Prevent unprivileged code from embedding apps. r=jlebar
...
--HG--
extra : rebase_source : 5d93aeaf1a69d7609b914a207ed7f63b3d3545ad
2012-09-27 01:47:18 +08:00
Ed Morley
3d3703a920
Merge mozilla-central to mozilla-inbound
2012-10-02 11:19:03 +01:00
Peter Van der Beken
5a60bdb3d3
Bug 795610 - Part a: Outparamdel GetBoolAttr/GetIntAttr; r=mounir
2012-10-02 10:24:12 +02:00
Cameron McCormack
0dc074a5c3
Bug 795802 - Define content flags like frame state bits. r=bz
...
--HG--
extra : rebase_source : 4d67320ada060e29644ab6c070a1d5154b304d96
2012-10-02 10:52:06 +10:00
Peter Van der Beken
2561b4b1e6
Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Kyle Huey
e5eb83ac5a
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Steve Workman
fd6793666f
Bug 734546: Add DASH Decoders and Readers r=cpearce r=ted
2012-09-29 16:29:04 -07:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
5a14809d04
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Matt Woodrow
958ce7d98d
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
c863356300
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
c73c0db2f1
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Edwin Flores
78ee3c2d6c
Bug 759506 - Add support for zero-copy OMX hardware decoding to B2G r=doublec
2012-09-27 16:33:43 +12:00
Bobby Holley
9f03f90fb7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Robert O'Callahan
029e4c3706
Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
...
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00
Robert O'Callahan
e711b93859
Bug 778682. Part 2: Wait for NotifyHasCurrentData(true) callback on the input stream before entering HAVE_CURRENT_DATA for a media element. r=cpearce
...
--HG--
extra : rebase_source : c6e2fd2f258fbacd767a62751a1d1db3ceea6dd0
2012-09-20 12:47:50 +12:00
Ralph Giles
8afe2db560
Bug 793315 - Fix mozGetMetadata with single tag streams. r=cpearce
...
In Bug 785057, the implementation of mozGetMetadata was changed
to propagate a failure to define a new object property through
the return value of the nsDataHashtable interator. It turns out,
EnumerateRead returns the number of items processed, not the
last PLDHashOperator result. The upshot of which is that
the method returned an error if and only if only one tag
was processed.
Instead, carry and error flag in the iterator state, and check
that for failure.
2012-09-21 13:13:41 -07:00
Josh Matthews
566e597159
Bug 783878 - Part 1: Make nsXMLHttpRequest aware of the length of uploads. r=sicking
2012-09-19 18:15:32 -04:00
Ms2ger
1e7015f897
Merge PGO-green changeset from m-i to m-c.
2012-09-20 11:51:47 +02:00
Ms2ger
14bb88f62a
Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted
2012-09-20 09:55:36 +02:00
Boris Zbarsky
b2a0b52a75
Bug 789856. Fire error events on <script> elements which completely fail to start the load. r=sicking
2012-09-18 23:24:27 -04:00
Ehsan Akhgari
a17cac3016
Bug 788275 - Part 0: Make nsCORSListenerProxy's constructor not cause the object to be destroyed before it is constructed; r=bzbarsky
...
That is always a nice property to have!
2012-09-18 22:16:23 -04:00
Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Mark Capella
5a5ba0a45c
Bug 785091 - Remove nsIEditorObserver, r=ehsan
2012-09-17 11:14:56 -04:00
Peter Van der Beken
71b55b1f68
Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
...
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Peter Van der Beken
bc837e12ce
Fix for bug 788532 (Add the new DOM bindings API to DOM lists) - Rename nsIDOMHTMLCollection::GetNodeAt to GetElementAt. r=bz.
...
--HG--
extra : rebase_source : 9bd26842a548580b7ea90a29d2fdba8629a70ef7
2012-09-05 17:42:58 +02:00
Ms2ger
b58dc128db
Bug 782098 - Remove IsArea in nsGenericHTMLElement.cpp; r=mounir
2012-09-17 10:37:20 +02:00
Phil Ringnalda
2fdbc456a3
Bug 639705 - update test_fullscreen-api.html hacks to cover OS X 10.8 too
2012-09-16 01:01:59 -07:00
Ralph Giles
68124ab53f
Bug 785057 - Return an error after js exceptions. r=bz
...
Return PL_DHASH_STOP if JS_SetProperty fails, and check
the return code of the enumerator to propagate the failure
back to javascript through the return value of mozGetMetadata.
In addition, use JS_DefineProperty in mozGetMetadata so
web content can't intercept and alter our creation calls.
JS_SetProperty() will define a new property if it doesn't
exist, but it will also call any existing setters, in
particular those on Object.prototype. This is confusing
for an object that created by a platform object method
from internal data.
2012-09-14 16:04:46 -04:00
David Anderson
24145fc9a1
Merge from mozilla-central.
2012-09-10 12:16:38 -07:00
David Anderson
b0a287cfcc
Merge from mozilla-central.
2012-09-07 15:17:11 -07:00
L. David Baron
ff3df34b87
Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc
2012-09-06 21:16:09 -07:00
David Anderson
6c5722e35b
Merge from mozilla-central.
2012-09-06 18:28:59 -07:00
Ms2ger
d653d11db3
Bug 787412 - HTMLOptionElement.prototype.text should use do a deep tree traversal; r=mounir
2012-09-06 09:25:05 +02:00
Ms2ger
a56d5a2aa5
Bug 782915 - Outparamdel nsHTMLTableRowElement getters; r=mounir
2012-09-06 09:14:49 +02:00
Makoto Kato
c28c020a8f
Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza
2012-09-06 11:41:02 +09:00
David Anderson
043ddae94a
Merge from mozilla-central.
...
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Paul Adenot
227e7a96df
Bug 567077 - Fix an assertion failure when the decoder is cloned. r=cpearce
2012-09-04 16:25:02 -07:00
Paul Adenot
1328b09819
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 17:49:46 -07:00
Paul Adenot
2719cc62de
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
David Anderson
25c3dd55c0
Merge from mozilla-central.
...
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
6b403f94c2
Merge from mozilla-central.
...
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Ryan VanderMeulen
07a63bd067
Backout bug 567077 for bustage.
2012-09-05 18:36:38 -04:00
Paul Adenot
0abfc46448
Bug 567077 - Fix an assertion failure when the decoder is cloned. r=cpearce
2012-09-04 16:25:02 -07:00
Paul Adenot
bdab14e35c
Bug 567077 - Avoid sniffing when recreating a channel. r=cpearce
2012-09-04 16:24:12 -07:00
Paul Adenot
cce500079e
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce
2012-09-04 16:22:34 -07:00
David Anderson
188c88907e
Merge from mozilla-central.
2012-08-22 16:09:24 -07:00
David Anderson
1ef4c57410
Merge from mozilla-central.
2012-08-21 15:59:12 -07:00
Brendan Dahl
3f688bb97f
Bug 745025 - Part 1 - Adds mozPrintCallback for canvas. r=smaug
2012-08-31 10:45:45 -07:00
Chris Pearce
cdc788f72d
Bug 779914 - Remove redundant reset of nsHTMLMediaElement::mAudioStream. r=kinetik.
2012-08-21 17:07:00 +12:00
Chris Pearce
3eaba47273
Bug 779914 - Reset Mozilla Audio Data API in nsHTMLMediaElment::AbortExistingLoads(). r=doublec
2012-08-21 17:06:55 +12:00
David Zbarsky
fbb04700b6
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
David Anderson
565400115a
Merge from mozilla-central.
2012-08-16 14:04:20 -07:00
David Anderson
6fe112e8bf
Merge from mozilla-central.
2012-08-15 14:22:26 -07:00
Kyle Huey
fa127e8648
Merge m-c to b-s.
2012-08-15 06:25:20 -07:00
Kyle Huey
30cef0f1d5
Merge m-c to b-s.
2012-08-14 11:14:40 -07:00
Kyle Huey
2fc3f31d0c
Bug 697230: Part 2 - Push onload blocking logic down into imagelib. r=joe sr=bz
2012-08-13 15:58:53 -07:00
Kyle Huey
e3dadea704
Bug 683290: Discard images that are not in the DOM. r=bz
2012-08-13 15:11:50 -07:00
David Anderson
7ef28ac5ac
Merge from mozilla-central.
2012-08-13 13:40:42 -07:00
Mounir Lamouri
1077929b19
Bug 782227 - Add a todo() when there is no invalid form submission observer (content/ tests). r=Ms2ger
2012-08-13 12:14:34 +02:00
David Anderson
efd9a9feee
Merge from mozilla-central.
2012-08-10 14:50:20 -07:00
Honza Bambas
541453729c
Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking
2012-08-10 22:44:11 -04:00
David Zbarsky
b462ec011a
Bug 773842 - Fix build warnings under content/ r=mounir
2012-08-10 14:01:16 -04:00
David Anderson
b620fb6c5c
Merge from mozilla-central.
2012-08-09 13:41:13 -07:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
e2573fe71e
Bug 780993 - Reinstate support for setting indexed properties on HTMLSelectElement to null; r=bz
2012-08-09 09:10:21 +02:00
David Anderson
c9ca5124db
Merge from mozilla-central.
2012-08-08 15:09:49 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Paul Adenot
9670c86dc2
Bug 775319 - Determine the sample format at compile time for all media code. r=kinetik
2012-08-16 18:10:36 -07:00
David Anderson
3ffd33a2cb
Merge from mozilla-central.
2012-08-07 15:13:28 -07:00
David Anderson
9c45c01c55
Merge from mozilla-central.
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
ac219f63e6
Merge from mozilla-central.
2012-08-03 18:58:30 -07:00
Chris Double
716e968bbd
Bug 759945 - Part 6: Respect media.plugins.enabled preference - r=cpearce
...
--HG--
extra : rebase_source : e10d292ea2a90eb4b3796e630f67d5aab5fa5654
2012-08-10 20:15:31 +12:00
Chris Double
2e4abce09a
Backed out changeset dcb9299974a0 due to audio issues on android and b2g
...
--HG--
extra : rebase_source : 7e2b937487c3df9a40406eadf250e6596b89664f
2012-08-10 17:30:01 +12:00
David Anderson
ef13f46623
Merge from mozilla-central.
2012-08-02 13:47:20 -07:00
Ed Morley
66bb79039e
Backout ec46cfa51bf8, 4a54f06efee8, de811fbd27b0 & 67ea1314c777 (bug 567077) for causing bug 781141
2012-08-08 13:11:34 +01:00
David Anderson
bee6a61001
Merge.
...
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Matthew Gregan
54b084c615
Bug 779416 - Shrink some unnecessarily large char arrays used for codec types. r=cpearce
2012-08-01 18:15:27 +12:00
David Anderson
9929d37fcc
Merge from mozilla-central.
2012-07-31 17:19:41 -07:00
Matthew Gregan
f9ae5a3992
Bug 768333 - Follow up: remove redundant call to GetPositionInFrames. r=cpearce
2012-07-31 21:11:52 +12:00
David Anderson
644c651c3e
Merge from mozilla-central.
2012-07-30 13:15:39 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Anderson
5fc5a16b63
Merge from mozilla-central.
2012-07-24 16:32:08 -07:00
Ed Morley
1368da883d
Backout b4a63a0b90c2 (bug 778420), b849f1b3859a (bug 778420), d522b5a13b27 (bug 72964), 3a12c64bf53a (bug 778420), c07148142675 (bug 726053) for failures in test_bug435425.html on a CLOSED TREE
2012-08-07 00:57:27 +01:00
John Schoenick
b47165349e
Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst
2012-08-06 13:48:25 -07:00
Bobby Holley
1138ef9062
Bug 778420 - Fix up tests that don't like the new enablePrivilege, r=jmaher.
...
--HG--
extra : rebase_source : 07565c66b279ba5a58b5902b697110f940c255fd
2012-08-06 22:38:19 +02:00
William Chen
aa4917eef9
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : e014ba90baa75ba3146f4e3fb5c447b87a8e83c0
2012-08-06 22:15:49 +02:00
Camilo Viecco
b0baf98f91
Bug 726053 This patch removes all forms of 'obj instanceof Components.interfaces' for the new specialpowersAPI call. r=bholley
...
--HG--
extra : rebase_source : 8a246ed35698c4da3f8a4a5202dcce949121d722
2012-08-06 22:13:46 +02:00
Aryeh Gregor
f41637535d
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
David Anderson
921bd834c9
Merge from mozilla-central.
...
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Bobby Holley
364da93593
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
7a0429e652
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Jared Wein
d20b6112aa
Bug 756419 - White standalone image background flashes into view when switching tabs. r=roc,bholley
2012-08-08 12:42:37 -07:00
Matthew Gregan
0d47132a00
Bug 768333 - nsBufferedAudioStream::GetPositionInFrames miscompiled with Win32 PGO. r=cpearce
2012-07-16 17:21:04 -04:00
Luqman A.
f71f7ae597
Bug 775049 - DeCOMtaminate nsIRadioGroupContainer; f=Ms2ger r=mounir
2012-08-03 12:38:52 +02:00
Paul Adenot
54bd98e36a
Bug 774357 - Fix a crash in nsHTMLMediaElement::EndMediaStreamPlayback r=roc
2012-07-18 18:27:43 -04:00
David Zbarsky
d50e4a7565
[Bug 780428] Don't include nsIFrame.h in places where it's not necessary r=roc
2012-08-05 23:00:56 -04:00
David Anderson
b93d6b9c04
Merge from mozilla-central.
2012-07-12 13:23:26 -07:00
Michal Novotny
eac9e596d7
Bug 737615 - Remove use of synchronous cache API from unit tests - content tests, r=bsmith
2012-07-11 11:18:26 +02:00
David Anderson
56d1e29054
Merge from mozilla-central.
...
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Joshua Cranmer
774444109e
Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
...
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00