3923dbb0879491c11f2c727b24a0c7f605c7d550: Bug 1397375 - Part3. Remove the related webrender user data when destroying a frame. r=jrmuizel
Ethan Lin <ethlin@mozilla.com> - Thu, 14 Sep 2017 14:40:31 +0800 - rev 381818
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1397375 - Part3. Remove the related webrender user data when destroying a frame. r=jrmuizel
MozReview-Commit-ID: IYjfqWiiPZ
6b4ff36ca8a685c4dbbce4527b191149283e25c3: Bug 1397375 - Part2. Add a table in layer manager to keep webrender user data and remove unused data in each transaction. r=jrmuizel
Ethan Lin <ethlin@mozilla.com> - Thu, 14 Sep 2017 14:39:00 +0800 - rev 381817
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1397375 - Part2. Add a table in layer manager to keep webrender user data and remove unused data in each transaction. r=jrmuizel
MozReview-Commit-ID: HsO3BCc2eeL
9feb6e1d9e630838a29cb7c384414a4cf1c74b3c: Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
Ethan Lin <ethlin@mozilla.com> - Thu, 14 Sep 2017 14:38:12 +0800 - rev 381816
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
MozReview-Commit-ID: IvKBy4MG8vw
84c535b614d5f75fa4c805c0ef39b8f39bd25f48: Bug 1400155 - early return from NotifyDataReceived() when the stream is already closed. r=gerald
JW Wang <jwwang@mozilla.com> - Tue, 19 Sep 2017 15:32:54 +0800 - rev 381815
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1400155 - early return from NotifyDataReceived() when the stream is already closed. r=gerald
See comment 3 for the detail. We can't assert !mClosed since NotifyDataReceived()
could be called after the stream is closed.
MozReview-Commit-ID: 4pTfjABdl9B
58c5b9d3eab336c3508544ca41f443e8c5e71084: Bug 1399760. P3 - keep ID of the loading channel so we check whether the data callback is from an old channel. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 20 Sep 2017 11:41:08 +0800 - rev 381814
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1399760. P3 - keep ID of the loading channel so we check whether the data callback is from an old channel. r=gerald
The load ID works as follows:
1. A load ID is passed to MediaCacheStream::NotifyDataStarted()
when loading a new channel.
2. Each MediaCacheStream::NotifyDataReceived() call is also associated
with a load ID from which the data is received.
3. If |mLoadID != aLoadID| tests to be true in NotifyDataReceived(), it means
the data is from an old channel and should be discarded.
4. MediaCache::Update() reset mLoadID for the stream before calling
CacheClientSeek() to prevent data from the old channel from being
stored to the wrong position.
MozReview-Commit-ID: 9kBoublLlln
723726a9d8c3d26d5b3cdf7484183f9669fca6ca: Bug 1399760. P2 - ensure mCacheStream.NotifyDataStarted() is always called in OnStartRequest(). r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 20 Sep 2017 11:30:03 +0800 - rev 381813
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1399760. P2 - ensure mCacheStream.NotifyDataStarted() is always called in OnStartRequest(). r=gerald
This keeps us in a good shape that NotifyDataStarted() is always called
before subsequent NotifyDataReceived() calls. This is also required by P3
where we need to set the loadID before NotifyDataReceived().
MozReview-Commit-ID: 9TPodkMM4EH
083932453cfc5cf78c1e745a2cb062aed3f9d4c2: Bug 1399760. P1 - remove the CopySegmentToCache() member function. r=gerald
JW Wang <jwwang@mozilla.com> - Wed, 20 Sep 2017 11:12:48 +0800 - rev 381812
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1399760. P1 - remove the CopySegmentToCache() member function. r=gerald
MozReview-Commit-ID: 3D9RiK3PJUf
38b7e1cf149f174220e131cb5dd28f714706e525: Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald
James Cheng <jacheng@mozilla.com> - Tue, 19 Sep 2017 16:14:49 +0800 - rev 381811
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald
MozReview-Commit-ID: 8ThoMrmlHNx
c55a11aac9cdd5f8adc9ea6f63d06d60267f1d72: Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
Ed Lee <edilee@mozilla.com> - Tue, 19 Sep 2017 12:51:47 -0700 - rev 381810
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH
2ecda1649fe43924e185445db870d7fd7e27bb0b: Bug 1401418 - Add initialized fade, focus tweaks and bug fixes to Activity Stream. r=dmose
Ed Lee <edilee@mozilla.com> - Tue, 19 Sep 2017 18:31:55 -0700 - rev 381809
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1401418 - Add initialized fade, focus tweaks and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: KOC1M8QVfoa
3045288dcb2ebd8106da35ed5067f0edb3f7fb71: Bug 1400150 - Use Swtichboard to enable Leanplum debugging. r=maliu
Nevin Chen <cnevinchen@gmail.com> - Fri, 15 Sep 2017 16:10:48 +0800 - rev 381808
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1400150 - Use Swtichboard to enable Leanplum debugging. r=maliu
MozReview-Commit-ID: 7Z7oADiE3Lu
1bd488e6c4d64dc1674a95891e8f89f1982ebc62: Bug 1368922 - Set mIsDirty atomically. r=hiro
Cameron McCormack <cam@mcc.id.au> - Wed, 20 Sep 2017 11:30:08 +0800 - rev 381807
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1368922 - Set mIsDirty atomically. r=hiro
MozReview-Commit-ID: Ei3zCECVRFf
b3619f0787cdd1ece6ff805e0540c99fdef82dc7: Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert
Louis Chang <lochang@mozilla.com> - Wed, 20 Sep 2017 10:06:26 +0800 - rev 381806
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert
MozReview-Commit-ID: 4w3tEkVAMWd
f00ccd10b4f55dd290b4d12e8819c4718c41f7de: Bug 1290782 Part 2 - Remove redundant destCtx and IsEmpty check of snappedDestSize since it should always have a value. r=cjku
Louis Chang <lochang@mozilla.com> - Wed, 20 Sep 2017 10:05:49 +0800 - rev 381805
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1290782 Part 2 - Remove redundant destCtx and IsEmpty check of snappedDestSize since it should always have a value. r=cjku
MozReview-Commit-ID: 25IlXeqURVa
4dade7ac1e2403d693d59b8501a04c3e043d38ec: Bug 1290782 Part 1 - When drawing a border-image using an SVG image, we should not take into account any transformation of currentMatrix when computing svg viewport size. r=cjku,dholbert
Louis Chang <lochang@mozilla.com> - Wed, 20 Sep 2017 10:05:42 +0800 - rev 381804
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1290782 Part 1 - When drawing a border-image using an SVG image, we should not take into account any transformation of currentMatrix when computing svg viewport size. r=cjku,dholbert
MozReview-Commit-ID: 8rkwQGKJOvo
6b2618acffea72ab7e06116680365ad352660823: Bug 1401427 - Temporarily disable UACacheReporter due to a leak.
Nicholas Nethercote <nnethercote@mozilla.com> - Wed, 20 Sep 2017 12:23:47 +1000 - rev 381803
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1401427 - Temporarily disable UACacheReporter due to a leak.
MozReview-Commit-ID: G8MBeSqYkqa
2b9dcbd0701a739568267ba2a2614ac0be9ae3b9: Bug 1400078 - Measure the UA cache. r=njn.
Nicholas Nethercote <nnethercote@mozilla.com> - Tue, 19 Sep 2017 09:25:00 +1000 - rev 381802
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1400078 - Measure the UA cache. r=njn.
ServoStyleSetSizes now has two uses, one for the Stylist, and one for the UA
cache, and so the patch removes 'Stylist' from the field names.
Example output from about:memory:
> +----1,359,608 B (00.55%) -- layout
> | +----756,488 B (00.31%) -- style-sheet-cache [2]
> | +----393,968 B (00.16%) -- servo-ua-cache
> | | +--234,496 B (00.10%) -- element-and-pseudos-maps
> | | +---59,648 B (00.02%) -- revalidation-selectors
> | | +---58,320 B (00.02%) -- invalidation-map
> | | +---30,752 B (00.01%) -- other
> | | +---10,752 B (00.00%) -- precomputed-pseudos
MozReview-Commit-ID: 8oxuJO0ojp
8d9db6f7a86ed2a829b086a4cc15d5ad32af8279: servo: Merge #18568 - Measure the UA cache (from nnethercote:bug-1400078); r=emilio
Nicholas Nethercote <nnethercote@mozilla.com> - Tue, 19 Sep 2017 18:46:49 -0500 - rev 381801
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
servo: Merge
#18568 - Measure the UA cache (from nnethercote:bug-1400078); r=emilio
This is the Servo PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1400078
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1400078
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tested on Gecko side.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Source-Repo:
https://github.com/servo/servo
Source-Revision:
ad4f50270d12564da471489c703119fc4a57fa15
ddad6d9b200eeced73e7286c9be93bbd877c7db5: Bug 1362817 - Drop the DateTimeFormat::FormatTime(). r=m_kato
Mantaroh Yoshinaga <mantaroh@gmail.com> - Tue, 19 Sep 2017 18:35:51 +0900 - rev 381800
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1362817 - Drop the DateTimeFormat::FormatTime(). r=m_kato
MozReview-Commit-ID: JuNaLYhWCHI
16deccf18876816db354f58165e1eef7500e2357: Bug 1362817 - Use PRTime instead of time_t in nsSimplePageSequenceFrame::Reflow. r=m_kato
Mantaroh Yoshinaga <mantaroh@gmail.com> - Tue, 19 Sep 2017 18:35:21 +0900 - rev 381799
Push
32537 by archaeopteryx@coole-files.de at Wed, 20 Sep 2017 09:39:24 +0000
Bug 1362817 - Use PRTime instead of time_t in nsSimplePageSequenceFrame::Reflow. r=m_kato
The nsSimplePageSequenceFrame::Reflow calls DateTimeFormat::FormatTime().
In 32 bit environment, this conversion will overflow. So this patch will use
DateTimeFormat::FormatPRTime() instead of it.
MozReview-Commit-ID: 3b1GhlrJDKM