Commit Graph

285944 Commits

Author SHA1 Message Date
David Anderson
d88bee95e2 Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
David Anderson
8e8a84e06a Propagate D3D9 device resets to remote layers. (bug 1245765 part 2, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson
38a3138143 Add a helper function for iterating indirect layer trees. (bug 1245765 part 1, r=mattwoodrow) 2016-02-29 01:53:12 -05:00
David Anderson
d34056d3c0 Fold nsDisplayBlendContainer constructors. (bug 1209278 part 3, r=mstange) 2016-02-29 01:45:43 -05:00
David Anderson
458b69cf21 Remove lazy scrollinfo hoisting introduced in bug 1193557. (bug 1209278 part 2, r=mstange) 2016-02-23 10:11:43 -08:00
David Anderson
a6a367262a Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange) 2016-02-23 10:11:21 -08:00
Ryan VanderMeulen
de34fa4ce3 Backed out changesets 764c86198573 and 90494d4d76ab (bug 1220124) for e10s browser_ext_tabs_onHighlighted.js permafail. 2016-02-29 00:15:06 -05:00
Ryan VanderMeulen
ab2e49fe75 Backed out changesets 3a116d8cb42f and b61ca87b91e1 (bug 1251659) for making test_bug967796.html permafail. 2016-02-29 00:03:01 -05:00
Nicholas Nethercote
757b6fbbe5 Bug 1249174 (part 8) - Shrink XPTInterfaceDescriptor. r=khuey.
XPTInterfaceDescriptor::num_additional_types can easily fit in 8 bits -- in
practice it doesn't exceed 20, and there's already a check in DoTypeDescriptor
that it doesn't exceed 255. This patch shrinks it and moves that check into
XPT_InterfaceDescriptorAddTypes() so that any overflow would be detected more
reliably.

On 64-bit platforms this reduces sizeof(XPTInterfaceDescriptor) from 40 to 32
and correspondingly reduces "xpti-working-set" by 16 KiB.

The patch also changes XPT_InterfaceDescriptorAddTypes() into a local function,
because it's defined and only used in xpt_struct.cpp.
2016-02-23 16:17:59 +11:00
Nicholas Nethercote
b68d05bdab Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey.
This patch:

- Removes XPTArena's ability to support arbitrary alignments.

- Hardwires two sub-arenas into XPTArena, one with alignment of 8 and one with
  alignment of 1.

- Uses the first sub-arena for most allocations and the second sub-arena for C
  string allocations.

These changes reduce "xpti-working-set" by 56 KiB.

The patch also renames all the used of "malloc" in XPT identifiers with
"calloc", to make clearer that the result is always zeroed.
2016-02-23 16:17:58 +11:00
Nicholas Nethercote
e5e86e88ed Bug 1249174 (part 6) - Shrink XPTTypeDescriptor. r=khuey.
With careful layout we can reduce sizeof(XPTTypeDescriptor) from 4 to 3, which
also reduces sizeof(XPTParamDescriptor) from 6 to 4. This reduces
"xpti-working-set" by 16 KiB.

The union-of-structs also improves readability by making it clearer exactly
which fields are used for which types.
2016-02-23 16:17:44 +11:00
Nicholas Nethercote
6f093e5857 Bug 1249174 (part 5) - Remove the useless BLK_HDR::size field. r=khuey. 2016-02-23 05:34:33 +11:00
Nicholas Nethercote
9096f3cb06 Bug 1249174 (part 4) - Don't store unused XPTHeader fields in memory. r=khuey.
This requires merging XPT_DoHeaderPrologue() and XPT_DoHeader(), which is
straightforward.

This reduces "xpti-working-set" by 16 KiB on 64-bit platforms.
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
5e1d02e244 Bug 1249174 (part 3) - Don't store the unused XPTInterfaceDirectoryEntry::name_space field in memory. r=khuey.
Removing it reduces the "xpti-working-set" measurement by 16 KiB (measured on
64-bit).
2016-02-23 05:33:35 +11:00
Nicholas Nethercote
48839673ad Bug 1249174 (part 2) - Shrink xptiInterfaceEntry by reordering its fields. r=khuey.
This reduces "xpti-working-set" by another 16 KiB on 64-bit.
2016-02-17 15:23:46 +11:00
Nicholas Nethercote
120e0f668c Bug 1249174 (part 1) - Don't store the unused XPTTypeDescriptorTags::argnum2 field in memory. r=khuey.
XPTTypeDescriptor::argnum2 is unused. Removing it reduces
sizeof(XPTTypeDescriptor) from 6 bytes to 4 bytes, which reduces the
"xpti-working-set" measurement by 80 KiB (measured on 64-bit).
2016-02-17 15:23:42 +11:00
Jean-Yves Avenard
b0787f9cd5 Bug 1251044: P2. Remove dead code and generalise the use of content-range header. r=roc
MozReview-Commit-ID: ESMlcBOQKsy
2016-02-29 11:41:14 +11:00
Jean-Yves Avenard
fa08ceec09 Bug 1251044: P1. Use content-range values to determine content's length. r=roc
MozReview-Commit-ID: 7oAmvRGxzw3
2016-02-29 11:41:07 +11:00
Ryan VanderMeulen
cdb42a7e99 Backout changeset 49ab89b42dbf (bug 1246029) for browser_ext_commands_onCommand.js permafail. 2016-02-28 19:30:09 -05:00
Matthew Gregan
cd76f1b1a4 Bug 1251504 - Update libnestegg to remove generated nestegg-stdint.h. r=giles 2016-02-26 15:38:14 +13:00
Sebastian Hengst
07887733a7 Bug 1220124 - Add support for chrome.tabs.onhighlight. Followup: fix code style to pass eslint. r=kmag over IRC 2016-02-29 00:34:01 +01:00
Raunaq Abhyankar
7c19fbb085 Bug 1188198 - Remove the m prefix from the ThemedView.java.frag template and regenerate the output files. r=mcomella 2016-01-20 11:14:00 -05:00
penhlenh
b8afc16863 Bug 1232917 - List & render custom pings in about:telemetry. r=gfritzsche 2016-02-29 01:09:35 +07:00
bsilverberg
88a92d61d1 Bug 1251244 - Clean up tests for bookmarks API. r=kmag
MozReview-Commit-ID: 4jZZvpIBL6N
2016-02-27 07:58:04 -05:00
Abdelrhman Ahmed
1ac8204e0f Bug 1250746 - Add InitMouseEvent back to nsIDOMMouseEvent. r=khuey 2016-02-26 10:04:00 +01:00
Ryo Motozawa
d4f2f27390 Bug 1244641 - Part 6: Add duration tests in testing/web-platform/tests/web-animations. r=hiro
MozReview-Commit-ID: Ff400yaXDLV
2016-02-27 06:41:53 +09:00
Ryo Motozawa
094dffdb64 Bug 1244641 - Part 5: Add duration tests in layout/style/test. r=hiro
MozReview-Commit-ID: JrsLXlvjJa8
2016-02-27 06:41:40 +09:00
Ryo Motozawa
75ea2c20d7 Bug 1244641 - Part 4: Add duration tests in dom/animation/test/chrome. r=hiro
MozReview-Commit-ID: H2XbCfrzn8o
2016-02-27 06:39:58 +09:00
Ryo Motozawa
65b1dbf198 Bug 1244641 - Part 3: Notify animation mutation observers from AnimationEffectTiming::SetDuration. r=hiro
MozReview-Commit-ID: LxssvTBRbRF
2016-02-27 06:39:49 +09:00
Ryo Motozawa
aef061449a Bug 1244641 - Part 2: Add duration implementation in dom/animation/AnimationEffectTiming.cpp. r=hiro, r=smaug
MozReview-Commit-ID: K5wmKo1U2JP
2016-02-27 06:39:39 +09:00
Ryo Motozawa
d890ebd486 Bug 1244641 - Part 1: Let AnimationEffectTiming have an effect. r=hiro
MozReview-Commit-ID: REfKyGs4HK
2016-02-27 06:39:30 +09:00
Matthew Wein
8192573741 Bug 1246029 - Implement chrome.commands.onCommand. r=kmag 2016-02-26 23:51:19 -08:00
Dragana Damjanovic dd.mozilla@gmail.com
e4b62863c4 Bug 1251595 - Check if mNetAddr is set before sending ipv4/6 telemetry. r=mcmanus 2016-02-26 08:00:00 -05:00
Matthew Wein
bf58fc7420 Bug 1220124 - Add support for chrome.tabs.onhighlight. r=kmag 2016-02-07 18:35:22 -08:00
Andrew McCreight
235104cf1e Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-28 14:00:59 -08:00
Andrew McCreight
07218d49a6 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-28 14:00:59 -08:00
Robert O'Callahan
f9bda3ad37 Bug 1250143. Account for border/padding on outer <svg> elements in GeometryUtils. r=mats
MozReview-Commit-ID: KwEwnukNgeF
2016-02-25 23:54:09 +13:00
Alexander Surkov
9ab0baec7f Bug 1251337 - TreeWalker doesn't have to check ARIA owned children for each DOM state, r=yzen 2016-02-28 11:30:46 -05:00
Sebastian Hengst
06d19d0d14 Backed out changeset 4cc3fae66ffb (bug 1250990) for frequent failure of modified test test_peerConnection_scaleResolution.html. r=frequentorange 2016-02-28 09:59:16 +01:00
Bobby Holley
d4b0049e46 Bug 1251496 - Forward stylesheet management to RawServoStyleSet. r=heycam 2016-02-28 00:25:34 -08:00
Bobby Holley
f576acf3a2 Bug 1251496 - Introduce a servo-side data structure to represent the style set. r=heycam 2016-02-28 00:25:33 -08:00
Bobby Holley
52d85cb3d2 Bug 1251496 - Hoist existing RefPtrTraits into a ServoBindingHelpers.h. r=heycam
I think we're going to have a fair number of things like this, so I'd rather
put them all in one place, rather that defining them in the header for the first
consumer that uses the type.
2016-02-28 00:25:32 -08:00
Lee Salzman
e0a0a14c72 Bug 1247935 - Part 2: use shared pixmaps with XShm for nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Lee Salzman
e121c44a73 Bug 1247935 - Part 1: double-buffer nsShmImage. r=jrmuizel 2016-02-27 23:16:57 -05:00
Andrew Moser
2645653b89 Bug 1249937 - Rename LayerComposite::SetShadowTransform to SetShadowBaseTransform. r=botond 2016-02-26 21:36:52 -05:00
Jan-Ivar Bruaroey
6cc4f19688 Bug 1250990 - Make RTCRtpEncodingParameters.scaleResolutionDownBy work with H.264 unicast. r=jesup
MozReview-Commit-ID: 2j8rRzZemql
2016-02-26 16:16:11 -05:00
Jonathan Kew
e8778362fd Bug 1251624 - patch 2 - Check for scaling override (devPixelsPerPx setting) in nsScreenWin::GetDefaultCSSScaleFactor, for proper window positioning when a custom scale factor is used. r=emk 2016-02-27 15:44:59 +00:00
Jonathan Kew
7beb2fade1 Bug 1251624 - patch 1 - The desktop to device scaling in WinUtils::MonitorFromRect should not depend on custom CSS pixel scaling (devPixelsPerPx setting). r=emk 2016-02-27 15:37:31 +00:00
Sebastian Hengst
1a20f64338 Backed out changeset 7314001ba54c (bug 1251792) for permafailing the test. r=test-failure 2016-02-27 23:58:22 +01:00
Chris Peterson
788436a3eb Bug 1247532 - Annotate intentional switch fallthrough to suppress -Wimplicit-fallthrough warning in dom/canvas/. r=jgilbert
dom/canvas/WebGLContextGL.cpp:845:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-10 23:10:02 -08:00