Commit Graph

16921 Commits

Author SHA1 Message Date
Olli Pettay
7fe77ad7b9 Bug 911162 - Fix default value for aWantsUntrusted on Workers, r=khuey
--HG--
extra : rebase_source : c3b79695b24253a19018adb91626656bff88fbf7
2013-09-06 00:08:24 +03:00
Ehsan Akhgari
143454cc1a Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-05 16:25:17 -04:00
Boris Zbarsky
24c69b775f Bug 909642. Don't include nsNPAPIPluginInstance in headers so much, since it pulls in lots of gunk. r=bsmedberg 2013-08-27 01:05:29 -04:00
Ehsan Akhgari
be1e68caf3 Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-04 17:58:14 -04:00
Steven Lee
3893487dbe Bug 902856 - Generate fake audio data in MediaEngineDefaultAudioSource. r=jesup, r=derf 2013-09-05 08:34:49 -04:00
Frederik Braun
2d852e29d3 Bug 607067 - Improve CSP violation messages for base restrictions and fix affected testcases. r=imelven, r=sstamm 2013-08-12 12:34:40 +02:00
Robert Longson
754959f30a Bug 705584 - Improve/increase use of nsCharSeparatedTokenizerTemplate in nsSMILParserUtils. r=dholbert 2013-09-05 13:08:47 +01:00
Masayuki Nakano
2060f0ee24 Bug 910978 part.20 Test calls of getModifierState() of all events not causing crash r=smaug 2013-09-05 15:06:39 +09:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
ad36ee41a9 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
George Wright
ed5938e7b7 Bug 903722 - Only demote to a software canvas if we're a GL-backed Skia canvas r=bjacob 2013-08-30 14:35:30 -04:00
Phil Ringnalda
82a82c7965 Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Nicholas Nethercote
43ad5b4dcf Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
4f18e183bb Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Wes Kocher
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Wes Kocher
6adaca6598 Merge fx-team to m-c on a CLOSED TREE 2013-09-04 17:02:06 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Boris Zbarsky
0ec2367ac3 Bug 911771 followup. Just nuke the broken code. r=CLOSED TREE 2013-09-04 17:38:23 -04:00
Robert Longson
6c6184f341 Bug 906601 - filter processing memory allocation should be fallible. r=jwatt 2013-09-04 22:14:10 +01:00
Georg Fritzsche
78951c8242 Bug 899080 - Test fixup part 4 - content. r=smaug 2013-09-04 16:07:52 +02:00
Bobby Holley
b8f437054d Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-09-04 14:06:57 -07:00
Boris Zbarsky
94d64e0f7e Bug 911771. Remove uses of MOZ_DEBUG in .cpp files, since there is no such thing there. Use DEBUG instead. r=glandium 2013-09-04 16:43:12 -04:00
Boris Zbarsky
2df33d9902 Bug 910795 part 2. Use the new Rebind() setup to avoid creating string copies for variadic string arguments. r=smaug 2013-09-04 16:43:12 -04:00
Karl Tomlinson
e1e0a17c5b b=906966 limit ScriptProcessorNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %E6-%8A%10%BEb%FEg%8C%C3f%2C%1F%C6%859%E5%27%1C%60
2013-09-05 07:44:37 +12:00
Karl Tomlinson
949c11371d b=906966 limit ConvolverNode and PannerNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %8A%FB%BC%D3%D0%F3Ct%A5%D1%B1%AF%3D%9Bk%896%7F%7F%1F
2013-09-05 07:44:35 +12:00
Karl Tomlinson
4a187db18b tests for convolver and panner channelCount b=906966
--HG--
extra : transplant_source : %17%A2WFH%18%7E-c%2CZVC%AAc%85%FB%02%BE%BD
2013-09-05 07:44:04 +12:00
Karl Tomlinson
04ac113d63 b=907986 remove unused ThreeDPoint::Distance() r=padenot
--HG--
extra : transplant_source : %19%DD%A9%CB%CC%B1%C42%E2%8EY%CE%22%89o_%97i%03_
2013-09-04 21:21:00 +12:00
Karl Tomlinson
9bea792d2f b=907986 handle zero front-right plane projection without NaNs r=padenot
The azimuth calculation in the Web Audio spec becomes undefined in this
situation as it requires normalizing a zero vector.  The panning effect should
not depend on azimuth when the source is directly above the listener (because
position does not depend on azimuth), but the specified "equalpower" panning
model does depend on azimuth even at this elevation.  Setting azimuth to zero
produces the same result as if the normalized projection were replaced with a
zero vector.

--HG--
extra : transplant_source : f%A4h%CB7%7Bp%87%AE%09%9F%2Cu%D7%CD%9D%5E%A8%EC%0D
2013-09-04 21:20:59 +12:00
Karl Tomlinson
6f9d0ccd43 test equalpower panning effect with panner directly above b=907986
--HG--
extra : transplant_source : %8E%99%9B%F8%288%5C%A5%E8%D1%C3%E2%9F%89%5C%D0C%B1l%B0
2013-09-04 21:20:59 +12:00
Karl Tomlinson
077bb360ad b=907986 normalize orientation vectors early and keep existing state if directions are undefined r=padenot
Normalizing the AudioListener front orientation vectors before taking their
cross product avoids the possibility of overflow.

The panning effect and the azimuth and elevation calculation in the Web Audio
spec becomes undefined with linearly dependent listener vectors, so keep
existing state in these situations.

PannerNode orientation is normalized for consistency, but zero is permitted
for this vector because the sound cone algorithm in the Web Audio specifies
behavior for this case.

--HG--
extra : transplant_source : %DA%C7e%E7%90%14%AF%EA%08%94x%C1%A2g%F1%9A%EE%16%EB%29
2013-09-04 21:20:59 +12:00
Karl Tomlinson
532024ea75 b=907986 avoid under and overflow in Normalize() r=padenot
--HG--
extra : transplant_source : %83%C5%A4%92%28%2Bf%7DHT%13%DE7L%26%B89x%E4%FF
2013-09-04 21:20:58 +12:00
Karl Tomlinson
e43bef2026 b=907986 don't calculate upProjection twice r=padenot
--HG--
extra : transplant_source : %8E%E1r%9F%AC%EB%C6%9A%EE_%10%0F%B9%1D%EF%85%EBu%CD%96
2013-09-04 21:20:58 +12:00
Karl Tomlinson
48a1b73523 crashtests for bug 907986
--HG--
extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
2013-09-04 21:10:32 +12:00
Karl Tomlinson
dde1cff092 revert 3171b6ad0055 b=907986
--HG--
extra : transplant_source : K%83%1FS%27%A7%20%82%C4P%08%E5n%8C%830%B6%2C%24%97
2013-09-04 15:02:04 +12:00
aceman
e7e23e3306 Bug 677912 - Follow-up to bug 136556 - change the string ID for localizers. r=bz 2013-09-04 12:52:25 -04:00
Ed Morley
2a2f5c9d13 Merge latest green inbound changeset and mozilla-central 2013-09-04 12:54:46 +01:00
Robert O'Callahan
466db4162f Bug 877135. Remove leftover test. r=doublec 2013-09-04 16:43:10 +12:00
Matthew Gregan
e80d2f2424 Bug 911059 - Move WebAudio's BufferDecoder to its own file so it can be shared with MSE. r=cpearce 2013-09-04 15:08:11 +12:00
Matthew Gregan
f1ff293106 Bug 911052 - Use decoder's IsDataCachedToEndOfResource instead of resource's version. r=cpearce 2013-09-04 15:08:10 +12:00
Gina Yeh
96e8a119ea Bug 910974 - Patch 1: Dispatch events when remote device queries current play status, r=echou, sr=mrbkap 2013-09-04 10:40:01 +08:00
Pin Zhang
8397e0b9ea Bug 870676: Part 1 - Implement mozFMRadio in WebIDL, r=khuey,baku 2013-09-03 15:26:33 -07:00
Ryan VanderMeulen
a1cfae0032 Merge m-c to b2g-inbound. 2013-09-03 17:44:34 -04:00
Kartikaya Gupta
b77f1bc2b4 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Kartikaya Gupta
3368290646 Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:23 -04:00
Ed Morley
b944a07fa2 Merge latest green fx-team changeset and mozilla-central 2013-09-03 12:13:40 +01:00
Paul Rouget
53327bca0c Bug 777972 - [responsive mode] translate click events to touch events. r=smaug 2013-09-03 09:15:51 +02:00
Chris Double
cf15890513 Bug 888816 - Log android device information before checking for stagefright blocklist - r=edwin 2013-09-03 14:37:51 +12:00
Chris Double
e4a3c85df6 Bug 888786 - Part 1: Remove OMX media plugin workarounds for Sony ICS devices - r=edwin 2013-09-03 14:35:54 +12:00
Chris Double
4fd86a693e Bug 812680 - Part 1: Remove OMX media plugin workarounds for HTC One X - r=edwin 2013-09-03 14:34:33 +12:00
Karl Tomlinson
115405f489 b=911777 disable test_delayNodeAtMax.html on Ubuntu(|64) opt builds
--HG--
extra : transplant_source : %27%3E%E7%B8%81%F6%AAg%A8%B0H%86%97%C5/V6%B8%FCh
2013-09-03 12:54:37 +12:00
Karl Tomlinson
88dbfffb29 use existing named constants b=890528
--HG--
extra : transplant_source : %C9%F5%23%A2%CC%D0%E5v%F4%7B%ED%93%0C%B6%D7%E3%CC%C5%B1%A1
2013-09-02 16:53:15 +12:00
Karl Tomlinson
761bd9f94a remove unintentional ! in ed23ecc80370 to test expected buffer frame count when length is supplied b=890528
--HG--
extra : transplant_source : %BB%8E%A8%C2BBFr%A4D%28VG%84%2A%AE%A3qZ%81
2013-09-02 16:53:15 +12:00
Karl Tomlinson
b72d4ec1b9 test for bug 891254
--HG--
extra : transplant_source : %FE%D3%7F%0F%3Da%3A%D9u6Hx2%E22%15fn%14H
2013-09-02 16:52:15 +12:00
Blake Kaplan
a6fe80c54e Bug 912044 - Initialize rv so we don't use it uninitialized. r=bz 2013-09-03 16:59:11 +02:00
Masayuki Nakano
5ae64740b6 Bug 910978 part.19 Implement nsMutationEvent::AssignMutationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
28798c3065 Bug 910978 part.18 Implement nsAnimationEvent::AssignAnimationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
0c0cc8d224 Bug 910978 part.17 Implement nsTransitionEvent::AssignTransitionEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
e2683c832e Bug 910978 part.16 Implement nsSimpleGestureEvent::AssignSimpleGestureEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
eaa1843ce3 Bug 910978 part.15 Implement nsFocusEvent::AssignFocusEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
bf17b0c2c0 Bug 910978 part.14 Implement nsUIEvent::AssignUIEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
bf269f1e29 Bug 910978 part.13 Implement nsClipboardEvent::AssignClipboardEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
bd103f6d93 Bug 910978 part.12 Implement nsCommandEvent::AssignCommandEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
345c3482a6 Bug 910978 part.11 Implement nsFormEvent::AssignFormEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
3dd83ca8ea Bug 910978 part.10 Implement nsTouchEvent::AssignTouchEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
3fb553eb82 Bug 910978 part.9 Implement widget::WheelEvent::AssignWheelEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
420381422f Bug 910978 part.8 Implement nsMouseScrollEvent::AssignMouseScrollEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
48f9392392 Bug 910978 part.7 Implement nsCompositionEvent::AssignCompositionEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
55d40230f3 Bug 910978 part.6 Implement nsTextEvent::AssignTextEventData() and make nsTextEvent not a derived class of nsInputEvent because nobody uses the stored data r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
99828257aa Bug 910978 part.5 Implement nsDragEvent::AssignDragEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
297c950613 Bug 910978 part.4 Implement nsScrollAreaEvent::AssignScrollAreaEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
e6bec0b809 Bug 910978 part.3 Implement nsScrollPortEvent::AssignScrollPortEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
2876cef75a Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc 2013-09-03 20:45:28 +09:00
Masayuki Nakano
4efdc65f33 Bug 910978 part.1 Implement nsScriptErrorEvent::AssignScriptErrorEventData() r=smaug 2013-09-03 20:45:28 +09:00
Ed Morley
7802c96ecf Merge mozilla-central and inbound 2013-09-03 12:15:19 +01:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
JW Wang
9e43d1f576 Bug 907303 - Use fewer local variables to workaround a bug in GCC 4.4.3. r=ehsan 2013-08-30 15:07:33 +08:00
Karl Tomlinson
0d8b5ff1f0 b=890528 Record silence in the delay buffer when there is no input, to avoid echos r=ehsan
--HG--
extra : transplant_source : x%A5%D0%A8%F9%7B%7DX%AA%C5%04%7E.%2C%B6%3A%EF%3F%08%5E
2013-09-02 12:59:34 +12:00
Karl Tomlinson
cc2f88a710 b=890528 delay buffer must be greater than max delay frames to avoid reading what has just been written r=ehsan
--HG--
extra : transplant_source : %86L%3C%C2%F0%A79%E4w%F6u%FD%11d%A9%FCu%F90%E8
2013-09-02 12:59:34 +12:00
Karl Tomlinson
32a9de7cae test for bug 890528
--HG--
extra : transplant_source : B%22%1A%B5%E9%03%D1%A4%D9%20%F7%12%FA%09%10%14%A0%19x%BA
2013-09-02 12:59:31 +12:00
Karl Tomlinson
b7844721cf b=890528 add more documentation and make length optional when createExpectedBuffers is present r=ehsan
--HG--
extra : transplant_source : R%7DJo%87%0C%0D%0FuX%C4%BC%C0%95%08b%5D%DA%D1%BF
2013-09-02 11:27:44 +12:00
Nicholas Cameron
bbf05ea482 Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc 2013-09-02 10:20:45 +12:00
Masayuki Nakano
b117039209 Bug 911463 Fix wrong cast in nsDOMUIEvent::IsChar() const r=smaug 2013-09-01 09:17:55 +09:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Ryan VanderMeulen
b5f6f73948 Bug 844025 et al. - Re-enable test_xhr_timeout.html. r=me 2013-08-31 10:15:56 -04:00
Ryan VanderMeulen
2cd3fffe3a Merge inbound to m-c. 2013-08-30 20:37:30 -04:00
Ehsan Akhgari
b283dbb4c7 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Ryan VanderMeulen
90e148799a Merge m-c to mozilla-inbound. 2013-08-30 13:43:55 -04:00
Ed Morley
2feab2b4d9 Merge latest green inbound changeset and mozilla-central 2013-08-30 17:23:11 +01:00
Ed Morley
82db4c1c42 Merge latest green fx-team changeset and mozilla-central 2013-08-30 17:19:46 +01:00
Olli Pettay
414342daf2 Bug 910797, make Event.isTrusted to work in workers, r=khuey 2013-08-30 12:47:19 +03:00
Randell Jesup
5946f2b5b2 Bug 901583: Reapply mozilla patches on top of webrtc.org 3.34, use NEON detection rs=jesup
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-08-30 02:08:57 -04:00
Chris Double
05e2fb80be Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce
--HG--
extra : rebase_source : da5a909d64ad903f86ad7fb76cb306252d8ccaad
2013-08-30 16:51:38 +12:00
Tim Taubert
44ca1b454c Bug 910161 - Remove nsIHistoryEntry and replace it with nsISHEntry; r=bz 2013-08-30 06:14:59 +02:00
Jason Smith
738da5cf84 Bug 903781 - Mochitest for recording media with timeslice for media recording api. r=roc 2013-08-29 09:56:12 -07:00
Ryan VanderMeulen
51102e8743 Merge inbound to m-c on a CLOSED TREE. 2013-08-29 16:04:45 -04:00
Guillaume Abadie
3df9431ee1 Bug 645792 - Replace throwing an exception by returning null on HTMLCanvasElement::GetContext. r=bjacob
CLOSED TREE
2013-08-29 10:14:22 -04:00
Ryan VanderMeulen
f3b02482a7 Backed out changeset a58d895d8197 (bug 645792) for OSX leaks. 2013-08-29 13:46:10 -04:00
Benoit Jacob
c15cad772d Bug 905141 - Increase fuzziness of some WebGL reftests on B2G - no review, bustage fix
These were already marked as fuzzy on B2G for 83 pixels. With the B2G emulator BGRA patch now deployed on the test slaves, it appears from reftests logs that the fuzziness needs to be updated from 83 pixels to 90 or 91 pixels depending on the test.
2013-08-29 13:09:53 -04:00
Ryan VanderMeulen
c343a25cc5 Backed out changeset d5cd8e27cb9c (bug 903781) for Android mochitest-3 failures. 2013-08-29 12:43:54 -04:00
Paul Adenot
08fd7cd240 Bug 881092 - Test that we can decode multichannel WAVE file only when using decodeAudioData. r=ehsan
--HG--
extra : rebase_source : fe1cb35be9a1197b01a6c90654abd825f28a67e5
2013-08-29 11:44:05 +02:00