Commit Graph

26757 Commits

Author SHA1 Message Date
Ehsan Akhgari
5e74778928 Bug 836599 - Part 12: Fix the lifetime management of the Web Audio graph in presence of OfflineAudioContexts; r=roc
Here we make the non-realtime graphs to go to sleep until they're shut down
from the main thread.  This allows us to use the common forced shutdown code
path in MediaStreamGraphImpl::RunThread.  We also need to delete the graph
object when the last message is dispatched to it.

In addition, we need to make sure that the AudioNodes also get released when
they're no longer needed.  To do this, we need for force the SelfReference of
AudioBufferSourceNodes to be released when the context is shut down, and also
trigger the destruction of the graph there.
2013-05-16 19:31:08 -04:00
Ehsan Akhgari
73fcbb6b99 Bug 836599 - Part 11: Implement the processing of OfflineAudioContext; r=roc
We use a custom AudioNodeEngine for the destination nodes belonging to
OfflineAudioContexts, and there we record the rendered buffer.  Once the buffer
is full, we resample it if the sampling rate of the OfflineAudioContext is
different than the ideal sampling rate, and then we hand it off to the main
thread in order for the complete event to be dispatched.
2013-05-16 19:30:57 -04:00
Ehsan Akhgari
a7c05da424 Bug 836599 - Part 10: Use the non-realtime MediaStreamGraph API and a custom destination node engine for OfflineAudioContext; r=roc
We offload most of the logic for OfflineAudioContext to the destination node,
since that's where the sample recording needs to happen, so doing this will
make the code simpler.
2013-05-16 19:30:42 -04:00
Ehsan Akhgari
ee70633121 Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Ehsan Akhgari
8d5f66955c Bug 836599 - Part 8: Add a non-realtime media graph API to produce a given number of ticks; r=roc 2013-05-16 19:30:41 -04:00
Bobby Holley
23bebc9642 Bug 873253 Crash clicking on file input in XUL whitelisted site r=bz 2013-05-16 23:57:18 +01:00
Jeff Gilbert
69582d2263 Bug 872701 - Request highp for frag shaders unless disabled. - r=bjacob 2013-05-15 14:50:52 -07:00
Olli Pettay
aa04b55496 Bug 873203 - Backout the patch for bug 814001, r=bz 2013-05-16 23:11:55 +03:00
John Schoenick
1625238548 Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh 2013-05-16 11:38:40 -07:00
David Zbarsky
680b9b7951 Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
David Zbarsky
29a45c84e9 Bug 872774 r=bz 2013-05-16 11:06:21 -07:00
Boris Zbarsky
cab8324d5a Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink 2013-05-16 12:36:56 -04:00
Boris Zbarsky
68c0f91dfe Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv 2013-05-16 12:36:55 -04:00
Boris Zbarsky
67281b9e8a Bug 868715 part 3. Use on-stack Rooted<Value> for 'any' arguments in WebIDL bindings. r=peterv 2013-05-16 12:36:54 -04:00
Boris Zbarsky
2a61b9f9b0 Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv 2013-05-14 14:24:48 -04:00
Ryan VanderMeulen
654b37e658 Merge m-c to inbound. 2013-05-16 11:26:58 -04:00
Ehsan Akhgari
0b00dc2f2d Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Ryan VanderMeulen
40179edaf5 Backed out 2 changesets (bug 763879, bug 842657) for landing with an r-. DONTBUILD
Backed out changeset 254c1ac4ab8b (bug 842657)
Backed out changeset 58a2011beeac (bug 763879)
2013-05-16 11:15:07 -04:00
Sotaro Ikeda
f2ceae4c0d Bug 868806 - Handle OMXCodec's error. r=doublec 2013-05-15 21:35:34 -04:00
George Wright
df08647077 Bug 848490 - [SkiaGL] Handle canvas elements larger than the maximum GPU texture size r=snorp 2013-03-18 20:44:18 -04:00
David Zbarsky
e12f342b87 Bug 872367 Part 1: Mark some nsIDocument arguments as const r=reuben 2013-05-15 12:45:45 -07:00
Ryan VanderMeulen
c03cc5b8b2 Backed out 5 changesets (bug 817700) for Ubuntu32 PGO mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset fad852b5819a (bug 817700)
Backed out changeset 7a3535c6e652 (bug 817700)
Backed out changeset 44a748256eca (bug 817700)
Backed out changeset 06ae8895852b (bug 817700)
Backed out changeset d6bddc947d38 (bug 817700)
2013-05-15 15:25:47 -04:00
Ian Melven
247127753d Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Olli Pettay
ea78e0f1c6 Bug 847594 - Paris binding for DataContainerEvent, r=peterv
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Martijn Wargers
559e7d3de8 Bug 841402 - Remove last piece of EnablePrivilege usage from CSP tests. r=bholley 2013-05-16 11:16:22 +02:00
Maria Grazia Alastra
45c0af14f9 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Robert Longson
bb32151a5c Bug 872574 - Some IsEventAttributeName overrides just reimplement exactly the same thing they are overriding. r=jwatt 2013-05-16 09:34:49 +01:00
Cameron McCormack
f5a84d4c82 Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
f72487c6d0 Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
2d7305fa0a Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
3186db863c Bug 839103 - Part 7: Only dispatch style sheet change events when enabled. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
ff36f3c73d Bug 839103 - Part 6: Allow style sheet change event enabling to be controlled through a chrome-only attribute on Documents. r=bz 2013-05-16 17:13:35 +10:00
Cameron McCormack
ab243ff0f2 Bug 839103 - Part 5: Add a state bit on documents to control whether style sheet change events are dispatched. r=bz 2013-05-16 17:13:35 +10:00
Vladimir Vukicevic
511eed614c b=871549, use Content-Length in XHR ArrayBuffer requests, and fix ResetResponse(); r=bz 2013-05-15 14:42:10 -04:00
Chris Pearce
ed603d2092 Bug 872866 - Set length of MediaResource earlier in load. r=roc 2013-05-16 15:22:34 +12:00
Edwin Flores
7f0bc42874 Bug 856562 - Fix decode race in gstreamer backend r=alessandro.d 2013-05-16 14:35:16 +12:00
Ehsan Akhgari
8d08501aa7 Bug 872635 - Drop the DelayNode's self-reference right on time, to make sure that DelayNodes don't leak with OfflineAudioContexts; r=roc 2013-05-15 20:51:47 -04:00
Gian-Carlo Pascutto
b48599d351 Bug 863290 - Correctly detect failure to initialize Android capture objects. Fix crashers. r=jesup 2013-05-15 18:50:42 +02:00
Benoit Jacob
b92dab3e7f Bug 863716 - Re-add two WebGL tests to the WinXP skip list, that were accidentaly removed from it - no review
They were accidentally taken out of the skip-list by b109e2dbf03b.
2013-05-15 09:51:23 -04:00
Ryan VanderMeulen
2502606f8b Merge m-c to inbound. 2013-05-15 08:36:44 -04:00
Olli Pettay
f297141287 Bug 866915, update XHR.send to follow the spec, r=sicking
--HG--
extra : rebase_source : ee7ce01fa3a71db5327e42f40a725db99efbe345
2013-05-15 14:48:59 +03:00
Olli Pettay
d8b04a909b Bug 848535, simplify js object holding in XHR and FileReader, r=mccr8
--HG--
extra : rebase_source : d10c2315bf3eafb0e3ef7f4199c1439e96c47da3
2013-05-15 14:48:55 +03:00
Olli Pettay
91cdfe81aa Bug 857883, don't assert about readyState when not needed, r=bz
--HG--
extra : rebase_source : 1dc9dc6bae5907cac3f2b8b1c31d79e7bcbb68f2
2013-05-15 14:35:41 +03:00
Patrick Wang
4be181127d Bug 871463 - allow to fallback to software codec in emulator. r=doublec 2013-05-13 17:38:49 +08:00
Stephen Pohl
1560aea31f Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
eed3049f44 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
239ef30570 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-05-15 08:21:24 -04:00
Mounir Lamouri
d2724b7012 Bug 783607 - Update code and write tests for <input type='number'> precision fixes. r=jwatt
--HG--
rename : content/html/content/test/forms/test_input_range_rounding.html => content/html/content/test/forms/test_input_number_rounding.html
2013-05-15 12:56:00 +01:00
Ryan VanderMeulen
2e83f084b9 Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00