Commit Graph

576938 Commits

Author SHA1 Message Date
Narcis Beleuzu
ff469bb84f Merge autoland to mozilla-central. a=merge 2018-01-15 00:15:51 +02:00
ffxbld
4579f798bf No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-01-14 11:03:43 -08:00
ffxbld
6f34584a20 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-01-14 11:03:40 -08:00
Noemi Erli
47d65eb2a5 Backed out changeset e8ae7190dd15 (bug 1430109) for Wr failures in /builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py on a CLOSED TREE 2018-01-14 18:28:42 +02:00
CYBAI
ca2729f9fa servo: Merge #19709 - style: Remove -servo-display-for-hypothetical-box from longhand (from CYBAI:servo-display-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

For the `fn set_original_display` inside `properties.mako.rs`, I removed `is_item_or_root` first to see how the tests result is. If it's needed, I'll add it back.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19697
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b46e2e7597e90a41c6bfb3bd7008bdd922c93c6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd06f9afbcc05acfe20eb48096e421d7dd5b3c2e
2018-01-14 08:27:14 -06:00
shindli
629b5cfbbb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-14 12:19:04 +02:00
Jonathan Kew
42e35bdbd0 Bug 1430216 - For non-scalable fonts, we can't use the linearHoriAdvance field from the glyph slot; use the advance field instead to get proper metrics. r=lsalzman 2018-01-13 15:16:44 +00:00
Andreas Tolfsen
cdce146d2e Bug 1430109 - Combine assert.window and assert.contentBrowser. r=maja_zf
The forthcoming window tracking refactoring introduces the new
abstractions ContentContext and ChromeContext that to a large extent
share the same interface.  They make it possible to interact with
both types of browsing context in a uniform manner.

Marionette currently has a lot of convoluted if-conditions to
paper over the differences between ChromeWindow, <xul:browser>,
and browser.Context.  Examples of this includes the assert.window
and assert.contentBrowser assertions: they essentially perform the
same job, but does not share the same API because the underlying
APIs they call are different.

In an effort to prepare Marionette for the window tracking refactoring,
this patch adds a bit of glue to combine them both into one assertion
called assert.open.  This checks that the browsing context has not
been discarded.

MozReview-Commit-ID: K5e7Sr1mq0

--HG--
extra : rebase_source : dcdb730515760da28acb6c8384ff45c202e0da08
2018-01-12 14:25:30 +00:00
Adrian Wielgosik
3c2cc07d2d Bug 1379891 - remove nsPIEditorTransaction interface, GetTxnDescription methods. r=m_kato,masayuki
MozReview-Commit-ID: 4NLeMrrqIv5
2018-01-14 16:01:41 +01:00
Dão Gottwald
cc32283cef Bug 1429929 - Remove tabbrowser-close-tab-button binding. r=Gijs
MozReview-Commit-ID: 3bIccSfVMuJ

--HG--
extra : rebase_source : ac26550607713effeb9b72a39986d4f2d3b95bf2
2018-01-14 13:12:05 +01:00
Simon Sapin
0ec8be6cd9 servo: Merge #19764 - Upgrade to rustc 1.25.0-nightly (e6072a7b3 2018-01-13) (from servo:rustup); r=SimonSapin
CC #19762

Source-Repo: https://github.com/servo/servo
Source-Revision: 73cb6d415e026cb06f0dc2df1f9f4c803cdf6020

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 22dcbf8c8ba2734363bcbc41f293b3b13570dd96
2018-01-14 03:10:13 -06:00
Alexandre Poirot
5ed414705f Bug 1415545 - Land images related to performance documentation page in DevTools. r=sole
MozReview-Commit-ID: Ferwx7gVx7F

--HG--
extra : rebase_source : 5a8f03b1950d94bb2dc54867b75e6f2b5ba7e530
2018-01-10 05:37:47 -08:00
steveck-chung
dcdc4dd0c6 Bug 1426652 - Allow the form with non-autocomplete-attr cc-number and cc-name as valid credit card form, r=lchang
MozReview-Commit-ID: 8eqJUSYyPXr

--HG--
extra : rebase_source : ca43986ddead180de155954fc45c1330553a6c15
2018-01-10 15:50:46 +08:00
Csoregi Natalia
3ce27a72d5 Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE
Backed out changeset 0ecc98bd0822 (bug 1418425)
Backed out changeset 7b7725d1d3c3 (bug 1418425)
Backed out changeset 2e95ebdcae6d (bug 1418425)
Backed out changeset 47fbcaf5ad05 (bug 1418425)
Backed out changeset 142001babb39 (bug 1418425)
2018-01-15 15:30:30 +02:00
Igor Gutorov
5146a45474 servo: Merge #19749 - style: Move -moz-context-properties outside of mako (from gootorov:move_-moz-context-properties_from_mako); r=emilio
<!-- Please describe your changes on the following line: -->
Sub-PR of #19015

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [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: 2ff3e119faab0488ebd4d790600d07695404f883

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 01b2a9b44500eca908d8d8ddd3ce956b2b214a3d
2018-01-15 06:04:30 -06:00
Marco Bonardo
aa65d5c84c Bug 1420811 - Rename bookmark tag to empty will cause issue. r=standard8
MozReview-Commit-ID: HcgDlC2qlCM

--HG--
extra : rebase_source : 99e499314e403e417ebc09663b8221dd0b9967d0
2018-01-11 14:59:26 +01:00
Emilio Cobos Álvarez
13ef7eb69b servo: Merge #19757 - style: Remove -servo-text-decorations-in-effect (from emilio:bye-custom-cascade); r=nox
It is bogus, because it depends on the display property as it's cascaded, but
the display property can change afterwards, for example, if we get blockified
because we're the root element or a flex item.

Replace it with a normal field instead.

Also, it carries some weight, because it's the last property that uses this
concept of "derived" property, and "custom cascade". So we can remove some code
after this.

Compute it after the cascade process in StyleAdjuster.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0206357b95137b0ebb8533d71d7a705faf781e60
2018-01-15 05:14:49 -06:00
Emilio Cobos Álvarez
03f7906492 servo: Merge #19769 - layout: Simplify the pseudo-element setup (from emilio:simplify-layout-construct); r=nox
It's kind of a mess. See individual commits for details.

Source-Repo: https://github.com/servo/servo
Source-Revision: 032fd388e4efdd9ecc682877d017b9d2f78e29e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f365989a4d7c713caf92ed0ef34a228a6243644e
2018-01-15 04:14:13 -06:00
Emilio Cobos Álvarez
5a3cf530d2 Bug 1430512: Remove unnecessary use of -moz-border-bottom-colors in aboutBase.css. r=dao
A single color in the color list renders just as border-bottom-color.

This used to have two colors, but was changed in [1], so now it can go away.

[1]: https://hg.mozilla.org/mozilla-central/rev/cfdf310748918c3d5eadc16daa5153091e325995

MozReview-Commit-ID: LDocmCwjkzw

--HG--
extra : rebase_source : 0b5027434d7a964165f547c3c67f31045ecc3df4
2018-01-15 03:27:19 +01:00
Patrick Brosset
61d958bb72 Bug 1430001 - Highlight all used fonts in the rule-view, not just the first one; r=miker
MozReview-Commit-ID: Gxi34noKsxu

--HG--
extra : rebase_source : 9473148ba2641344882e6ac9b6f8fbcbe644012b
2018-01-12 14:56:57 +01:00
Fernando Jiménez Moreno
44c2e62c99 servo: Merge #19772 - Do not fire pending callbacks on disconnected performance observer (from ferjm:performance.wpt); r=nox
Implement this change in the Performance Timeline API https://github.com/w3c/performance-timeline/issues/66

- [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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 55e08a3e9a94522e4e53acbb39e8f737171837c1
2018-01-15 03:20:57 -06:00
Gurzau Raul
f63417e7f3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-15 11:59:58 +02:00
Csoregi Natalia
2fb6ef5db8 Backed out changeset 93fa34d5492c (bug 1427510) for failing browser/extensions/formautofill/test/browser/browser_editCreditCardDialog.js. on a CLOSED TREE 2018-01-15 11:19:36 +02:00
Tom Prince
345a5d6fda Bug 1430006: Allow configuring scriptworkers per-graph config; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D379

--HG--
extra : rebase_source : c52684c1a65017698d29979f35afed646ca5c90c
2018-01-09 10:44:04 -07:00
archit
bc44f5df81 Bug 1428336 - Remove fallback border and background from the synced tabs sidebar's search field. r=dao
MozReview-Commit-ID: FWqpaXyMvqM

--HG--
extra : rebase_source : a353d22919ab0869a3bc38b4ee7893dca543c33d
2018-01-16 01:39:50 +05:30
Neil Deakin
0538f8c6ce Bug 1427449, don't close the menu in nsMenuBarFrame::FindMenuWithShortcut when just checking if such a menu shortcut key exists from the keydown event handler, also for extra safety this should only happen for menus not panels, r=felipe 2018-01-15 15:16:56 -05:00
Csoregi Natalia
fafea54b5a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-15 19:29:36 +02:00
Jonathan Kew
e164d9c087 Bug 1430552 - Handle possible freetype failures in gfxFT2FontBase::GetFTGlyphAdvance to avoid risk of crashes. r=lsalzman 2018-01-15 16:36:47 +00:00
Andrea Marchesini
41d4da5cef Bug 1425440 - Introduce nsINode::RemoveChildNode, r=catalinb 2018-01-15 17:18:38 +01:00
Andrea Marchesini
205d40e2d7 Bug 1425440 - Get rid of GetChildAt_Deprecated in nsDocumentEncoder, r=catalinb 2018-01-15 17:18:03 +01:00
Martin Stransky
2b78638c46 Bug 1417933 - enable CSD titlebar rendering mode on Unity desktop, r=jhorak
MozReview-Commit-ID: AWKJWnsrb7i

--HG--
extra : rebase_source : 5408017b0852cdabc42103c9352d6333df60799b
2018-01-09 11:31:40 +01:00
Martin Stransky
31b29e4907 Bug 1417933 - enable CSD titlebar rendering mode as Bug 1424974 regression is fixed, r=jhorak
MozReview-Commit-ID: 7SCjbJr9Arl

--HG--
extra : rebase_source : 0d6f4d24e182eaecd7f6290d800a8e43e0241dc0
2018-01-09 11:27:34 +01:00
Scott Wu
6c9299b834 Bug 1412247 - Ensure checkbox label and "Learn more" link stay on the same line. r=lchang
MozReview-Commit-ID: L54LV6mcqg7

--HG--
extra : rebase_source : da7e7cd18ec74c98d75108c8b4bcb07bdce82534
2018-01-09 15:35:47 +08:00
Scott Wu
f26c3b38a5 Bug 1427510 - Use current year as expiration year in credit card test case to fix perma failure. r=lchang
MozReview-Commit-ID: IuDCc6UDfay

--HG--
extra : rebase_source : 96accbdeb928dcb640b1848f15e603807e3fc876
2018-01-09 17:33:04 +08:00
Masayuki Nakano
e8c2ae6847 Bug 1422230 - part 4: TSFTextStore::GetTextExt() should refer composition string in content r=m_kato
Currently, TSFTextStore::GetTextExt() refers mComposition for doing its own
hack.  However, this means that it refers composition in TIP.  However,
query event is computed with content information.  So, even if TSFTextStore
dispatched eCompositionCommit event, it may not be handled by content yet.

In this case, we need information relative to last composition string.
So, TSFTextStore::GetTextExt() should refer IsHandlingComposition() and
last composition string information stored by mContentForTSF.

MozReview-Commit-ID: KMqrDmnUldU

--HG--
extra : rebase_source : cea97c9e9117028913cf45e4dc1e83e2b4f102e9
2018-01-12 15:31:04 +09:00
Masayuki Nakano
c1ed5bb499 Bug 1422230 - part 3: TSFTextStore should store composition string information until both TSF/TIP and our content finish handling composition r=m_kato
If remote process hasn't handled dispatched commit event yet, TSFTextStore
needs to dispatch query content event relative to latest composition string
information.  So, TSFTextStore::mContentForTSF should cache composition start
and composition string length until pending composition events are handled
by content actually.

MozReview-Commit-ID: ARM851nNZGz

--HG--
extra : rebase_source : d4f1ddb197d3168f2db52849b2982779c388e2e8
2018-01-12 15:23:43 +09:00
Masayuki Nakano
6e70ab6b93 Bug 1422230 - part 2: ContentCacheInParent should allow to query content relative to composition string even after sending eCompositionCommit(AsIs) event but not yet handled in the remote process r=m_kato
Currently, ContentCacheInParent uses selection when it handles query content
event whose input offset is relative one after sending eCompositionCommit(AsIs)
event but it's not yet handled by the remote process.  However, in this case,
selection may not be modified with committed string.

So, when mPendingCommitCount is not 0, ContentCacheInParent should compute
absolute offset with the latest composition string information.  For doing
this, it needs to keep storing mCompositionStart until eCompositionCommit(AsIs)
is handled in the remote process actually.

MozReview-Commit-ID: 2Dc69HNIbvh

--HG--
extra : rebase_source : 4be432ad363022e4b3f2e3c82c8d229dc9af889d
2018-01-12 15:05:24 +09:00
Masayuki Nakano
0674b4fc1f Bug 1422230 - part 1: TextEventDispatcher should manage if dispatched composition events have been handled by remote content and TSFTextStore refer the state r=m_kato
When composition events are handled by content actually, widget receives
NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED notification.  If focused content
is in a remote process, this is notified only when all sending composition
events are handled in the remote process.  So, when widget receives the
notification can there is no composition in IME, that means that nobody is
composing composition at that time.

This patch adds TextEventDispatcher::IsHandlingComposition() which returns
false only when nobody has composition and makes TSFTextStore refer this
method because TSFTextStore needs to know if focused content has composition
in any cases.

MozReview-Commit-ID: F1ZZgFJAArD

--HG--
extra : rebase_source : 65e7f592e0ffd1c516e4dab16ab4ca8d7171f954
2018-01-12 11:31:53 +09:00
KuoE0
25856340db Bug 1428297 - (Part 3) Disable the assertion that don't allow to call ShowDropDown() in the content process when content-select is enabled. r=mats
To prevent the crash when content-select is enabled, I disable this
assertion that don't allow to call ShowDropDown() in the content
process.

MozReview-Commit-ID: F3BelChp1AK

--HG--
extra : rebase_source : 2bbec4dceffb7698804609010127b37442a907a7
2018-01-10 11:52:37 +08:00
Alastor Wu
acecd71925 Bug 1428722 - part1 : always activate the top level frame. r=smaug
For top level frame, it should also be activated when user activate its child frame.

eg. A (youtube.com) -> B (ad.com), when user activate B frame, the A frame would also be activated.

MozReview-Commit-ID: BP7eGKiqYJe

--HG--
extra : rebase_source : 8a07e2a46d70957989168a9ee677e5241fee61fe
2018-01-08 16:44:28 +08:00
Makoto Kato
12f318b242 Bug 1415416 - Part 2. Add test. r=masayuki
MozReview-Commit-ID: 5Bbh5ifPSs7

--HG--
extra : rebase_source : 07cabbc6f2ed00018c4b6a3ce8eebe121cb7998f
2018-01-11 18:39:40 +09:00
Makoto Kato
81d105c639 Bug 1415416 - Part 1. Collapse selection on focus when value is empty. r=masayuki
After landing bug 1375910, input.value = "" doesn't remove inter text node.
When value is empty, SelectAllOrCollapseToEndOfText will set selection to
end of text.  But since empty text node is still exist, it select all nodes,
instead of collapsed.  So if text node is empty, we should collapse selection.

MozReview-Commit-ID: Gm0AP6YSJIg

--HG--
extra : rebase_source : fa7ecda9761f1e202b0a4600968c2e1151220fc3
2018-01-11 18:39:12 +09:00
KuoE0
4bd2b6bbf0 Bug 1428297 - (Part 2) Ignore the widget/view usage that is used to show the dropdown menu when content-select is enabled. r=mats
MozReview-Commit-ID: 68HYWmniXwt

--HG--
extra : rebase_source : 4163e1ca016c818acc24ff27121c7e54b45e0aa8
2018-01-08 11:43:51 +08:00
KuoE0
ddd7e128f7 Bug 1428297 - (Part 1) Add an nsLayoutUtils function to check whether content-select is enabled r=mats
MozReview-Commit-ID: KVQ25Dhl9xl

--HG--
extra : rebase_source : 3f3186a7c73ff59f46566a5636d66d0684e3f0f4
2018-01-11 10:37:41 +08:00
Munro Mengjue Chiang
6da9bf9b27 Bug 1420585 - refine logs. r=jib
MozReview-Commit-ID: KJlFTQALAb4

--HG--
extra : rebase_source : c33ea991c82090741c28d4b8dba092c5e1d7b51c
2018-01-05 15:51:48 +08:00
Munro Mengjue Chiang
3c82ef78a0 Bug 1420585 - remove unnecessary stopCapture which causes deadlock. r=jib
MozReview-Commit-ID: F8xcOSPihDN

--HG--
extra : rebase_source : 057b77496aa86f9e7f3b4ccd858ec74e8c8453a8
2018-01-05 15:50:23 +08:00
Glenn Watson
9b5b59b43a servo: Merge #19768 - Update WR (overlap radii fix, subpixel AA in fast text shadows) (from glennw:update-wr-fixes1); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: eb1634b56b27c163a3721f7416c5ade5fa4878a6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c590555734f612679aadf7ca51b6ec78c4ea7ba2
2018-01-14 20:00:59 -06:00
DimiL
0bea28a21f Bug 1422671 - Add telemetry for login reputation service. r=francois datareview?francois
MozReview-Commit-ID: LaWcGww6hJx

--HG--
extra : rebase_source : 50f741daec89f9d67d309eec218d1fd04ac140f3
2018-01-11 15:24:32 +08:00
Makoto Kato
8b76ad494e Bug 1429682 - Remove HAVE_I18N_LC_MESSAGES from old-configure.in. r=froydnj
After landing bug 1356263, no one uses HAVE_I18N_LC_MESSAGES.  So it is
unnecessary to check LC_MESSAGES.

MozReview-Commit-ID: IPgl3rQ2qrd

--HG--
extra : rebase_source : 542ada2cf9ac2775855bba29f39044b55fa93f20
2018-01-12 15:51:57 +09:00
Jim Chen
3757544495 Bug 1426244 - 5. Add geckoview-docs job; r=nalexander
Add a geckoview-docs job that executes "./mach android geckoview-docs",
which takes care of calling gradle to generate the javadoc archive, and
uploading it to Github using given parameters.

MozReview-Commit-ID: DTWh4XdFZEO

--HG--
extra : rebase_source : 9d75be24cb553b3a773d3d34a2bdbdf4d4c8cd34
2018-01-13 17:41:09 -05:00