Commit Graph

16491 Commits

Author SHA1 Message Date
Wes Kocher
ae32e28e86 Backed out 6 changesets (bug 1110928) for valgrind failures a=backout
Backed out changeset 97a60b61a65a (bug 1110928)
Backed out changeset 5b62dda2ebd0 (bug 1110928)
Backed out changeset b587547a6df1 (bug 1110928)
Backed out changeset fb7cb3957c0d (bug 1110928)
Backed out changeset 41d7f44db1ee (bug 1110928)
Backed out changeset e809ddd9c7db (bug 1110928)

MozReview-Commit-ID: L0DCJ0HD1sG
2017-01-23 17:34:23 -08:00
Bill McCloskey
7bbd79b58c Bug 1331966 - Don't assert against content JS during painting on Android (r=dvander)
MozReview-Commit-ID: HU8V8jeBFX
2017-01-23 17:01:18 -08:00
Bobby Holley
e22d0e0c87 Bug 1332915 - Avoid writing to shared data in FramePropertyTable during parallel traversal. r=bz 2017-01-23 12:18:02 -08:00
Olli Pettay
c4d0a8d0ad Bug 1110928, trigger ZoneGC after evicting from bfcache, r=mccr8
--HG--
extra : rebase_source : 223271dd8b9c4052bf95969dca096531d7502eb4
2017-01-23 19:25:13 +02:00
continuation@gmail.com
7cdcc6ffc7 Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : d629ec0ac5ba2445e05b18b57c50d782ecaed227
2017-01-23 19:22:26 +02:00
Andrew McCreight
95cd9eba51 Bug 1110928, part 2 - Call PokeGC in nsDocumentViewer::PageHide before the call to OnPageHide. r=smaug
This ensures that the document isn't destroyed when we call PokeGC, which will be useful later.

--HG--
extra : rebase_source : 897912892a6aca2d272297723fee32cd65dd6fde
2017-01-23 19:21:13 +02:00
Andrew McCreight
f790c94f1a Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : a1d5b81aab5b4efa914082fdbe4a5b3b71ee456d
2017-01-23 19:20:54 +02:00
Carsten "Tomcat" Book
0367e7729d Backout bug 1316330 on developers request 2017-01-20 14:16:13 +01:00
Carsten "Tomcat" Book
3b3ce27e84 Merge mozilla-central to mozilla-inbound 2017-01-19 16:35:21 +01:00
Neil Deakin
91871ff7dd Bug 1321472, when the capturing content is inside a popup, use the popup as the root frame when searching for a mouse target rather than the root frame, otherwise the capturing content's frame won't be found, r=smaug 2017-01-19 10:04:04 -05:00
Markus Stange
b797477463 Bug 1331402 - Update plugins' clipRects when hiding a tab. r=jimm,mattwoodrow
In non-e10s, all tabs of a window would share one nsRootPresContext. When
switching tabs, the tab switch paint would trigger a call to
nsRootPresContext::ComputePluginGeometryUpdates, which would call
SetEmptyWidgetConfiguration on all registered nsPluginFrames, notably also
those inside the tab that was hidden.

With e10s, every tab has its own nsRootPresContext, and paints in one tab do
not trigger calls to nsRootPresContext::ComputePluginGeometryUpdates on the
root pres contexts of other tabs. So when painting the new tab, the registered
plugin frames in the old tab were not notified that they were now hidden.
This patch now does that in TabChild::MakeHidden.

MozReview-Commit-ID: LlW9dKKFqZE

--HG--
extra : rebase_source : 0e7f24d7ef90d8582d7f60729e712bca78ed8e17
2017-01-17 18:07:05 +01:00
Wes Kocher
54c460dbd6 Merge inbound to m-c a=merge
MozReview-Commit-ID: 3cGydlfeaPN
2017-01-18 14:17:10 -08:00
Stone Shih
a8868e24d0 Bug 1323976 - Part 2: Refine button and buttons value of WidgetPointerEvent for touch. r=smaug
MozReview-Commit-ID: KGL1Hq2iIOW

--HG--
extra : rebase_source : 92f5f47bfc6348cb26993c59388eeed69340f360
2017-01-12 17:26:43 +08:00
Stone Shih
c163f48767 Bug 1323976 - Part 1: Add eNoButton to WidgetMouseEventBase::buttonType. r=smaug
MozReview-Commit-ID: FYUhdfKj5wT

--HG--
extra : rebase_source : ef4959c9dd68d5316cf19c9b726d8b2e8fd33b4e
2017-01-12 17:53:38 +08:00
Jan Beich
13885f1a7b Bug 1330359 - Fix building with -Werror for non-SPS platforms. r=mstange
MozReview-Commit-ID: Ifb3zyGHn7U

--HG--
extra : rebase_source : 9b0e06b7f9e984d5c475e59ad7864a039eb8a695
2017-01-11 17:22:19 +00:00
Bill McCloskey
aa90d7dcb6 Bug 1328423 - Add AutoAssertNoContentJS to PresShell::Paint (r=dvander)
MozReview-Commit-ID: 4M4pYZSygPH
2017-01-17 13:29:04 -08:00
Emilio Cobos Álvarez
1aed15b692 Bug 1331213: Bootstrap a Gecko-side Device, and track it's dirtiness manually in the per-doc data. r=heycam
The setup is quite different to Servo-land, so add a comment about the different
setup.

Also, check viewport rules when flushing stylesheets. I believe that the
previous behavior is plain wrong, though I haven't taken the time to come up
with a test case.

In any case, it doesn't hurt any of both back-ends.

MozReview-Commit-ID: 46gtTkesOsr
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:20:03 +01:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Emilio Cobos Álvarez
7a40386fed Bug 1330874: Preserve neutral style changes for stylo. r=heycam
Since we use the presence of a change hint to determine whether we should
recreate a style context, we can't just strip them out on CalcStyleDifference.

MozReview-Commit-ID: GLhbTc2W3d7
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-15 16:10:01 +01:00
Wes Kocher
565fdbe5d8 Merge inbound to m-c a=merge
MozReview-Commit-ID: JcbGWqzzYJj
2017-01-13 15:43:52 -08:00
Jessica Jong
4d95d705cd Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : rebase_source : 77456a1ef26a765d7710d51317e547495ac00993
2016-12-02 15:35:28 +08:00
Bobby Holley
e69afdcb2e Bug 1323671 - Reenable crashtests. r=me 2017-01-12 17:37:30 -08:00
Bobby Holley
eb34404cc8 Bug 1323654 - Reenable crashtests. r=me 2017-01-12 17:37:27 -08:00
Bobby Holley
129614b0d6 Bug 1329854 - Update crashtest expectations. r=me 2017-01-12 17:37:23 -08:00
Bobby Holley
6a150c778b Bug 1329854 - Check IsInStyleRefresh for all the servo-related handling in nsCSSFrameConstructor::Content{Appended,RangeInserted}. r=heycam 2017-01-12 17:33:07 -08:00
Bobby Holley
0574db6b6e Bug 1329854 - Call NoteDirtyDescendants when frame construction bails out due to lack of a container frame. r=heycam 2017-01-12 17:33:01 -08:00
Bobby Holley
38e55d8cfa Bug 1329854 - Handle suppressed frames in stylo incremental restyle. r=heycam 2017-01-12 17:32:40 -08:00
Jan Beich
4676a59c08 Bug 1329467 - Revert bug 1151829 to unbreak non-SPS build after bug 1322553. r=mstange
MozReview-Commit-ID: 14QL0Unr84G

--HG--
extra : rebase_source : 0b0cd50d4c08bfc1d16f648a40c21ce56a72af5f
2017-01-09 21:46:56 +00:00
Carsten "Tomcat" Book
58469cc1a0 Merge mozilla-central to autoland 2017-01-13 10:24:01 +01:00
Ting-Yu Lin
d5f5d96923 Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
MozReview-Commit-ID: LJNvNOoc7FI

--HG--
extra : rebase_source : 5dd6118f6e8e1605e89773b3b1e2bcbfa7704fd6
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
9e79cb96f5 Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
MozReview-Commit-ID: A6OTJ9PD43c

--HG--
extra : rebase_source : bcb53b7a0a966e2931c74db475ee8b7573354792
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
0f4ae7069c Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.

MozReview-Commit-ID: LmJUevY8YGr

--HG--
extra : rebase_source : 8888fa26fab541d06a3fccad9e4376bb3a66c043
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
7c122b0aa7 Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.

The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'

MozReview-Commit-ID: A8xTSPgh8Ls

--HG--
extra : rebase_source : 144315f06ecc5d66af1b1b0abbf8ac8269d9d13d
2017-01-06 16:34:33 +08:00
Olli Pettay
d6d2f4663c Bug 1330226 - BidiParagraphData should allocate less, r=jfkthame
--HG--
extra : rebase_source : a8c974f4a583d461dab121a5e4b5fb687c33b1fc
2017-01-12 22:46:23 +08:00
Bobby Holley
004deddec2 Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
Cameron McCormack
9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Cameron McCormack
f957565738 Bug 1322568 - Followup bustage fix on a CLOSED TREE.
MozReview-Commit-ID: IcxQaHLUmsN
2017-01-11 12:46:38 +08:00
Cameron McCormack
9f5783a333 Bug 1322568 - Disable style context tree structure verification assertions in stylo. r=bholley
MozReview-Commit-ID: 7gkNNkYILdk
2017-01-11 12:20:24 +08:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Cameron McCormack
466ecf05e1 Bug 1324705 - stylo: Update some crashtest assertion expectations. r=emilio
These were fixed by https://github.com/servo/servo/pull/14922.

MozReview-Commit-ID: 3Ypfq0BmkIY

--HG--
extra : rebase_source : c32e69303826b65059dcae963ddce94f5f4c40f8
2017-01-09 17:34:16 +08:00
Cameron McCormack
3bd4794eaf Bug 1324673 - stylo: Update some crashtest assertion expectations. r=emilio
These were fixed by https://github.com/servo/servo/pull/14922.

MozReview-Commit-ID: H7s2lGJ8QYU

--HG--
extra : rebase_source : ef104630c7715f2f95539a3bb65e46a480ff2bdb
2017-01-09 17:34:18 +08:00
Cameron McCormack
9560e97767 Bug 1323665 - Part 2: Allow StyleSheet.disabled CSSOM access to disable/enable a ServoStyleSheet. r=xidorn
Now that bug 1290209 has landed, we can make StyleSheet.disabled work in Servo
styled documents.  This fixes a bunch of test crashes due to the assertion no
longer firing.

MozReview-Commit-ID: 6sLrdrxWlvK

--HG--
extra : rebase_source : cf8ab29f98fbba6be837a38ffe2a03ed9b33b701
2017-01-09 17:44:30 +08:00
Phil Ringnalda
a52a0f5571 Backed out 8 changesets (bug 1311244) for OOM failures in Win7 debug R1
Backed out changeset d5411799a28f (bug 1311244)
Backed out changeset ff9c71e1dbc8 (bug 1311244)
Backed out changeset 96988ec5b81c (bug 1311244)
Backed out changeset 9d257713833a (bug 1311244)
Backed out changeset 2c33905ccb04 (bug 1311244)
Backed out changeset 20148e33d523 (bug 1311244)
Backed out changeset f36cd1532fdb (bug 1311244)
Backed out changeset 2ee4ea83a6b4 (bug 1311244)
2017-01-08 21:11:25 -08:00
Ting-Yu Lin
b78b4d97c4 Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
MozReview-Commit-ID: LJNvNOoc7FI

--HG--
extra : rebase_source : 1dd13c1727c2c31aad80995dcd4edaecf77819da
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
93b5370abd Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
MozReview-Commit-ID: A6OTJ9PD43c

--HG--
extra : rebase_source : c8b16ffaaf00c4ed3ec722d7502262005e9e21ec
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
e42b15fcf6 Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.

MozReview-Commit-ID: LmJUevY8YGr

--HG--
extra : rebase_source : 7cbfe60fec65833db3c7b7d7e9f3157b49b777eb
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
a564d3c513 Bug 1311244 Part 0 - Preemptively fix unified build bustage in nsLayoutUtils. r=dbaron
The is a preemptively fix for unified bustage after Part 2 adds a new file
under layout/base/.

The error was:
In static member function 'static bool nsLayoutUtils::SupportsServoStyleBackend(nsIDocument*)':
invalid static_cast from type 'nsIDocument*' to type 'nsDocument*'

MozReview-Commit-ID: A8xTSPgh8Ls

--HG--
extra : rebase_source : 35935c10e6fee97702ae2cdcd5651ef5096ed195
2017-01-06 16:34:33 +08:00
Nathan Froyd
a747eb3f2c Bug 1322553 - part 2 - use the new constructor of GeckoProfilerTracingRAII; r=mstange
This patch is not strictly relevant to the current bug, but doing the
work here nicely illustrates how the constructor we added in part 1 can
be used in existing parts of the codebase.
2017-01-07 15:56:49 -05:00
Ryan VanderMeulen
1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Emilio Cobos Álvarez
d449269afd Bug 1329200: Remove unused FrameManager global generation counter. r=xidorn
MozReview-Commit-ID: AXkaZYxpK2y

--HG--
extra : rebase_source : a02753e044fb89d4ea6a476e4b8f3e9fc0e4eb0c
2017-01-06 16:03:41 +01:00