Commit Graph

32417 Commits

Author SHA1 Message Date
Benoit Jacob
59535f575b Bug 1027251 - Fix or whitelist dangerous public destructors in content/media - r=cpearce 2014-06-20 07:08:24 -04:00
Ms2ger
451c7edf83 Backout revision 308e51eae10c for build bustage.
--HG--
rename : layout/style/CSSStyleSheet.cpp => layout/style/nsCSSStyleSheet.cpp
rename : layout/style/CSSStyleSheet.h => layout/style/nsCSSStyleSheet.h
2014-06-20 13:00:08 +02:00
Ms2ger
9fb7f507f0 Bug 1022855 - Rename nsCSSStyleSheet to mozilla::CSSStyleSheet; r=heycam
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-20 12:32:49 +02:00
Paul Adenot
50badd6444 Bug 1015519 - Don't write uninitialized buffers to the AudioStream in AudioSegment::WriteTo. r=roc 2014-06-19 13:30:27 +02:00
Daniel Holbert
240f4e7f0d Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
b1e3198eed Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
c640e2a966 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Neil Rashbrook
58426e8e0c Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Andrew McCreight
20b5cacc2f Bug 1000609 - Free mData in ~BlobSet. r=khuey 2014-06-19 14:36:58 -07:00
Benjamin Chen
303b54cc27 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
Benjamin Chen
1f65ce65cb Bug 969372: part2: 1. Let Session hold a reference to MediaRecorder. 2. MediaRecorder implement nsIDocumentActivity. r=roc 2014-06-19 10:11:34 +08:00
Benjamin Chen
e1204d9e47 Bug 969372: part3: fix the testcase. r=roc 2014-06-19 10:14:37 +08:00
David Keeler
b76e545dd2 bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz 2014-06-19 13:55:55 -07:00
Jonathan Watt
6586dcffb2 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Ed Morley
7f35bd6ec6 Backed out changeset 9fd0316dcd1b (bug 1016413) for crashes during e10s test_metadata.html 2014-06-19 16:35:00 +01:00
Ed Morley
74e66972c7 Backed out changeset 3ff9374610b7 (bug 1016413) 2014-06-19 16:34:42 +01:00
Corentin Cos
54fa326eb6 Bug 1016413 - Tests for fmp4 metadata backend. r=rillian
The reporting of metadata with fmp4 backend is tested here with the
file gizmo.metadata.mp4, and some changes are made on test_metadata.html
to integrate tests on mp4 files with restriction to certain platforms.
A 'type' field has also been added to gMetadataTests' elements in
manifest.js in order to correctly test the type with canPlayType method
for instance.
2014-06-17 00:32:18 +02:00
Corentin Cos
f09bb3e0fc Bug 1016413 - Implement reporting metadata with fmp4 backend. r=rillian
There are 3 files modified in order to have the reporting work.

MP4Reader::ReadMetadata() has now its aTags parameter affected with
a certain MetadataTags structure which comes from MP4Demuxer::GetTags().

MP4Demuxer::GetTags() is in the mp4_demuxer's namespace, where a
structure mapping tags key to its char* value is set.

MP4Demuxer::GetTags() loops all along this mapping structure, and
checks for each key if there is metadata corresponding to it in the
current file's extracted metadata. If there is, it stores the current
key and its corresponding metadata value into a mozilla::MetadataTags
structure.
2014-06-17 00:32:18 +02:00
Ed Morley
69e146bee2 Backed out changeset d346871db5f6 (bug 1020697) for intermittent test failures 2014-06-19 13:19:56 +01:00
Jonathan Watt
b9198c3b7c Bug 1026985 - Stop reporting the memory use of nsAttrValue's MiscContainer objects if they are shared between more than one nsAttrValue. r=bz 2014-06-19 10:14:41 +01:00
Jonathan Kew
e83684913c bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Cameron McCormack
66ae57c571 Bug 1025725 - Part 3: Encapsulate nsXBLPrototypeResources::mStyleSheetList. r=bzbarsky 2014-06-19 17:02:56 +10:00
Karl Tomlinson
8856b9f442 b=1006279 finalize thread pool when MediaBufferDecoder is destroyed r=padenot
--HG--
extra : transplant_source : %B3%A2%CA%00%3Ct%23%E4%AF%17%3B%C4%D0%E08%8Bn%08%D8%94
2014-06-19 14:48:22 +12:00
Birunthan Mohanathas
bc0233fe47 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Birunthan Mohanathas
51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Nicholas Nethercote
aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
a13b5c1919 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Jeff Gilbert
db17b00de1 Bug 1000640 - Mark C/A 1.0/0.5 non-premult test as random, since it passes on Win7 Ru. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
73228c13b5 Bug 1000640 - Mark WinXP as failing color-alpha-test unpremultiplied reftests. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
f3d7974f16 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-18 17:04:06 -07:00
Jeff Gilbert
59d37e34f9 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jeff Gilbert
f89102edd1 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Kyle Huey
8141a83378 Bug 1015662: Drop the edge from <track> to its channel once the load is completed. r=bz 2014-06-18 13:10:24 -07:00
Corentin Cos
04e0b841e9 Bug 1026704 - Prefer FMP4 over GStreamer. r=rillian
This change has to be made because FMP4 is meant to take over GStreamer for MP4 file format. This way, FMP4 will be instantiated by default over GStreamer if both tools work (on a certain Linux platform).
2014-06-17 00:32:18 +02:00
Giovanni Sferro
2c4043716f Bug 1020697 - Implement @autocomplete for <select>. r=smaug 2014-06-17 19:50:00 +02:00
Masayuki Nakano
d6f9e801a9 Bug 976673 part.3 Don't synthesize mouse events while another mouse event is being synthesized r=smaug 2014-06-18 15:13:00 +09:00
Karl Tomlinson
03e30752f9 b=1026325 backout 169de60f0b1e from bug 821062 for shutdown hang
--HG--
extra : transplant_source : %92%9Cm8%AE%13%10U%06%FA%FA%15%08n%DF%5Do%18%87%E7
2014-06-18 17:24:05 +12:00
Karl Tomlinson
7c9f215217 b=1024901 revert TrackTicks range assertion to warning, unintentionally changed in b33b8af66151 r=roc
--HG--
extra : transplant_source : %D8%F8%C3%C2%C3%BF%29%F5%9C%3DiG%04%F9%86Gu%29%9A%8C
2014-06-18 17:23:57 +12:00
Chris Pearce
05136cdace Bug 979104 - MediaDecoderReader/StateMachine asynchronous decoding. r=kinetik 2014-06-18 17:07:02 +12:00
Nikhil Marathe
4a3b901700 Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst
--HG--
extra : amend_source : c8d89097ddfb423ba2eb39beb469c48b69944a89
2014-06-17 11:01:28 -07:00
Jonathan Watt
2586dd3cb2 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Ehsan Akhgari
3ea7f0f045 Fix the places where we forward declare mozilla::dom::Nullable as a class, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 11:03:42 -04:00
Ehsan Akhgari
28c14d47a0 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Josiah Bruner
0036c7d280 Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
Carsten "Tomcat" Book
e1f7ca9bf3 Merge mozilla-central to mozilla-inbound 2014-06-17 14:32:55 +02:00
Carsten "Tomcat" Book
e6b190e7a8 merge fx-team to mozilla-central a=merge 2014-06-17 14:09:46 +02:00
JW Wang
b0ada67489 Bug 1023781 - default preload is 'none' on B2G. It will not create a decoder at all and we will get 'suspend' instead of 'error'. r=cajbir 2014-06-16 20:17:00 +02:00
Josh Matthews
6599bdbd92 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2014-06-17 11:52:59 +01:00
Jonathan Watt
a9360e4878 Bug 1022821, part 3 - In content code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=gw280 2014-06-17 10:37:46 +01:00
Chris Pearce
5de925be63 Bug 1022913 - Ensure that fastSeek() doesn't skip behind the current playback position if we're seeking forwards. r=cajbir 2014-06-17 15:27:46 +12:00
Ben Kelly
8bf2933ed2 Bug 1025973 - Part 1: Rename GlobalObject::GetContext() to Context(). r=bz 2014-06-16 14:08:00 -04:00
Anthony Jones
01be5ccc3b Bug 1020679 - Crash test for timescale /0. r=cpearce 2014-06-17 13:52:01 +12:00
Olli Pettay
08774e4ba4 Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz 2014-06-17 02:01:22 +03:00
Carsten "Tomcat" Book
f2239c4b7e Backed out changeset 8fc4cf38057e (bug 1011748) for mochitest-e10s-1 test failures 2014-06-16 10:56:04 +02:00
Carsten "Tomcat" Book
74de5e696d Backed out changeset fc765663d8f8 (bug 1011748) 2014-06-16 10:55:32 +02:00
Gijs Kruitbosch
e07b6ed7da Bug 1022025, r=bholley,mfinkle 2014-06-14 22:01:55 +01:00
Michael A. Milazzo
c7f8e96b72 Bug 1011748 - Mochitest unit test + resource files for this bug. r=bzbarsky 2014-06-13 21:59:32 -07:00
Michael A. Milazzo
e81bf5330c Bug 1011748 - Added logic to GetStatusText to ensure the statusText is available after all redirects (if any) have been followed. r=bz 2014-06-09 23:14:53 -07:00
Walter Litwinczyk
24c2e12178 Bug 1024064 - webgl-1.0.3 Initialize all vertex attributes to default values. r=jgilbert 2014-06-12 13:27:19 -07:00
Ehsan Akhgari
4992220d59 Bug 1024459 - Define an out of line destructor for TextTrack so that we can forward delcare HTMLTrackElement in TextTrack.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-14 22:53:52 -04:00
Guillaume Abadie
8b404b63af Bug 973815 - Implements WebGL draft extension EXT_blend_minmax - r=jgilbert,bzbarsky 2014-06-14 09:07:53 -07:00
Ehsan Akhgari
2f2dae3d06 Bug 1025324 - Define an out of line destructor for MediaSource so that we can forward delcare MediaSourceList in MediaSource.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<MediaSourceList>
member requires the full definition of the type.
2014-06-14 10:04:01 -04:00
Masayuki Nakano
f31b35e66b Bug 1024864 Warn KeyboardEvent.key value change when KeyboardEvent.key is read and its key value is obsolete r=smaug 2014-06-14 11:24:16 +09:00
Ehsan Akhgari
0f2c9e9356 Backed out changeset ca5b7ed0dd5a (bug 973815) because of build bustage 2014-06-13 21:09:10 -04:00
Guillaume Abadie
d29e99ca32 Bug 973815 - Implements WebGL extension EXT_blend_minmax - r=jgilbert,bzbarsky 2014-06-10 18:20:12 -07:00
Jonathan Watt
03ce6fee26 Bug 1019753, part 2 - Use Moz2D DataSourceSurfaces instead of Thebes gfxImageSurfaces in DocumentRendererParent.cpp and ImageEncoder.cpp. r=mattwoodrow
--HG--
extra : rebase_source : fc39f0aede22e48ea853b1978eddeb8cc8c43a60
2014-06-04 08:08:39 +01:00
Ehsan Akhgari
9511934161 Backed out changeset 0cdef46c65c1 (bug 979104) for causing bug 1024324 2014-06-13 16:20:37 -04:00
Randell Jesup
9424944a6a Bug 1022235: Make the webrtc LoadManager/LoadMonitor a singleton r=bsmedberg,pkerr 2014-06-13 15:50:51 -04:00
Sid Stamm
5df17e9dde Bug 846978 - disable frame-ancestors checks when CSP is report-only and fix cross-origin frame-ancestors violation URI leak. r=ckerschb,grobinson 2014-06-13 11:06:04 -07:00
Sid Stamm
324e64da0b Bug 805929 - test CSP blockage of setInterval and return values from setTimeout. r=grobinson 2014-06-13 11:05:37 -07:00
Andrea Marchesini
8597ce0a97 Bug 1023175 - AudioContext should have attribute EventHandler onmozinterruptend/begin in the webIDL interface, r=ehsan, r=smaug 2014-06-13 07:06:14 +01:00
Ryan VanderMeulen
9b9d4ca1d2 No bug - Adjust expected assertions for test_playback_rate.html on Linux. 2014-06-12 18:20:16 -04:00
Milan Sreckovic
46fee89d00 Bug 1019257: Canvas pattern setTransform exposed through WebIDL. r=gw280,bz.
--HG--
extra : rebase_source : a12b913bf1cfeb11313aa1525d1ebcae075e1456
2014-06-12 10:54:43 -04:00
Ehsan Akhgari
d9ed40173b Bug 1024463 - Define an out of line destructor for TextTrackCue so that we can forward delcare HTMLTrackElement in TextTrackCue.h; r=bzbarsky
This is required because the destructor for the nsRefPtr<HTMLTrackElement>
member requires the full definition of the type.
2014-06-12 11:31:18 -04:00
Walter Litwinczyk
35b17402d5 Bug 1024066 - Fix webgl-1.0.3 conformance failure OES texture half float. r=jgilbert 2014-06-11 14:31:29 -07:00
Randy Lin
546b2e71e3 Bug 1011149 - Video freezes when audio track is disabled on remote stream. r=jesup 2014-06-10 10:32:30 +08:00
Xidorn Quan
a711bc7355 Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Giovanni Sferro
71cc0169a0 Bug 597650 - Label controls don't apply to input controls with type="hidden". r=smaug 2014-06-09 21:51:00 -04:00
Karl Tomlinson
8b889b1ea2 b=1023697 use audio ticks for graph time units r=roc
--HG--
extra : transplant_source : 8%BA%9D%5C%E32%05x%A79K%08TH%A7%F4%F2tg%EC
2014-06-12 16:45:00 +12:00
Karl Tomlinson
4ee59eb7cc b=1023697 use 0 for initial graph time r=roc
We could get away with 1 as an initial time when units were 1/(1<<20) seconds
but when graph time units are audio samples, an initial value of 1 will mean
that the first audio block produced has 1 frame fewer.

--HG--
extra : transplant_source : %FF%D5%AF%A9%C7%EA%C4%D7%ED%8F%CC%AC%E4%5E%FF%D0%87%8D%3AN
2014-06-12 16:45:00 +12:00
Karl Tomlinson
9d196f97b5 b=1023697 add functions to convert between track ticks and seconds, and remove global MediaTime/second conversion functions r=roc
--HG--
extra : transplant_source : %F3%D8%C168%B7%A3%13%B2p%3Ee%89TkGlD%A8%A7
2014-06-12 16:45:00 +12:00
Karl Tomlinson
2db93f820a b=1023697 simplify StreamBuffer::ForgetUpTo() to avoid graph-rate-dependent conversions r=roc
--HG--
extra : transplant_source : %16%9C%08%CA%3E%DD%82%21%D2%90%7D%29%FB%D9L%9E%F8%2A%CBd
2014-06-12 16:44:59 +12:00
Karl Tomlinson
7b69861556 b=1023697 add functions to convert between track rates and remove global StreamTime/tick conversion functions r=roc
--HG--
extra : transplant_source : %B6%BC%83%17%22%EE%5D%BEl%B6%17m%1C%D0N%D1C%97%60%E1
2014-06-12 16:44:59 +12:00
Karl Tomlinson
1a9a77a15c b=1023697 record the graph tick rate on StreamBuffer and its Tracks for StreamTime calculations r=roc
--HG--
extra : transplant_source : 8%B4%DB%A4%FE%2C%B7%235%7F%7D5%2C%FA%BA%0D%9E%CC%7E%11
2014-06-12 16:44:59 +12:00
Karl Tomlinson
a22b5917c4 b=1023697 use MediaStream to convert between stream time and seconds in Web Audio r=roc
--HG--
extra : transplant_source : %FE%C77k/%25%B4%25F%FB1%EAAqn%CA%DEH%06%C0
2014-06-12 16:44:58 +12:00
Karl Tomlinson
9c81aeb06f b=1023697 use MediaStream to convert stream time to seconds in DOMMediaStream r=roc
--HG--
extra : transplant_source : %D4%9E%26%05%E3%8AQ%7B%D1%D1%E8%88j%DC%F7r.%7BJ%1A
2014-06-12 16:44:58 +12:00
Karl Tomlinson
a97203f710 b=1023697 use MediaStream to convert stream time to ticks in media engine sources r=roc
--HG--
extra : transplant_source : %F9O%C0T_%C9%8D%9C%3Bt%CB%60%EA%60%C3i_%E0A%9D
2014-06-12 16:44:57 +12:00
Karl Tomlinson
d8710ad720 b=1023697 use MediaStream to convert stream time to seconds in HTMLMediaElement r=roc
--HG--
extra : transplant_source : %7D%AF%00%8F%0F4%E3%3C.%F7%E2%92%BA%CB%92%0E/%19%CFM
2014-06-12 16:44:57 +12:00
Karl Tomlinson
4395ec0566 b=1023697 use MediaStream to convert ticks to time in MediaDecoderStateMachine r=roc
--HG--
extra : transplant_source : %EA%E0%A5rH%F6%F55%B0%28%3Eq%5C%8Ap%FC%06%3D%06%3B
2014-06-12 16:44:56 +12:00
Karl Tomlinson
6d42cde63e b=1023697 change MediaDecoderStateMachine::mSyncPointInMediaStream from StreamTime to µs r=roc
This allows the conversion from StreamTime to be performed while a stream is
available.

--HG--
extra : transplant_source : %3A%AD%5C%1A%84%C3%1BC%8B%04%D5%5B%90%3Cv%BE%A6%D6%C0%9D
2014-06-12 16:44:56 +12:00
Karl Tomlinson
a87b3e8941 b=1023697 add methods to MediaStream for tick and time conversions r=roc
When MediaTime depends on the audio rate of the graph, the stream will know the
graph rate and so can perform the conversion.

Existing methods in StreamBuffer.h and MediaSegment.h will be removed once
clients have been changed to the new methods.

--HG--
extra : transplant_source : %155uv%90%EC%81%C8%888%C4%17%AF%ED%1B%A0B%90%5E%26
2014-06-12 16:44:56 +12:00
Karl Tomlinson
39c1ba5c7b b=1023697 remove unused TicksToTimeRound() r=roc
--HG--
extra : transplant_source : %3E%84%B8%C7%25%EE%EEz%08%B9%ABx8%27%C3%BA%9C%F6%9D%ED
2014-06-12 16:44:55 +12:00
Karl Tomlinson
a159b57786 b=995690 don't advance audio output stream position 1 tick beyond what has been produced r=roc
This may result in repeating a sample sometimes due to rounding effects, but
that should only happen once per unblocked sequence of track frames.

--HG--
extra : transplant_source : %0C%E9%A4jq%286%96%B1%A9%AE%9F%1Cr%DCK%8F%AF%92i
2014-06-12 16:41:29 +12:00
Karl Tomlinson
4aa2c0e210 b=995690 correct mLastTickWritten to only advance when not blocked r=roc
mLastTickWritten and offset are stream positions, which do not advance when
the stream is blocked.

--HG--
extra : transplant_source : %15%7B%E5%E9.%89%BC%1E%F8%92%FD%3D%CB%10%FC%AD%EAT%90-
2014-06-12 16:40:51 +12:00
Ehsan Akhgari
43e9352610 Bug 1024195 - Fix a compilation error with clang-cl in nsContentList.cpp; r=bzbarsky
This is similar to bug 1021494.
2014-06-11 21:56:59 -04:00
Cameron McCormack
ee89e8841b Bug 1023727 - SVGStyleElement::UnbindFromTree should look at the element's containing shadow, not its own shadow. r=wchen 2014-06-12 11:15:22 +10:00
Boris Zbarsky
dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Shihua Zheng
3bdb88ac01 Bug 1019368 - Cleaning extra whitespace in FileReader, r=bent. DONTBUILD 2014-06-10 20:59:45 -07:00
Ed Morley
a267ee9a6e Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00