Commit Graph

18846 Commits

Author SHA1 Message Date
Robert O'Callahan
f281621615 Bug 941873. Blocked AudioNodeStreams should not run processing. r=karl
--HG--
extra : rebase_source : 122b7c48df42f78e9f7d2b8176ff6bc1ca14ad28
2014-01-15 23:07:30 +13:00
Vladimir Vukicevic
9e20208adb b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert 2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
a988bc2a34 b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Robert O'Callahan
a6a2135174 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
de915bf668 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
b026956759 Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot,karlt 2014-01-16 00:08:20 +13:00
Rick Eyre
30d2690f2c Bug 918289 - Remove video sources from MediaElements in TextTrack tests where they are not needed. r=cpearce 2014-01-27 12:13:16 -05:00
Terrence Cole
2e7acf2929 Bug 963738 - Fix some false positives in the Array analysis; r=jonco 2014-01-28 12:05:35 -08:00
Ryan VanderMeulen
c578705bd5 Merge b2g-inbound to m-c on a CLOSED TREE. 2014-01-29 15:37:19 -05:00
Ryan VanderMeulen
a5b81a765d Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE. 2014-01-29 14:34:08 -05:00
Paul Adenot
dca90b3409 Bug 952893 - Null-check mStream in AudioDestinationNode::SetIsOnlyNodeForContext as it can be called during CC, on a CLOSED TREE.
--HG--
extra : rebase_source : 20893fd4bba9a92c71a3e205e58dc03e6f2958dd
2014-01-29 19:09:39 +01:00
JW Wang
a70cddecbb Bug 910903 - Stop requesting data when count >= 30 to prevent the main thread from starving the encoding thread. r=jsmith 2014-01-28 13:41:11 +08:00
John Lin
7ad42feef2 Bug 963502 - [MediaEncoder] OMXAudioEncoder will be out of input buffers if input segment is too big. r=roc 2014-01-29 08:20:55 -05:00
Rick Eyre
5e2db9afd6 Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian 2014-01-27 12:26:50 -05:00
Ryan VanderMeulen
56ad345355 Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
Neil Deakin
95de2e33ba Bug 941409, add support for an anchor attribute to menus so that the popup can be anchored to a different element than the menu itself, this is used to avoid repositioning the bookmarks toolbar button menu, also changes popups to default to vertical orientation [Australis] r=neil,mconley 2014-01-28 11:28:45 -05:00
Dan Glastonbury
38a3723f74 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-28 05:59:24 +09:00
Paul Adenot
9002ff9c6c Bug 961787 - Buffer more data when using MediaElementAudioSourceNode / mozCaptureStream from a media decoder. r=roc 2014-01-27 19:10:48 +01:00
Dan Glastonbury
b0fd3de97e Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
e291e9fb5f Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
1966c22b51 Bug 953221 - Minor erroneous complete check fails. r=bjacob 2014-01-24 13:59:33 +10:00
Dan Glastonbury
f1d0bcf182 Bug 948002 - Add extra comments of meaning of GLenum to IsValidFBOXXX calls. r=jgilbert 2014-01-24 16:28:47 +10:00
Dan Glastonbury
2b561084d6 Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.

With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
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