Commit Graph

15088 Commits

Author SHA1 Message Date
Ian Melven
48879dbfb8 Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Ehsan Akhgari
3894f484df Bug 836599 - Part 14: Run most of the existing Web Audio tests using OfflineAudioContext as well as AudioContext; r=roc
This helps us get a decent amount of test coverage on OfflineAudioContext in
both the existing tests and the future tests.
2013-05-16 19:31:08 -04:00
Ehsan Akhgari
30c4151889 Bug 836599 - Part 13: Add a unit test for OfflineAudioContext; r=roc 2013-05-16 19:31:08 -04:00
Ehsan Akhgari
d2c63bc836 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
e31cd426d8 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
1428a73574 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
e7318c89ad Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Ehsan Akhgari
a8cb458faf 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
2e42030f56 Bug 873253 Crash clicking on file input in XUL whitelisted site r=bz 2013-05-16 23:57:18 +01:00
Jeff Gilbert
9ef5a9759b Bug 872701 - Request highp for frag shaders unless disabled. - r=bjacob 2013-05-15 14:50:52 -07:00
Olli Pettay
37d16b90a3 Bug 873203 - Backout the patch for bug 814001, r=bz 2013-05-16 23:11:55 +03:00
John Schoenick
953e5b39a3 Bug 870216 - Fire SetWindow on plugins twice to make Adobe Reader happy. r=josh 2013-05-16 11:38:40 -07:00
David Zbarsky
c8f4001a0a Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
David Zbarsky
50fd518a07 Bug 872774 r=bz 2013-05-16 11:06:21 -07:00
Boris Zbarsky
903eab0e9d 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
fa5496e7a4 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
f454222082 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
3ab853407d 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
849edcd80b Merge m-c to inbound. 2013-05-16 11:26:58 -04:00
Ehsan Akhgari
aa114592bd Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium 2013-05-16 11:16:30 -04:00
Ryan VanderMeulen
dcdda90f46 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
db7c471a36 Bug 868806 - Handle OMXCodec's error. r=doublec 2013-05-15 21:35:34 -04:00
George Wright
6a0bab55ae 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
d7a446f1c4 Bug 872367 Part 1: Mark some nsIDocument arguments as const r=reuben 2013-05-15 12:45:45 -07:00
Ryan VanderMeulen
20741feef6 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
6937a45eae Bug 763879 - implement inline stylesheet blocking for CSP (r=dbaron) 2012-08-30 10:58:24 -07:00
Olli Pettay
78ef891bef Bug 847594 - Paris binding for DataContainerEvent, r=peterv
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ted Mielczarek
110919af49 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
62dbb66e47 Bug 841402 - Remove last piece of EnablePrivilege usage from CSP tests. r=bholley 2013-05-16 11:16:22 +02:00
Maria Grazia Alastra
d645d2e812 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Robert Longson
9ab31528fe 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
5cffb9cbd6 Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
26cb31824b Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
0a241ee395 Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
29590443e9 Bug 839103 - Part 7: Only dispatch style sheet change events when enabled. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
2f16b7777c 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
26c2af43bb 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
f1a8f1660f b=871549, use Content-Length in XHR ArrayBuffer requests, and fix ResetResponse(); r=bz 2013-05-15 14:42:10 -04:00
Chris Pearce
64f507219b Bug 872866 - Set length of MediaResource earlier in load. r=roc 2013-05-16 15:22:34 +12:00
Edwin Flores
57bdc4503a Bug 856562 - Fix decode race in gstreamer backend r=alessandro.d 2013-05-16 14:35:16 +12:00
Ehsan Akhgari
497b7175f9 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
9cc5fa74c8 Bug 863290 - Correctly detect failure to initialize Android capture objects. Fix crashers. r=jesup 2013-05-15 18:50:42 +02:00
Benoit Jacob
45bd2f68d7 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
ea3d49228d Merge m-c to inbound. 2013-05-15 08:36:44 -04:00
Olli Pettay
dd044a0aca 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
cd7161f3f9 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
2a40b81746 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
2ba1b673b5 Bug 871463 - allow to fallback to software codec in emulator. r=doublec 2013-05-13 17:38:49 +08:00
Stephen Pohl
bc41d7662b Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-05-15 08:21:25 -04:00
Stephen Pohl
f4b49b9de3 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-05-15 08:21:25 -04:00