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

545874 Коммитов

Автор SHA1 Сообщение Дата
Ethan Lin a11b08a3ac Bug 1377571 - Add fallback path for layers-free. r=jrmuizel
MozReview-Commit-ID: KOM7JXYljX2

--HG--
extra : rebase_source : 94a8c314ac311a05256a27bd61648815b0e42734
2017-07-06 00:29:41 +08:00
Emilio Cobos Álvarez ae76578b49 servo: Merge #17688 - style: Split style resolution and dynamic change computation (from emilio:split-style-resolution); r=heycam,BorisChiou
This is the Servo side of Mozilla bug 1379505.

Source-Repo: https://github.com/servo/servo
Source-Revision: 16d6dc133b40a5d48e33b1f8e2aeafa88e36a6e3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 83b8dd3ca19e1436b65f1b3d5a019c2ac4324def
2017-07-12 00:28:44 -07:00
Cameron McCormack 0a4aa02ea9 Bug 1376964 - Part 10: Allow style worker threads to pick fonts out of the user font cache. r=jfkthame
MozReview-Commit-ID: FX0T5ltA2u4

--HG--
extra : rebase_source : d11e47aa707965b083b364e8d2e6c4b9988985ba
2017-07-12 13:03:35 +08:00
Cameron McCormack 2fe9111db4 Bug 1376964 - Part 9: Use gfxFontSrcPrincipal in the user font set and cache. r=jfkthame
MozReview-Commit-ID: LRRFbkhbgts

--HG--
extra : rebase_source : 0fa11b180383795272e7a5daf87a41a5c51ec221
2017-07-12 13:03:35 +08:00
Cameron McCormack 2df2d465e1 Bug 1376964 - Part 8: Add OMT wrapper for nsIPrincipals useful for font stuff. r=jfkthame
MozReview-Commit-ID: L6gUnvDx7D2

--HG--
extra : rebase_source : fc5937a2861164126e741f3d41c7cdc52f9784a6
2017-07-12 13:03:35 +08:00
Cameron McCormack c4d27f68a0 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : 1636e695ca025e6fbcade8258746ffb38adc5b26
2017-07-12 13:03:35 +08:00
Cameron McCormack 0732a234be Bug 1376964 - Part 6: Use gfxFontSrcURI in the user font set and cache. r=jfkthame
MozReview-Commit-ID: 7eWOTs4kF4v

--HG--
extra : rebase_source : eba5d82be3cbbeaa64a7e5f677ba365ac8aeac29
2017-07-12 13:03:35 +08:00
Cameron McCormack 85781fe39c Bug 1376964 - Part 5: Add OMT wrapper for nsIURIs useful for font stuff. r=jfkthame
MozReview-Commit-ID: FkBYOoqC6x6

--HG--
extra : rebase_source : 84869946b3c243d9afebd8ca75c5c41f82db2699
2017-07-12 13:03:35 +08:00
Cameron McCormack b2cd9f4a51 Bug 1376964 - Part 4: Call FontLoadAllowed ahead of time and cache the results for style worker threads. r=jfkthame
Handling a document's node principal changing is done in part 9.

MozReview-Commit-ID: 1gPtRpddys5

--HG--
extra : rebase_source : 5b1d40af5ad0484440075e7229dc9ae3d5a13764
2017-07-12 13:03:35 +08:00
Cameron McCormack 5b5b4e145c Bug 1376964 - Part 3: Add a generation counter to the user font cache. r=jfkthame
MozReview-Commit-ID: 3zCPC9Pfikc

--HG--
extra : rebase_source : bfc5bd72b382b538448cb90ecc1208cea08216b8
2017-07-12 13:03:35 +08:00
Cameron McCormack 4f22849692 Bug 1376964 - Part 2: Record the docshell's "private browsing" flag on FontFaceSet. r=jfkthame
MozReview-Commit-ID: 3j0RISufybF

--HG--
extra : rebase_source : a4d3ebbed3e0bd8fd9416e44704340dbfbb16dc8
2017-07-12 13:03:35 +08:00
Cameron McCormack e90c1651ea Bug 1376964 - Part 1: Record the docshell's "bypass cache" flag on FontFaceSet. r=jfkthame
MozReview-Commit-ID: FW19nms4ZEB

--HG--
extra : rebase_source : 882032102cc8096556e7607759c0297430ed04cd
2017-07-12 13:03:35 +08:00
Mike Hommey 4956a3cafa Bug 1379897 - Remove opt_abort. r=njn
It causes abort() on errors from munmap/VirtualFree (which in practice
don't happen except maybe in case of memory corruption), and was only
enabled on debug builds.

--HG--
extra : rebase_source : fb0c8c82dc1e2d1f14a588a82144cf82e4f4f773
2017-07-11 14:24:35 +09:00
Brian Birtles 4ec9d9a3c9 Bug 1370123 - Skip restyling elements in documents without a pres shell; r=heycam
The previous patch takes the approach that we should simply not add elements in
documents without a pres shell to EffectCompositor's set of elements to restyle.
However, there exists a case where we might have an element in a displayed
document, then we might tickle it so that it requests an animation restyle, and
then move it to a document without a browsing context. In that case we should
skip the element when we next do animation restyles.

However, even if we successfully skip the element in the document without a pres
shell, we need to make sure it eventually gets removed from the set of elements
to restyle rather than simply remaining there forever. For that reason this
patch makes us unconditionally clear the set of elements to restyle whenever we
do a full restyle from the root.

This patch also adds a test case to trigger the scenario outlined in the first
paragraph above. I have confirmed that without the code changes in this patch,
if we simply assert that target.mElement has an associated pres shell in
getNeededRestyleTarget, then that assertion will fail when running this test
case.

MozReview-Commit-ID: ED2X5g39hYZ

--HG--
extra : rebase_source : 06fecc98c25c739d26123bddf1fd0908cf4410e6
extra : source : 12c7a036215a901bf6804c0e9aacd2a9fc20f932
2017-06-21 14:45:24 +09:00
Brian Birtles 9696b59052 Bug 1370123 - Ignore animation restyle requests for elements in documents without a pres shell; r=heycam
This patch makes us ignore animation restyle requests for elements in documents
without a pres shell made by either:

* Calls to EffectCompositor::RequestRestyle (e.g. by calling Web Animations API
  methods on animations that target such elements)

* Calls to EffectCompostior::PreTraverse(dom::Element*, CSSPseudoElementType)
  (e.g. by calling getComputedStyle(elem).prop on such an element).

  The other overloads of PreTraverse should presumably be called during regular
  document restyling where the element is expected to be in a displayed document
  and hence we simply assert that that is the case for those methods.

MozReview-Commit-ID: FZD0hKAXYEf

--HG--
extra : rebase_source : 9b9ddf4648b49e0241054ffa51a02ae66f1c5009
2017-06-21 08:48:21 +09:00
Brian Birtles ca33c400b5 Bug 1370123 - Make aContent parameter to nsComputedDOMStyle::GetPresShellForContent const; r=xidorn
MozReview-Commit-ID: 8eZ7JmgE1XY

--HG--
extra : rebase_source : 75137336edaab18b1b6a8d321fafc954e9c44f9c
2017-06-19 12:21:17 +09:00
Brian Birtles f5f71f7eb5 Bug 1370123 - Add tests for Element.animate when used on an element in a document without a browsing context; r=xidorn
MozReview-Commit-ID: FL37UKP6s3k

--HG--
extra : rebase_source : e71da012708f2df179049cee9a1dedc875ff13af
2017-06-19 12:19:57 +09:00
Hugh Gallagher 27f1889290 servo: Merge #17673 - Removed unused import (from hgallagher1993:local_branch); r=jdm
Removed unused import `script_layout_interface::reporter::CSSErrorReporter in components/layout_thread/lib.rs

---
<!-- 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 #17671 (github issue number if applicable).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 283d886c8925701022cff935f0338314ea5b6cbe
2017-07-11 20:09:52 -07:00
Sadman Kazi abc2faf829 servo: Merge #17672 - Use boxed slice instead of vec for FuntionTimerCallback (from sadmansk:heap_in_box); r=jdm
<!-- Please describe your changes on the following line: -->
Added `fn trace()` implementation for `Box<[T]>` type, and change FunctionTimerCallback to store boxed slices for heap values instead of Vector.

---
<!-- 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 #17611

<!-- Either: -->
- [x] These changes do not require tests

<!-- 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: 749891e48ec6faa14447b299c48887754872e497

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2b1dee39ef62fd78b951b6c02eb0e1df9ede355
2017-07-11 18:55:18 -07:00
Edouard Oger 314ef330a0 Bug 1210296 part 2 - Update tests. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 41dnyvdlNJv

--HG--
extra : rebase_source : 4c6e3cc63d4861d176ba053a1cff872c04f0f3b3
2017-06-05 18:49:43 -04:00
Edouard Oger 0943c36687 Bug 1210296 part 1 - Remove most event loop spinning from Sync. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: 9RpgSgXykWt

--HG--
extra : rebase_source : 834df5b9b38a8332885a6c488f64215b550cad33
2017-06-05 18:50:07 -04:00
Ricky Chien 63938a224e Bug 1377845 - Fix TypeError: frame is undefined when resizing sub-dialog window r=MattN,scottwu
MozReview-Commit-ID: HjiaIyZHgkL

--HG--
extra : rebase_source : 6fe2382f6707925637f4e001b203574195c35751
2017-07-08 11:34:54 +08:00
Ricky Chien edd91b8333 Bug 1377845 - Fix wrong tooltip position when menulist and button appear in grid r=jaws
MozReview-Commit-ID: EpsfX27WTrx

--HG--
extra : rebase_source : 106a2abb272c411a7c91476a6b925e0ffc297939
2017-07-04 16:14:51 +08:00
Ricky Chien ab09f75afa Bug 1363824 - about:addons Experiments tab "Telemetry Preferences" link is broken r=jaws
MozReview-Commit-ID: DdDZEaTvqCV

--HG--
extra : rebase_source : 18395fd2cd87951d9fe176891b05ca36edc6b0d0
2017-07-10 18:28:32 +08:00
Nevin Chen 92adb3bde0 Bug 1377742 - about:rights shows XML parsing error. r=dao
MozReview-Commit-ID: 6H1pnswjliU

--HG--
extra : rebase_source : 7e946f678e16019bcb30acb231a2c429ed4b9421
2017-07-11 13:38:02 +08:00
Nevin Chen 9849094a87 Bug 1374889 - Gather user attributes before MMA inits. r=maliu
MozReview-Commit-ID: 5v28pWzYYWj

--HG--
extra : rebase_source : a36744f125a54e05a29702d75c9449ce4afcaae9
2017-07-10 10:16:19 +08:00
Nevin Chen 57864641f5 Bug 1374889 - Update Leanplum document for Focus/Klar installation, Sync,Default Browser user attribute. r=liuche,maliu
MozReview-Commit-ID: GF9fXkps60D

--HG--
extra : rebase_source : 91e647124737b4cc93fafd4e3c8ed62dd87c0104
2017-06-28 14:05:40 -07:00
Nevin Chen 2c7b2b1a4c Bug 1374889 - Update Leanplum user attribute for Focus/Klar installation, Sync, and Default Browser. r=maliu
MozReview-Commit-ID: Fl3Q6S0cDLg

--HG--
extra : rebase_source : 4c88e960336d8a13461fecc39da4672c0a1bcf92
2017-06-21 17:39:14 +08:00
Brian Birtles 1fe4c641fc Bug 1379582 - Disable frames() timing function using a pref on release/beta channels; r=hiro
MozReview-Commit-ID: 4B8NwMAfyrS

--HG--
extra : rebase_source : 08becf963a57eda8e335b1c43672b25a25dbd81d
2017-07-12 08:41:58 +09:00
Brian Birtles b34d64d020 servo: Merge #17682 - Check Gecko pref before parsing frames() timing function (from birtles:check-pref-for-frames-timing); r=hiro
These are the Servo-side changes for [Gecko bug 1379582](https://bugzilla.mozilla.org/show_bug.cgi?id=1379582).

They have been reviewed by @hiikezoe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 882fc4731cbc435bb16a5f338abf1f394bb5c0d4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 87d2f1defbc6405d9348322114eeeb0ef3f13fa7
2017-07-11 17:28:29 -07:00
Shih-Chiang Chien 3ef9e80ef0 Bug 1379325 - only send DocumentChannelCleanup message if HTTPChannelChild is still opened. r=mayhemer
PHttpChannel might already be closed while processing OnStopRequestEvent. Need to check mIPCOpen flag
before sending DocumentChannelCleanup message.

MozReview-Commit-ID: 1EHgAAaRNKN

--HG--
extra : rebase_source : 1d9062c3af7379b07673e8a69fdd259cbf1281a4
2017-07-08 12:33:28 +08:00
Timothy Guan-tin Chien 405d342580 Bug 1378136 - Redirect user to the general pane for search settings on old preferences page. r=jaws
MozReview-Commit-ID: Akb4yDPhWTF

--HG--
extra : rebase_source : a3b0341c9996c9480023c294a1383ace7b531532
2017-07-10 17:01:41 +08:00
Alan Jeffrey f26be9e89a servo: Merge #17364 - Implement paint worklet properties (from asajeffrey:script-paint-worklets-properties); r=jdm
<!-- Please describe your changes on the following line: -->

This is the final PR to get basic paint worklet support. It adds support for paint worklet properties (https://drafts.css-houdini.org/css-paint-api/#paint-definition-input-properties). When a paint worklet is registered, it specifies a list of CSS properties, and is provided with their computed values when it is invoked.

This is a dependent PR:
* "Implemented paint worklets invoking worklet scripts" is #17239.
* "Implemented paint worklets rendering contexts" is #17326.

There should be tests added for this, hopefully the existing wpt houdini tests.

---
<!-- 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 #16839
- [x] There are tests for these changes

<!-- 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: bc44246fc682d9f2362eaca6bba07b45c293eb42

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2d52084aebd9989aa6d2f6e6c2edab7a99d90017
2017-07-11 16:24:18 -07:00
Sebastian Hengst 25032dc7ed Backed out changeset 3977404931e5 for failing mochitest layout/style/test/test_value_computation.html. r=backout 2017-07-12 00:11:58 +02:00
Sebastian Hengst 534b714ff2 Backed out changeset a5f2d33a9de3 (bug 1355380) for failing mochitest layout/style/test/test_value_computation.html. r=backout 2017-07-12 00:10:32 +02:00
Sebastian Hengst 313b7a8917 Backed out changeset f2836ff575eb (bug 1355380) 2017-07-12 00:09:56 +02:00
Rob Thijssen 873efb9b5f Bug 1379603 - enable windows hardware tests on try; r=dustin
MozReview-Commit-ID: 2yXsMEFOa00

--HG--
extra : rebase_source : 6deb0bb05232750c88ddab0de743973f4f3a4e02
2017-07-10 13:15:33 +03:00
Tom Ritter 0a440eba9b Bug 1380114 Update OpenVR to build with MinGW r=kip
This involved four commits:
- Windows.h -> windows.h and similar https://github.com/ValveSoftware/openvr/pull/508
- Add a void* cast for a farproc auto-conversion https://github.com/ValveSoftware/openvr/pull/509
- Add share.h https://github.com/ValveSoftware/openvr/pull/510
- Use GCC Variadic Macros https://github.com/ValveSoftware/openvr/pull/511

This is a reapply of Bug 1363173. Hopefully Valve will actually include the patches in the next release.

MozReview-Commit-ID: KC7Z3r8qSUY

--HG--
extra : rebase_source : 7c712bf64cfedd9d895083f8f3111b41850c30ff
2017-05-08 15:29:43 -05:00
Tom Ritter 7860d5ee3e Bug 1380092 Return 0 instead of nullptr r=jld
nullptr is explicitly not allowed to be cast to an int.
But uintptr_t is an unsigned int that happens to be large
enough to hold a pointer.

Return 0, which is an int.

MozReview-Commit-ID: 2SE76JuJLCo

--HG--
extra : rebase_source : b5e34b608af806fb05e9eaa4550b171e6db0eb8d
2017-07-11 15:13:38 -05:00
John Dorlus 1b79e169f5 Bug 1379292 - Made changes to test to use new harness filtering r=chutten
Self explanatory. Also added some waits for test hardiness.
Used lambdas so that the caller can specify criteria for filtering.

MozReview-Commit-ID: BBQj0TO6kyq

--HG--
extra : rebase_source : 090e930ce1207daf5df788158b0593dc7e861368
2017-07-10 16:17:19 -04:00
John Dorlus f6c9e1e6c8 Bug 1379292 - Added filtering for pings based on type and reason r=chutten
Added change to testcase class to filter pings based on type and reason
and also to ensure that only one ping matches the criteria.

MozReview-Commit-ID: 8xyjbX0R8lt

--HG--
extra : rebase_source : d14f9ace34d80f2ed23ef9600fd03442b0cf6b0e
2017-07-10 16:13:37 -04:00
Mike Taylor 75d40b8cda Bug 1371335. Part 4 - Remove pref observer during bootstrap shutdown(). r=florian
MozReview-Commit-ID: 6vg6H0hY5d

--HG--
extra : rebase_source : fd9f9ab18ddf2c20dde8f516718b63a223212017
2017-07-10 13:58:53 -05:00
Mike Taylor b1d0776a02 Bug 1371335. Part 3 - Add TabListener.jsm to browser_startup tests. r=Gijs
MozReview-Commit-ID: K9mLOe0M2cC

--HG--
extra : rebase_source : 0239d598e120ba33d77021c689217a6d6313d2f9
2017-06-28 09:58:51 -07:00
Mike Taylor da1e9c7890 Bug 1371335. Part 2 - Don't init WebCompatReporter add-on until after browser-delayed-startup-finished. r=florian
MozReview-Commit-ID: FkPhAju5usQ

--HG--
extra : rebase_source : 791ee2bf31c6fe099d5bee6ad8a14634598930cd
2017-06-28 09:58:24 -07:00
Mike Taylor 97404df205 Bug 1371335. Part 1 - Lazily load TabListener module. r=Gijs
MozReview-Commit-ID: JDEOMwkHVlj

--HG--
extra : rebase_source : 817d261031e78643d8af566bd3870e826002d7d3
2017-06-28 09:57:52 -07:00
Chris Manchester c03a5bf6fa Bug 1380130 - Unset BINDGEN_CFLAGS during artifact builds on try. r=rillian
MozReview-Commit-ID: ErfrmJMV1EQ

--HG--
extra : rebase_source : 289ce1237e8af0bebfd886ff388aa6a10f4b9254
2017-07-11 13:39:08 -07:00
Dale Harvey 9f91b3cb76 Bug 1360261 - Remove Preferences.jsm usage in GMPUtils. r=florian
MozReview-Commit-ID: WxerrrFZVi

--HG--
extra : rebase_source : e770c4fa612b05d397468008505281d51d598d56
2017-07-05 14:06:29 +01:00
Josh Matthews 4861667dc3 servo: Merge #17665 - Avoid panic when postMessage targets closed window (from jdm:postmessage-panic); r=KiChjang
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #17664
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 2a575acabe50446803005db52b750405b7b7080c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 082eea51f065a2a0f52274e177e7e19e02337bb6
2017-07-11 12:28:33 -07:00
Gijs Kruitbosch 1458bba9bc Bug 1380084 - clicking the library button when it's in the overflow panel shouldn't close the panel, r=mikedeboer
MozReview-Commit-ID: BgeWkj4bZib

--HG--
extra : rebase_source : 2876bd00340ed2495592161cc88e49974b5ef13d
2017-07-11 20:15:30 +01:00
Andrew McCreight 1533adf4c3 Bug 1380124 - Fix 'desctruction' typos. r=njn
MozReview-Commit-ID: 8gNYd7NL58U

--HG--
extra : rebase_source : bc0c85d96a499e8de102d1409685e6b2f7605ffe
2017-07-11 13:04:26 -07:00