Commit Graph

575522 Commits

Author SHA1 Message Date
Mike Conley
26b5553c8a Bug 1397426 - When short-circuiting a TabParent::RenderLayers call, still fire the layer tree event if we've been preserving layers. r=billm
MozReview-Commit-ID: 7UT036vUY85

--HG--
extra : rebase_source : 873b6b91973b248c5b11ae8a136811a163f94e81
extra : source : 4dd20bf8c0f696417aea91cc9f48df25cd6a74ac
2017-11-07 15:08:47 -05:00
Mike Conley
632f9545cb Bug 1397426 - Rename mRenderingLayers to mRenderLayers. r=billm
MozReview-Commit-ID: KTDhXM7PRdc

--HG--
extra : rebase_source : 3909bfac189a980784fff998c6a71b1b38e7c9aa
extra : source : 2cd697170fb3c207f9aa342172633c2089508990
2017-11-22 10:21:34 -08:00
Mike Conley
592c9fede9 Bug 1397426 - Add IPC interface to tell TabChild's to render and clear layers, distinct from setting the active state on the DocShell. r=billm
Originally, setting the active state on the DocShell for remote browsers also did the
work of making the TabChild render its layers and upload them to the compositor.

This patch adds a new renderLayers method to nsITabParent which allows more fine-grained
control - we can now, for example, cause layers to be rendered and uploaded without
activating the DocShell.

Note that if one activates or deactivates the DocShell, we'll still do the work of
attempting to render / clear the layers if it hasn't already been done.

MozReview-Commit-ID: KkLaMDTzfHi

--HG--
extra : rebase_source : 6c53729ae4b07c67d9e3de99c12e1165a85ffaac
extra : source : 261be8ec05542a9e50c0ca03a59a8a44997269b7
2017-11-03 10:27:05 -04:00
Kyle Machulis
a5bf8f2796 Bug 1428229 - Add comments about purposefully uninitialized variables in BindingDeclarations; r=bz
MozReview-Commit-ID: HnWjU3BbwBE

--HG--
extra : rebase_source : a9a5ea5057c8892cb77d02c3873384b20897acd7
2018-01-05 12:37:42 -08:00
Kyle Machulis
0aafef6a46 Bug 1428229 - Partial backout a4094a8fa08d (bug 1406820) due to optimization removals; r=bz
MozReview-Commit-ID: AZDXw8NbgHt

--HG--
extra : rebase_source : 49c0f308120d92ef7e2cb0fcbb8337c006959c9f
2018-01-05 13:44:25 -08:00
Igor Matuszewski
17d094116c servo: Merge #19644 - Root sequence<any> params using CustomAutoRooter (from Xanewok:root-seq-any); r=jdm
<!-- Please describe your changes on the following line: -->

Attempt at https://github.com/servo/servo/issues/16678. At the moment this pulls an external [remove-handle-conv](https://github.com/Xanewok/rust-mozjs/tree/remove-handle-conv) branch for rust-mozjs (removing `FromJSValConvertible` implementation for `HandleValue` and adding one for `*mut JSObject`)

In short, this roots the `sequence<any>` and `sequence<object>` function arguments using `CustomAutoRooter` (introduced in https://github.com/servo/rust-mozjs/pull/382).

As per https://github.com/servo/servo/issues/16678#issuecomment-302224110 the underlying vector contains raw gc thing pointers instead of handles. To do that, this introduces new possible `isMember = "AutoRoot"` value in CodegenRust.py.
The rooted argument is passed to a function wrapped in a `CustomAutoRooterGuard` [RAII root guard](ed5e37a288/src/rust.rs (L586-L588)) (e.g. as `CustomAutoRooterGuard<Vec<JSVal>>`)

I felt quite out of my depth when trying to adapt CodegenRust.py code, so I'd appreciate any help with how can be done better/in a more clean manner.
Also the name `CustomAutoRooterGuard` is quite lengthy, so I'm also open to changing it (`AutoRoot`? `AutoRootGuard`?)

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

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: 989d2fd53267d063212ef3b7b7f13f2402943c4a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1d2081536bfa13c32a50b4862abbe3a03f305da3
2018-01-05 14:02:53 -06:00
Nate Tenczar
bdd03ff7ab servo: Merge #19701 - Update Arch Linux setup to include clang (from ntenczar:update-readme-clang); r=jdm
<!-- Please describe your changes on the following line: -->
`clang` is needed to compile servo, but isn't listed as one of the dependencies needed for arch and isn't part of the `base-devel` group.

---
<!-- 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]  no applicable github issue

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's a README change

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 52f76145122ae13d8154f1306d850fcbc35bf9f3
2018-01-05 13:01:28 -06:00
Coroiu Cristina
4eaabc3225 Backed out 1 changesets (bug 1420763) for failing dom/webauthn/tests/test_webauthn_loopback.html r=backout on a CLOSED TREE
Backed out changeset cd99a1f959ad (bug 1420763)
2018-01-05 22:11:26 +02:00
Gijs Kruitbosch
dd719e911e Bug 1422643 - deal with tabs in the protocol in js paste detection code, r=florian,valentin
MozReview-Commit-ID: Ax5LGkIedkY

--HG--
extra : rebase_source : 85a9871a4de44652fe3bbfd455af389fe27d7714
extra : source : 6ad5ec88a8982d83b8097fd76a2383aae94711c6
2017-12-20 18:57:48 +00:00
Adam Langley
de184adf52 Bug 1420763 - encode webauthn keys as a COSE key; r=keeler
webauthn says[1] that public keys are encoded as COSE keys.  I find the COSE
RFC quite circuitous in many respects and so any reviews should check whether
they agree with my understanding of what should be in a COSE key.

The webauthn spec says that the key:

    “MUST contain the "alg" parameter and MUST NOT contain
     any other optional parameters.”

I don't believe that any of the parameters included are optional but, again, I
don't think the RFC is completely clear.

[1] https://www.w3.org/TR/webauthn/#sec-attested-credential-data

MozReview-Commit-ID: 2023mW3yVWU

--HG--
extra : rebase_source : 2cc9df48ed1ba9f940f57a3148ec881c1b0630df
2018-01-04 14:05:14 -07:00
Mike Hommey
d0497c863b Bug 1427266 - Statically link libdmg-hfsplus against OpenSSL. r=gps
libcrypto, part of OpenSSL, and that dmg links against, has a varying
ABI, and something built against libcrypto on Centos won't run on Debian
and vice versa. It might not even work between versions of the same OS
(e.g. Debian 7 vs. Debian 9).

Because of that, it is desirable to statically link it.

This incorporates https://github.com/mozilla/libdmg-hfsplus/pull/1
and sets OPENSSL_USE_STATIC_LIBS when building libdmg-hfsplus.

--HG--
extra : source : 78f2064b3811db58b364c32ce9b58a3f2dcaf8f8
2017-12-28 18:19:31 +09:00
Emilio Cobos Álvarez
bab6ad290a Bug 1427824: Remove invalid assertion in presence of display: contents. r=bz
MozReview-Commit-ID: 4jFGHcD5wds

--HG--
extra : rebase_source : 23afb26dd3a93d4693def423a7ee3f3f95ed91a7
2018-01-05 19:12:42 +01:00
Johan Lorenzo
3757bebc72 Bug 1385401 - Fetch Google Play listings outside of the push-apk task r=aki
MozReview-Commit-ID: 2PTvLx4Atj5

--HG--
extra : rebase_source : e455755b3a20c290b0a54fb60b90efb6ca756fb4
2018-01-05 13:49:59 +01:00
Prathiksha
a80661de8b Bug 1368744 - Provide a way for users to deny permission prompts by default in about:preferences. r=johannh
MozReview-Commit-ID: 3k3LRi7N8PX

--HG--
extra : rebase_source : f5814056f8eab3b6b77f4344aadd4c08bf247a37
2017-12-20 22:32:20 +05:30
Jeremy Lempereur
9a632d7f40 Bug 1428334 - Navigating on about:telemetry frequently opens data:application/json;base64 tabs r=chutten
Refactored a call to ChromeHangs.render() I forgot while fixing the "Show raw stack data" link (Bug 1427484).

MozReview-Commit-ID: 3Ul1wCRhdxG

--HG--
extra : rebase_source : a9cb33d4862947eed80832507a4a315a8ae81f99
2018-01-05 18:05:09 +01:00
Alan Jeffrey
3d419b7a66 servo: Merge #19523 - Filter out failed test-perf runs (from asajeffrey:test-perf-filter-out-failed-tests); r=avadacatavra
<!-- Please describe your changes on the following line: -->

Google Data Studio is a lot happier if the data that's driving it is already filtered. This PR filters out any failed test runs from the CSV file generated by test-perf.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 753e2bc781ee3f9fd219b1f06ac332ec3077675c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f67a4d3961e01f0279bde2d9482b2f88552a7172
2018-01-05 09:15:48 -06:00
abhinav
d4ab40c8ce Bug 1428325 - Stop resetting -moz-border-*-colors in common.inc.css; r=dao
MozReview-Commit-ID: BR5gbJicWih

--HG--
extra : rebase_source : 711dbb0a04723e7af524e3b12a9124c3ddca9941
2018-01-05 21:05:22 +05:30
abhinav
006d24a0a4 Bug 1428338 - Stop resetting -moz-border-*-colors in addons.css; r=dao
MozReview-Commit-ID: AxkN4CovCnf

--HG--
extra : rebase_source : ab7c9abeed9477790f8e5671171a07b5fd6d3197
2018-01-05 20:34:37 +05:30
Michael Kaply
35c807f11b Bug 1428188 - Add Yandex for Russian users of English Firefox. r=flod
MozReview-Commit-ID: 6EfYyqli0jZ

--HG--
extra : rebase_source : 536754c5296d9e6a2dd0481661f137247eec0ea1
2018-01-04 16:19:54 -06:00
Edouard Oger
a0dbab1e9d Bug 1426446 - Change buttons labels in unverified state. r=markh
MozReview-Commit-ID: 4Dc2JEOJMsa

--HG--
extra : rebase_source : acb0005ef12446e3509dac5f483245dac2264248
2017-12-21 13:45:28 +00:00
Alessio Placitelli
154a9f4b8c Bug 1417473 - Enable the hybrid content telemetry API. r=chutten
MozReview-Commit-ID: Cjsu10fgKtq

--HG--
extra : rebase_source : d507a9fb40cb18726b0ad4c8aeed86b3fafc746e
2018-01-04 10:32:58 +01:00
Alessio Placitelli
762c87055c Bug 1417473 - Add the docs for hybrid content telemetry. r=chutten,gfritzsche
MozReview-Commit-ID: 2qEiZcNU7SB

--HG--
extra : rebase_source : a83cfe42ddcc9bc7ce66bd794dce5432b938d873
2017-11-29 16:37:30 +01:00
Alessio Placitelli
87093beef1 Bug 1417473 - Implement the hybrid content telemetry API. r=chutten,Gijs
This enables whitelisted pages to send messages to the chrome using
asynchronous messaging from the content. This patch only adds the
API and test coverage. The first consumer of the API will be added
as part of bug 1417479.

MozReview-Commit-ID: ESxFFjvhpWA

--HG--
extra : rebase_source : 5f5183022134f87a64f830c084f84f7594b17b52
2017-11-27 11:54:27 +01:00
Tiberius Oros
5dc770334b Backed out changeset af69a7e1b59f (bug 1427006)for failing devtools and test verify tests test/mochitest/browser_webconsole_console_group.js r=backout on a CLOSED TREE 2018-01-05 17:34:39 +02:00
Pyfisch
6137e455a9 servo: Merge #19699 - Correctly place images with background-position: center (from pyfisch:background-position-fix); r=emilio
Add a regression ref test.
See also #19680.

<!-- 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] 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: 12a74de5a181c03852550d04632548011f8e7cb9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 917c23a500ce0f8a31814a58d8f23be155c431cc
2018-01-05 06:37:38 -06:00
Mark Banner
4b9832fad4 Bug 1428305 - When clobbering node_modules for ESLint on Windows, use winrm to better handle symlinks. r=ahal
MozReview-Commit-ID: ACrxlr7ERAI

--HG--
extra : rebase_source : b6c6debf93504c955928bc5d7bd05c811bd3d265
2018-01-05 11:14:15 +00:00
abhinav
b2c45cf368 Bug 1427006 - Enhanced the browser_webconsole_console_group test; r=nchevobbe
MozReview-Commit-ID: Efe5xb8sq7C

--HG--
extra : rebase_source : 6194d5f4af96446162fcf9b2324fe596e4f299d4
2017-12-15 00:39:34 +05:30
Nicolas Chevobbe
797df76226 Bug 1428231 - Fix browser_webconsole_websocket.js intermittent failure; r=Honza.
The patch changes how log we wait before polling again in waitFor, since the timeout
is happening here.

MozReview-Commit-ID: 4ZteEmMBOZk

--HG--
extra : rebase_source : 44078fa03df8ce7650d71ac0ad401a30827f2d83
2018-01-05 11:18:44 +01:00
Ricky Chien
9c5ca18b62 Bug 1426908 - Asynchronously enable CodeMirror syntax highlight for large content r=Honza
MozReview-Commit-ID: v4GcMOnrWy

--HG--
extra : rebase_source : f0498f4e3325debd7948bbeea9b6239118b2a1fa
2018-01-05 17:18:34 +08:00
Emilio Cobos Álvarez
15c20a101d servo: Merge #18893 - style: Remove TNode::set_can_be_fragmented and TNode::can_be_fragmented (from emilio:bye-can-be-fragmented); r=SimonSapin
Replace them instead by a computed value flag, the same way as the
IS_IN_DISPLAY_NONE_SUBTREE flag works.

Source-Repo: https://github.com/servo/servo
Source-Revision: 83a8891bd4d04ccb3f2f7b292d53f2847380b94c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e866663b660580644a022356b6226f5ec3e336d4
2018-01-05 05:11:00 -06:00
Csoregi Natalia
7dec907cd4 Backed out 3 changesets (bug 1417473) for failing browser_HybridContentTelemetry.js. r=backout on a CLOSED TREE
Backed out changeset 27db7bf978be (bug 1417473)
Backed out changeset a365a5a59ad1 (bug 1417473)
Backed out changeset 443747e39abe (bug 1417473)
2018-01-05 13:45:25 +02:00
Julian Descottes
1c1a92115e Bug 1151156 - remove unused b2g code in debugger-client onPacket;r=jryans
MozReview-Commit-ID: IWyGUCKCFAM

--HG--
extra : rebase_source : dd90da67ebd3def595095f0445b6206ba7316a1b
2017-12-13 17:56:14 -06:00
Henrik Skupin
7031a16c77 Bug 1428289 - Release mozversion 1.5. r=jmaher
MozReview-Commit-ID: 61GLjE0Qc6o

--HG--
extra : rebase_source : d147c2785008266118a23dcdb306306e0711a8c5
2018-01-05 10:46:01 +01:00
Emilio Cobos Álvarez
0541db0072 Bug 1428164: followup: Simplify reftest reference. r=me
MozReview-Commit-ID: 8rgh0waQdAl
2018-01-05 11:59:23 +01:00
Emilio Cobos Álvarez
3e9fdd7ae2 Bug 1428164: Reftest. r=me
MozReview-Commit-ID: 5hm56QmtlnV
2018-01-05 11:57:49 +01:00
Emilio Cobos Álvarez
9cd802936b Bug 1428164: Restyle owned anon boxes after processing children. r=bz
MozReview-Commit-ID: 4QcJPY9hkSm
2018-01-05 11:57:47 +01:00
Andrew McCreight
27fbef8dfc Bug 1426801 - Clear gFirstIdleTask if we fail to dispatch the runnable. r=mrbkap
MozReview-Commit-ID: 23f9VDTyyqg

--HG--
extra : rebase_source : 525588c060c282e9ba1b6a80ffa2bea95c05c271
2018-01-04 14:59:14 -08:00
Xidorn Quan
89d2d74b33 servo: Merge #19696 - Skip rule node which contains only inherited properties for rule cache (from upsuper:rule-cache-opt); r=emilio
This is one possible fix for [bug 1427681](https://bugzilla.mozilla.org/show_bug.cgi?id=1427681) which tries to skip some rule nodes when using rule cache.

Try push for correctness: https://treeherder.mozilla.org/#/jobs?repo=try&revision=74e3941e2cfc5fba4bce839f2518af8a5a8b7411

It doesn't really show much memory saving on awsy. It only shows several KB save on fresh start memory. But since conceptually it's simple, I guess it's worth taking.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6131371cc230cca45b13ef9a2622c6e602208357

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1291fd4e9a1c7aa05125ffccac6d81227bc3c221
2018-01-05 03:35:04 -06:00
Nevin Chen
28e886417a Bug 1423185 - Update document for the event when user finish first run on-boarding. r=liuche
Data review request comment:

1. What questions will you answer with this data?
   We want to know when the user exit on-boarding. So we can start to A/B testing on other contextual hints. We don't want to overlap them.

2. Why does Mozilla need to answer these questions? Are there benefits for users?
   We need this information to know if users had done on-boarding

3. What alternative methods did you consider to answer these questions? Why were they not sufficient?
  I can't think of any.

4. Can current instrumentation answer these questions?
   No

5. List all proposed measurements and indicate the category of data collection for each measurement, using the Firefox data collection categories on the found on the Mozilla wiki.
   I can't find one for Android

6. How long will this data be collected? Choose one of the following:
   We want to permanently monitor this data. (Joe Cheng)

5. What populations will you measure?
   All Fennec users

6. Which release channels?
   All channels

7.Which countries?
   All countries

8. Which locales?
   All locales

9. Any other filters? Please describe in detail below.
   No

10.Please provide a general description of how you will analyze this data.
   We'd like to use Leanplum to cross-reference those events

11.Where do you intend to share the results of your analysis?
   We'll use it internally

MozReview-Commit-ID: 2s7Hnc97dhp

--HG--
extra : rebase_source : 81736b5222490347fbc275fc8c8c06a4a2ee19c5
2017-12-05 21:27:57 +08:00
Emilio Cobos Álvarez
198b044d86 Bug 1428053: Fix ShadowRoot::ContentAppended. r=jessica
MozReview-Commit-ID: iUhaP8VVIO
2018-01-05 11:18:18 +01:00
Emilio Cobos Álvarez
90f6f7ae08 Bug 1428053: Use Maybe<uint32_t> instead of an integer and a bool. r=jessica
This is just cleanup and not needed, but I wrote it while debugging so I'd
rather land it :)

MozReview-Commit-ID: BdnheDnwHr4
2018-01-05 11:18:16 +01:00
Samael Wang
112d2693c3 Bug 1406161 - Part 6: Move shistory related static functions to nsSHistory. r=smaug
MozReview-Commit-ID: 7rqo2rISCB5

--HG--
extra : rebase_source : 3de7a21b24ce526f45424a2f1aad4329a8758f78
2017-12-19 18:26:36 +08:00
Samael Wang
3899149f41 Bug 1406161 - Part 5: Move LoadType convertion functions to nsDocShellLoadTypes.h. r=smaug
MozReview-Commit-ID: Ccw7cDE20m3

--HG--
extra : rebase_source : 950eee87d0c02a82aa5e0c62f8f1e0fa5e2cb72d
2017-12-19 15:13:02 +08:00
Samael Wang
837eb62f44 Bug 1406161 - Part 4: Move nsPingListener and nsRefreshTimer to separate files. r=smaug
MozReview-Commit-ID: 9Z6i9yWoQwj

--HG--
extra : rebase_source : dfa8f9fad42851b92cf20a8aa9ae5b5b114b647f
2017-12-18 20:19:36 -06:00
Samael Wang
e86402b778 Bug 1406161 - Part 3: Remove a dead member function. r=smaug
MozReview-Commit-ID: LYNUZhvnAdm

--HG--
extra : rebase_source : 696d21afde06340006e63bf824068fe17c3e7d14
2017-12-15 17:15:02 -06:00
Samael Wang
2387e7d5ac Bug 1406161 - Part 2: Reorder docshell members and remove unnecessary virtual or NS_IMETHOD keywords. r=smaug
MozReview-Commit-ID: KuEchFzFu7E

--HG--
extra : rebase_source : 8a950c67c746f0771b36bdbd9844d52ea59ea048
2017-12-15 17:09:43 -06:00
Samael Wang
5d946a3ccf Bug 1406161 - Part 1: Reorder #include, #define, forward declarations, global & static variables. r=smaug
MozReview-Commit-ID: 9DKL1zuLboL

--HG--
extra : rebase_source : 97a01497f1a1a67d93e102ca8a9b2503e779c9e0
2017-12-15 14:14:06 -06:00
Tiberius Oros
97791540b0 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-05 12:02:07 +02:00
Tiberius Oros
0a895028f7 Merge inbound to mozilla-central r=merge a=merge 2018-01-05 11:57:58 +02:00
Tiberius Oros
b61fe475c8 Merge autoland to mozilla-central r=merge a=merge 2018-01-05 11:56:24 +02:00