Commit Graph

41394 Commits

Author SHA1 Message Date
L. David Baron
c7d7287021 Bug 1221436 patch 1 - Have a pointer back from the css::Declaration for style attributes to the nsHTMLCSSStyleSheet. r=heycam
This is needed for patch 2, since we need a replacement for the
mechanism to get from rules to the style attribute sheet
(nsHTMLCSSStyleSheet) that works instead for declarations rather than
rules.

This pointer will be merged with the owning rule pointer in patch 4, but
we can't do that until after patch 2.
2015-11-09 15:57:16 +08:00
Benjamin Chen
fb632faea7 Bug 1219300 - Add mutex to protect the |result| because the variable will be access by multiple threads at the same time. r=cpearce 2015-11-06 15:28:22 +08:00
hsteinbr
d668b69a20 Bug 1211656 - GUM Constraints for screen sharing don't affect stream resolution. r=jib 2015-11-04 19:06:00 +01:00
Nils Ohlmeier [:drno]
109e0e74d0 Bug 1190574 - added missing calls to release stored ICE candidates. r=jib 2015-09-14 23:17:05 -07:00
Jan-Ivar Bruaroey
ff4ac08e63 Bug 1190574 - make test.chain.replace and cohorts throw on unknown test name + fix broken tests. r=drno, r=jib 2015-08-03 17:07:06 -04:00
Hiroyuki Ikezoe
e4aa39d3e2 Bug 1216030 - Part 18: Remove IsCurrent() check in assertion in CanThrottle. r=bbirtles
The behavior of unthrottling in case of not current animations there is the
same as on current trunk.
There are two cases to reach there I can think of:

a) 0s duration time and fill-forwards animation
b) Calling pause() after fill-forwards animation finished.

I can provide these automation tests once bug 1222326 is fixed.
2015-11-06 02:57:00 +01:00
Hiroyuki Ikezoe
46efffacd8 Bug 1216030 - Part 17: Do not calculate unthrottle interval for transform animation every time. r=bbirtles 2015-11-06 02:55:00 +01:00
Hiroyuki Ikezoe
003978d3c4 Bug 1216030 - Part 16: Move CanThrottleAnimation and CanThrottleTransformChanges from AnimationCollection into KeyframeEffectReadOnly::CanThrottle. r=bbirtles
The preference check has been removed from CanThrottleTransformChanges
because we already perform that check that when deciding if we should run
an animation on the compositor (in CanPerformOnCompositorThread, as called
by GetAnimationsForCompositor). Hence if the "is running on compositor" flag
is true, we can assume the preference is set (or was set when we decided to
put the animation on the compositor-- we don't worry about pulling the
animation off the compositor immediately if the preference changes while
it is running)
2015-11-06 02:53:00 +01:00
Hiroyuki Ikezoe
f7a6cd2010 Bug 1216030 - Part 15: Add KeyframeEffectReadOnly::GetCollection. r=bbirtles 2015-11-06 02:53:00 +01:00
Hiroyuki Ikezoe
4afa489379 Bug 1216030 - Part 14: Add KeyframeEffectReadOnly::GetPresContext and KeyframeEffectReadonly::GetRenderedDocument. r=bbirtles 2015-11-06 02:51:00 +01:00
Hiroyuki Ikezoe
6bb1cf45c3 Bug 1216030 - Part 11: Add KeyframeEffect::CanAnimatePropertyOnCompositor. r=bbirtles
Based on AnimationCollection::CanAnimatePropertyOnCompositor.
The first argument has been changed to nsIFrame* so that we don't need to
get style frame for CanAnimateTransformOnCompositor again.
2015-11-06 02:45:00 +01:00
Hiroyuki Ikezoe
2db416472d Bug 1216030 - Part 8.5: Animation::CanThrottle() should check that all animation properties are running on compositor. r=bbirtles
If this patch (and part 9) is an overkill to throttle animations having both
of properties, one can be run on compositor and another can not be, a test
case in test_running_on_compositor[1] will fail.
The test case is for an animation which has transform and background-color
properties.

Animation::CanThrottle() returns true
  (then, AnimationCollection::CanPerformOnCompositorThread() returns false)
  on current trunk in the test case.
Animation::CanThrottle() returns false with this patch in the test case.

If the test passes, it proves the transform animation is running on compositor
in both cases.

[1] http://hg.mozilla.org/mozilla-central/file/6c7c983bce46/dom/animation/test/chrome/test_running_on_compositor.html#l77
2015-11-06 02:49:00 +01:00
Hiroyuki Ikezoe
e5ceb68101 Bug 1216030 - Part 8: Add KeyframeEffectReadOnly::GetAnimationFrame. r=bbirtles
This method will be used in KeyframeEffectReadOnly::CanThrottle to get
appropriate target frame for animation.
2015-11-06 02:42:00 +01:00
Hiroyuki Ikezoe
44c932e0db Bug 1216030 - Part 6: Add KeyframeEffectReadOnly::IsGeometricProperty. r=bbirtles
This method will be private soon.
2015-11-06 02:38:00 +01:00
Hiroyuki Ikezoe
d565b79cdb Bug 1216030 - Part 5: Add KeyframeEffectReadOnly::CanAnimateTransformOnCompositor. r=bbirtles
This method will be private soon.
2015-11-06 02:38:00 +01:00
Nicholas Nethercote
9b94d9505e Bug 1187782 (part 11) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey. 2015-11-08 20:55:05 -08:00
Nicholas Nethercote
9eb460ce7b Bug 1187782 (part 10) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey. 2015-11-08 20:54:58 -08:00
Nicholas Nethercote
70d6d37bb4 Bug 1187116 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:47:23 -08:00
Nicholas Nethercote
e3708fb90c Bug 1187116 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:46:47 -08:00
Nicholas Nethercote
230ef8e173 Bug 1187116 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:46:29 -08:00
Nicholas Nethercote
c086d42e44 Bug 1187116 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:45:14 -08:00
Karl Tomlinson
74469a968f bug 1221855 test Web Audio memory reporting r=erahm 2015-11-06 16:16:39 +13:00
Karl Tomlinson
8e03b3d45e bug 1221855 null-check mInputBuffer in SizeOfExcludingThis() r=padenot 2015-11-06 15:00:17 +13:00
Sotaro Ikeda
ff4dd53399 Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice 2015-11-08 16:55:08 -08:00
Sebastian Hengst
0030f9988f Backed out 3 changesets (bug 1221368, bug 1221371) for build failures in B2G JB Emulator. r=backout
Backed out changeset a50c676caf7f (bug 1221371)
Backed out changeset bd99e5060e1e (bug 1221371)
Backed out changeset 3a22461c8ce8 (bug 1221368)

gecko/ipc/chromium/src/base/task.h:36:4: error: use of deleted function 'RefPtr<T>::operator T*() const && [with T = nsScreenGonk]'
make[6]: *** [nsScreenManagerGonk.o] Error 1
2015-11-08 21:25:22 +01:00
Bill McCloskey
e02108c38d Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-11-08 12:24:42 -08:00
Bill McCloskey
6e3da5ca4e Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Bill McCloskey
fe2c04f651 Bug 967873 - Fix browser_bug902350.js (r=Gijs) 2015-11-08 10:27:45 -08:00
Bill McCloskey
cf7d9b42f8 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-08 10:25:09 -08:00
Andrew McCreight
e1b298b976 Bug 1222105 - Make test_report.html and test_blocked_uri_in_reports.html work with e10s. r=ckerschb 2015-11-06 16:03:03 -08:00
Andrew McCreight
3664a22fb5 Bug 1220730 - Make test_bug392338 work with e10s. r=bz 2015-11-06 16:03:03 -08:00
Wes Kocher
a812810bc0 Backed out 5 changesets (bug 1215723) for android S4 bustage
Backed out changeset 2a945ce1cd40 (bug 1215723)
Backed out changeset dd7f58b60ddc (bug 1215723)
Backed out changeset 62dbb95bd79a (bug 1215723)
Backed out changeset b31ac98bb3c8 (bug 1215723)
Backed out changeset 228cdfaa82c1 (bug 1215723)
2015-11-06 15:19:35 -08:00
Wes Kocher
aee88699e0 Merge m-c to inbound a=merge 2015-11-06 15:13:35 -08:00
Wes Kocher
e62def327e Merge b2ginbound to central, a=merge 2015-11-06 15:03:32 -08:00
Wes Kocher
e0c2dd1b9f Backed out 5 changesets (bug 1219711) for frequent android m(9) failures a=bustage
Backed out changeset 2d5f09d89424 (bug 1219711)
Backed out changeset cf14a6e5f340 (bug 1219711)
Backed out changeset 4eaa8cf9a752 (bug 1219711)
Backed out changeset 65abe62869df (bug 1219711)
Backed out changeset a21d79a94307 (bug 1219711)
2015-11-06 11:14:11 -08:00
Jorg K
16315eb9fc Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. r=roc a=me 2015-11-06 11:42:29 -08:00
Wes Kocher
fbe8a0e317 Backed out changeset b3d28572da60 (bug 1214377) for breaking thunderbird builds a=backout 2015-11-06 11:30:00 -08:00
Wes Kocher
0afd6bcdf9 Backed out changeset 17f6cc9ea49c (bug 1218593) for android m(10) permafails 2015-11-06 14:21:49 -08:00
Carsten "Tomcat" Book
38aee72997 Merge mozilla-central to b2g-inbound 2015-11-06 14:00:33 +01:00
Kan-Ru Chen
2226514046 Bug 1216937 - Assign default URL for mozbrowseropenwindow event. r=smaug 2015-11-06 16:59:08 +08:00
Ben Tian
696ca69665 Bug 1221898 - Fix PBAP memory leakage, r=brsun 2015-11-06 16:23:30 +08:00
Andrew Osmond
ddbc01ee1f Bug 1222122 - Add picture size to verified parameters when reconfiguring the camera. r=dhylands 2015-11-05 16:00:57 -05:00
Fabrice Desré
ae4be0a38d Bug 1220344 - remote some of nsSystemInfo to make it e10s ready on Android r=nchen,froydnj 2015-11-04 11:08:14 -08:00
Wes Kocher
0e58b074af Merge inbound to central, a=merge 2015-11-05 18:44:24 -08:00
Ben Kelly
7b7d44370d Bug 1221351 P1 ServiceWorkerContainer and ServiceWorkerRegistration should not crash for null window owner. r=catalinb 2015-11-05 09:33:33 -08:00
Brian Grinstead
b4052a1bbb Bug 1213932 - Restrict ServiceWorker logging to windows that match navigator.serviceWorker.controller.scriptURL;r=baku,r=past 2015-11-05 12:03:31 -08:00
Carsten "Tomcat" Book
ccaa75ce69 Merge mozilla-central to fx-team 2015-11-05 13:43:18 +01:00
Carsten "Tomcat" Book
dbc3cdbc09 merge b2g-inbound to m-c to fix merge conflicts a=merge 2015-11-05 13:38:39 +01:00
Carsten "Tomcat" Book
ef7cf4bf60 Backed out changeset 0fcb7abf3523 (bug 1206581) for fixing merge conflicts to m-c 2015-11-05 13:26:30 +01:00
Carsten "Tomcat" Book
832402c105 Merge mozilla-central to fx-team 2015-11-05 12:17:28 +01:00