Commit Graph

18823 Commits

Author SHA1 Message Date
Dan Glastonbury
a6209023a1 Bug 948002 - Remove trailing whitespace. r=jgilbert 2014-01-24 13:52:33 +10:00
Dan Glastonbury
8509053ecb Bug 948002 - Add functions getExtensionWithKnownPrefixes and getSupportedExtensionWithKnownPrefixes to fix tests that fail to parse. r=bjacob, r=jgilbert 2014-01-10 12:23:56 +10:00
Masatoshi Kimura
7becc353e7 Bug 959958 - Implement ImageData constructor. r=bz 2014-01-28 22:04:40 +09:00
Ryan VanderMeulen
0801693d08 Merge m-c to inbound. 2014-01-27 15:24:00 -05:00
Ryan VanderMeulen
c35da6fdf3 Merge b2g-inbound to m-c. 2014-01-27 15:05:03 -05:00
Jacek Caban
9d62049fa4 Bug 962354 - Fixed cross compilation on case sensitive OSes.
--HG--
extra : rebase_source : 1fc397a1fc5086b04f79addf6c162f66b845b991
2014-01-27 19:38:47 +01:00
Shelly Lin
c773010da1 Bug 957439 - Do not assert at Pause or Resume on unsupported input stream. r=roc, r=jsmith 2014-01-27 10:33:00 +08:00
Nathan Froyd
cbd28985b4 Bug 938786 - notify the secure browser UI, if any, first in NotifySubmitObservers; r=bz 2014-01-23 15:06:20 -05:00
Randy Lin
6a6aa3a1ea Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
Jon Coppeard
4a76452c21 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Robert O'Callahan
31c4032bca Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot 2014-01-16 00:13:08 +13:00
Robert O'Callahan
d08dd6d58f Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
5e98538b88 Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot 2014-01-16 00:08:20 +13:00
Paul Adenot
8ae42d79f9 Bug 952893 - Backout changesets 780cba0f9f59, 887fe3a09c3d and fb04a4252ea3 for bad commit message, DONTBUILD. 2014-01-29 17:36:56 +01:00
Robert O'Callahan
bbce6c3530 Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot
* * *
Bug 952893 - Fix the rebase.
2014-01-16 00:13:08 +13:00
Robert O'Callahan
032c9337eb Bug 952389. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
eb9730310f Bug 952389. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot 2014-01-16 00:08:20 +13:00
Gijs Kruitbosch
ad3c22d751 Bug 965238 - trivial patch to move anonid atom out of a11y ifdef, r=Enn
DONTBUILD because just fixing commit msg
2014-01-29 15:09:59 +00:00
Gijs Kruitbosch
881e8c0fe3 Backed out changeset 523a1736de8f (bug 965238) for wrong commit msg 2014-01-29 15:13:07 +00:00
Gijs Kruitbosch
4451a7824b Bug 965238 - trivial patch to move anonid atom out of a11y ifdef, r=smaug
--HG--
extra : rebase_source : 961d39f021801d4473fdf88786b2455bdcd30f81
2014-01-29 15:09:59 +00:00
Karl Tomlinson
0466b1681e b=964376 correctly handle a non-null ProduceAudioBlock aOutput parameter r=padenot
--HG--
extra : transplant_source : 6%BA%8FNSz%8C%BCrgZ%8B%96T-%8F%F6_%0B%01
2014-01-29 23:47:58 +13:00
Karl Tomlinson
1fb6e2d508 b=964376 don't SetNull() mLastChunks in debug builds r=roc
Some code was depending on this for correct operation, but then failed in
non-debug builds.

Instead, distort only mDuration to check that ProduceAudioBlock sets chunks.

--HG--
extra : transplant_source : %05%F7%F3C%09%2B%1D%13%1D%2B%0CsuA%9Dr%84%17%FC%8B
2014-01-29 12:55:10 +13:00
Karl Tomlinson
9faf032a35 b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot
--HG--
extra : transplant_source : s%04%B1%11%E9%F9%E2%92l%182%FFZm%81%E4/M%B3%BD
2014-01-28 18:14:25 +13:00
Karl Tomlinson
4245ee6562 b=933304 use AudioChunk::mVolume to optimize distance and cone gain r=padenot
--HG--
extra : transplant_source : %B6%97%20%08%AD%1E%D5N%A8q%5DMZ%5C%DB%10%89%F9%00%29
2014-01-28 18:14:25 +13:00
Karl Tomlinson
a3d1456e4e b=933304 apply PannerNode input gain to both channels, even for stereo input r=padenot
--HG--
extra : transplant_source : %BE%A54%E4%8Ezy%AC%FC%BD2%7D%A0h%BB%E0%25%60%94%CA
2014-01-28 18:14:25 +13:00
Karl Tomlinson
affab9414f test for bug 933304
--HG--
extra : transplant_source : %B6%EB%D6%89%CCpe%8A%3Cq%EE%F8%F8j%AC%EE%98%08h%08
2014-01-28 18:14:24 +13:00
Karl Tomlinson
d402f626fe b=957359 change failing output + finished assertion to warning r=padenot
--HG--
extra : transplant_source : %9A%B8%EE7h7PV%A9%E3P%B9%29%C1%FFz%40%DBPH
2014-01-28 18:14:24 +13:00
Karl Tomlinson
58b73ce9c7 b=957468 remove unused mNonRealtimeIsRunning r=ehsan
--HG--
extra : transplant_source : %F1%A1%5DT%21%AE%B0%AAh%1F%BB%06X%80F%9C%BBe%15U
2014-01-28 18:14:22 +13:00
Sid Stamm
53b4c0d99c Bug 911547 - make nsIContentSecurityPolicy serializable and trigger read/write from nsPrincipal. r=jst,grobinson
--HG--
extra : rebase_source : 3e1846e15538729f3c94f5c1470959b5d7b31f0f
2014-01-23 15:34:59 -08:00
Bobby Holley
094cd93292 Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Sid Stamm
e7799ef414 Bug 843311 - update CSP report-uri parsing to be spec compliant. r=grobinson 2014-01-24 10:24:08 -08:00
Ryan VanderMeulen
faf802a81e Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
a528d76af2 Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Vivien Nicolas
de0f1c860e Bug 961047 - Ensure all mozbrowser iframes use APZ when APZ is enabled. r=kats,fabrice 2014-01-23 18:45:00 +01:00
Boris Zbarsky
9eb56076b1 Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
dcfb519fa1 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Carsten "Tomcat" Book
9529a646f8 merge b2g-inbound to mozilla-central 2014-01-23 10:20:58 +01:00
Chris Pearce
7c8507fdd3 Bug 962354 - Create a threadsafe threadpool singleton for media threads. r=kinetik 2014-01-23 17:21:05 +13:00
Chris Pearce
72de85aba3 Bug 961885 - Rename the enum entries for HTMLTrackElement.readyState, as HTMLTrackElement::ERROR is defined in some other file that can be included in unified builds, causing errors when we add more files to content/media. r=rillian 2014-01-23 17:19:34 +13:00
Wes Kocher
a45e4bb415 Backed out changeset 47c7cd88eee1 (bug 961047) for b2g scrolling failures 2014-01-22 20:12:03 -08:00
Jeff Gilbert
fa8ee47d0f Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury 2014-01-22 19:59:34 -08:00
Jeff Gilbert
8a8208c468 Bug 962392 - Whitespace fixes. - r=dglastonbury 2014-01-22 19:59:33 -08:00
Ben Kelly
ea0bfbdf41 Bug 961441: Use MallocSizeOf to report decoded-audio memory. r=cpearce r=njn 2014-01-22 22:14:45 -05:00
Vivien Nicolas
f2c7bdc2e0 Bug 961047 - Ensure all mozbrowser iframes use APZ when APZ is enabled. r=kats,fabrice 2014-01-23 00:03:17 +01:00
Ryan VanderMeulen
7395629413 Merge inbound to m-c. 2014-01-22 15:15:22 -05:00
Ryan VanderMeulen
4e194d306a Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
CLOSED TREE
2014-01-22 12:48:44 -05:00
Alfredo Yang
76eb8c5636 Bug 959861 - Testcase for fragmented mp4 playback. r=cpearce 2014-01-22 10:50:23 -05:00
Alfredo Yang
165fa60246 Bug 959861 - Check if the media is seekable in MediaOmxReader::ReadMetadata(). r=cdouble 2014-01-22 10:50:23 -05:00
Wes Kocher
57b93417c3 Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Yeuk Hon Wong
f78d046e43 Bug 938652 - CSP directives and source expressions should do case-insensitive matching and comparison. r=geekboy 2014-01-22 13:18:55 -08:00
Ryan VanderMeulen
d63a7cfdda Merge m-c to inbound. 2014-01-22 15:55:49 -05:00
Boris Zbarsky
8544cfd7b3 Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
9720a99869 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
John Lin
c314c25e55 Bug 961925 - Move MOZ_OMX_ENCODER definition from local moz.build to global configuration file. r=gps 2014-01-23 09:32:32 -05:00
JW Wang
3eb023a6e9 Bug 916135 - Part 2: Don't call OMXCodec::pause in emulator mode to prevent getting stuck in paused state of OMXCodec. r=cdouble 2013-12-16 16:30:59 +08:00
JW Wang
95c567d954 Bug 916135 - Part 1: Force releasing codec to prevent timeout in waiting for acquiring h264 codec and set the preload attribute to "auto" to prevent timeout in waiting for loadedmetadata event. r=padenot 2014-01-17 13:58:48 +08:00
Olli Pettay
e7c8fa3bfd Bug 962393 - don't use JS_InternString in MessageManager, r=bz
--HG--
extra : rebase_source : 840ff708cca0aa1dbf9235727c967bd0d2d3f91e
2014-01-22 05:28:24 +02:00
Boris Zbarsky
a52d37aa9b Bug 961208 part 2. Change the WebIDL DoNewResolve hook signature to take a JSPropertyDescriptor. r=bholley 2014-01-21 22:08:51 -05:00
Luke Wagner
90c4cc3118 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Jonathan Watt
74a361b8b9 Bug 949134 - Use the default step for <input type=number>'s spin buttons if step='any'. r=smaug 2014-01-15 17:22:16 +00:00
Edwin Flores
719bbc1538 Bug 953394 - Remove debug code r=doublec 2014-01-22 09:59:54 +13:00
Ryan VanderMeulen
3d6e25c171 Merge m-c to inbound. 2014-01-21 15:20:25 -05:00
Sotaro Ikeda
3393c67ef8 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Alexandre Poirot
2bb95c6160 Bug 949549 - Ensure that CSP warnings reach webconsole for document hosted on app:// protocol. r=sstamm 2014-01-21 11:28:58 -05:00
Phil Ringnalda
a777e0b6f3 Merge m-c to m-i 2014-01-20 18:46:36 -08:00
Phil Ringnalda
bade4d1394 Merge m-i to m-c 2014-01-20 18:39:03 -08:00
Nathan Froyd
91f7b2222d Backout dc82a01d0cfe (bug 961318) for various JavaScript test failures on this CLOSED TREE 2014-01-20 20:09:59 -05:00
Luke Wagner
d5fde93cb3 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : bd4e6b296e7a02dbe2370a515174dcd1a6a57ffa
2014-01-20 18:00:18 -06:00
David Zbarsky
4dfc724aad Bug 952782 - Use nsIDocument instead of nsIDOMDocument in accessible r=tbsaunde, bz 2014-01-20 16:52:04 -05:00
David Zbarsky
8be21dc688 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Patrick Wang(Chih-Kai Wang)
bc0481aaac Bug 960641: Queue browser API calls before remote frame is shown. r=fabrice 2014-01-16 03:05:00 +08:00
Ms2ger
c86c6fd49b Bug 956862 - Move some mochitests to manifests; r=mshal 2014-01-20 08:58:27 +01:00
Ms2ger
a8af3aad23 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Ms2ger
233b067cc4 Bug 949627 - Fix reflect.js to work with strict equality in is(); r=mounir 2014-01-20 08:58:24 +01:00
Dan Glastonbury
bc3bdb3033 Bug 939117 - Don't reference NULL ptr. r=jgilbert 2014-01-20 14:13:23 +10:00
Dan Glastonbury
179ac4d20f Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-23 00:44:16 +09:00
Boris Zbarsky
285fc136ef Bug 941876 part 2. When compiling script attached to DOM elements, tell the JS engine what element is involved and which attribute is involved, if any. r=smaug 2013-11-26 11:47:52 -05:00
Boris Zbarsky
e346f0e355 Bug 941876 part 1. Pass in the element we're compiling the event handler for to the event listener manager, so it knows which element to associate with the compiled script. r=smaug 2013-11-26 11:44:37 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Andrea Marchesini
db2fa96fac Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Christoph Kerschbaumer
de1724c079 Bug 916054 - XPCShell tests for URLs with path. r=grobinson 2013-10-15 16:14:35 -07:00
Ms2ger
19e5583851 Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Ryan VanderMeulen
0439f91b53 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Ryan VanderMeulen
b60627b435 Backed out changeset 1395d2a59698 (bug 879668) for landing without review. 2014-01-18 23:00:52 -05:00
Ryan VanderMeulen
329466bb2b Merge m-c to b2g-inbound. 2014-01-17 15:30:54 -05:00
Yeuk Hon Wong
ee0c7a8bee Bug 587377 - Display CSP warning in the web console if a hostname is a quoteless CSP keyword match. r=sstamm 2014-01-17 11:10:29 -05:00
Ryan VanderMeulen
4e06172283 Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
CLOSED TREE
2014-01-17 10:20:05 -05:00
John Lin
da86bab01e Bug 879668 - Part 5: Add OmxAudioTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:13 -05:00
Shelly Lin
fa29418b0a Bug 879668 - Part 4: Add OmxVideoTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:02 -05:00
John Lin
131af2cba3 Bug 879668 - Part 3: Add OMXCodecWrapper. r=roc 2014-01-17 14:29:41 -05:00
John Lin
0c9c43ba7d Bug 879668 - Part 2: Add utility function to convert codec data from OMX AVC/H.264 encoder for MP4 container writer. r=roc 2014-01-17 14:29:20 -05:00
Deian Stefan
6c136d6a13 Bug 957821 - iframe sandbox test should fail when allow-scripts is not set. r=imelven, r=khuey 2014-01-01 21:39:25 -08:00
Andrea Marchesini
ab79c85864 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-17 15:24:03 +01:00
Carsten "Tomcat" Book
906000ee1a merge mozilla-inbound to mozilla-central 2014-01-17 10:11:39 +01:00
Bill McCloskey
86f8c70978 No bug - Fix merge conflict on a CLOSED TREE 2014-01-16 18:17:02 -08:00
Wes Kocher
430958c398 Merge fx-team to m-c 2014-01-16 17:41:45 -08:00
Ryan VanderMeulen
96b26d5b22 Merge m-c to fx-team. 2014-01-16 15:09:31 -05:00
Bill McCloskey
579f652e78 Bug 960246 - Handle failures when running message manager message handlers (r=smaug) 2014-01-16 11:43:34 -08:00