Граф коммитов

559346 Коммитов

Автор SHA1 Сообщение Дата
Glenn Watson 284ba5cb95 servo: Merge #18567 - Update WR (quality improvements for subpx text and blur) (from glennw:update-wr-subpx-blur); r=wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 2a97b2cd7cb7e2e52ea48f857d1687b8dcee6604

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 05b033a6d8e8800c39f70ac7949f055043a55cf9
2017-09-19 23:42:33 -05:00
Ethan Lin b7c9633e30 Bug 1397375 - Part3. Remove the related webrender user data when destroying a frame. r=jrmuizel
MozReview-Commit-ID: IYjfqWiiPZ

--HG--
extra : rebase_source : 81785d6695b830c41ad6d97b5e632f7a655f9cea
2017-09-14 14:40:31 +08:00
Ethan Lin c409bddad6 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

--HG--
extra : rebase_source : ae757729d57e111821126a83db186f48832fde23
2017-09-14 14:39:00 +08:00
Ethan Lin 4edbf55ce8 Bug 1397375 - Part1. Store frame, display item key, and user data table in the webrender user data. r=jrmuizel
MozReview-Commit-ID: IvKBy4MG8vw

--HG--
extra : rebase_source : 88ab824a5c061630336b1b3279adb04e6a0a49cf
2017-09-14 14:38:12 +08:00
JW Wang 1c84dd5856 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

--HG--
extra : rebase_source : d7d8b38268f3f54242dd728fe5fd0ada17d6ee48
extra : source : 713510f4087b38f0d447529dbf601f19b3a89eae
2017-09-19 15:32:54 +08:00
JW Wang 472ab4804d 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

--HG--
extra : rebase_source : 58e6d3fe40ec7a549cabc70b30db8006b49c0563
2017-09-20 11:41:08 +08:00
JW Wang ba7be530dd 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

--HG--
extra : rebase_source : 0079e3ae6b791c64c76ca3bc3faac46039fc48fc
2017-09-20 11:30:03 +08:00
JW Wang dd57b36053 Bug 1399760. P1 - remove the CopySegmentToCache() member function. r=gerald
MozReview-Commit-ID: 3D9RiK3PJUf

--HG--
extra : rebase_source : acf4962bb9fd4f784bbe5d13cc3428e7d60322d3
2017-09-20 11:12:48 +08:00
James Cheng 59439b26b7 Bug 1401114 - Replace 'if (NS_FAILED(' with 'if (NS_WARN_IF(NS_FAILED(' under dom/media/gmp. r=gerald
MozReview-Commit-ID: 8ThoMrmlHNx

--HG--
extra : rebase_source : ae5095a7f756576cd9f7951651f060c67bc5e2a3
2017-09-19 16:14:49 +08:00
Ed Lee 51d90f6caa Bug 1401316 - Use favicon from either https or http version of the page. r=ursula
MozReview-Commit-ID: 3W3OUu0gffH

--HG--
extra : rebase_source : be7a2f73c4a29032e4b3e8506e863434c04e8e47
2017-09-19 12:51:47 -07:00
Ed Lee 0895956662 Bug 1401418 - Add initialized fade, focus tweaks and bug fixes to Activity Stream. r=dmose
MozReview-Commit-ID: KOC1M8QVfoa

--HG--
extra : rebase_source : 1de8ecb55560710d9da070dd5de88d49fdd356f9
2017-09-19 18:31:55 -07:00
Nevin Chen 45fc5538ec Bug 1400150 - Use Swtichboard to enable Leanplum debugging. r=maliu
MozReview-Commit-ID: 7Z7oADiE3Lu

--HG--
extra : rebase_source : 00364367c0f83258e00071fa2a693bc9f90d6424
2017-09-15 16:10:48 +08:00
Cameron McCormack 402b6433ed Bug 1368922 - Set mIsDirty atomically. r=hiro
MozReview-Commit-ID: Ei3zCECVRFf

--HG--
extra : rebase_source : 0429db876e33329a250dced6e8bfcd965a5dfbc8
2017-09-20 11:30:08 +08:00
Louis Chang 4440d60ddb Bug 1290782 Part 3 - Add test cases for using an SVG image as border-image. r=cjku,dholbert
MozReview-Commit-ID: 4w3tEkVAMWd

--HG--
rename : layout/reftests/border-image/svg-as-border-image-4.html => layout/reftests/border-image/svg-as-border-image-4a.html
extra : rebase_source : 5f9c9860ac0a8ee2786b43c585ad68186225bb9f
2017-09-20 10:06:26 +08:00
Louis Chang 3fbb65bcdf 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

--HG--
extra : rebase_source : 6ba07352dce9d1e89ac895043ea2a2c39ec4a46d
2017-09-20 10:05:49 +08:00
Louis Chang 4ad5aa661d 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

--HG--
extra : rebase_source : 868a7e0909bf704610a166948186cf5411721540
2017-09-20 10:05:42 +08:00
Nicholas Nethercote 164b3fed67 Bug 1401427 - Temporarily disable UACacheReporter due to a leak.
MozReview-Commit-ID: G8MBeSqYkqa
2017-09-20 12:23:47 +10:00
Nicholas Nethercote 5036b9133e 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

--HG--
extra : rebase_source : 7d86216967259b71df7280261d025cc65bf00ba4
2017-09-19 09:25:00 +10:00
Nicholas Nethercote 98925075f9 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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d87d573c871173bfeda5421da84a8e8a1af41a84
2017-09-19 18:46:49 -05:00
Mantaroh Yoshinaga 6e075293a5 Bug 1362817 - Drop the DateTimeFormat::FormatTime(). r=m_kato
MozReview-Commit-ID: JuNaLYhWCHI

--HG--
extra : rebase_source : 9bc5379b6ebffdbeb60b24ec57ade115c4f40682
2017-09-19 18:35:51 +09:00
Mantaroh Yoshinaga 411c90a211 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

--HG--
extra : rebase_source : 432c4d7c6081694251b7cba08895e855d7b1e341
2017-09-19 18:35:21 +09:00
Michael Comella c182ec9d6a Bug 1401385: Add Pin to Top Sites to missing configurations. r=liuche
When I implemented this, I forgot to add it to non-phone configurations.

MozReview-Commit-ID: 4zTrYZm5tXR

--HG--
extra : rebase_source : ea0a8606d8bd9cc82c020102a25f2f59724be1f6
2017-09-19 15:53:44 -07:00
Thom Chiovoloni 6348cd2190 Bug 1393659 - Fix inconsistent handling of max_post_bytes and max_request_bytes r=markh
MozReview-Commit-ID: 4jwpAYNuoQj

--HG--
extra : rebase_source : f32ecbd9740f7d8647fdf37ad6bbb53e332320ac
2017-09-13 18:02:41 -07:00
Mike Hommey 25eda66c1a Bug 1401116 - Remove jemalloc symbols from mozglue.def.in. r=njn
As long as symbols have the right declspec, the linker is going to
export them as expected. The main exception to when we actually need the
exported symbol to have a different name, which is the case for the
symbols normally exported by the CRT. So keep only those renamed symbols
in mozglue.def.in.

Keeping the jemalloc symbols in this file kind of implies that we need
every new API entry points to appear in there when it's not true. This
thus removes an unnecessary moving part when adding new allocator API
entry points.

--HG--
extra : rebase_source : 76faa659d62d46f3624fe3f1df0c09beb68e3549
2017-09-19 16:06:29 +09:00
Mike Hommey d4a847cce0 Bug 1401101 - Remove the generic replace-malloc library. r=njn
It is one of the moving parts when adding new memory allocation APIs.

It was added in bug 1168719 and the only thing that actually used it
was the sampling-based memory profiler, which was removed in bug
1385953. We however keep the replace-malloc bridge entry point so that
something else, in the future, may still provide the feature.

--HG--
extra : rebase_source : dd4a226171429e2a4ab5666b0873e7b945f161e6
2017-09-19 15:58:33 +09:00
Luca Greco 51b5ca0e35 Bug 1401288 - Run remote devtools panel browsers in the right TabGroup. r=aswan
This patch ensures that the devtools panel browser elements are associated to
the same TabGroup of the other extension pages from the same extension.

MozReview-Commit-ID: 40TSPqGfTnz

--HG--
extra : rebase_source : 93c429c5a3277407da648e3efa03717b4bd22fbd
2017-09-19 20:06:02 +02:00
Blake Kaplan d5d500f633 Bug 1398396 - Initialize the locale stuff on runtimes instead of contexts. r=billm
MozReview-Commit-ID: Il9HAqYdTzK

--HG--
extra : rebase_source : 29a294c02bc2be1534766f33192854f51984883e
2017-09-11 15:46:14 -07:00
Blake Kaplan 9b6798ea6f Bug 1398396 - Make locale functions take a runtime instead of a context. r=janv,jorendorff
Most of these functions already solely operate on the runtime even though they
take a context. That leads to confusion at the API user level since it looks
like they're stored on the context. JS_GetDefaultLocale still takes a context
because it actually does use the passed-in context.

MozReview-Commit-ID: 4d0LQIBExvg

--HG--
extra : rebase_source : 79370897a9dca839a6760411ea95d97c5e92cb06
2017-09-11 15:25:40 -07:00
Nihanth Subramanya 5774ce7105 Bug 1398183 - Update copy for about:sessionrestore. r=johannh
MozReview-Commit-ID: ET2zEKsS7SM

--HG--
extra : rebase_source : 4684157d65d9425a043eacf14e470ee5ee974afd
2017-09-20 01:23:07 +05:30
Nihanth Subramanya 1809a687e8 Bug 1394458 - Update copy for about:tabcrashed. r=johannh
MozReview-Commit-ID: Fyx4ug6ZiQO

--HG--
extra : rebase_source : 216b8f0626b2a10bd30bd119de3fe3bc6e51e476
2017-09-20 02:09:19 +05:30
Johann Hofmann 4a84c97ab7 Bug 1394462 - Update dnsNotFound error copy and illustration. r=nhnt11
MozReview-Commit-ID: KFp3JhkCDJJ

--HG--
extra : rebase_source : 62449541d1d5362fbc15b18fde9b4964cd153c4c
2017-09-19 21:54:29 +02:00
Xidorn Quan 6905267b28 Bug 1400540 - Decide style backend type based on principal. r=bholley
MozReview-Commit-ID: A4y9Shdbr7g

--HG--
extra : source : cdfe5e5e059273a1c7fc6506d6e0fecb2bb7affb
2017-09-20 08:26:53 +10:00
Felipe Gomes 5f2728beec Bug 1390706 - Remove Flash CTP rollout addon and make it CTP by default through prefs. r=benjamin+7044
MozReview-Commit-ID: CPIoiXnx5WT

--HG--
extra : rebase_source : 01c6434074f1aa8f28249a67f2ed65c029ed0e48
2017-09-19 18:56:25 -03:00
Wes Kocher 082e7c650c Merge m-c to autoland, a=merge
MozReview-Commit-ID: BLgnf5zTCU3
2017-09-19 14:54:09 -07:00
Wes Kocher 3baa8a7e6e Merge inbound to central, a=merge
MozReview-Commit-ID: 5B5W6AHKcCb
2017-09-19 14:49:11 -07:00
Wes Kocher 2d19ba5cc6 Merge autoland to central, a=merge
MozReview-Commit-ID: Eh11kawjrJB
2017-09-19 14:05:54 -07:00
ffxbld d08b24e613 No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-09-19 10:33:25 -07:00
ffxbld 6353638e7a No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-09-19 10:33:21 -07:00
Sebastian Hengst d4d39a2a4c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: gZsJeZjJjm
2017-09-19 11:12:14 +02:00
Mike Hommey 2cb309a670 Bug 1401118 - Avoid having to modify replace-malloc.mk every time we add an allocator API entry point. r=froydnj
For obscure linkage reasons, we need all the replace-malloc symbols
being passed to the linker to tell it to allow them being undefined.

That list actually duplicates what's in malloc_decls.h somehow, and
every time we add an entry point, we end up having to modify those two
files (and others, addressed in different bugs), which is suboptimal.

So we generate the list of those symbols from malloc_decls.h.

--HG--
extra : rebase_source : 50156c6dda5601a6437f94a753400ec4ed9c8343
2017-09-19 16:09:56 +09:00
Sebastian Hengst 6a9067d75f Backed out changeset 26f9c5c3f434 (bug 1401316) for failing xpcshell's toolkit/modules/tests/xpcshell/test_NewTabUtils.js. r=backout 2017-09-19 23:42:24 +02:00
Henrik Skupin 369bfb8ef0 Bug 1401170 - Bump startup_timeout to 180s for all reftests. r=gbrown
MozReview-Commit-ID: HNfmoyLuI1c

--HG--
extra : rebase_source : ba032e07e0e4855a810a7a3bfae107e780e19b86
2017-09-19 14:27:46 +02:00
Henrik Skupin 2a916cf9a6 Bug 1401170 - Bump startup_timeout to 180s for mochitest and reftests on Buildbot. r=gbrown
MozReview-Commit-ID: Ixz4hJnW7NN

--HG--
extra : rebase_source : 328d723accbdaf86885bd7b0abd4d3e91da48c5a
2017-09-19 14:28:55 +02:00
Bobby Holley 220cb035d7 servo: Merge #18566 - Thread state fixes (from bholley:thread_state_fixes); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1400435

Source-Repo: https://github.com/servo/servo
Source-Revision: c6381c66a0bc2b7cad14a808b000d0e38860c7f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 65a9e9ebbb4f142e99e528a5fb1fa52d4c89f0b1
2017-09-19 15:05:54 -05:00
Prathiksha 874d2b8a45 Bug 1400992 - Fix test_safe_browsing_warning_pages.py. r=francois,whimboo
MozReview-Commit-ID: EIf2ak8Q2YJ

--HG--
extra : rebase_source : 6c8b20253cd059d543bac24322582f192ca0ecb2
2017-09-19 18:42:55 +05:30
J.C. Jones 6293af8a7a Bug 1399334 - Add more debugging to see why certificates aren't valid. r=ttaubert
There's an intermittent that is showing up now that test_register_sign.html
checks state.attestationCert.verify(); to ensure hte SoftToken's certificate
is valid. This patch prints the offending certificate when it's encountered,
to help diagnose the root cause.

MozReview-Commit-ID: 4QSobq9fBGK
2017-09-18 21:43:40 -07:00
Sam Foster c5cef06dbb Bug 1386726 - Fix alignment of banner item labels in the hamburger menu. r=Gijs
* The start padding should match the 12px defined for nearby toolbarbuttons:
.subview-subheader, panelview .toolbarbutton-1, .subviewbutton, .widget-overflow-list .toolbarbutton-1
* Add override for OSX which uses 18px for this padding
* Adjust margin for the right/end icon in banner items

MozReview-Commit-ID: 81u97Wf8qXr

--HG--
extra : rebase_source : bcdfce3a2d0cd66359df45b3372191268defbde5
2017-09-18 16:43:16 -07:00
Gijs Kruitbosch 49a325326c Bug 1397790 - add 'open' active state to urlbar buttons, use a more distinct background colour for it, r=abenson+572682,adw
MozReview-Commit-ID: 7QrhAB79yNw

--HG--
extra : rebase_source : 90c3715259271bf9cb34b635ca8348acd020c51c
2017-09-19 15:13:25 +01:00
Wes Kocher 57987f930c Merge m-c to inbound, a=merge
MozReview-Commit-ID: FOmIgsEP2fb
2017-09-18 16:23:47 -07:00
Wes Kocher 519bb0922b Merge inbound to central, a=merge
MozReview-Commit-ID: EK8iFR1hSRp
2017-09-18 16:21:01 -07:00