Jeremy Chen
b441c71371
Bug 1363000 - re-enable <select> related SVG crashtests. r=heycam
...
MozReview-Commit-ID: CXoNYeiwJpL
2017-05-12 10:52:16 +08:00
Cameron McCormack
560210f96f
Bug 1361235 - Part 2: Re-enable some tests. r=emilio
...
MozReview-Commit-ID: 76FaOwHjIMB
2017-05-11 19:19:52 +08:00
Jeremy Chen
70b2b6d25f
Bug 1359343 - annotate svg related crashtests to enable stylo for SVG documents. r=heycam
...
The two skipped tests (1 in layout/base/ and 1 in view/) both cause leaks while
running crashtests, so annotate them with a tracking bug (bug 1363000) filed.
MozReview-Commit-ID: GhSRt4wqu44
2017-05-05 09:58:56 +00:00
Ting-Yu Lin
428c663d9b
Bug 1321754 Part 2 - Update reftest and crashtest expectations for stylo. r=heycam
...
MozReview-Commit-ID: AunZ2DE209M
2017-04-28 14:53:16 +08:00
Emilio Cobos Álvarez
3731858edf
Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
...
MozReview-Commit-ID: 5Nzhyta5Hle
2017-04-30 17:30:08 +02:00
Timothy Nikkel
e16c11262c
Bug 1354933. Add annotation if the view is for a printing document if the view has a frame in its destructor. r=mats
2017-04-27 17:50:00 -05:00
Nicholas Nethercote
518b61128f
Bug 1357298 - Remove the 'layers.frame-counter' option. r=mstange,mattwoodrow.
...
This option turns on a frame counter that is shown in the top left corner via a
QR code. It was designed to be used in video recordings of B2G phones.
It no longer seems useful, so this patch removes it.
* * *
Bug 1357298 - Remove all traces of frame numbers and power from the profiler output. r=mstange.
2017-04-18 15:40:24 +10:00
Timothy Nikkel
97feb34452
Backed out changeset 2c6ecadd506b (bug 1354933).
2017-04-20 16:39:38 -05:00
Timothy Nikkel
1e46bebd74
Bug 1354933. Assert that the frame pointer is null in the nsView destructor. r=mats
2017-04-18 18:17:35 -05:00
Eric Rahm
1014279336
Bug 1351904 - Switch layout over to ArenaAllocator. r=xidorn
...
This switches over layout's usage of PLArena to ArenaAllocator. This allows
us to build more files in unified sources and gets rid of various CONST masks.
MozReview-Commit-ID: Aaf3Dl2kaoz
2017-03-31 14:06:33 -07:00
Kartikaya Gupta
874d78e7e8
Merge m-c to graphics
...
MozReview-Commit-ID: FT418lFT961
2017-03-24 10:10:11 -04:00
Kartikaya Gupta
d04adf7ea7
Bug 1335745 - Guard against a null rootPresContext. r=tnikkel
...
With WebRender enabled, the DidComposite notification message can be delayed
because of the extra indirection of the WR Render thread. This can result
in the DidComposite notification arriving for a popup window after it has already
been put into the bfcache and no longer has a root prescontext. This results in
an intermittent crash or assertion failure during crashtests. A null guard here
should avoid the problem.
MozReview-Commit-ID: A1U82tStFsQ
2017-03-23 17:22:26 -04:00
Mats Palmgren
dcf411bbaf
Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
...
* * *
[mq]: sssssssss
MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 22:11:23 -07:00
Joel Maher
71d3eacf20
Bug 1345514 - add BUG_COMPONENT to view/* files. r=jet
...
MozReview-Commit-ID: JC3bsH1Ok0D
2017-03-17 16:39:18 -04:00
Matt Woodrow
e40a3c55b7
Bug 1302071 - Part 5: Bucket PresContext invalidations by transaction ID, and only deliver them when the associated composite has completed. r=tnikkel
...
This patch does a few things:
* Buckets invalidations by transaction ID, and sends MozAfterPaints events for them when the associated composite completes.
* Creates a separate EventualDidPaint timer for each transaction ID we have invalidations for rather than just using one.
* Removes NotifyDidPaintForSubtree(PAINT_LAYERS), as it was only necessary for the existing bucketing mechanism.
MozReview-Commit-ID: JERMsgxhPQd
2017-02-17 15:16:15 +13:00
Markus Stange
f91ffc0a6f
Bug 1275347 - Move the display list profiler marker to the right place. r=mattwoodrow
...
MozReview-Commit-ID: JcSmqlXlr4A
2017-02-16 19:18:37 -05:00
Sylvestre Ledru
dd228868b0
Bug 1338086 - Remove useless else blocks in order to reduce complexity in view/ r=tnikkel
...
MozReview-Commit-ID: 6H794QjWZ1t
2017-02-09 10:42:41 +01:00
Olli Pettay
7b4b6e7d45
Bug 1338901 - nsViewManager::ProcessPendingUpdatesForView should use AutoTArray to avoid alloc/free, r=tn
2017-02-14 03:44:23 +02:00
Cameron McCormack
334e0fe231
Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
...
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Julian Seward
1a3d3ab3a5
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (1 of 5, fixes for view/). r=tnikkel.
2017-01-24 17:10:01 +01:00
Timothy Nikkel
1671e96cb4
Bug 1330225. Remove unused function nsViewManager::InsertChild. r=mats
2017-01-12 00:59:11 -06:00
Cameron McCormack
cb58119236
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
2017-01-09 17:44:30 +08:00
Nathan Froyd
b9cca6c700
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
Timothy Nikkel
d69ab9c3b0
Bug 1323606. Implement the pref layout.show_previous_page for e10s. r=gw280 r=mats
...
The existing implementation only works for non-remote subdocuments.
This essentially makes the changes from bug 1157941 conditional on this pref.
2016-12-19 17:34:00 -06:00
Nicholas Nethercote
545f84822e
Bug 1299335 (part 3) - Streamline nsIWidget::SetParent. r=mstange.
...
This patch removes its return value, because none of the call sites check it
except for one non-vital assertion.
2016-12-16 10:54:11 +11:00
Cameron McCormack
4182a04ee8
Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
...
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Andi-Bogdan Postelnicu
0ade4438b5
Bug 1320874 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in view/. r=mstange
...
MozReview-Commit-ID: G5BkqvHRhW7
2016-11-29 10:36:29 +02:00
Sylvestre Ledru
03b7192853
Bug 1317430 - Avoid a unnecessary copy by passing a const & in view/ r=njn
...
MozReview-Commit-ID: BAZITOmUMVg
2016-11-14 23:16:52 +01:00
Nicholas Nethercote
8b8bd02a31
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Nicholas Nethercote
437e516713
Bug 1293596 (part 1) - Don't use NS_IMETHOD for nsIWidget::AttachViewToTopLevel. r=karlt.
2016-08-10 10:04:08 +10:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Matt Woodrow
22e9ef7587
Bug 1279202 - Make sure that deferring a resize of a document schedules a layout flush, not just a style one. r=dbaron
2016-07-14 18:39:35 +12:00
Mats Palmgren
058b8e530e
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
cb1cb75fda
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Phil Ringnalda
903965a65a
Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
...
CLOSED TREE
Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren
4185a33eae
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
ee41bb63c0
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Jonathan Kew
5959e41efd
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-11 11:04:21 +01:00
Sebastian Hengst
155d508cbb
Backed out changeset a74ef371c48f (bug 1087964) for failing elementFromPoint.html on OSX 10.10 debug. r=backout
2016-05-12 13:19:00 +02:00
Jonathan Kew
cced338425
Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange
2016-05-12 09:31:13 +01:00
Masayuki Nakano
d3766dc0ef
Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
...
MozReview-Commit-ID: JaE0S7BIgVF
2016-05-12 11:36:41 +09:00
Phil Ringnalda
fb3bc51a33
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren
371722e397
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Matt Woodrow
8630ad5c64
Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
2016-05-12 12:06:11 +12:00
Timothy Nikkel
fec20f9b3f
Bug 1261752. Part 3. r=mats
2016-05-10 22:58:47 -05:00
Timothy Nikkel
2322af5ec8
Bug 1261752. Part 2. r=mats
2016-05-10 22:58:47 -05:00
Timothy Nikkel
7d571d707e
Bug 1261752. Part 1. r=mats
2016-05-10 22:58:26 -05:00
Xidorn Quan
1a169dea39
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
2016-05-03 17:58:57 +10:00
Xidorn Quan
1beec163ee
Bug 1267568 part 3 - Use an individual method for check whether resize should be delayed. r=smaug
...
MozReview-Commit-ID: 3esSPNoDJCB
2016-05-03 17:58:57 +10:00