Commit Graph

233441 Commits

Author SHA1 Message Date
Bobby Holley
5dabf38e5b Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-12 17:52:51 -07:00
Bobby Holley
fbe84e5f65 Bug 1135424 - Allow MediaPromise dispatch to fail if the ThenValue has been disconnected. r=mattwoodrow
The original idea behind the current model was that we wanted ironclad guarantees
that consumers would always get a callback on their promise. But we now have use
cases where the consumer wants to forget about a promise (using the new
Disconnect()) feature, and in some cases wants to shut down the task queue that
the response is going to be dispatched on. In the case of this bug, we want to
avoid waiting for the longest outstanding timer promise to be resolved before
shutting down the MDSM.

So this patch fixes up the pieces needed to make this work:
* Loosening our invariants to allow dispatch targets to be released on any thread,
  since MediaTaskQueue and nsIEventTarget both have thread-safe refcounting.
* Releasing mThisVal in Disconnect, so that we no longer depend on successful
  dispatch to release it on the correct (dispatch) thread.
* Fiddling with various assertions.

We also make some assertions fatal in nightly/aurora builds while we're at it.
2015-03-12 17:52:50 -07:00
Chris Double
8ff58ad61e Bug 1131884 - Video buffering calculation fails for some MP4 videos - r=jya
Playback position used in calculating buffering time is set
during metadata reading. This is at end of file for the
video in the bug. As a result the buffering data is always
wrong.

Changed to not setting position during metadata - it is set
during frame playback anyway.

Also changes buffering timeout to 15s from 30s.
2015-03-13 13:45:51 +13:00
Seth Fowler
b92fe7e589 Bug 1142376 - Allow copying of mozilla::Pair objects. r=waldo 2015-03-12 17:44:30 -07:00
Seth Fowler
fcab02dc69 Bug 1142366 - Add an equivalent of std::make_pair for mozilla::Pair. r=waldo 2015-03-12 17:44:28 -07:00
Ben Kelly
1b9774edd8 Bug 1133939 P2 Add tests validating nsPipeOutputStream AsyncWait behavior. r=froydnj 2015-02-21 09:51:17 -05:00
Ben Kelly
6a06acd86c Bug 1133939 P1 Free buffer resources when an nsPipeInputStream is closed. r=froydnj 2015-02-21 09:51:17 -05:00
Yury Delendik
e2347d6dc9 Bug 1142484 - Update Shumway to version 0.10.268. r=till 2015-03-12 07:50:04 -05:00
Ehsan Akhgari
5fd89358a5 Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Shu-yu Guo
3dc8d97834 Bug 1139388 - Remove superfluous locking in the OS X profiler implementation to fix deadlock. (r=mstange) 2015-03-12 16:25:24 -07:00
Brian Hackett
09addf8a95 Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem. 2015-03-12 17:09:21 -06:00
Jim Blandy
729d79d2a9 Bug 1128603: Remove findReferences and the tests that use it. r=terrence 2015-03-12 14:08:49 -07:00
Luke Wagner
593bd72375 Bug 1136331 - OdinMonkey: allow stdlib calls in heap expressions (r=bbouvier) 2015-02-24 14:11:37 -06:00
Jeff Muizelaar
330d59e077 Bug 1132432. Implement AsShadowableLayer() for ClientReadbackLayers. r=roc
Without this we early exit from the loop in ShadowLayerForwarder::InsertAfter
which causes us to insert layers after the ReadbackLayers in the wrong order.
2015-03-12 17:51:07 -04:00
Mike Hommey
24146ffd53 Backout changeset 4b936da89beb (bug 1142403) because of all the orange on Windows. 2015-03-13 07:48:48 +09:00
Mike Hommey
96c39026ab Bug 1141439 - Exit with an error code instead of falling through the REMOTE_NOT_FOUND code path when the X-remote returns an explicit command line handler error. r=bsmedberg 2015-03-13 07:44:30 +09:00
Mike Hommey
66a62ca460 Bug 1142006 - Set MACOSX_DEPLOYMENT_TARGET earlier. r=mshal
On try, where we use sccache, a sccache server is started the first time
configure runs the compiler for its checks, and that sccache server is
what does compilations on cache misses.

But compiling with MACOSX_DEPLOYMENT_TARGET in the environment doesn't have
the same effect as without, depending on its value. So
MACOSX_DEPLOYMENT_TARGET needs to be set before any compiler invocation.
2015-03-13 07:44:29 +09:00
Mike Hommey
1b4e234328 Bug 1142403 - Enable jemalloc debug on debug builds. r=njn 2015-03-13 07:44:28 +09:00
Jean-Yves Avenard
a77833ceff Bug 1142433: Properly scale duration found in movie extend header box. r=k17e 2015-03-13 09:42:28 +11:00
David Keeler
a625ddb861 bug 1102443 - fix leak in key pinning logging by removing an unnecessary function call r=cykesiopka
Also took the opportunity to fix the logging message, since it didn't accurately
describe the information that was being printed.
2015-03-12 14:31:26 -07:00
Aaron Klotz
d55b7850b6 Bug 1140683: Fix async plugin init using null plugin funcs on MacOSX; r=jimm 2015-03-09 12:10:02 -06:00
Aaron Klotz
bd9f68ac70 Bug 1136930: Fix nsNPAPIPluginStreamListener so that destroystream calls are made during async plugin init; r=jimm 2015-03-12 11:45:31 -06:00
Ryan VanderMeulen
347d41d8f5 Merge inbound to m-c. a=merge 2015-03-12 18:05:45 -04:00
Ryan VanderMeulen
a6f1fc7e80 Merge fx-team to m-c. a=merge 2015-03-12 17:55:19 -04:00
Ryan VanderMeulen
0ade4779ef Bug 1142494 - Fix OSX packaging mistake. r=glandium, a=bustage 2015-03-12 17:46:53 -04:00
Ryan VanderMeulen
3863b0db8f Merge b2g-inbound to m-c. a=merge 2015-03-12 16:50:07 -04:00
Ryan VanderMeulen
6bd5b392ff Backed out changeset 672cea72c662 (bug 994541) for making various browser-chrome tests more timeout-prone.
CLOSED TREE
2015-03-12 15:54:12 -04:00
Ryan VanderMeulen
f746faddf7 Bug 1142494 - Only package the steeplechase tests if webrtc is enabled. r=ted, f=drno 2015-03-12 15:27:03 -04:00
Ryan VanderMeulen
2b2b9e5caf Backed out changeset 94f1fc3d9ec8 (bug 1135897) for LSAN leaks.
CLOSED TREE
2015-03-12 15:02:08 -04:00
Ryan VanderMeulen
c4be2b0c72 Backed out 8 changesets (bug 1141234) for bustage.
Backed out changeset 9c7dd01f338e (bug 1141234)
Backed out changeset df39d787c523 (bug 1141234)
Backed out changeset 3632c514a358 (bug 1141234)
Backed out changeset 1e8743d47b41 (bug 1141234)
Backed out changeset ddd5d5191e49 (bug 1141234)
Backed out changeset 274b1f5afc29 (bug 1141234)
Backed out changeset 65e299373b5b (bug 1141234)
Backed out changeset eff0109392e9 (bug 1141234)
2015-03-12 15:01:16 -04:00
B2G Bumper Bot
191db50bbb Bumping manifests a=b2g-bump 2015-03-12 11:57:41 -07:00
B2G Bumper Bot
acec6a4ca7 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/9139624122bb
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1122106 - merge pull request #28515 from hfiguiere:bug1122106-check-rating to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/1b02b21b274e
Author: Hubert Figuière <hub@figuiere.net>
Desc: Bug 1122106 - Test the rating UI. r=djf
2015-03-12 11:55:11 -07:00
B2G Bumper Bot
949f5ca42d Bumping manifests a=b2g-bump 2015-03-12 11:43:17 -07:00
Panos Astithas
3699729f12 Don't dump errors in tests that are already handled by the parser (bug 1138784). r=vporof 2015-03-12 20:42:35 +02:00
B2G Bumper Bot
96204b4748 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/55a350543dbe
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1133347 - merge pull request #28230 from KevinGrandon:bug_1133347_remove_classic_homescreen to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/36e51946eed7
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1133347 - Update build scripts for homescreen migration r=rickychien

* Remove un-needed collection migration build script
* Removes JSHint/CSSLint xfail entries for homescreen code.
* Add mock XHR to system test folder.

========

https://hg.mozilla.org/integration/gaia-central/rev/ba50a42b4d7a
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1133347 - Remove classic homescreen from gaia codebase r=crdlc
2015-03-12 11:40:23 -07:00
Christoph Kerschbaumer
99ee2020b8 Bug 1138649 - Update remaining callsites to use newChannel2 in toolkit/components (r=gijs,billm) 2015-03-12 11:27:17 -07:00
Christoph Kerschbaumer
0eaef53829 Bug 1138641 - Updated remaining callsites to use newChannel2 in browser/devtools (r=vporof) 2015-03-12 11:26:57 -07:00
Nicolas Silva
20b6b03b8b Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Terrence Cole
915a129b99 Bug 1141234 - Part 8: Suppress a false positive rooting analysis hazard; r=sfink 2015-03-12 11:20:47 -07:00
B2G Bumper Bot
4664d4321d Bumping manifests a=b2g-bump 2015-03-12 11:07:49 -07:00
B2G Bumper Bot
f1a2b3f269 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bfe721ecddf7
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1136859 - merge pull request #28794 from stasm:1136859-trailing-slash to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/77d1b5c0d12c
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Bug 1136859 - Remove trailing slash from the privacy policy URL
2015-03-12 11:05:18 -07:00
B2G Bumper Bot
7109ba8243 Bumping manifests a=b2g-bump 2015-03-12 10:49:16 -07:00
B2G Bumper Bot
947f0ab660 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2a8471e467d9
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1141578 - merge pull request #28817 from gabrielesvelto:bug-1141578-validate-contact-cache-first-start to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/286f1137ba33
Author: Gabriele Svelto <gsvelto@mozilla.com>
Desc: Bug 1141578 - Validate contact cache correctly the first time the dialer starts up
2015-03-12 10:46:46 -07:00
B2G Bumper Bot
d9e5be39ca Bumping manifests a=b2g-bump 2015-03-12 09:45:18 -07:00
B2G Bumper Bot
346d216c90 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0dc0d61e671f
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Merge pull request #26976 from mikehenrty/bug-1068564-no-close-utility-tray

Bug 1068564 - Do not close utility tray when launched app is staying in ...

========

https://hg.mozilla.org/integration/gaia-central/rev/893bb2b45b95
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1068564 - Do not close utility tray when launched app is staying in the background
2015-03-12 09:42:46 -07:00
Alexandre Lissy
b55ed66272 Bug 1142550 - Fix screenshot. r=gwagner 2015-03-12 12:34:00 -04:00
Anders Holbøll
8ac38cfeed Bug 1138250 - add actual source files from UNIFIED_SOURCES to VS projects always; r=ted.mielczarek; a=RyanVM
DONTBUILD because NPOTB
2015-03-12 14:31:05 -04:00
B2G Bumper Bot
e82b4fcb9f Bumping manifests a=b2g-bump 2015-03-12 08:54:29 -07:00
B2G Bumper Bot
9ab08166bb Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/57708271ce66
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1142381 - merge pull request #28824 from KevinGrandon:bug_1142381_symlinked_apps_fix to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/d68b6fe85898
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1142381 - [Build] Guard symlinked apps
2015-03-12 08:51:47 -07:00
B2G Bumper Bot
f7a4891cd6 Bumping manifests a=b2g-bump 2015-03-12 07:59:24 -07:00