Commit Graph

395876 Commits

Author SHA1 Message Date
Bobby Holley
31f9bf9d0b Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
da23a71bbe Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce 2014-12-07 15:41:46 -08:00
Chris Lord
cccccfadb3 Bug 1106132 - Signal more error types in browser element. r=fabrice 2014-12-05 11:06:25 +00:00
Bobby Holley
7b4b4838ca Bug 1097823 - Followup to avoid null-derefing when promises have already been rejected during shutdown. rpending=cpearce 2014-12-07 15:08:47 -08:00
Bobby Holley
3871f53bf6 Bug 1097823 - Followup fix to ensure that the borrowed task queue doesn't get destroyed before subdecoders shut down. rpending=cpearce 2014-12-07 13:25:11 -08:00
Bobby Holley
b5f3305d3c Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley
61900e1d2d Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley
ecd1b4cbb2 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
6318733591 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-07 11:21:34 -08:00
Bobby Holley
14e9457ae3 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Sotaro Ikeda
ab264f3007 Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Tom Schuster
87d731b076 Bug 1108261 - Use new to create cross compartment typed array. no-r,testonly 2014-12-06 12:18:12 -08:00
Bobby Holley
455f15535d Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga
7a79af88ee Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00
Jonathan Watt
da852fb016 Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow 2014-12-05 03:00:24 -08:00
Ryan VanderMeulen
df6811b023 Backed out changeset af9f873b8bc6 (bug 1107416) for non-unified bustage. 2014-12-06 02:06:56 -05:00
Dan Glastonbury
dd19bb1f83 Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Chris Peterson
28b15aa1fc Bug 1107416 - Add static_assert reminder to increment XDR_BYTECODE_VERSION_SUBTRAHEND when extending js.msg. r=shu 2014-12-05 00:19:40 -08:00
Steve Fink
204cae5a93 Bug 1107936 - Do not define os for fuzzing-safe shell
--HG--
extra : rebase_source : 8ec7747fee2f1117f649edd4d0470ff63cb6e102
2014-12-05 18:01:22 -08:00
Brian Hackett
61ff37cf13 Bug 1107496 - Add PlainObject subclass, r=luke. 2014-12-05 18:52:28 -07:00
Nick Fitzgerald
5bfb7008b9 Bug 1103817 - Handle cross compartment references to JSScripts in JS_TraceIncomingCCWs. r=terrence 2014-12-05 17:11:30 -08:00
Ryan VanderMeulen
ba53ff1161 Backed out 5 changesets (bug 1098126) for Windows web-platform-test failures.
Backed out changeset 7cf7a6ea28c2 (bug 1098126)
Backed out changeset 21aab02fb41c (bug 1098126)
Backed out changeset 55dba2167b36 (bug 1098126)
Backed out changeset 73c2707c4f60 (bug 1098126)
Backed out changeset 4d6a52c5fb75 (bug 1098126)
2014-12-05 20:09:54 -05:00
Ryan VanderMeulen
0d016bc066 Merge m-c to inbound. a=merge 2014-12-05 19:16:21 -05:00
Ryan VanderMeulen
5e0f31c0c5 Merge fx-team to m-c. a=merge 2014-12-05 19:10:22 -05:00
Ryan VanderMeulen
5f0aa6245d Merge inbound to m-c. a=merge 2014-12-05 19:02:53 -05:00
Hannes Verschore
b6b0fc882e Bug 1105684: Add testcase, r=bbouvier 2014-12-05 16:01:56 -08:00
Bas Schouten
3eaeba266b Bug 1102499: Use WARP by default when D3D11 is available. r=BenWa
This will cause us to use WARP for composition on systems with Direct3D 11 when hardware acceleration is blacklisted or we're unable to find a powerful enough graphics card. It also allows us to force WARP on, in that situation WARP will also be used for Direct2D content rendering if Direct2D is enabled. Essentially this will ensure all systems running Windows 7 or higher always use D3D11 as their composition backend.
2014-12-06 00:02:19 +00:00
Bas Schouten
76753982e0 Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
Bas Schouten
184e84297b Bug 1107297: Only recomposite the damaged rect with D3D11. r=jrmuizel
This patch makes us behave similarly to when we're using the BasicCompositor, essentially we will clip all drawing to the final display to the area that was labeled as invalid. When DXGI 1.2 is available we will then also report the damaged area to the Present call so that can then be used to minimize the amount of bits that actually need to be blitted to the screen. Since we're no longer recompositing the whole screen this means we should also only clear the damaged area of the window.
2014-12-06 00:02:18 +00:00
L. David Baron
fb22e3fc16 Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 15:50:01 -08:00
L. David Baron
b3e14ccac7 Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron
da55abe7bc Bug 1089417 patch 6 - Pass the previous CSS rule processor to the constructor of the new one (when we replace one with another). r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron
fccbbb258f Bug 1089417 patch 5 - Add method to save the current media query result cache key from a rule processor. r=heycam
This is needed for patch 7.
2014-12-05 15:50:00 -08:00
L. David Baron
cc6a4c1bb2 Bug 1089417 patch 4 - Define equality operators on nsMediaQueryResultCacheKey and the types it contains. r=heycam
This is needed for the equality comparison in
nsCSSRuleProcessor::MediumFeaturesChanged in patch 8.
2014-12-05 15:50:00 -08:00
L. David Baron
f7ac009fee Bug 1089417 patch 3 - Add mochitest. r=heycam
Note that if I make the style element currently /* empty */ have a rule
in it, the test passes.

Patch 8 also makes the test pass.
2014-12-05 15:50:00 -08:00
L. David Baron
5e88cfd187 Bug 1089417 patch 2 - Add assertion that RecordStyleSheetChange is called inside an update. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
L. David Baron
addb1c2a93 Bug 1089417 patch 1 - Add assertions that rule processors are valid before we access them. r=heycam
This was just something that seemed worth asserting in the process of
debugging, since I wanted to see if it was the problem.
2014-12-05 15:50:00 -08:00
Tim Taubert
de9c316b20 Backed out changeset 84c03250d7f6 (bug 1106936) 2014-12-05 14:21:25 -08:00
B2G Bumper Bot
be495d3934 Bumping manifests a=b2g-bump 2014-12-05 14:01:55 -08:00
B2G Bumper Bot
ebf5537a24 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/5686a4726b2c
Author: Gabriele Svelto <gsvelto@mozilla.com>
Desc: Bug 1108008 - Fix the destination path for the dialer and calendar reference workloads' databases r=jhylands

========

https://hg.mozilla.org/integration/gaia-central/rev/b2ee7022edab
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1095120 - merge pull request #26209 from stasm:1095120-async-format to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/b58c524523c0
Author: Staś Małolepszy <stas@mozilla.com>
Desc: Bug 1095120 - Add async mozL10n.format{Value,Entity} methods. r=gandalf
2014-12-05 13:57:15 -08:00
B2G Bumper Bot
413f5c5bc9 Bumping manifests a=b2g-bump 2014-12-05 13:17:03 -08:00
B2G Bumper Bot
c75dff6bd7 Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/49143a92bd20
Author: Jan Keromnes <janx@linux.com>
Desc: Merge pull request #26540 from jankeromnes/hidedebugging

Bug 1097166 - Allow debugging icon to be hidden. r=mhenretty

========

https://hg.mozilla.org/integration/gaia-central/rev/d07a6478f5a5
Author: Jan Keromnes <janx@linux.com>
Desc: Bug 1097166 - Allow debugging icon to be hidden. r=mhenretty

========

https://hg.mozilla.org/integration/gaia-central/rev/5d1201051046
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Revert "Merge pull request #26332 from ochameau/customOrigin"

This reverts commit e3ab9dceeb7db02e57c9b44558cc54fb552a297b, reversing
changes made to 1c89a60723ae27e6eb6d3f7aeeca5efbf4c9beb5.
2014-12-05 13:07:17 -08:00
B2G Bumper Bot
2b9e273626 Bumping manifests a=b2g-bump 2014-12-05 12:47:03 -08:00
Wes Kocher
e17b14bb50 Backed out 8 changesets (bug 1089417) for b2g bustage possibly on a CLOSED TREE
Backed out changeset bf9f31312c1a (bug 1089417)
Backed out changeset babf33f8e077 (bug 1089417)
Backed out changeset 47b4f47d2e36 (bug 1089417)
Backed out changeset 11da22489a4f (bug 1089417)
Backed out changeset a39f32b2b2de (bug 1089417)
Backed out changeset fba9c331e036 (bug 1089417)
Backed out changeset b541a037f627 (bug 1089417)
Backed out changeset fc47a51b4f96 (bug 1089417)
2014-12-05 12:45:41 -08:00
B2G Bumper Bot
a457d610ba Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/715e2146a0ce
Author: punamdahiya <punamdahiya@yahoo.com>
Desc: Merge pull request #26641 from punamdahiya/Bug1092233-update-gaia-node-module-rev

Bug1092233 - Update marionette-file-manager to 0.0.3 r=kgrandon

========

https://hg.mozilla.org/integration/gaia-central/rev/8ff57bd1aa7b
Author: Punam Dahiya <punamdahiya@yahoo.com>
Desc: Bug1092233 - Update marionette-file-manager to 0.0.3 r=kgrandon
2014-12-05 12:37:16 -08:00
B2G Bumper Bot
47cf263698 Bumping manifests a=b2g-bump 2014-12-05 12:04:11 -08:00
B2G Bumper Bot
7f49f068db Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/1b5ceb13f47b
Author: Guillaume C. Marty <gmarty@users.noreply.github.com>
Desc: Merge pull request #26631 from gmarty/Bug-1107727-Better-support-data-uri-HTML-pages-browser

Bug 1107727 - Better support of data-uri HTML pages in the browser

========

https://hg.mozilla.org/integration/gaia-central/rev/76a514e2da82
Author: Guillaume Marty <edo999@gmail.com>
Desc: Bug 1107727 - Better support of data-uri HTML pages in the browser
2014-12-05 12:03:52 -08:00
Jordan Lund
b3c33043fc Bug 1080749 - Add nightly jobs for new splitapk Android builders, r=rnewman 2014-12-05 11:54:39 -08:00
L. David Baron
4938f0925a Bug 1089417 patch 8 - Only drop MediumFeaturesChanged on the floor if we've never computed style before, rather than never computed style using this rule processor. r=heycam
This depends on patches 4 and 7.
2014-12-05 11:37:39 -08:00
L. David Baron
6c5a41030a Bug 1089417 patch 7 - Save the previous media query cache key on the rule processor. r=heycam
This depends on patches 5 and 6, and is needed for patch 8.
2014-12-05 11:37:39 -08:00