Commit Graph

16743 Commits

Author SHA1 Message Date
Trevor Saunders
9e89d5473a bug 908347 - remove text handling from html content sink r=mrbkap 2013-08-17 14:42:20 -04:00
Trevor Saunders
b9be66f90f bug 908347 - make a bunch of html content sink stuff explicitly only deal with html:body r=mrbkap 2013-08-17 11:39:34 -04:00
Trevor Saunders
0725c40515 bug 908347 - rm nsIDebugDumpContent r=mrbkap 2013-08-17 10:46:38 -04:00
Trevor Saunders
451919578d bug 908347 - remove OpenHeadContext() r=mrbkap 2013-08-17 09:11:18 -04:00
Trevor Saunders
8a1030ed0e bug 908347 - make Open / Close Container() take an enum with only html and body elements r=mrbkap 2013-08-17 08:06:23 -04:00
Trevor Saunders
916b264dfc bug 908347 - remove nsIHTMLCOntentSink::IsEnabled r=mrbkap 2013-08-17 07:45:46 -04:00
Trevor Saunders
e759f9279a bug 908347 - kill nsIParserNode r=mrbkap 2013-08-16 22:19:32 -04:00
Trevor Saunders
9b7a5a0081 bug 908347 - rm the bits of nsIHTMLContentSink nobody calls r=mrbkap 2013-08-16 22:02:26 -04:00
Trevor Saunders
5c394b9fd5 bug 908347 - HTMLContentSink::OpenContainer() doesn't need a parser node either r=mrbkap 2013-08-16 21:20:57 -04:00
Trevor Saunders
5b2e6ee3e2 bug 908347 - OpenBody() doesn't need a parser node r=mrbkap 2013-08-16 21:00:33 -04:00
Trevor Saunders
bef3c298f9 bug 908347 - SinkContext::OpenContainer() only needs a tag r=mrbkap 2013-08-16 20:45:39 -04:00
Trevor Saunders
b13117d008 bug 908347 - CreateContentObject() doesn't need a parser node r=mrbkap 2013-08-16 20:29:23 -04:00
Trevor Saunders
a4ad18f419 bug 908347 - remove HTMLContentSink::AddAttribute() r=mrbkap
the first thing it does is to return if nsIParserNode.GetAttributeCount()
returned 0 which the one impl always does, so its all dead code we can remove.
2013-08-16 19:51:58 -04:00
Trevor Saunders
f852218be0 bug 908347 - rm nsIElementObserver r=mrbkap 2013-08-16 16:39:22 -04:00
Ivan Alagenchev
f051f81c26 Bug 875456 - DOM patch. Modifies Mixed Content Blocker, so that its messages are appropriately logged to the security console. r=bz 2013-08-26 11:27:00 -04:00
Jeff Gilbert
e7b98f217c Bug 783674 - WebGLContext::Render to use ReadScreen* and mark its surfaces as dirty. r=bjacob 2013-08-26 11:26:27 -04:00
Randell Jesup
7c2560bf88 Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc (reland) 2013-08-26 02:07:19 -04:00
Randell Jesup
4049bed258 Bug 909187: Part 1-Refactor MediaStreamTrack disabling so we can call it directly and access from other threads r=roc (reland) 2013-08-26 02:07:17 -04:00
Hsin-Yi Tsai
2ea077b16b Bug 772765 - part2 - Telephony DOM. r=bent 2013-07-06 18:24:55 +08:00
Eitan Isaacson
b64475c4fc Bug 906867 - Include speech synth ipdls regardless of it being enabled at build time. r=gps 2013-08-20 09:24:04 -07:00
Guillaume Abadie
f54c0d20fb bug 903481_- step 3 - [WebGL 2.0] implement TRANSFORM_FEEDBACK_BUFFER - r=jgilbert 2013-08-20 11:36:20 -04:00
Guillaume Abadie
3175b5af43 bug 903481 - step 1 - Move WebGL buffers function into GLContextBuffers.cpp - r=jgilbert 2013-08-20 11:36:19 -04:00
Rick Eyre
cc0a3a7eac Bug 905320 - Add regression tests to make sure we don't leak again. r=khuey
Original test comes from bug 895305 which is a duplicate of 905320.
2013-08-15 18:30:13 -04:00
Rick Eyre
7b90a3a973 Bug 905320 - Fix TextTrack classes to utilize cycle collection correctly. r=khuey
We were incorrectly using the wrapper cache cycle collection macros when that
functionality was already implemented by the base classes. Therefore, we
should instead use the inherited version of the cycle collection macros.
2013-08-15 11:11:15 -04:00
Bobby Holley
b306fdba14 Bug 901106 - Make nsJSRuntime initialization infallible and do it implicitly in the nsJSContext constructor. r=mrbkap
We also move the runtime out of the namespace, which requires some updates.
2013-08-19 16:24:29 -07:00
Bobby Holley
4e0f1d69d4 Bug 901106 - Remove nsIScriptRuntime. r=mrbkap
All this stuff is now for nsGlobalWindow's use only.
2013-08-19 16:24:28 -07:00
Bobby Holley
17c2bda537 Bug 901106 - Stop using nsIScriptContext for XUL prototype documents. r=smaug
This patch is roughly analagous to what I did for XBL compilation scopes in
https://hg.mozilla.org/mozilla-central/rev/26898c90f9cc.

According to CC dumps, the gray unmarking during MarkInCCGeneration prevents this
stuff from being traversed during CC.
2013-08-19 16:24:28 -07:00
Bobby Holley
bd19c859e0 Bug 901106 - Stop implementing nsIScriptGlobalObjectOwner in nsXULPrototypeDocument. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley
f105b0820c Bug 901106 - Pass nsXULPrototypeDocuments directly through serialization and use AutoSafeJSContext at the serialization point. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley
d2b2614903 Bug 901106 - Be more direct in nsXULPrototypeScript::Compile. r=smaug
Given that this is just the phony compilation global we're dealing with, the
only thing relevant about this script context is that it defaults to the right
compartment. But we can do that manually with the SafeJSContext.

The CanExecuteScripts check was something I added to address review comments
in bug 901162 comment 8. I now realize that it's effectively a no-op, because
the nsIScriptContext here corresponds to the compilation scope, not the
document, so it will never have script disabled.
2013-08-19 16:24:27 -07:00
Bobby Holley
2947d0c4f8 Bug 901106 - Inline and remove nsIScriptContext::{Serialize,Deserialize}. r=smaug 2013-08-19 16:24:27 -07:00
Bobby Holley
e49c7c295a Bug 901106 - Deserialize FastLoad scripts into the compilation scope, rather than the scope of the first document created. r=smaug
This code dates back to 2003, and smaug and I both think it's probably a bug.
In fact, it might cause leaks, because the prototype document would hold the
script alive, the script would hold the document alive, and the document would
hold the prototype document alive in the cache.
2013-08-19 16:24:26 -07:00
Ralph Giles
32a4c9234d Bug 865253 - Part 5: Shorten a comment to fit in 80 columns. r=ehsan 2013-08-19 11:58:00 -07:00
Ralph Giles
b2a2d1d336 Bug 865253 - Part 4: Stop OscillatorNodes on context shutdown. r=ehsan
Like AudioBufferSourceNode and ScriptProcessorNode, OscillatorNode
holds a self-reference in mPlaying. Keep track of all osc nodes
in the AudioContext and explicitly stop them to make sure this
reference is dropped.
2013-08-19 11:57:00 -07:00
Ralph Giles
b6cd82c798 Bug 865253 - Part 3: Direct generation of fixed oscillator types. r=ehsan
Simple direct calculation of the fixed types.

We probably want to use the PeriodicWave machinery to generate
the pre-defined waveforms once it's available. In either case
we can optimize this significantly by caching the generated
waveform when the frequency is stationary over the block.
2013-08-19 11:56:00 -07:00
Ehsan Akhgari
8ac7f2d7eb Bug 865253 - Part 2: Implement the alternate enum values for OscillatorNode; r=roc 2013-08-19 11:54:00 -07:00
Ehsan Akhgari
d323ec880a Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc 2013-08-19 11:53:00 -07:00
Randell Jesup
5a2c890c2d Bug 905002: backout bug 879717 until we can fix the mac-only regression rs=roc 2013-08-19 18:30:15 -04:00
Olli Pettay
36eeda0bef Bug 906684, make sure to access the right EventTargetChainItem when forwarding events to chrome, r=jst
--HG--
extra : rebase_source : afb2b457c422585e85d7abccfd76f0b6f85315a4
2013-08-20 00:12:56 +03:00
Cervantes Yu
06fc4f787a Bug 897741 - Limit the CSP cache key size to reduce memory usage. r=fabrice 2013-08-19 09:43:44 -04:00
Rick Eyre
c1cfcbff53 Bug 880064 - Change HTMLTrackElement::Kind to a DOMString value. r=Ms2ger
This was originally in the spec as an enumerated value, but due to the current
problems with reflecting enumerated values it had to be changed to a DOMString.
This has been changed in the HTML5 spec as well.
2013-07-04 14:16:05 -04:00
Mina Almasry
a87af7052e Bug 717181 - Make <fieldset> invalid if they contain an invalid form control; r=mounir
This adds a CSS psuedo class to fieldset that acts much in the same way as the one
on form.
2013-08-16 20:32:47 -04:00
David Zbarsky
46c6e64d77 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Phil Ringnalda
78bbb02c92 Merge m-c to m-i 2013-08-18 17:51:12 -07:00
Phil Ringnalda
486b4deb9e Merge fx-team to m-c 2013-08-18 17:44:05 -07:00
Tanvi Vyas
3bf47f8be6 Bug 902350 - Mochitest. r=smaug 2013-08-18 12:32:09 -07:00
Phil Ringnalda
dca3d35d2b Merge m-c to fx-team 2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 21:51:41 -04:00
Wes Kocher
26a0024de1 Backed out changeset 2404f5888de3 (bug 864589) 2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38 Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan 2013-08-16 16:45:42 -04:00
Ehsan Akhgari
477c24d934 Bug 905444 - Do not attempt that we can handle empty channels when mixing; r=roc 2013-08-16 10:42:50 -04:00
Olli Pettay
b74af2cf58 Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Olli Pettay
37da35ff10 Bug 902481 - Make EventTargetChainItem pool thread agnostic, v2, r=jst
--HG--
extra : rebase_source : e1e9d9b87a29fd1d3ad6645f87a7075295c3c91d
2013-08-16 13:00:00 +03:00
Chris Double
1a460ea6ef Bug 905070 - Fix uninitialized value use in HTML media element - r=kinetik 2013-08-16 21:57:17 +12:00
Honza Bambas
5c7819fda9 Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-16 11:34:21 +02:00
Carsten "Tomcat" Book
59ec523b5e merge fx-team to mozilla-central 2013-08-16 10:29:59 +02:00
Guillaume Abadie
204c1119e6 bug 903455 - [WebGL 2.0] Implement transform feedback: RASTERIZER_DISCARD - r=jgilbert 2013-08-15 20:43:47 -04:00
Guillaume Abadie
91426ae90f bug 902488 - [WebGL 2.0] Occlusion queries optimizations - r=jgilbert 2013-08-15 19:47:26 -04:00
Ehsan Akhgari
1bb70455b6 Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-15 15:44:14 -04:00
Blake Kaplan
ca211ecbfc Bug 851353 - Make sure the incoming node's JSObject is up to date. r=bzbarsky 2013-08-15 14:39:28 -07:00
Brian Hackett
dbe559cdac Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke. 2013-08-15 14:14:43 -07:00
Guillaume Abadie
cd03bdb26a bug 902063 - GLContext complete extension group queries - r=bjacob,jgilbert 2013-08-15 15:58:20 -04:00
Ehsan Akhgari
c0a07f27fe Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Christoph Kerschbaumer
6c9aabf033 Bug 802872 - Mochitest verifying that CSP restricts EventSource using the connect-src directive. r=grobinson 2013-08-12 17:22:44 -07:00
Christoph Kerschbaumer
211fabf11b Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm 2013-08-12 14:54:12 -07:00
Nicholas Nethercote
a3ff92e03c Bug 904962 (part 1) - Don't #include js/CharacterEncoding.h in jsapi.h. r=luke.
--HG--
extra : rebase_source : abe40ea3e55059dc6271d0f7c9f4d19ed9413186
2013-08-13 18:34:24 -07:00
Robert Longson
b76cfc4979 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
L. David Baron
d0c5182318 Back out changeset 2454e6a5edbd (Bug 904926) on CLOSED TREE for lots of fatal assertions in Windows debug builds in MediaDecoder::IsDataCachedToEndOfResource. 2013-08-14 22:36:17 -07:00
Robert O'Callahan
d79d0821c2 Bug 904926. Remove unnecessary lock. r=cpearce 2013-08-15 16:24:00 +12:00
Robert O'Callahan
413c4d1501 Bug 902320. Prevent untimely destruction of mElement during HTMLMediaElement::StreamListener callbacks. r=smaug 2013-08-15 16:23:52 +12:00
Wes Kocher
0e341ba80c Backed out changeset 016fa89e49b0 (bug 905409) on a CLOSED TREE 2013-08-14 17:21:45 -07:00
Ehsan Akhgari
e73f6e995f Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-14 18:46:00 -04:00
Nathan Froyd
f2686f1332 Bug 903543 - eliminate static constructors for SMIL type singletons; r=dholbert
Add MOZ_CONSTEXPR to the constructors to inform the compiler the constructors
can be folded away.  Remove protected/private destructors so that static
destructors don't have to be registered with static constructors.
2013-08-12 10:13:34 -04:00
Nathan Froyd
400a5f7467 Bug 905135 - move zero values to their point of use in nsSMILCSSValueType.cpp; r=dholbert 2013-08-14 08:45:49 -04:00
Ryan VanderMeulen
c292f445e7 Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Randell Jesup
84e1617a01 Bug 905062: Clean up fake source for getUserMedia r=padenot 2013-08-14 17:01:16 -04:00
Bobby Holley
fae00b9013 Bug 903212 - Remove ScriptEvaluated, and simplify callers. r=mrbkap 2013-08-14 14:00:03 -07:00
Ryan VanderMeulen
c3a2463652 Backed out changeset 2de45d78653d (bug 884332) for mochitest-1 asserts. 2013-08-14 10:57:09 -04:00
Kartikaya Gupta
dda4ae2f30 Bug 890280 - Ensure that the APZCTreeManager gets input events in screen coordinates. r=smaug 2013-08-14 10:15:27 -04:00
Carsten "Tomcat" Book
4a10a49030 merge mozilla-central to b2g-inbound 2013-08-14 15:02:24 +02:00
Ms2ger
3d504dcb66 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
77e22ca96b Bug 904178 - Part c: Use nsIDocument in UndoManager::DispatchTransactionEvent; r=wchen 2013-08-14 09:03:15 +02:00
Ms2ger
d032b52f00 Bug 904178 - Part b: Use nsIDocument in nsEventListenerManager::SetEventHandler; r=smaug 2013-08-14 09:02:49 +02:00
Ms2ger
c2315a28ab Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
bbe4225d9d Bug 902901 - Give nsScriptElement.h an include guard; r=hsivonen 2013-08-14 08:57:41 +02:00
Ms2ger
0c3b97da57 Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
2e3d829eba Bug 903791 - Make HTMLOptionElement.index infallible; r=mounir 2013-08-14 08:57:04 +02:00
Ms2ger
9da2f1b3f4 Bug 901320 - Stop including AutoRestore.h in nsContentUtils.h; r=jlebar 2013-08-14 08:56:25 +02:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ms2ger
c1baf7b07f Bug 901269 - Part a: Move HTMLOutputElement::GetValue out of line; r=dzbarsky 2013-08-14 08:55:11 +02:00
Ms2ger
2a3db67e63 Bug 887499 - Null-check mSelect in HTMLOptionsCollection::Add; r=smaug 2013-08-14 08:54:44 +02:00
Shelly Lin
0ce5665500 Bug 903023 - memset with 0 if the buffer of audio chunk is null. r=roc 2013-08-14 11:04:52 +08:00
Shelly Lin
cb7d5fde17 Bug 897895 - Correct the pcm offset when encoding audio source with two channels. r=roc 2013-08-14 11:04:55 +08:00
Birunthan Mohanathas
246604af9a Bug 884332 - Limit domain labels to 63 chars in HTMLInputElement::IsValidEmailAddress. r=mounir 2013-08-14 08:51:55 -04:00
Szu-Yu Chen [:aknow]
5819219f33 Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent 2013-08-14 08:50:22 -04:00
Ryan VanderMeulen
e3c63e070e Merge m-c to fx-team. 2013-08-13 16:55:00 -04:00
Ryan VanderMeulen
5f126715b1 Merge m-c to fx-team. 2013-08-13 15:39:41 -04:00
Ryan VanderMeulen
a9619b4c64 Merge m-c to b2g-inbound. 2013-08-13 15:38:58 -04:00
Ryan VanderMeulen
2147aecd7d Backed out changeset 850ef8175560 (bug 663567) for B2G mochitest-1 failures. 2013-08-13 12:35:58 -04:00
Jeff Gilbert
b55980c364 Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-13 16:54:51 -07:00
Guillaume Abadie
86136e3f00 bug 900767 - Implement the WebGL extension ANGLE_instanced_arrays - r=jgilbert 2013-08-13 18:11:01 -04:00
JW Wang
0a419b70d3 Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium 2013-08-13 17:30:18 +08:00
JW Wang
99015508fd Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf, r=glandium 2013-08-13 15:39:42 +08:00
Ryan VanderMeulen
9fae8ce672 Merge m-c to inbound. 2013-08-13 16:56:11 -04:00
Ehsan Akhgari
dcc5877fbb Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Paul Adenot
df42bbf5c3 Bug 903476 - Fuzz a bit more and android as well.
--HG--
extra : rebase_source : 57d9a1ed3549a0c8a2af9fb8be42b5823f21a2ec
2013-08-13 15:56:42 +02:00
Christoph Kerschbaumer
82c1ef44f0 Bug 663567 - Mochitest verifying that content added by XSLT stylesheet is subject to document's CSP. r=grobinson, r=sstamm 2013-08-12 14:54:12 -07:00
Paul Adenot
a458f5268f Bug 903476 - Fuzz a bit more on win32.
--HG--
extra : rebase_source : 321848369a2f2401b1fcaf287bfbcd049a7c299c
2013-08-13 14:48:36 +02:00
Mounir Lamouri
1644a00ceb Bug 846688 - Move IsLTR() from nsHTMLInputElement.cpp to dom::Element. r=bz 2013-08-13 12:21:05 +01:00
Paul Adenot
e46e821b3e Bug 903476 - Update the fuzzing values in test_mediaDecoding.html because we changed the resampler. r=ehsan
--HG--
extra : rebase_source : 3b354018ba83f53cf64d6adb511c41dfcb205039
2013-08-13 12:44:34 +02:00
Martijn Wargers
800c88aced Bug 900969 - Failing deviceorientation test_bug615597.html for b2g mochitest. r=smaug 2013-08-12 21:17:36 +02:00
Carsten "Tomcat" Book
4c7eb2b6bd merge mozilla-central to b2g-inbound 2013-08-13 13:57:37 +02:00
Phil Ringnalda
c588075dd3 Backed out changeset aadb205e7f05 (bug 881681) for Android Armv6 refteset-2 failures 2013-08-12 20:22:11 -07:00
Chris Pearce
c01b531087 Bug 861693 - Makefile and moz.build changes required for DirectShow audio backend. r=gps 2013-08-13 16:49:25 +12:00
Chris Pearce
d265de7ebd Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot 2013-08-13 16:49:25 +12:00
Karl Tomlinson
6cb557818b b=815643 Implement HRTF panner processing based on Blink implementation r=ehsan
--HG--
extra : rebase_source : 197fd6f39d3d45b61d25d9dc399c72828d93655a
2013-08-09 10:08:06 +12:00
Karl Tomlinson
f90f9409c0 b=815643 Add Blink's HRTFPanner to the build r=ehsan
--HG--
extra : rebase_source : 14187eb58d308c25b3ff37356a1aef6757aee81d
2013-08-09 10:07:49 +12:00
Karl Tomlinson
3d1106b19c b=815643 Refactor DelayNodeEngine delay processing into a shareable class r=ehsan
--HG--
extra : rebase_source : e25ff3e490c2cbce5ed7cdf9419ccc2850ea16e5
2013-08-09 10:07:49 +12:00
Karl Tomlinson
6f77a7975e b=865241 don't join HRTFDatabaseLoader thread until it has finished r=ehsan
Also turn some always-true conditions into assertions.

--HG--
extra : rebase_source : a38b75a1a27f25cef7b9dd86a1cca15ce9f67893
2013-08-09 10:07:42 +12:00
Karl Tomlinson
06048fd447 b=865241 make HRTFDatabaseLoader ref-counting thread-safe r=ehsan
--HG--
extra : rebase_source : 8cab96807c111eb103dbe931d14a86a8b97a824e
2013-08-09 09:59:56 +12:00
Karl Tomlinson
f2dad7aedd b=815643 Add Blink's HRTFDatabase and HRTFDatabaseLoader to the build r=ehsan
--HG--
extra : rebase_source : e7aa0ce1ca436bbb429cb1f6051b3b8210bf767a
2013-08-09 09:56:28 +12:00
Kyle Huey
8ef412bec4 Bug 901630: Remove support for the cc thread. r=mccr8 2013-08-13 10:45:32 -07:00
James Willcox
10193cf14f Bug 902426 - Do not allow duplicate entries in the CRC2D demotion list r=mattwoodrow
--HG--
extra : rebase_source : c7c344f2b88065f46c06c99fa0bf868367b6b9ab
2013-08-09 17:19:21 -04:00
Olli Pettay
8c73469b01 Bug 904602 - Optimize tree traversing in Range, r=mats
--HG--
extra : rebase_source : b223d822792e95c0b5bbd40046c32f1049b068d8
2013-08-13 18:40:42 +03:00
Karl Tomlinson
f0d4966e17 b=815643 Add Blink's HRTFElevation to the build r=ehsan
--HG--
extra : rebase_source : 5dda0b6c6302197574ac5fafbb0f06b1ac65980a
2013-08-08 21:38:30 +12:00
Karl Tomlinson
be0aa554a0 b=815643 Reduce convolver fft size for low sample rates r=ehsan
--HG--
extra : rebase_source : 0d7c6d4a3bcb340fc674f0b4181cf264fcc4e041
2013-08-08 21:38:30 +12:00
Karl Tomlinson
e54cf1e0c0 b=815643 Add code to interpret and resample impulse response data r=ehsan
--HG--
extra : rebase_source : 35497353634022f297b2ebf333b7230b12c1f9c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
d4a45b39b6 b=815643 Add HRTF impulse response data r=ehsan
The impulse response sample data is directly from individual impulse response wave files
in Blink SVN revision 153183.

--HG--
extra : rebase_source : 037471efd5be1f0d4a798bcc01192db9398377c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
583218c666 b=815643 Use symmetry to halve the number of HRTF kernels calculated and cached r=ehsan
--HG--
extra : rebase_source : 12e4a114630e793c22d3e335c38c641a6bc20ee2
2013-08-08 21:38:29 +12:00
Karl Tomlinson
3bfb5507c3 b=815643 Add Blink's HRTFKernel to the build r=ehsan
A functional difference is that HRTFKernel is not reference-counted.

--HG--
extra : rebase_source : 66a9653fed75265ec55d915b731876bcb793d513
2013-08-08 21:38:29 +12:00
Karl Tomlinson
a650122f64 b=865241 always leave 20 samples of headroom when extracting group delay, removing the discontinuity at delay = 20 r=ehsan
--HG--
extra : rebase_source : 30515ea2236b7503ff7e446d50930f91135bc7e0
2013-08-08 21:38:29 +12:00
Karl Tomlinson
d494799ed1 b=815643 Add Blink's frequency interpolation and group delay methods from FFTFrame to FFTBlock r=ehsan
--HG--
extra : rebase_source : 1e3393c85f1828cbcce49af1e3160fc3535d39b8
2013-08-08 21:38:24 +12:00
Karl Tomlinson
0e2cb4c001 b=865241 don't try to compute a phase for group delay from the DC and nyquist components of the DFT r=ehsan
Given imagP[0] is really realP[halfSize], it doesn't make sense to calculate a
phase from placing the DC and Nyquist components in different directions.
The DC component doesn't have a phase offset and lastPhase is already
initialized to zero.

This makes extractAverageGroupDelay() consistent with addConstantGroupDelay()
and to some extent interpolateFrequencyComponents().

The effect of the bug would have been small for reasonably sized FFTs.

--HG--
extra : rebase_source : b2931d625bd7e014f123b576f28aad7f719c585d
2013-08-08 21:37:36 +12:00
Karl Tomlinson
a7e95885f3 b=815643 remove unused HRTF code r=ehsan
--HG--
extra : rebase_source : f6063443b6e7574055b0ad92e95e32d7f0a850cd
2013-08-08 21:37:36 +12:00
Karl Tomlinson
d1fd66224a b=815643 Import the HRTF panner implementation from Blink r=ehsan
This code was copied from Blink SVN revision 153183.

--HG--
extra : rebase_source : 968f69846f5c532eda3580c8ce2176e2e6b5fc63
2013-08-08 21:37:36 +12:00
Chris Pearce
cd87b3fdae Bug 901944 - Ignore MF_E_TRANSFORM_TYPE_NOT_SET error when setting D3DManager on H264 Decoder. This error is returned on some (or all?) video cards on Vista, and appears to be safe to ignore. r=padenot 2013-08-13 14:42:39 +12:00
Ryan VanderMeulen
75b9bb6d8f Merge m-c to inbound. 2013-08-12 21:59:20 -04:00
Jeff Gilbert
c0c4700ab4 Bug 881681 - Add reftest for resizing a WebGL canvas. - r=dzbarsky 2013-08-12 16:49:10 -07:00
Ryan VanderMeulen
a0d9f811c2 Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Ryan VanderMeulen
f1a7b637de Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts. 2013-08-12 16:45:14 -04:00
Kan-Ru Chen (陳侃如)
f186023681 Bug 845169 - Update touch region from remote frame. r=roc 2013-08-13 15:56:57 +08:00
Mounir Lamouri
08c45c7f87 Bug 651124 - Remove GetChildAt() usage in nsBindingManager. r=mrbkap 2013-08-12 15:00:44 +01:00
Blake Kaplan
77068e156d Bug 903912 - Remove the internals of the old parser since it's only used for about:blank. r=hsivonen
--HG--
extra : rebase_source : 620d34c12607f1e79ffed95e547d19e9c7a2359b
2013-08-12 11:28:41 -04:00
Kyle Huey
6b38960fd8 Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking 2013-08-12 13:26:31 -04:00
Ralph Giles
9519eeb8a7 Bug 903012 - Fix static bounds checks. r=kinetik
In reviewing the static asserts in the code I found two
inconsistencies.

riffHeader includes 4 skipped bytes which weren't accounted
for in the bounds check.

Comparisons of a uint against UINT_MAX are very unlikely to
fail regardless, but this at least makes the two MAX_BLOCK_SIZE
checks the same.
2013-08-08 10:30:00 -04:00
Ralph Giles
467c635f04 Bug 903012 - Convert WaveReader to use static_assert. r=kinetik
We prefer the built-in check to the PR_STATIC_ASSERT macro now
that it's supported widely enough to use.

This is mostly adding error strings to report on assertion failure.
2013-08-08 10:30:00 -04:00
Jon Coppeard
8d0a37229f Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
Carsten "Tomcat" Book
43a837d163 merge mozilla-central to mozilla-inbound 2013-08-12 11:37:21 +02:00
Carsten "Tomcat" Book
a883f57a4a merge mozilla-inbound to mozilla-central 2013-08-12 11:28:29 +02:00
Olli Pettay
5359e648b3 Backout Bug 902481 to fix crashes, r=me 2013-08-10 12:24:09 +03:00
Ryan VanderMeulen
13be9bc4d0 Merge inbound to m-c. 2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
c56b4e5a84 Merge b2g-inbound to m-c. 2013-08-09 17:26:14 -04:00
Chris Pearce
3fce82c0e2 Bug 901944 - Disable DXVA on Vista, to avoid rendering artifacts. r=kentuckyfriedtakahe 2013-08-12 17:17:38 +12:00
Chris Double
7dd97fc747 Bug 896866 - Media Source Extension demo app doesn't play all segments - r=kinetik
--HG--
extra : rebase_source : 13d66fb5c2d6c0c01929e404b6fb1b5d29073b54
2013-08-12 16:37:10 +12:00
Ryan VanderMeulen
877a258694 Merge m-c to b2g-inbound. 2013-08-08 16:24:53 -04:00
Justin Lebar
a132de4354 Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
103fd764af Bug 902714 - Add {add,remove}WeakMessageListener to nsIMessageManager. r=smaug
--HG--
extra : rebase_source : 3fa06e18fce1c1338924ec940a6833f87c450106
2013-08-08 11:36:56 -07:00
Ryan VanderMeulen
cce8ae15b0 Backed out changesets 6126987777f3 and a232e4df28e5 (bug 882171) due to Android build bustage. 2013-08-08 14:38:33 -04:00
Tim Taubert
e85b9095d9 Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug 2013-08-09 04:36:37 +02:00
Mark Hammond
f9c8c5e605 Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin 2013-08-08 09:52:01 +10:00
Thomas Zimmermann
b2f6b083af Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
2013-08-07 18:54:04 +02:00
Bob Owen
eb552ef322 Bug 885140 - Move calls to testAttempted() before mouse click, in case it isn't getting called. r=smaug 2013-08-07 14:17:15 +01:00
Gavin Sharp
befff981ed Bug 897399: handle the inner window disappearing after beforescriptexecute without crashing, r=sicking
--HG--
extra : transplant_source : %90GW%01%C7%BA%FB%3E%FF%8A%F2%EFf%E7%81%C6s%F6%E9%2B
2013-08-02 10:55:50 -07:00
Masayuki Nakano
03e0066f13 Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron 2013-08-06 23:02:34 +09:00
Boris Zbarsky
5d344b2eb3 Back out revision ea0f2d537a40 (bug 903283) because Windows was bootlegging nsRegion.h via EventTarget.h in widget code and so we ended up with a CLOSED TREE. 2013-08-09 22:31:05 -04:00
Ryan VanderMeulen
f7b0f7438b Merge m-c to b2g-inbound. 2013-08-12 15:36:24 -04:00
Jason Smith
cd6894f4a5 Bug 899878 - Mochitest for recording media with no timeslice for Media Recording API. r=roc 2013-08-06 22:31:48 -07:00
Randy Lin
e3f3a015c2 Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc 2013-08-10 20:29:35 +08:00
Martijn Wargers
d82f6896da Bug 902611 - test_bug475156.html failing on b2g mochitest with (NS_NOINTERFACE) [nsISupports.QueryInterface]. r=jduell 2013-08-12 01:48:10 +02:00
Randy Lin
f1681d1942 Bug 902194 - Use mutex to replace the reentrant in EncodedBufferCache. r=roc 2013-08-09 13:46:20 +08:00
Randy Lin
0064bc2e7a Bug 897776 - Test case for MediaRecorder infinite recursion with requestData() calls in "dataavailable" event. r=jsmith 2013-08-11 11:35:16 +08:00
Randy Lin
9c7ebebbcd Bug 897776 - MediaRecorder infinite recursion with requestData() calls in dataavailable event. r=roc 2013-08-07 18:31:51 +08:00
Szu-Yu Chen [:aknow]
4d6be48921 Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent 2013-08-12 08:25:09 -04:00
Jeff Muizelaar
be2cbcb453 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
2f3319fe1c No bug - Fix busted crashtest manifest. r=stupidme
DONTBUILD CLOSED TREE
2013-08-14 14:54:27 -04:00
Ryan VanderMeulen
e017fdac69 No bug - Disable timeout-prone B2G crashtests.
CLOSED TREE
2013-08-14 13:40:20 -04:00
Ryan VanderMeulen
03b55bc71f Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
08e5de443f Bug 896177 - Remove more config.mk includes; r=gps 2013-07-17 16:07:14 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Paul Adenot
67460f4277 Bug 899135 - Drop buffers in ScriptProcessorNode instead of buffering them when the main thread is blocked. r=roc 2013-08-13 19:34:22 +02:00
Honza Bambas
06d7ec69db Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas 2013-08-14 17:17:00 +02:00
Mounir Lamouri
838ac93e61 Bug 673553 - Move all button attributes reflection tests to test_button_attributes_reflection.html. r=Ms2ger 2013-08-14 12:12:01 +01:00
Christian Holler
fcd6075710 Bug 902132 - Disable WebGL gl-max-texture-dimensions test on Mesa. r=bjacob
--HG--
extra : rebase_source : 612e6de1a09be531e9ec05c57b696c7e6345f038
2013-08-14 15:54:02 +02:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Jonathan Watt
4fd2b8439e Bug 894840, part 2 - Get rid of the nsFilePickerShownCallback ctor's aMulti argument by exposing nsIFilePicker.mode. r=mounir 2013-07-22 13:46:27 +01:00
Phil Ringnalda
5464cf26d4 Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky
d73e74f40e Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-09 21:17:52 -04:00
David Zbarsky
34dcd56bd5 [Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger 2013-08-09 21:17:52 -04:00
David Zbarsky
0e2f11839b [Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger 2013-08-09 21:17:51 -04:00
Nathan Froyd
9ebfa27137 Bug 903543 - eliminate static constructors from SMIL types (and destructors, in opt builds); r=dholbert 2013-08-09 14:08:31 -04:00
Ryan VanderMeulen
a199b3df6e Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Ehsan Akhgari
ddf1e43fca Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey 2013-08-09 18:08:56 -04:00
Ryan VanderMeulen
7b01d7a416 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce
1f88a47969 Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
Ms2ger
7bf62da840 Backout changeset f2ac3d57b445 for insufficient review. 2013-08-08 19:37:47 +02:00
Gabor Krizsanits
89302bbfc9 Bug 877164 - nsDocument should call GetJunkScope later. r=smaug 2013-08-08 14:23:33 +02:00
Carsten "Tomcat" Book
0436faaa5c merge mozilla-central to mozilla-inbound 2013-08-08 14:01:54 +02:00
Carsten "Tomcat" Book
87a23c556a merge b2g-inbound to mozilla-central 2013-08-08 13:33:12 +02:00
Carsten "Tomcat" Book
f0bfac3d0e merge mozilla-inbound to mozilla-central 2013-08-08 13:13:05 +02:00